[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[1a024c3c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
|
---|
[de4ed8e] | 8 | <!ENTITY webkitgtk-download-ftp " ">
|
---|
[452af2e9] | 9 | <!ENTITY webkitgtk-md5sum "9cf27d88b55e5b8168f4835b17ea6fd0">
|
---|
| 10 | <!ENTITY webkitgtk-size "33 MB">
|
---|
| 11 | <!ENTITY webkitgtk-buildsize "1.2 GB (195 MB installed, add 148 MB for GTK-4)">
|
---|
| 12 | <!ENTITY webkitgtk-time "23 SBU (for GTK-3, using parallelism=8, add 22 SBU for GTK-4)">
|
---|
[1a024c3c] | 13 | ]>
|
---|
| 14 |
|
---|
[442c799] | 15 | <sect1 id="webkitgtk" xreflabel="WebKitGTK-&webkitgtk-version;">
|
---|
[de4ed8e] | 16 | <?dbhtml filename="webkitgtk.html"?>
|
---|
[1a024c3c] | 17 |
|
---|
| 18 |
|
---|
[442c799] | 19 | <title>WebKitGTK-&webkitgtk-version;</title>
|
---|
[1a024c3c] | 20 |
|
---|
[de4ed8e] | 21 | <indexterm zone="webkitgtk">
|
---|
[442c799] | 22 | <primary sortas="a-WebKitGTK">WebKitGTK</primary>
|
---|
[1a024c3c] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[442c799] | 26 | <title>Introduction to WebKitGTK</title>
|
---|
[1a024c3c] | 27 |
|
---|
| 28 | <para>
|
---|
[8558044] | 29 | The <application>WebKitGTK</application> package is a port of the
|
---|
[4026a19] | 30 | portable web rendering engine <application>WebKit</application> to the
|
---|
[cbe60bd] | 31 | <application>GTK+ 3</application> and <application>GTK 4</application>
|
---|
[1a024c3c] | 32 | platforms.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[ca09b51] | 35 | &lfs121_checked;
|
---|
[1a024c3c] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
[de4ed8e] | 41 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
[1a024c3c] | 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
[de4ed8e] | 46 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
[1a024c3c] | 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
[de4ed8e] | 51 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
[1a024c3c] | 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
[de4ed8e] | 56 | Download size: &webkitgtk-size;
|
---|
[1a024c3c] | 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
[de4ed8e] | 61 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
[1a024c3c] | 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
[de4ed8e] | 66 | Estimated build time: &webkitgtk-time;
|
---|
[1a024c3c] | 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[2186e70d] | 71 | <!--
|
---|
[b01309e7] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 73 | <itemizedlist spacing="compact">
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Required patch:
|
---|
[bb5f8a3] | 77 | <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-upstream_fixes-1.patch"/>
|
---|
[b01309e7] | 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
[2186e70d] | 81 | -->
|
---|
[b01309e7] | 82 |
|
---|
[442c799] | 83 | <bridgehead renderas="sect3">WebKitGTK Dependencies</bridgehead>
|
---|
[1a024c3c] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 86 | <para role="required">
|
---|
[4026a19] | 87 | <xref linkend="cairo"/>,
|
---|
[1a024c3c] | 88 | <xref linkend="cmake"/>,
|
---|
| 89 | <xref linkend="gst10-plugins-base"/>,
|
---|
[ad930e67] | 90 | <xref linkend="gst10-plugins-bad"/>,
|
---|
[1a024c3c] | 91 | <xref linkend="gtk3"/>,
|
---|
[ab376e9] | 92 | <xref linkend="gtk4"/>,
|
---|
[1a024c3c] | 93 | <xref linkend="icu"/>,
|
---|
[885bcd41] | 94 | <xref linkend="lcms2"/>,
|
---|
[f175d6f6] | 95 | <xref linkend="libgudev"/>,
|
---|
[1a024c3c] | 96 | <xref linkend="libsecret"/>,
|
---|
[c7318b4] | 97 | <xref linkend="libsoup3"/>,
|
---|
[40454cd2] | 98 | <xref linkend="libtasn1"/>,
|
---|
[1a024c3c] | 99 | <xref linkend="libwebp"/>,
|
---|
[7a395d1] | 100 | <xref linkend="mesa"/>,
|
---|
[2367283] | 101 | <xref linkend="openjpeg2"/>,
|
---|
[1a024c3c] | 102 | <xref linkend="ruby"/>,
|
---|
[fbfb998] | 103 | <xref linkend="sqlite"/>,
|
---|
[acea88c] | 104 | <xref linkend="unifdef"/>,
|
---|
[fbfb998] | 105 | <xref linkend="which"/>, and
|
---|
| 106 | <xref linkend="wpebackend-fdo"/>
|
---|
[1a024c3c] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[fddab91] | 110 | <para role="recommended">
|
---|
[92e5300] | 111 | <xref linkend="bubblewrap"/>,
|
---|
[decb6bc5] | 112 | <xref linkend="enchant"/>,
|
---|
[560b86d] | 113 | <xref linkend="geoclue2"/>,
|
---|
[acea88c] | 114 | <xref linkend="gobject-introspection"/>,
|
---|
[92e5300] | 115 | <xref linkend="hicolor-icon-theme"/>,
|
---|
[3f65573] | 116 | <xref linkend="libavif"/>,
|
---|
| 117 | <xref linkend="libseccomp"/>, and
|
---|
[92e5300] | 118 | <xref linkend="xdg-dbus-proxy"/>
|
---|
[4026a19] | 119 | </para>
|
---|
[1a024c3c] | 120 |
|
---|
| 121 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[fddab91] | 122 | <para role="optional">
|
---|
[92e5300] | 123 | <!--<xref linkend="bubblewrap"/>,-->
|
---|
[f56d2e7] | 124 | <xref linkend="gi-docgen"/>,
|
---|
[1a024c3c] | 125 | <xref linkend="harfbuzz"/>,
|
---|
[47d5a9e5] | 126 | <xref linkend="wayland"/>,
|
---|
| 127 | <xref linkend="woff2"/>,
|
---|
[9851978] | 128 | <ulink url="https://ccache.dev/">ccache</ulink>,
|
---|
[c6b192c] | 129 | <ulink url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
[acea88c] | 130 | <!--<ulink url="https://github.com/AOMediaCodec/libavif">libavif</ulink>,-->
|
---|
[92e5300] | 131 | <ulink url="https://github.com/libjxl/libjxl">libjxl</ulink>, and
|
---|
| 132 | <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>
|
---|
| 133 | <!--<ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>-->
|
---|
[1a024c3c] | 134 | </para>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="installation">
|
---|
[442c799] | 139 | <title>Installation of WebKitGTK</title>
|
---|
[1a024c3c] | 140 |
|
---|
| 141 | <bridgehead renderas="sect3">Installation of
|
---|
[442c799] | 142 | <application>WebKitGTK</application></bridgehead>
|
---|
[1a024c3c] | 143 |
|
---|
[bf70a38] | 144 | <!-- https://bugs.webkit.org/show_bug.cgi?id=262777
|
---|
| 145 | https://github.com/WebKit/WebKit/commit/c29a26a02441 -->
|
---|
[d1857f3] | 146 |
|
---|
| 147 | <!-- Fixed in 2.42.2
|
---|
[8f1785c] | 148 | <para>
|
---|
[bf70a38] | 149 | First, fix an issue breaking Web sites relying on Javascript Blob API:
|
---|
[8f1785c] | 150 | </para>
|
---|
| 151 |
|
---|
[bf70a38] | 152 | <screen><userinput>sed "/bool BlobURL::isSecureBlobURL/,/^}/ \
|
---|
| 153 | s/return false/return SecurityOrigin::isSecure(getOriginURL(url))/" \
|
---|
| 154 | -i Source/WebCore/fileapi/BlobURL.cpp</userinput></screen>
|
---|
[d1857f3] | 155 | -->
|
---|
[8f1785c] | 156 |
|
---|
[ab376e9] | 157 | <important>
|
---|
| 158 | <para>
|
---|
| 159 | This package allows building with either GTK-3 or GTK-4, but not both
|
---|
[95abdf87] | 160 | in the same build. The GTK-4 version is needed for packages such as
|
---|
| 161 | <xref linkend="epiphany"/>. Other packages, such as
|
---|
| 162 | <xref linkend="balsa"/> or <xref linkend="evolution"/>, require the
|
---|
| 163 | GTK-3 version. Both versions can be installed side by side on the
|
---|
| 164 | same system. We give build instructions for both cases below, but
|
---|
| 165 | the only difference is the setting of <command>-DUSE_GTK4</command>
|
---|
[ab376e9] | 166 | </para>
|
---|
| 167 | </important>
|
---|
| 168 |
|
---|
[66765fe] | 169 |
|
---|
| 170 | <!-- https://github.com/WebKit/WebKit/commit/3d53735756 and
|
---|
| 171 | https://bugs.webkit.org/show_bug.cgi?id=268739 -->
|
---|
| 172 |
|
---|
[053e0a1] | 173 | <para>
|
---|
[66765fe] | 174 | First, if you are on a 32-bit machine, fix a build failure:
|
---|
[053e0a1] | 175 | </para>
|
---|
| 176 |
|
---|
[66765fe] | 177 | <screen><userinput remap="pre">case $(uname -m) in
|
---|
| 178 | i?86) sed -e '/UNUSED_VARIABLE(t6)/d' \
|
---|
| 179 | -e '/UNUSED_VARIABLE(t7)/d' \
|
---|
| 180 | -i Source/JavaScriptCore/llint/LowLevelInterpreter.cpp ;;
|
---|
| 181 | esac</userinput></screen>
|
---|
[053e0a1] | 182 |
|
---|
[1a024c3c] | 183 | <para>
|
---|
[95abdf87] | 184 | If you want to install the GTK+-3 version of
|
---|
| 185 | <application>WebKitGTK</application>, run the following commands:
|
---|
[1a024c3c] | 186 | </para>
|
---|
[6fe4f013] | 187 |
|
---|
[8252e757] | 188 | <screen revision="systemd"><userinput>mkdir -vp build &&
|
---|
[24dfdcd] | 189 | cd build &&
|
---|
[1a024c3c] | 190 |
|
---|
[42b7dab] | 191 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 192 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 193 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 194 | -DPORT=GTK \
|
---|
| 195 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
[a78d8510] | 196 | -DUSE_LIBHYPHEN=OFF \
|
---|
[40454cd2] | 197 | -DENABLE_GAMEPAD=OFF \
|
---|
[7c4f32b] | 198 | -DENABLE_MINIBROWSER=ON \
|
---|
[c7318b4] | 199 | -DENABLE_DOCUMENTATION=OFF \
|
---|
[f858bd7] | 200 | -DUSE_WOFF2=OFF \
|
---|
[95abdf87] | 201 | -DUSE_GTK4=OFF \
|
---|
[fbfb998] | 202 | -DUSE_WPE_RENDERER=ON \
|
---|
[f6e07a25] | 203 | -DUSE_JPEGXL=OFF \
|
---|
[92e5300] | 204 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[12b10249] | 205 | -Wno-dev -G Ninja .. &&
|
---|
[4291c1e] | 206 | ninja</userinput></screen>
|
---|
[1a024c3c] | 207 |
|
---|
[8252e757] | 208 | <screen revision="sysv"><userinput>mkdir -vp build &&
|
---|
| 209 | cd build &&
|
---|
| 210 |
|
---|
| 211 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 212 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 213 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 214 | -DPORT=GTK \
|
---|
| 215 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 216 | -DUSE_LIBHYPHEN=OFF \
|
---|
[1b1a555] | 217 | -DENABLE_GAMEPAD=OFF \
|
---|
[8252e757] | 218 | -DENABLE_MINIBROWSER=ON \
|
---|
[c7318b4] | 219 | -DENABLE_DOCUMENTATION=OFF \
|
---|
[8252e757] | 220 | -DUSE_WOFF2=OFF \
|
---|
[95abdf87] | 221 | -DUSE_GTK4=OFF \
|
---|
[f6e07a25] | 222 | -DUSE_JPEGXL=OFF \
|
---|
[fbfb998] | 223 | -DUSE_WPE_RENDERER=ON \
|
---|
[c38d051] | 224 | -DENABLE_JOURNALD_LOG=OFF \
|
---|
[92e5300] | 225 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[8252e757] | 226 | -Wno-dev -G Ninja .. &&
|
---|
| 227 | ninja</userinput></screen>
|
---|
| 228 |
|
---|
[1a024c3c] | 229 | <para>
|
---|
[48771ae] | 230 | This package does not have a working test suite. However, there is a
|
---|
[c69b5e72] | 231 | usable basic graphical web browser in the build directory,
|
---|
[7c4f32b] | 232 | <application>build/bin/MiniBrowser</application>. If launching it fails,
|
---|
| 233 | there is a problem with the build.
|
---|
[1a024c3c] | 234 | </para>
|
---|
| 235 |
|
---|
| 236 | <para>
|
---|
| 237 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 238 | </para>
|
---|
| 239 |
|
---|
[b5b672a9] | 240 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1a024c3c] | 241 |
|
---|
[b5b672a9] | 242 | <para>
|
---|
| 243 | As the <option>-DENABLE_DOCUMENTATION=OFF</option> option is used,
|
---|
| 244 | the documentation is not rebuilt nor installed now. If you need the
|
---|
| 245 | documentation, you can either install <xref linkend='gi-docgen'/>
|
---|
| 246 | and remove this option from the <command>cmake</command> command,
|
---|
| 247 | or install the pre-built documentation instead:
|
---|
| 248 | </para>
|
---|
| 249 |
|
---|
| 250 | <screen role='root'><userinput>install -vdm755 /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1 &&
|
---|
[c7318b4] | 251 | install -vm644 ../Documentation/jsc-glib-4.1/* \
|
---|
[1936c94] | 252 | /usr/share/gtk-doc/html/jsc-glib-4.1 &&
|
---|
[c7318b4] | 253 | install -vm644 ../Documentation/webkit2gtk-4.1/* \
|
---|
| 254 | /usr/share/gtk-doc/html/webkit2gtk-4.1 &&
|
---|
| 255 | install -vm644 ../Documentation/webkit2gtk-web-extension-4.1/* \
|
---|
| 256 | /usr/share/gtk-doc/html/webkit2gtk-web-extension-4.1</userinput></screen>
|
---|
[95abdf87] | 257 |
|
---|
| 258 | <para>
|
---|
| 259 | If you want to install the GTK4 version of
|
---|
| 260 | <application>WebKitGTK</application>, run the following commands:
|
---|
| 261 | </para>
|
---|
| 262 |
|
---|
| 263 | <screen revision="systemd"><userinput>rm -rf * .[^.]* &&
|
---|
| 264 |
|
---|
| 265 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 266 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 267 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 268 | -DPORT=GTK \
|
---|
| 269 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 270 | -DUSE_LIBHYPHEN=OFF \
|
---|
| 271 | -DENABLE_GAMEPAD=OFF \
|
---|
| 272 | -DENABLE_MINIBROWSER=ON \
|
---|
| 273 | -DENABLE_DOCUMENTATION=OFF \
|
---|
| 274 | -DUSE_WOFF2=OFF \
|
---|
| 275 | -DUSE_GTK4=ON \
|
---|
[f6e07a25] | 276 | -DUSE_JPEGXL=OFF \
|
---|
[95abdf87] | 277 | -DUSE_WPE_RENDERER=ON \
|
---|
[92e5300] | 278 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[95abdf87] | 279 | -Wno-dev -G Ninja .. &&
|
---|
| 280 | ninja</userinput></screen>
|
---|
| 281 |
|
---|
| 282 | <screen revision="sysv"><userinput>rm -rf * .[^.]* &&
|
---|
| 283 |
|
---|
| 284 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 285 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 286 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 287 | -DPORT=GTK \
|
---|
| 288 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 289 | -DUSE_LIBHYPHEN=OFF \
|
---|
| 290 | -DENABLE_GAMEPAD=OFF \
|
---|
| 291 | -DENABLE_MINIBROWSER=ON \
|
---|
| 292 | -DENABLE_DOCUMENTATION=OFF \
|
---|
| 293 | -DUSE_WOFF2=OFF \
|
---|
| 294 | -DUSE_GTK4=ON \
|
---|
[f6e07a25] | 295 | -DUSE_JPEGXL=OFF \
|
---|
[95abdf87] | 296 | -DUSE_WPE_RENDERER=ON \
|
---|
| 297 | -DENABLE_JOURNALD_LOG=OFF \
|
---|
[92e5300] | 298 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[95abdf87] | 299 | -Wno-dev -G Ninja .. &&
|
---|
| 300 | ninja</userinput></screen>
|
---|
| 301 |
|
---|
| 302 | <para>
|
---|
| 303 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 304 | </para>
|
---|
| 305 |
|
---|
| 306 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 307 |
|
---|
[1a024c3c] | 308 | </sect2>
|
---|
| 309 |
|
---|
| 310 | <sect2 role="commands">
|
---|
| 311 | <title>Command Explanations</title>
|
---|
| 312 |
|
---|
[016e770] | 313 | <!-- <para>
|
---|
[fabeff7] | 314 | <command>sed ... TextCheckerEnchant.cpp</command>: This command
|
---|
[af451f4] | 315 | is needed to allow the build to complete with enchant-2.x.
|
---|
[016e770] | 316 | </para> -->
|
---|
[fabeff7] | 317 |
|
---|
[a78d8510] | 318 | <para>
|
---|
[885bcd41] | 319 | <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables the
|
---|
[a78d8510] | 320 | default automatic hyphenation implementation. You need to install
|
---|
| 321 | <ulink
|
---|
[885bcd41] | 322 | url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>
|
---|
[a78d8510] | 323 | if you wish to enable it (replacing OFF with ON or just removing
|
---|
| 324 | the switch).
|
---|
| 325 | </para>
|
---|
| 326 |
|
---|
[c7318b4] | 327 | <para>
|
---|
| 328 | <parameter>-DENABLE_DOCUMENTATION=OFF</parameter>: This switch disables
|
---|
| 329 | regenerating the documentation. Remove this switch if you have
|
---|
[f56d2e7] | 330 | <xref linkend="gi-docgen"/>
|
---|
[c7318b4] | 331 | installed and wish to regenerate the documentation.
|
---|
| 332 | </para>
|
---|
| 333 |
|
---|
[40454cd2] | 334 | <para>
|
---|
| 335 | <parameter>-DENABLE_GAMEPAD=OFF</parameter>: This switch disables
|
---|
| 336 | gamepad support. Remove this switch if you have
|
---|
| 337 | <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>
|
---|
| 338 | installed and wish to enable it.
|
---|
| 339 | </para>
|
---|
| 340 |
|
---|
[7c4f32b] | 341 | <para>
|
---|
[8252e757] | 342 | <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables
|
---|
| 343 | compiling and installing the MiniBrowser.
|
---|
[7c4f32b] | 344 | </para>
|
---|
| 345 |
|
---|
[aa41434] | 346 | <para>
|
---|
[fbfb998] | 347 | <parameter>-DUSE_WPE_RENDERER=ON</parameter>: This switch uses the WPE
|
---|
| 348 | renderer, which is recommended by upstream.
|
---|
[aa41434] | 349 | </para>
|
---|
| 350 |
|
---|
[f6e07a25] | 351 | <para>
|
---|
| 352 | <parameter>-DUSE_JPEGXL=OFF</parameter>: This switch turns off support
|
---|
| 353 | for JPEG-XL images. Remove it if you have the optional package
|
---|
| 354 | <ulink url="https://github.com/libjxl/libjxl">libjxl</ulink> installed.
|
---|
| 355 | </para>
|
---|
| 356 |
|
---|
[aa41434] | 357 | <para>
|
---|
[92e5300] | 358 | <parameter>-DENABLE_BUBBLEWRAP_SANDBOX=ON</parameter>: This switch
|
---|
| 359 | enables the Bubblewrap sandbox, which helps mitigate the impact of most
|
---|
| 360 | security vulnerabilities in this package. Change this switch to OFF if
|
---|
[3f65573] | 361 | you do not want to install <xref linkend="bubblewrap" role="nodep"/>,
|
---|
| 362 | <xref linkend='libseccomp' role="nodep"/>, or
|
---|
[92e5300] | 363 | <xref linkend="xdg-dbus-proxy" role="nodep"/>, but note that this may
|
---|
| 364 | put you at risk.
|
---|
| 365 | <!-- Note: This works well on both i686 and x86_64. -renodr -->
|
---|
[aa41434] | 366 | </para>
|
---|
[8252e757] | 367 |
|
---|
| 368 | <para revision="sysv">
|
---|
[c38d051] | 369 | <parameter>-DENABLE_JOURNALD_LOG=OFF</parameter>: This switch disables using the
|
---|
[8252e757] | 370 | systemd journal for logging errors and debugging information since it
|
---|
| 371 | is not available on SysV systems.
|
---|
| 372 | </para>
|
---|
[aa41434] | 373 |
|
---|
[1a024c3c] | 374 | <para>
|
---|
| 375 | <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
| 376 | against the system installed <application>malloc</application>.
|
---|
| 377 | </para>
|
---|
| 378 |
|
---|
| 379 | <para>
|
---|
| 380 | <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
[560b86d] | 381 | want to install <xref linkend="geoclue2"/>.
|
---|
[1a024c3c] | 382 | </para>
|
---|
| 383 |
|
---|
[acea88c] | 384 | <para>
|
---|
| 385 | <option>-DUSE_AVIF=OFF</option>: Use this switch if you don't want to
|
---|
| 386 | install <xref linkend="libavif"/>. Note that you will not have support
|
---|
| 387 | for AVIF images if you do this.
|
---|
| 388 | </para>
|
---|
| 389 |
|
---|
[f858bd7] | 390 | <para>
|
---|
[8558044] | 391 | <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
|
---|
[1f61010e] | 392 | package <xref linkend="woff2"/> is installed. This adds additional
|
---|
| 393 | support for fonts.
|
---|
[f858bd7] | 394 | </para>
|
---|
| 395 |
|
---|
[1a024c3c] | 396 | </sect2>
|
---|
| 397 |
|
---|
| 398 | <sect2 role="content">
|
---|
| 399 | <title>Contents</title>
|
---|
| 400 |
|
---|
| 401 | <segmentedlist>
|
---|
| 402 | <segtitle>Installed Program</segtitle>
|
---|
| 403 | <segtitle>Installed Libraries</segtitle>
|
---|
| 404 | <segtitle>Installed Directories</segtitle>
|
---|
| 405 |
|
---|
| 406 | <seglistitem>
|
---|
| 407 | <seg>
|
---|
[da1575a] | 408 | <!-- Moved to /usr/libexec/webkit2gtk-4.0, so shouldn't appear here
|
---|
[8558044] | 409 | jsc,
|
---|
[da1575a] | 410 | MiniBrowser, and -->
|
---|
[4291c1e] | 411 | WebKitWebDriver
|
---|
[1a024c3c] | 412 | </seg>
|
---|
| 413 | <seg>
|
---|
[ab376e9] | 414 | libjavascriptcoregtk-4.1.so,
|
---|
| 415 | libjavascriptcoregtk-6.0.so,
|
---|
| 416 | libwebkit2gtk-4.1.so, and
|
---|
| 417 | libwebkitgtk-6.0.so
|
---|
[1a024c3c] | 418 | </seg>
|
---|
| 419 | <seg>
|
---|
[c7318b4] | 420 | /usr/include/webkitgtk-4.1,
|
---|
[ab376e9] | 421 | /usr/include/webkitgtk-6.0,
|
---|
| 422 | /usr/lib{,exec}/webkit2gtk-4.1,
|
---|
| 423 | /usr/lib{,exec}/webkitgtk-6.0, and
|
---|
[c7318b4] | 424 | /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1
|
---|
[1a024c3c] | 425 | </seg>
|
---|
| 426 | </seglistitem>
|
---|
| 427 | </segmentedlist>
|
---|
| 428 |
|
---|
| 429 | <variablelist>
|
---|
| 430 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 431 | <?dbfo list-presentation="list"?>
|
---|
| 432 | <?dbhtml list-presentation="table"?>
|
---|
| 433 |
|
---|
[da1575a] | 434 | <!--
|
---|
[1a024c3c] | 435 | <varlistentry id="jsc">
|
---|
| 436 | <term><command>jsc</command></term>
|
---|
| 437 | <listitem>
|
---|
| 438 | <para>
|
---|
| 439 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 440 | outside of the context of a web browser.
|
---|
| 441 | </para>
|
---|
[de4ed8e] | 442 | <indexterm zone="webkitgtk jsc">
|
---|
[1a024c3c] | 443 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 444 | </indexterm>
|
---|
| 445 | </listitem>
|
---|
| 446 | </varlistentry>
|
---|
| 447 |
|
---|
[7c4f32b] | 448 | <varlistentry id="MiniBrowser">
|
---|
| 449 | <term><command>MiniBrowser</command></term>
|
---|
| 450 | <listitem>
|
---|
| 451 | <para>
|
---|
| 452 | is a very simple graphical browser.
|
---|
| 453 | </para>
|
---|
| 454 | <indexterm zone="webkitgtk MiniBrowser">
|
---|
| 455 | <primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
---|
| 456 | </indexterm>
|
---|
| 457 | </listitem>
|
---|
| 458 | </varlistentry>
|
---|
[da1575a] | 459 | -->
|
---|
[4d185c9e] | 460 | <varlistentry id="WebKitWebDriver">
|
---|
| 461 | <term><command>WebKitWebDriver</command></term>
|
---|
| 462 | <listitem>
|
---|
| 463 | <para>
|
---|
[4c24eb0a] | 464 | allows debugging and automation of web pages and browsers
|
---|
[4d185c9e] | 465 | </para>
|
---|
| 466 | <indexterm zone="webkitgtk WebKitWebDriver">
|
---|
| 467 | <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
|
---|
| 468 | </indexterm>
|
---|
| 469 | </listitem>
|
---|
| 470 | </varlistentry>
|
---|
| 471 |
|
---|
[c7318b4] | 472 | <varlistentry id="libjavascriptcoregtk-4.1">
|
---|
[4c24eb0a] | 473 | <term>
|
---|
[c7318b4] | 474 | <filename class="libraryfile">libjavascriptcoregtk-4.1.so</filename>
|
---|
[4c24eb0a] | 475 | </term>
|
---|
[1a024c3c] | 476 | <listitem>
|
---|
| 477 | <para>
|
---|
| 478 | contains core JavaScript API functions used by
|
---|
[4c24eb0a] | 479 | <command>jsc</command> and
|
---|
[c7318b4] | 480 | <filename class="libraryfile">libwebkit2gtk-4.1</filename>
|
---|
[1a024c3c] | 481 | </para>
|
---|
[c7318b4] | 482 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.1">
|
---|
| 483 | <primary sortas="c-libjavascriptcoregtk-4.1">libjavascriptcoregtk-4.1.so</primary>
|
---|
[1a024c3c] | 484 | </indexterm>
|
---|
| 485 | </listitem>
|
---|
| 486 | </varlistentry>
|
---|
| 487 |
|
---|
[ab376e9] | 488 | <varlistentry id="libjavascriptcoregtk-6.0">
|
---|
| 489 | <term><filename class="libraryfile">libjavascriptcoregtk-6.0.so</filename></term>
|
---|
| 490 | <listitem>
|
---|
| 491 | <para>
|
---|
| 492 | contains core JavaScript API functions used by
|
---|
| 493 | <command>jsc</command> and
|
---|
[f6e07a25] | 494 | <filename class="libraryfile">libwebkitgtk-6.0</filename>
|
---|
[ab376e9] | 495 | </para>
|
---|
| 496 | <indexterm zone="webkitgtk libjavascriptcoregtk-6.0">
|
---|
| 497 | <primary sortas="c-libjavascriptcoregtk-6.0">libjavascriptcoregtk-6.0.so</primary>
|
---|
| 498 | </indexterm>
|
---|
| 499 | </listitem>
|
---|
| 500 | </varlistentry>
|
---|
| 501 |
|
---|
[1a024c3c] | 502 | <varlistentry id="libwebkit2gtk-4">
|
---|
[c7318b4] | 503 | <term><filename class="libraryfile">libwebkit2gtk-4.1.so</filename></term>
|
---|
[1a024c3c] | 504 | <listitem>
|
---|
| 505 | <para>
|
---|
[4c24eb0a] | 506 | contains the <application>WebKit2</application> API functions
|
---|
[1a024c3c] | 507 | </para>
|
---|
[de4ed8e] | 508 | <indexterm zone="webkitgtk libwebkit2gtk-4">
|
---|
[c7318b4] | 509 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.1.so</primary>
|
---|
[1a024c3c] | 510 | </indexterm>
|
---|
| 511 | </listitem>
|
---|
| 512 | </varlistentry>
|
---|
| 513 |
|
---|
[ab376e9] | 514 | <varlistentry id="libwebkitgtk-6">
|
---|
| 515 | <term><filename class="libraryfile">libwebkitgtk-6.0.so</filename></term>
|
---|
| 516 | <listitem>
|
---|
| 517 | <para>
|
---|
| 518 | contains the <application>WebKit</application> API functions for
|
---|
| 519 | GTK-4 applications
|
---|
| 520 | </para>
|
---|
| 521 | <indexterm zone="webkitgtk libwebkitgtk-6">
|
---|
| 522 | <primary sortas="c-libwebkitgtk-6">libwebkitgtk-6.0.so</primary>
|
---|
| 523 | </indexterm>
|
---|
| 524 | </listitem>
|
---|
| 525 | </varlistentry>
|
---|
| 526 |
|
---|
[1a024c3c] | 527 | </variablelist>
|
---|
| 528 |
|
---|
| 529 | </sect2>
|
---|
| 530 |
|
---|
| 531 | </sect1>
|
---|