7 | | * [wiki:"BuildingGdk" Building on Gdk] |
8 | | * [wiki:"QtWebKit" Building on Qt] |
9 | | |
10 | | For a quick setup of WebKit on GNU/Linux use the following section. |
11 | | |
12 | | == Easy steps == |
13 | | |
14 | | === Build Gdk Port === |
15 | | |
16 | | * Checkout the main trunk from SVN. It will take atleast 2 hrs to get this complete. |
17 | | |
18 | | |
19 | | {{{ |
20 | | $ svn co http://svn.webkit.org/repository/webkit/trunk WebKit |
21 | | }}} |
22 | | |
23 | | * The checkout is around 1.1GB (depends on SVN client used) and after build it adds 600 MB. |
24 | | |
25 | | * While SVN checkout is going on, you time save by issuing the following command in a new terminal to install the external dependencies required for the Gdk port to be build, |
26 | | |
27 | | |
28 | | {{{ |
29 | | |
30 | | In Fedora, |
31 | | |
32 | | # yum install qt4 qt4-devel gperf sqlite-devel bison flex libxslt gtk+ libicu-devel libjpeg-devel libsqlite3-devel |
33 | | |
34 | | In Debian/Ubuntu, (this was tested on Ubuntu 7.10, not sure for the other flavors) |
35 | | |
36 | | # apt-get install libqt4-dev gperf libsqlite3-dev bison flex libxslt1-dev libgtk2.0-dev libicu36-dev libjpeg62-dev |
37 | | |
38 | | In Gentoo, will not work.. some body can check ;) |
39 | | |
40 | | # emerge qt4 qt4-devel gperf sqlite-devel bison flex libxslt gtk+ libicu-devel libjpeg-devel libsqlite3-devel |
41 | | |
42 | | |
43 | | NOTE: Some packages given in the above command may be already got installed by default. All the above packages are requirement for the Gdk port to get compiled. |
44 | | |
45 | | }}} |
46 | | |
47 | | * Export path variable using the command, |
48 | | |
49 | | |
50 | | {{{ |
51 | | $ export QTDIR=/usr/lib/qt4 |
52 | | $ export PATH=$QTDIR/bin:$PATH |
53 | | }}} |
54 | | |
55 | | |
56 | | * Build WebKit and the Gdk test browser with |
57 | | |
58 | | {{{ |
59 | | WebKit/WebKitTools/Scripts/build-webkit --gdk --default |
60 | | }}} |
61 | | |
62 | | * Testing the port |
63 | | |
64 | | A very simple test browser is built at |
65 | | |
66 | | {{{ |
67 | | WebKit/WebKitBuild/Release/WebKitTools/GdkLauncher/GdkLauncher |
68 | | }}} |
69 | | |
70 | | === Building Qt port === |
71 | | |
72 | | The same procedure upto build steps. After that use the following command, |
73 | | |
74 | | * Build WebKit and the Qt test browser with |
75 | | |
76 | | {{{ |
77 | | WebKit/WebKitTools/Scripts/build-webkit |
78 | | }}} |
79 | | |
80 | | * Testing the port |
81 | | |
82 | | A very simple test browser is built at |
83 | | |
84 | | {{{ |
85 | | WebKit/WebKitBuild/Release/WebKitQt/QtLauncher/QtLauncher |
86 | | }}} |
87 | | |
88 | | |
| 7 | * [wiki:"BuildingGdk" Building the Gdk WebKit Port for Linux] |
| 8 | * [wiki:"BuildingQtOnLinux" Building the Qt WebKit Port for Linux] |