The WebKitGTK+ is the port of the portable web rendering engine WebKit to the GTK+ 3 and GTK+ 2 platforms.
This package is known to build and work properly using an LFS-7.7 platform.
Download (HTTP): http://webkitgtk.org/releases/webkitgtk-2.6.5.tar.xz
Download MD5 sum: 44addb5ccdace97642cb7656382293bb
Download size: 9.6 MB
Estimated disk space required: 877 MB (94 MB installed)
Estimated build time: 29 SBU (using parallelism=4)
CMake-3.1.3, gst-plugins-base-1.4.5, GTK+-2.24.26, GTK+-3.14.8, ICU-54.1, libsecret-0.18, libsoup-2.48.1, libwebp-0.4.2, MesaLib-10.4.5, Ruby-2.2.0, SQLite-3.8.8.2, udev-extras (from eudev) (for GUdev) and Which-2.20
enchant-1.6.0, GeoClue-0.12.0, gobject-introspection-1.42.0, hicolor-icon-theme-0.14
GTK-Doc-1.21, Harfbuzz-0.9.38, LLVM-3.5.1, GeoClue2, and MathML
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/webkitgtk
Install WebKitGTK+ by running the following commands:
sed -i 's/â€/\"/g' Source/WebCore/xml/XMLViewer.{css,js} && mkdir -vp build && cd build && cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH=ON \ -DPORT=GTK \ -DLIB_INSTALL_DIR=/usr/lib \ -Wno-dev .. && make
This package does not have a working testsuite.
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 && install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 && install -vm644 ../Documentation/webkit2gtk/html/* \ /usr/share/gtk-doc/html/webkit2gtk-4.0 && install -vm644 ../Documentation/webkitdomgtk/html/* \ /usr/share/gtk-doc/html/webkitdomgtk-4.0
sed -i ...: Fixes typos in two source code files.
-DUSE_SYSTEM_MALLOC=ON
: This switch
enables building against the system installed malloc.
-DENABLE_GEOLOCATION=OFF
: Use this
switch if you don't want to install GeoClue-0.12.0 or GeoClue2.
-DENABLE_GTKDOC=ON
: Use this switch if
GTK-Doc-1.21 is installed and you wish to
rebuild and install the API documentation.
Last updated on 2015-03-02 14:33:58 -0800