WebKitGTK+-1.10.2

Introduction to WebKitGTK+

The WebKitGTK+ package is the port of the portable web rendering engine WebKit to the GTK+ platform.

This package is known to build and work properly using an LFS-7.2 platform.

Package Information

Additional Downloads

WebKitGTK+ Dependencies

Required

Gperf-3.0.4, gst-plugins-base-1.0.7 or gst-plugins-base-0.10.36, GTK+-3.6.4 or GTK+-2.24.17, ICU-51.1, libxslt-1.1.28, libsoup-2.40.3, MesaLib-9.1.2, Ruby-1.9.3-p429, SQLite-3.7.16.2 and which-2.20

Recommended

Optional

cURL-7.30.0, enchant-1.6.0, GTK-Doc-1.18 and MathML

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/webkitgtk

Installation of WebKitGTK+

[Warning]

Warning

If you are building WebKitGTK+ with make 3.82, make sure that you have built it with the following patch applied or WebKitGTK+ build will fail.

If you have not installed GTK-Doc-1.18, fix a bug that will cause make install to fail:

sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in

Install WebKitGTK+ by running the following commands:

patch -Np1 -i ../webkitgtk-1.10.2-fix_librt_linking-1.patch &&
./configure --prefix=/usr \
            --libexecdir=/usr/lib/WebKitGTK \
            --with-gstreamer=1.0 \
            --enable-introspection &&
make

This package does not have a working testsuite.

Now, as the root user:

make install

Command Explanations

--enable-introspection: This switch enables support for Gobject Introspection and is required for a GNOME Desktop. Remove if you don't have Gobject Introspection installed or you don't want to install GNOME.

--with-gstreamer=1.0: This switch forces use of GStreamer 1.0 series which GNOME 3.6 uses. Remove if you don't want to install GStreamer 1.0 or you don't want to install GNOME.

--disable-geolocation: Use this option if you did not install GeoClue-0.12.0 or configure will fail.

--with-gtk=2.0 --disable-webkit2: These parameters force WebKitGTK+ to compile against GTK+ 2, even if GTK+ 3 is also installed. With GTK+ 2, everything WebKitGTK+ installs is suffixed with 1.0. When it is compiled against GTK+ 3 everything it installs is suffixed with 3.0. Both versions can be installed alongside one another with no namespace conflicts.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Contents

Installed Program: jsc-1 or jsc-3
Installed Library: libjavascriptcoregtk-1.0.so and libwebkit-1.0.so or libjavascriptcoregtk-3.0.so, libwebkit2gtk-3.0.so and libwebkit-3.0.so
Installed Directories: /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or /usr/include/webkit-3.0, /usr/lib/WebKit and /usr/share/webkit-3.0

Short Descriptions

jsc-1 or jsc-3

is a command-line utility that allows you to run JavaScript programs outside of the context of a web browser.

libjavascriptcoregtk-1.0.so

contains core JavaScript API functions used by jsc-1 and libwebkitgtk-1.0.so.

libwebkitgtk-1.0.so

contains the WebKitGTK+ API functions for GTK+ 2.

libjavascriptcoregtk-3.0.so

contains core JavaScript API functions used by jsc-3 and libwebkitgtk-3.0.so.

libwebkitgtk-3.0.so

contains the WebKitGTK+ API functions for GTK+ 3.

libwebkit2gtk-3.0.so

contains the WebKit2 API functions.

Last updated on 2013-05-13 18:53:47 +0000