WebKitGTK+-2.4.1

Introduction to WebKitGTK+

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

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

Package Information

WebKitGTK+ Dependencies

Required

Gperf-3.0.4, gst-plugins-base-1.2.4, GTK+-3.12.1, ICU-53.1, libsecret-0.18, libsoup-2.46.0, libwebp-0.4.0, MesaLib-10.1.1, Ruby-2.1.1, SQLite-3.8.4.3, udev-extras (from systemd) (for GUdev) and Which-2.20

Recommended

Optional

GTK-Doc-1.20, Harfbuzz-0.9.27, LLVM-3.4, GeoClue2, 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 may fail.

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

./configure --prefix=/usr                    \
            --enable-introspection &&
make

This package does not have a working testsuite. However, there are two useable basic graphical web browsers in the source directory, Programs/GtkLauncher and Programs/MiniBrowser. If launching any one fails, there is a problem with the build.

[Note]

Note

When installing, the Makefile does some additional compiling and linking. If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH variables need to be defined for the root user. If using sudo to assume root, use the -E option to pass your current environment variables for the install process.

Now, as the root user:

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

Command Explanations

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

--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.

--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.

--libexecdir=/usr/lib/webkitgtk3: This option puts the package's private programs into /usr/lib/webkitgtk3 instead of /usr/libexec in accordance with the old version of the FHS used before LFS-7.5.

Contents

Installed Program: jsc-3
Installed Libraries: libjavascriptcoregtk-3.0.so, libwebkit2gtk-3.0.so, libwebkitgtk-3.0.so and /usr/lib/webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.so
Installed Directories: /usr/include/webkitgtk-3.0, /usr/lib/webkit2gtk-3.0, /usr/share/gtk-doc/html/webkitgtk-2.0, /usr/share/gtk-doc/html/webkitdomgtk, /usr/share/gtk-doc/html/webkit2gtk, and /usr/share/webkitgtk-3.0

Short Descriptions

jsc-3

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

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 2014-04-22 02:10:35 +0000