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