Changes between Version 8 and Version 9 of BuildingGdk
- Timestamp:
- May 29, 2007, 6:31:31 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified BuildingGdk
v8 v9 18 18 * gperf 19 19 * libxslt-dev 20 * bakefile -- has to be specifically this version: http://kevino.theolliviers.com/bakefile-0.2.0-msvs2005.tar.gz21 20 22 21 == Using Qmake4 == 23 22 24 The Gdk port has made a compromise on its build system by incurring a dependency on qmake 4, the Qt toolkit build system. This is only a build-time dependency -- the compiled executables will of course continue to have no requirement of Qt. The decision was made to share resources with the Qt porting team and has been largely successful -- the Gdk port is more likely now than ever to be in a building state straight out of SVN while the port developers have more free time to write code instead of maintaining the build system.23 The Gdk port has made a compromise on its build system by incurring a dependency on qmake 4, the Qt toolkit build system. This is only a build-time dependency -- the compiled executables will of course continue to have no requirement of Qt. The decision was made to share resources with the Qt porting team and has been largely successful -- the Gdk port is more likely now than ever to be in a building state straight out of SVN while the port developers have more free time to write code instead of maintaining the old Bakefile build system. 25 24 26 25 To start the build, ensure that you have qmake4 installed and run: … … 30 29 This will build both the library and the GdkLauncher demo in WebKit/WebKitBuild 31 30 32 == OBSOLETE: Using the Bakefile build system ==33 34 Bakefile is no longer used to build the Gdk port. These instructions are obsolete and will be removed.35 36 [http://trac.webkit.org/projects/webkit/browser/trunk/Bakefiles/Readme.txt Bakefiles/Readme.txt] describes the first step, which involves generating GNU Makefiles from a description of the sources and dependencies. It is important to use the version of Bakefile linked to in that file as versions of Bakefile with the same version number provided in Linux distributions today do not have the necessary patches to build WebKit.37 38 Once this is done, running "make" in WebKit/WebCore/Projects/gdk should build the library in one step, yielding libwebcore-gdk.so39 40 == Testing the port ==41 42 Running "make" in WebKit/WebKitTools/GdkLauncher will build a test browser. Due to API changes, it is possible that linking will fail, in which case the port will need to be updated to track the latest WebCore API.43 44 31 = Hacking = 45 32 46 33 == Code layout == 47 34 48 [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/gdk WebCore/platform/gdk] 35 The main components of the port: 36 37 Gtk+/Gdk platform: [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/gdk WebCore/platform/gdk] 38 39 curl backend: [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/network/gdk WebCore/platform/network/gdk] 40 41 cairo graphics backend: [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/graphics/cairo WebCore/platform/graphics/cairo] 42 43 There are other gdk-port related directories which have yet to be listed here. 49 44 50 45 == Current tasks (May '07) ==