Changes between Version 1 and Version 2 of WebKitGTK


Ignore:
Timestamp:
Jul 14, 2010 12:14:15 PM (14 years ago)
Author:
Martin Robinson
Comment:

Link to the build instructions and fix some small typos

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK

    v1 v2  
    33= WebKitGTK+ =
    44
    5 The GTK+ port of WebKit is intended to provide a browser component for the portable [http://www.gtk.org/ Gtk+] UI toolkit. WebKitGTK+ is developed within the official WebKit SVN, so the codebase is unrelated to the classic [http://gtk-webcore.sourceforge.net/ Gtk+ WebCore], but WebKit GKT+ has superseded Gtk+ WebCore. The [http://build.webkit.org/ WebKit Buildbot] provides continuous build and layouts tests. A [wiki:StableGTK semi-stable] branch exists to evaluate how to handle issues such as stability, and security support.
     5The GTK+ port of WebKit is intended to provide a browser component for the portable [http://www.gtk.org/ Gtk+] UI toolkit. WebKitGTK+ is developed within the official WebKit SVN, so the codebase is unrelated to the classic [http://gtk-webcore.sourceforge.net/ Gtk+ WebCore], but WebKit GTK+ has superseded Gtk+ WebCore. The [http://build.webkit.org/ WebKit Buildbot] provides continuous build and layouts tests. A [wiki:StableGTK semi-stable] branch exists to evaluate how to handle issues such as stability and security support.
    66
    77Developers interested in using or contributing to the GTK+ port should be willing to get their hands dirty at this stage. Patches are welcome on the [http://bugs.webkit.org/ bug tracker] and help is readily available at #webkit-gtk on irc.freenode.net and the [http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk mailing list] for developers who want to learn the ropes.
     8
     9== Building ==
     10
     11See the [https://trac.webkit.org/wiki/BuildingGtk build instructions].
    812
    913== Distributions ==
     
    4549Lunar provides an experimental/development module for WebKit/GTK+.  It can be found in the moonbase in the experimental (zbeta) section under the name 'WebKit.'
    4650
    47 === Mac OS X ===
    48 
    49 The code on Mac OS X should built like any Linux distribution, as long as you install the build dependencies (in addition to an "ordinary build environment" that includes XCode Tools 2.3 or newer). See bellow.
    50 
    51 == Dependencies ==
    52 
    53 The code should be easily built on any Linux distribution which has development packages for GTK+ installed. Bellow is a list of Debian package names you will need to install. Although the names of the packages are probably different in non-Debian-based distributions, it should be fairly easy to find the alternative names. Notice that this list may get outdated:
    54 
    55  * autoconf
    56  * automake
    57  * libtool
    58  * libgtk2.0-dev (>= 2.10)
    59  * libpango1.0-dev (>= 1.16)
    60  * libicu-dev
    61  * libxslt-dev
    62  * libsoup2.4-dev (>= 2.27.4) (*)
    63  * libsqlite3-dev
    64  * gperf
    65  * bison (>= 2.4.1)
    66  * flex
    67  * libjpeg62-dev
    68  * libpng12-dev
    69  * libxt-dev
    70  * autotools-dev
    71  * libgstreamer-plugins-base0.10-dev
    72  * libenchant-dev
    73  * libgail-dev
    74  * libgeoclue-dev
    75  * gtk-doc-tools
    76 
    77 (*) As of [http://trac.webkit.org/changeset/52208 change-set 52208] libsoup version 2.28.2 or greater is required.[[BR]]
    78 
    79 (*) [http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.29/ Libsoup 2.29.3 tar ball] release is missing '''libsoup/soup-content-decoder.h'''.  SOUP_TYPE_CONTENT_DECODER is defined in the header file and it will result in a compilation error: '''WebKit/gtk/webkit/webkitprivate.cpp:290: error: 'SOUP_TYPE_CONTENT_DECODER' was not declared in this scope'''.  [http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.28/ libsoup 2.28.2] works.
    80 
    81 == Build and Install ==
    82 
    83 The GTK+ port can now be built using autotools (autoconf, automake, libtool). To build the GTK+ port just issue the following commands:
    84 
    85 {{{
    86 $ ./autogen.sh --prefix=/path/to/install/directory
    87 $ make
    88 }}}
    89 
    90 This will build a demo browser that uses the GTK+ port in the `Programs/` directory which you can run using the following command:
    91 
    92 {{{
    93 $ ./Programs/GtkLauncher
    94 }}}
    95 
    96 To install the WebKit GTK+ library, simply issue
    97 
    98 
    99 {{{
    100 $ make install
    101 }}}
    102 
    103 The `configure` script also supports the different features WebKit/GTK+ provide (e.g., SVG filters and animation features, HTML5 Video element support, etc..). Simply issuing
    104 
    105 {{{
    106 $ ./configure --help
    107 }}}
    108 
    109 on the command-line should give you a brief overview of what can be configured. Although you can build with these features enabled, it doesn't mean that the functionality is complete, let alone working properly. Feel free to submit a bug at http://bugs.webkit.org if you find something that is not working.
    110 
    11151= Further links =
    11252