%general-entities; ]> 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 4 platforms. &lfs113_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 , , , , , , ccache, Hyphen, libavif, libmanette, 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_GAMEPAD=OFF \ -DENABLE_MINIBROWSER=ON \ -DENABLE_DOCUMENTATION=OFF \ -DUSE_WOFF2=OFF \ -DUSE_WPE_RENDERER=ON \ -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ -Wno-dev -G Ninja .. && ninja 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_GAMEPAD=OFF \ -DENABLE_MINIBROWSER=ON \ -DENABLE_DOCUMENTATION=OFF \ -DUSE_WOFF2=OFF \ -DUSE_WPE_RENDERER=ON \ -DENABLE_JOURNALD_LOG=OFF \ -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ -Wno-dev -G Ninja .. && ninja This package does not have a working test suite. 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. Now, as the root user: ninja install As the option is used, the documentation is not rebuilt nor installed now. If you need the documentation, you can either install and remove this option from the cmake command, or install the pre-built documentation instead: install -vdm755 /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1 && install -vm644 ../Documentation/jsc-glib-4.1/* \ /usr/share/gtk-doc/html/jsc-glib-4.1 && install -vm644 ../Documentation/webkit2gtk-4.1/* \ /usr/share/gtk-doc/html/webkit2gtk-4.1 && install -vm644 ../Documentation/webkit2gtk-web-extension-4.1/* \ /usr/share/gtk-doc/html/webkit2gtk-web-extension-4.1 Command Explanations -DUSE_LIBHYPHEN=OFF: This switch disables the 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_DOCUMENTATION=OFF: This switch disables regenerating the documentation. Remove this switch if you have installed and wish to regenerate the documentation. -DENABLE_GAMEPAD=OFF: This switch disables gamepad support. Remove this switch if you have libmanette installed and wish to enable it. -DENABLE_MINIBROWSER=ON: This switch enables compiling and installing the MiniBrowser. -DUSE_WPE_RENDERER=ON: This switch uses the WPE renderer, which is recommended by upstream. -DENABLE_BUBBLEWRAP_SANDBOX=OFF: Remove this switch if the optional packages and xdg-dbus-proxy are installed. -DENABLE_JOURNALD_LOG=OFF: This switch disables using the systemd journal for logging errors and debugging information since it is not available on SysV systems. : This switch enables building against the system installed malloc. : Use this switch if you don't want to install . : Use this switch if the optional package is installed. This adds additional support for fonts. Contents Installed Program Installed Libraries Installed Directories WebKitWebDriver libjavascriptcoregtk-4.1.so and libwebkit2gtk-4.1.so /usr/include/webkitgtk-4.1, /usr/lib{,exec}/webkit2gtk-4.1, and /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1 Short Descriptions WebKitWebDriver allows debugging and automation of web pages and browsers WebKitWebDriver libjavascriptcoregtk-4.1.so contains core JavaScript API functions used by jsc and libwebkit2gtk-4.1 libjavascriptcoregtk-4.1.so libwebkit2gtk-4.1.so contains the WebKit2 API functions libwebkit2gtk-4.1.so