wiki:ApolloWebKit

Adobe AIR Port

See AIR product page for more info about AIR (formerly known as Apollo).

Subject: RE: [webkit-dev] Question to the Adobe ApolloWebKit developers, tips and tricks to getting your "branch" to compile.
Date: Fri, 27 Jul 2007 14:02:37 -0700
From: "Chris Brichford"

Some assembly is required. :).  First thing you will need to do is download
 some libraries our port depends on.

When compiling on windows you will need:
icu from http://www.icu-project.org/download/  (we are using version 3.4.1).
Libxml from ftp://xmlsoft.org/libxml2/ 
Libxslt from ftp://xmlsoft.org/libxslt/
Loki from http://sourceforge.net/projects/loki-lib/ ( We'll probably remove
 this dependency in the future ).
You will also need cygwin ( http://www.cygwin.com ) with at least the following
 packages and their dependencies:
Bash
Bison
Cygutils
Flex
Gawk
Gcc-G++
Gperf
Make
Perl


When compiling on mac you will just need:
Loki from http://sourceforge.net/projects/loki-lib/ ( We'll probably remove
 this dependency in the future ).


You will want to arrange the source tree as follows:

someDirectory/A/B/WebCore/...
someDirectory/A/B/JavaScriptCore/...
someDirectory/A/B/WebKit/...
someDirectory/SDK/libxml/...
someDirectory/SDK/libxslt/...
someDirectory/SDK/loki/...
someDirectory/SDK/icu/source/...


If you are compiling on windows, then you will want to create new sln file that
 references:
someDirectory/A/B/WebCore/WebCore.apolloproj/win/WebCore.vc2005.vcproj
someDirectory/A/B/JavaScriptCore/JavaScriptCore.apolloproj/win/JavaScriptCore.vc2005.vcproj
someDirectory/A/B/WebKit/WebKit.apolloproj/win/WebKit.vc2005.vcproj

On mac if you arrange the source tree as describe above there is a good chance
 things should just build.  The build output on both mac and windows will be in
 someDirectory/build/...

That should get the project to compile.  To link you will have to build libxml,
 libxslt, and icu ( Loki does not need to be built because WebKit/apollo just
 some of its header files ) and change the project settings on WebKit's project
 file to link against the version you built.  You can either build static or
 dynamic libraries for libxml, libxslt, and icu.  We build those libraries as static
 libs.

Hope this helps,
Chris Brichford
Adobe Systems Inc.
Last modified 17 years ago Last modified on Mar 3, 2008, 8:10:00 PM
Note: See TracWiki for help on using the wiki.