WebKitGTK+-1.10.2

Introduction to WebKitGTK+

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

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

Package Information

Additional Downloads

WebKitGTK+ Dependencies

Required

Gperf-3.0.4, gst-plugins-base-0.10.36, GTK+-2.24.22, ICU-52.1, libsoup-2.44.2, MesaLib-10.0.3, Ruby-2.1.0, SQLite-3.8.3.1 and Which-2.20

Recommended

Optional

cURL-7.35.0, gobject-introspection-1.38.0, GTK-Doc-1.19 and MathML

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

Installation of WebKitGTK+

If you have not installed GTK-Doc-1.19, 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:

sed -i '/parse-param/ a%lex-param {YYLEX_PARAM}' \
             Source/ThirdParty/ANGLE/src/compiler/glslang.y &&
patch -Np1 -i ../webkitgtk-1.10.2-fix_librt_linking-1.patch &&
./configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &&
make

This package does not have a working testsuite. However, there is a useable basic graphical web browser in the source directory, Programs/GtkLauncher. If it fails, there is a problem with the build.

Now, as the root user:

make install                                    &&
rm -rf /usr/share/gtk-doc/html/webkitgtk-1.0    &&
mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}

Command Explanations

mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}: There is a conflict with the directory installed with same name by WebKitGTK+-2.2.4.

sed ... Source/ThirdParty/ANGLE/src/compiler/glslang.y: This command corrects a problem caused by the most recent version of Bison.

--with-gtk=2.0 --disable-webkit2: These parameters force WebKitGTK+ to compile against GTK+ 2, even if GTK+ 3 is also installed.

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

--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
Installed Libraries: libjavascriptcoregtk-1.0.so and libwebkitgtk-1.0.so
Installed Directories: /usr/include/webkit-1.0, /usr/share/gtk-doc/html/webkitgtk-1.0 and /usr/share/webkit-1.0

Short Descriptions

jsc-1

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.

Last updated on 2014-03-04 05:30:09 -0800