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