Changes between Version 17 and Version 18 of BuildingCairoOnWindows


Ignore:
Timestamp:
Apr 12, 2011, 5:54:21 PM (14 years ago)
Author:
bfulgham@webkit.org
Comment:

You no longer need to manually locate the build requirements!

Legend:

Unmodified
Added
Removed
Modified
  • BuildingCairoOnWindows

    v17 v18  
    1414
    1515== Required Libraries ==
    16 Just like the CoreGraphics Windows and Mac build, you must have the QuickTime SDK installed.  In addition, you will need to manually obtain the following libraries:
    17  * [http://ftp.de.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg6b_6b.orig.tar.gz libJPEG] - JPEG libraries.  Since all existing win32 versions of this library seem to be missing important patches, I would recommend downloading the source [http://ftp.de.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg6b_6b.orig.tar.gz source tarball], then apply the [http://ftp.de.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg6b_6b-13.diff.gz debian patches].  You can then build it from the DOS shell using the included Makefile.vc.  I generally build the static library and link it directly to WebKit.
    18  * [http://gnuwin32.sourceforge.net/packages/libpng.htm libPNG] - PNG libraries (both the -bin and -lib packages).
    19  * [http://www.gtk.org/download-windows.html Cairo] - Cairo libraries (both the -bin and -dev packages).
    20  * [http://curl.haxx.se/ cURL] - Curl software.  I generally build this from source.
     16Just like the CoreGraphics Windows and Mac build, you must have the QuickTime SDK installed.  In addition, you will need to obtain a set of build requirements that are analogous to the Apple port's WebKitAuxilliaryLibraries.zip.  If you have a source tree newer than [http://trac.webkit.org/changeset/83657 r83657] you will get these libraries installed automatically when you perform a {{{update-webkit --wincairo}}} or a {{{build-webkit --wincairo}}}.  These files are now part of the normal build path.
    2117
    22 For convenience, I have bundled up my copies of these items for easy [http://idisk.mac.com/bfulgham-Public/requirements.zip download].
    23 
    24 Once you have them, unpack them someplace (such as C:\WebKit\requirements) and add the underlying {{{include}}} and {{{lib}}} directories to the Visual Studio Directory list.
     18Because of the Windows Cairo build places its header files in the {{{include/cairo}}} subfolder, you will need to update your Visual Studio default include paths to search in {{{$WEBKITLIBRARIESDIR/include/cairo}}} folder.
    2519
    2620== Building from within Visual Studio ==