WebKitGTK+-2.0.4

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

Package Information

WebKitGTK+ Dependencies

Required

Gperf-3.0.4, gst-plugins-base-1.0.10, GTK+-3.8.4, ICU-51.2, libsecret-0.16, libsoup-2.42.2, libwebp-0.3.1, MesaLib-9.2.0, Ruby-2.0.0, SQLite-3.8.0.2, udev-Installed LFS Version or udev-extras (from systemd) (for GUdev) and Which-2.20

Recommended

Optional

GTK-Doc-1.19 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.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 "/%union/i %lex-param {YYLEX_PARAM}" \
   Source/ThirdParty/ANGLE/src/compiler/glslang.y &&

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

This package does not have a working testsuite.

[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

Command Explanations

sed ... glslang.y: This command fixes a problem when using bison-3.0 or later.

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

Contents

Installed Program: jsc-3
Installed Libraries: libjavascriptcoregtk-3.0.so, libwebkit2gtk-3.0.so and libwebkit-3.0.so
Installed Directories: /usr/include/webkit-3.0, /usr/lib/webkitgtk3 and /usr/share/webkit-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 2013-09-03 12:08:19 -0700