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