Changes between Initial Version and Version 1 of BuildingOnLinux


Ignore:
Timestamp:
Jul 24, 2007, 3:36:39 AM (17 years ago)
Author:
vprajan@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnLinux

    v1 v1  
     1== Introduction ==
     2
     3In Linux, you can build either Gdk port or Qt port. Gdk, QT port means the GUI browser is implemented using those libraries. So, These ports need external dependent libraries pre-installed on the system to get build. NOTE: Gdk and QT port share the external dependencies.
     4
     5== Dependencies ==
     6
     7Check ["BuildingGdk" http://trac.webkit.org/projects/webkit/wiki/BuildingGdk] and ["BuildingQT" http://trac.webkit.org/projects/webkit/wiki/QtWebKit] to get a more detailed compilation steps.
     8
     9== Easy steps ==
     10
     11=== Build Gdk Port ===
     12
     13* Checkout the main trunk from SVN. It will take atleast 2 hrs to get this complete.
     14
     15 
     16{{{
     17    $ svn co http://svn.webkit.org/repository/webkit/trunk WebKit
     18}}}
     19
     20* The checkout is around 1.1GB of size and after build it grows to 1.5GB.
     21
     22* 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,
     23
     24
     25{{{
     26   
     27In Fedora,
     28
     29    # yum install qt4 qt4-devel gperf sqlite-devel bison flex libxslt gtk+ libicu-devel libjpeg-devel libsqlite3-devel
     30
     31In Debain/Ubuntu, Not sure ;)
     32
     33    # apt-get install qt4 qt4-devel gperf sqlite-devel bison flex libxslt gtk+ libicu-devel libjpeg-devel libsqlite3-devel
     34
     35In Gentoo, will not work.. some body can check ;)
     36
     37    # emerge qt4 qt4-devel gperf sqlite-devel bison flex libxslt gtk+ libicu-devel libjpeg-devel libsqlite3-devel
     38 
     39
     40 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.
     41
     42}}}
     43
     44* Export path variable using the command,
     45
     46
     47{{{
     48    $ export QTDIR=/usr/lib/qt4
     49    $ export PATH=$QTDIR/bin:$PATH
     50}}}
     51
     52
     53* Build WebKit and the Gdk test browser with
     54
     55{{{
     56WebKit/WebKitTools/Scripts/build-webkit --gdk --default
     57}}}
     58
     59* Testing the port
     60
     61A very simple test browser is built at
     62
     63{{{
     64WebKit/WebKitBuild/Debug/WebKitTools/GdkLauncher/GdkLauncher
     65}}}
     66
     67=== Building QT port ===
     68
     69The same procedure upto build steps. After that use the following command,
     70
     71* Build WebKit and the Gdk test browser with
     72
     73{{{
     74WebKit/WebKitTools/Scripts/build-webkit --gdk --default
     75}}}
     76
     77* Testing the port
     78
     79A very simple test browser is built at
     80
     81{{{
     82WebKit/WebKitBuild/Release/WebKitQt/QtLauncher/QtLauncher
     83}}}
     84
     85