[cairo-commit] [cairo-www] src/download.mdwn

Carl Worth cworth at freedesktop.org
Fri Sep 25 13:56:50 PDT 2009


 src/download.mdwn |   54 +++++++++++++++++++++++++++++-------------------------
 1 file changed, 29 insertions(+), 25 deletions(-)

New commits:
commit f96a97d70bfd4d49628f5819d6067cafdedeec3f
Author: travisgriggs <travisgriggs at web>
Date:   Fri Sep 25 13:56:50 2009 -0700

diff --git a/src/download.mdwn b/src/download.mdwn
index 76dfb9a..715bf56 100644
--- a/src/download.mdwn
+++ b/src/download.mdwn
@@ -182,32 +182,36 @@ Studio](http://cairographics.org/visualstudio/) page for more details.
 
 # Building On Windows (Mozilla Build Environment flavor)
 
-0. Download and install zlib. Build zlib from its /projects folder, and use LIB RELEASE configuration.
-0. Download and install libpng. Build libpng from its /projects folder and use LIB RELEASE configuration.
-0. Install the MozillaBuild environment from here: [MozillaBuild](http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#MozillaBuild)
-0. If you chose the default install path, you'll find in c:\mozilla-build several batch files. Edit the one corresponding to your version of VC++ (or a copy of it), and modify the INCLUDE and LIB paths. You'll need to add the zlib and libpng INCLUDE and LIBpaths. Also include &lt;your repository&gt;\cairo\src, &lt;your repository&gt;\cairo\boilerplate, and &lt;your repository&gt;\pixman\pixman to the INCLUDE paths. Here's an example (your paths will vary obviously):
+<ol>
+<li>Download and install zlib. Build zlib from its /projects folder, and use LIB RELEASE configuration.</li>
+<li>Download and install libpng. Build libpng from its /projects folder and use LIB RELEASE configuration.</li>
+<li>Install the MozillaBuild environment from here: [MozillaBuild](http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites#MozillaBuild)</li>
+<li>If you chose the default install path, you'll find in c:\mozilla-build several batch files. Edit the one corresponding to your version of VC++ (or a copy of it), and modify the INCLUDE and LIB paths. You'll need to add the zlib and libpng INCLUDE and LIBpaths. Also include &lt;your repository&gt;\cairo\src, &lt;your repository&gt;\cairo\boilerplate, and &lt;your repository&gt;\pixman\pixman to the INCLUDE paths. Here's an example (your paths will vary obviously):
 	
-	
-	rem Root of cairo building
-	set "CAIROROOT=%HOMEDRIVE%%HOMEPATH%\BuildCairo"
-
-	rem Add zlib and libpng to LIB
-	set "LIB=%LIB%;%CAIROROOT%\zlib\projects\visualc6\Win32_LIB_Release;%CAIROROOT%\libpng\projects\visualc71\Win32_LIB_Release"
-
-	rem Add zlib and libpng to INCLUDE
-	set "INCLUDE=%INCLUDE%;%CAIROROOT%\zlib;%CAIROROOT%\libpng"
-
-	rem Add cairo, boilerplate, and pixman to INCLUDE
-	set "INCLUDE=%INCLUDE%;%CAIROROOT%\cairo\src;%CAIROROOT%\cairo\boilerplate;%CAIROROOT\pixman\pixman"
-
-0. Launch the batch file you just modified. It'll open a mingw window. Ignore the error messages that might appear at the top of the window
-0. We'll now build everything in debug configuration. For release, replace *CFG=debug* by *CFG=release*
-0. Browse to pixman's folder (pixman\pixman), and run make -f Makefile.win32 CFG=debug
-0. Browse to Cairo's src folder (cairo\src), and run make -f Makefile.win32 static CFG=debug. **You now have your library in cairo\src\debug (or release)**. You can build the remaining ancillary cairo parts with the following steps, or go enjoy your library now.
-0. Browse to Cairo's boilerplate folder (cairo\boilerplate), and run make -f Makefile.win32 CFG=debug
-0. Browse to Cairo's test pdiff folder (cairo\test\pdiff), and run make -f Makefile.win32
-0. Browse to Cairo's test folder (cairo\test), and run make -f Makefile.win32 CFG=debug
-0. Browse to Cairo's benchmark folder (cairo\perf), and run make -f Makefile.win32 CFG=debug
+<pre>
+rem Root of cairo building
+set "CAIROROOT=%HOMEDRIVE%%HOMEPATH%\BuildCairo"
+rem Add zlib and libpng to LIB
+set "LIB=%LIB%;%CAIROROOT%\zlib\projects\visualc6\Win32_LIB_Release;%CAIROROOT%\libpng\projects\visualc71\Win32_LIB_Release"
+rem Add zlib and libpng to INCLUDE
+set "INCLUDE=%INCLUDE%;%CAIROROOT%\zlib;%CAIROROOT%\libpng"
+rem Add cairo, boilerplate, and pixman to INCLUDE
+set "INCLUDE=%INCLUDE%;%CAIROROOT%\cairo\src;%CAIROROOT%\cairo\boilerplate;%CAIROROOT\pixman\pixman"</pre>
+
+</li><li>Launch the batch file you just modified. It'll open a mingw window. Ignore the error messages that might appear at the top of the window.
+
+We'll now build everything in debug configuration. For release, replace <i>CFG=debug</i> by <i>CFG=release</i></li>
+<li>Browse to pixman's folder (pixman\pixman), and run make -f Makefile.win32 CFG=debug</li>
+<li>Browse to Cairo's src folder (cairo\src), and run make -f Makefile.win32 static CFG=debug.
+
+<b>You now have your library in cairo\src\debug (or release)</b>.
+
+You can build the remaining ancillary cairo parts with the following steps, or go enjoy your library now.</li>
+<li>Browse to Cairo's boilerplate folder (cairo\boilerplate), and run make -f Makefile.win32 CFG=debug</li>
+<li>Browse to Cairo's test pdiff folder (cairo\test\pdiff), and run make -f Makefile.win32</li>
+<li>Browse to Cairo's test folder (cairo\test), and run make -f Makefile.win32 CFG=debug</li>
+<li>Browse to Cairo's benchmark folder (cairo\perf), and run make -f Makefile.win32 CFG=debug</li>
+</ol>
 
 ## Building in Visual Studio
 


More information about the cairo-commit mailing list