%general-entities; ]> $LastChangedBy$ $Date$ WebKitGTK+-&webkitgtk-version; WebKitGTK+ Introduction to WebKitGTK+ The WebKitGTK+ package is a port of the portable web rendering engine WebKit to the GTK+ 3 and GTK+ 2 platforms. &lfs90_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &webkitgtk-md5sum; Download size: &webkitgtk-size; Estimated disk space required: &webkitgtk-buildsize; Estimated build time: &webkitgtk-time; WebKitGTK+ Dependencies Required , , , , , , , , , , , , , , , and Recommended , , , , and Optional , , , , , Hyphen, MathML, libwpe, WPEBackend-fdo, and xdg-dbus-proxy User Notes: Installation of WebKitGTK+ Installation of WebKitGTK+ Install WebKitGTK+ by running the following commands: 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 \ -DUSE_LIBHYPHEN=OFF \ -DENABLE_MINIBROWSER=ON \ -DUSE_WOFF2=OFF \ -DUSE_WPE_RENDERER=OFF \ -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ -Wno-dev -G Ninja .. && ninja This package does not have a working testsuite. However, there is a usable basic graphical web browser in the build directory, build/bin/MiniBrowser. If launching it fails, there is a problem with the build. 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: ninja install && install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 && install -vm644 ../Documentation/webkit2gtk-4.0/html/* \ /usr/share/gtk-doc/html/webkit2gtk-4.0 && install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \ /usr/share/gtk-doc/html/webkitdomgtk-4.0 Command Explanations -DUSE_LIBHYPHEN=OFF: This switch disables default automatic hyphenation implementation. You need to install Hyphen, if you wish to enable it (replacing OFF with ON or just removing the switch). -DENABLE_MINIBROWSER=ON: This switch enables the Mini Browser compilation and install. -DUSE_WPE_RENDERER=OFF: Remove this switch if the optional packages libwpe and WPEBackend-fdo are installed. -DENABLE_BUBBLEWRAP_SANDBOX=OFF: Remove this switch if the optional package xdg-dbus-proxy is installed. : Use this switch if you do not have libnotify installed. : This switch enables building against the system installed malloc. : Use this switch if you don't want to install . : Use this switch if is installed and you wish to rebuild and install the API documentation. : Use this switch if the optional package is installed. Contents Installed Program Installed Libraries Installed Directories jsc, MiniBrowser, and WebKitWebDriver libjavascriptcoregtk-4.0.so and libwebkit2gtk-4.0.so /usr/include/webkitgtk-4.0, /usr/lib{,exec}/webkit2gtk-4.0, and /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 Short Descriptions jsc is a command-line utility that allows you to run JavaScript programs outside of the context of a web browser. jsc MiniBrowser is a very simple graphical browser. MiniBrowser WebKitWebDriver allows debugging and automation of web pages and browsers. WebKitWebDriver libjavascriptcoregtk-4.0.so contains core JavaScript API functions used by jsc and libwebkit2gtk-4.0. libjavascriptcoregtk-4.0.0.so libwebkit2gtk-4.0.so contains the WebKit2 API functions. libwebkit2gtk-4.0.so