[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 " ">
|
---|
[ca1dfde] | 9 | <!ENTITY webkitgtk-md5sum "126f51432eb59d6c307c70858f5459c9">
|
---|
| 10 | <!ENTITY webkitgtk-size "41 MB">
|
---|
| 11 | <!ENTITY webkitgtk-buildsize "1.4 GB (163 MB installed, add 157 MB for GTK-4)">
|
---|
| 12 | <!ENTITY webkitgtk-time "32 SBU (for GTK-3, using parallelism=8, add 32 SBU for GTK-4)">
|
---|
[9acdb9d] | 13 |
|
---|
| 14 | <!ENTITY libbacktrace
|
---|
| 15 | "<ulink url='https://github.com/ianlancetaylor/libbacktrace'>libbacktrace</ulink>">
|
---|
[1a024c3c] | 16 | ]>
|
---|
| 17 |
|
---|
[442c799] | 18 | <sect1 id="webkitgtk" xreflabel="WebKitGTK-&webkitgtk-version;">
|
---|
[de4ed8e] | 19 | <?dbhtml filename="webkitgtk.html"?>
|
---|
[1a024c3c] | 20 |
|
---|
| 21 |
|
---|
[442c799] | 22 | <title>WebKitGTK-&webkitgtk-version;</title>
|
---|
[1a024c3c] | 23 |
|
---|
[de4ed8e] | 24 | <indexterm zone="webkitgtk">
|
---|
[442c799] | 25 | <primary sortas="a-WebKitGTK">WebKitGTK</primary>
|
---|
[1a024c3c] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[442c799] | 29 | <title>Introduction to WebKitGTK</title>
|
---|
[1a024c3c] | 30 |
|
---|
| 31 | <para>
|
---|
[8558044] | 32 | The <application>WebKitGTK</application> package is a port of the
|
---|
[4026a19] | 33 | portable web rendering engine <application>WebKit</application> to the
|
---|
[cbe60bd] | 34 | <application>GTK+ 3</application> and <application>GTK 4</application>
|
---|
[1a024c3c] | 35 | platforms.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[6360539] | 38 | &lfs122_checked;
|
---|
[1a024c3c] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
[de4ed8e] | 44 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
[1a024c3c] | 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
[de4ed8e] | 49 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
[1a024c3c] | 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
[de4ed8e] | 54 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
[1a024c3c] | 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
[de4ed8e] | 59 | Download size: &webkitgtk-size;
|
---|
[1a024c3c] | 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
[de4ed8e] | 64 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
[1a024c3c] | 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
[de4ed8e] | 69 | Estimated build time: &webkitgtk-time;
|
---|
[1a024c3c] | 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[2186e70d] | 74 | <!--
|
---|
[b01309e7] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch:
|
---|
[bb5f8a3] | 80 | <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-upstream_fixes-1.patch"/>
|
---|
[b01309e7] | 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
[2186e70d] | 84 | -->
|
---|
[b01309e7] | 85 |
|
---|
[442c799] | 86 | <bridgehead renderas="sect3">WebKitGTK Dependencies</bridgehead>
|
---|
[1a024c3c] | 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
[4026a19] | 90 | <xref linkend="cairo"/>,
|
---|
[1a024c3c] | 91 | <xref linkend="cmake"/>,
|
---|
| 92 | <xref linkend="gst10-plugins-base"/>,
|
---|
[ad930e67] | 93 | <xref linkend="gst10-plugins-bad"/>,
|
---|
[1a024c3c] | 94 | <xref linkend="gtk3"/>,
|
---|
[ab376e9] | 95 | <xref linkend="gtk4"/>,
|
---|
[1a024c3c] | 96 | <xref linkend="icu"/>,
|
---|
[885bcd41] | 97 | <xref linkend="lcms2"/>,
|
---|
[f175d6f6] | 98 | <xref linkend="libgudev"/>,
|
---|
[1a024c3c] | 99 | <xref linkend="libsecret"/>,
|
---|
[c7318b4] | 100 | <xref linkend="libsoup3"/>,
|
---|
[40454cd2] | 101 | <xref linkend="libtasn1"/>,
|
---|
[1a024c3c] | 102 | <xref linkend="libwebp"/>,
|
---|
[7a395d1] | 103 | <xref linkend="mesa"/>,
|
---|
[2367283] | 104 | <xref linkend="openjpeg2"/>,
|
---|
[1a024c3c] | 105 | <xref linkend="ruby"/>,
|
---|
[fbfb998] | 106 | <xref linkend="sqlite"/>,
|
---|
[9acdb9d] | 107 | <xref linkend="unifdef"/>, and
|
---|
| 108 | <xref linkend="which"/>
|
---|
[1a024c3c] | 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[fddab91] | 112 | <para role="recommended">
|
---|
[92e5300] | 113 | <xref linkend="bubblewrap"/>,
|
---|
[decb6bc5] | 114 | <xref linkend="enchant"/>,
|
---|
[560b86d] | 115 | <xref linkend="geoclue2"/>,
|
---|
[c0bc0a9] | 116 | &gobject-introspection;,
|
---|
[92e5300] | 117 | <xref linkend="hicolor-icon-theme"/>,
|
---|
[3f65573] | 118 | <xref linkend="libavif"/>,
|
---|
[d0c049f] | 119 | <xref linkend="libjxl"/>,
|
---|
[3f65573] | 120 | <xref linkend="libseccomp"/>, and
|
---|
[92e5300] | 121 | <xref linkend="xdg-dbus-proxy"/>
|
---|
[4026a19] | 122 | </para>
|
---|
[1a024c3c] | 123 |
|
---|
| 124 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[fddab91] | 125 | <para role="optional">
|
---|
[f56d2e7] | 126 | <xref linkend="gi-docgen"/>,
|
---|
[1a024c3c] | 127 | <xref linkend="harfbuzz"/>,
|
---|
[47d5a9e5] | 128 | <xref linkend="wayland"/>,
|
---|
| 129 | <xref linkend="woff2"/>,
|
---|
[9851978] | 130 | <ulink url="https://ccache.dev/">ccache</ulink>,
|
---|
[c6b192c] | 131 | <ulink url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
[ca1dfde] | 132 | &libbacktrace;,
|
---|
| 133 | <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>, and
|
---|
| 134 | <ulink url="&sysprof-url;">sysprof</ulink>
|
---|
[1a024c3c] | 135 | </para>
|
---|
| 136 |
|
---|
| 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 |
|
---|
[ab376e9] | 145 | <important>
|
---|
| 146 | <para>
|
---|
| 147 | This package allows building with either GTK-3 or GTK-4, but not both
|
---|
[95abdf87] | 148 | in the same build. The GTK-4 version is needed for packages such as
|
---|
| 149 | <xref linkend="epiphany"/>. Other packages, such as
|
---|
| 150 | <xref linkend="balsa"/> or <xref linkend="evolution"/>, require the
|
---|
| 151 | GTK-3 version. Both versions can be installed side by side on the
|
---|
| 152 | same system. We give build instructions for both cases below, but
|
---|
[d6fab82] | 153 | the only difference is the setting of <command>-D USE_GTK4</command>
|
---|
[ab376e9] | 154 | </para>
|
---|
| 155 | </important>
|
---|
| 156 |
|
---|
[d8e7734] | 157 | <!--
|
---|
[ade0ad4] | 158 | <para>
|
---|
| 159 | First, fix a regression that occurs with some websites that use
|
---|
[d8e7734] | 160 | WebAssembly: <! - - Ticket #20235 - ->
|
---|
[ade0ad4] | 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <screen><userinput remap="pre">sed '/returnLocation.isStackArgument/,/returnLocation = canonicalLocation/d'\
|
---|
| 164 | -i Source/JavaScriptCore/wasm/WasmBBQJIT.cpp</userinput></screen>
|
---|
[d8e7734] | 165 | -->
|
---|
[ade0ad4] | 166 |
|
---|
[1a024c3c] | 167 | <para>
|
---|
[95abdf87] | 168 | If you want to install the GTK+-3 version of
|
---|
| 169 | <application>WebKitGTK</application>, run the following commands:
|
---|
[1a024c3c] | 170 | </para>
|
---|
[6fe4f013] | 171 |
|
---|
[8252e757] | 172 | <screen revision="systemd"><userinput>mkdir -vp build &&
|
---|
[24dfdcd] | 173 | cd build &&
|
---|
[1a024c3c] | 174 |
|
---|
[ca1dfde] | 175 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 176 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 177 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 178 | -D PORT=GTK \
|
---|
| 179 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 180 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 181 | -D USE_LIBHYPHEN=OFF \
|
---|
| 182 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 183 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 184 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 185 | -D ENABLE_WEBDRIVER=OFF \
|
---|
| 186 | -D USE_WOFF2=OFF \
|
---|
| 187 | -D USE_GTK4=OFF \
|
---|
| 188 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[4abc266] | 189 | -D USE_SYSPROF_CAPTURE=NO \
|
---|
[ca1dfde] | 190 | -W no-dev -G Ninja .. &&
|
---|
[4291c1e] | 191 | ninja</userinput></screen>
|
---|
[1a024c3c] | 192 |
|
---|
[8252e757] | 193 | <screen revision="sysv"><userinput>mkdir -vp build &&
|
---|
| 194 | cd build &&
|
---|
| 195 |
|
---|
[ca1dfde] | 196 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 197 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 198 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 199 | -D PORT=GTK \
|
---|
| 200 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 201 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 202 | -D USE_LIBHYPHEN=OFF \
|
---|
| 203 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 204 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 205 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 206 | -D ENABLE_WEBDRIVER=OFF \
|
---|
| 207 | -D USE_WOFF2=OFF \
|
---|
| 208 | -D USE_GTK4=OFF \
|
---|
| 209 | -D ENABLE_JOURNALD_LOG=OFF \
|
---|
| 210 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[4abc266] | 211 | -D USE_SYSPROF_CAPTURE=NO \
|
---|
[ca1dfde] | 212 | -W no-dev -G Ninja .. &&
|
---|
[8252e757] | 213 | ninja</userinput></screen>
|
---|
| 214 |
|
---|
[1a024c3c] | 215 | <para>
|
---|
[48771ae] | 216 | This package does not have a working test suite. However, there is a
|
---|
[c69b5e72] | 217 | usable basic graphical web browser in the build directory,
|
---|
[7c4f32b] | 218 | <application>build/bin/MiniBrowser</application>. If launching it fails,
|
---|
| 219 | there is a problem with the build.
|
---|
[1a024c3c] | 220 | </para>
|
---|
| 221 |
|
---|
| 222 | <para>
|
---|
| 223 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
[b5b672a9] | 226 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1a024c3c] | 227 |
|
---|
[95abdf87] | 228 | <para>
|
---|
| 229 | If you want to install the GTK4 version of
|
---|
| 230 | <application>WebKitGTK</application>, run the following commands:
|
---|
| 231 | </para>
|
---|
| 232 |
|
---|
| 233 | <screen revision="systemd"><userinput>rm -rf * .[^.]* &&
|
---|
| 234 |
|
---|
[ca1dfde] | 235 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 236 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 237 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 238 | -D PORT=GTK \
|
---|
| 239 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 240 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 241 | -D USE_LIBHYPHEN=OFF \
|
---|
| 242 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 243 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 244 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 245 | -D USE_WOFF2=OFF \
|
---|
| 246 | -D USE_GTK4=ON \
|
---|
| 247 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[4abc266] | 248 | -D USE_SYSPROF_CAPTURE=NO \
|
---|
[ca1dfde] | 249 | -W no-dev -G Ninja .. &&
|
---|
[95abdf87] | 250 | ninja</userinput></screen>
|
---|
| 251 |
|
---|
| 252 | <screen revision="sysv"><userinput>rm -rf * .[^.]* &&
|
---|
| 253 |
|
---|
[ca1dfde] | 254 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 255 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 256 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 257 | -D PORT=GTK \
|
---|
| 258 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 259 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 260 | -D USE_LIBHYPHEN=OFF \
|
---|
| 261 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 262 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 263 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 264 | -D USE_WOFF2=OFF \
|
---|
| 265 | -D USE_GTK4=ON \
|
---|
| 266 | -D ENABLE_JOURNALD_LOG=OFF \
|
---|
| 267 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[4abc266] | 268 | -D USE_SYSPROF_CAPTURE=NO \
|
---|
| 269 | -W no-dev -G Ninja .. &&
|
---|
[95abdf87] | 270 | ninja</userinput></screen>
|
---|
| 271 |
|
---|
| 272 | <para>
|
---|
| 273 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 274 | </para>
|
---|
| 275 |
|
---|
| 276 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 277 |
|
---|
[9acdb9d] | 278 | <para>
|
---|
[4304a5f] | 279 | As the <option>-D ENABLE_DOCUMENTATION=OFF</option> option is used,
|
---|
[9acdb9d] | 280 | the documentation is not rebuilt nor installed now. If you need the
|
---|
| 281 | documentation, you can either install <xref linkend='gi-docgen'/>
|
---|
| 282 | and remove this option from the <command>cmake</command> command,
|
---|
| 283 | or install the pre-built documentation (only for the GTK-4 version)
|
---|
| 284 | instead:
|
---|
| 285 | </para>
|
---|
| 286 |
|
---|
| 287 | <screen role='root'><userinput>install -vdm755 /usr/share/gtk-doc/html &&
|
---|
[9333d93e] | 288 | cp -rv ../Documentation/* /usr/share/gtk-doc/html</userinput></screen>
|
---|
[9acdb9d] | 289 |
|
---|
[1a024c3c] | 290 | </sect2>
|
---|
| 291 |
|
---|
| 292 | <sect2 role="commands">
|
---|
| 293 | <title>Command Explanations</title>
|
---|
| 294 |
|
---|
[016e770] | 295 | <!-- <para>
|
---|
[fabeff7] | 296 | <command>sed ... TextCheckerEnchant.cpp</command>: This command
|
---|
[af451f4] | 297 | is needed to allow the build to complete with enchant-2.x.
|
---|
[016e770] | 298 | </para> -->
|
---|
[fabeff7] | 299 |
|
---|
[846bcc9] | 300 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 301 | href="../../xincludes/cmake-skip-install-rpath.xml"/>
|
---|
| 302 |
|
---|
[9acdb9d] | 303 | <para>
|
---|
[4304a5f] | 304 | <parameter>-D USE_LIBBACKTRACE=OFF</parameter>: This switch disables
|
---|
[9acdb9d] | 305 | the use of libbacktrace for dumping a stack trace when a crash
|
---|
| 306 | happens. You need to install &libbacktrace; if you wish to enable it
|
---|
| 307 | (replacing OFF with ON or just removing the switch).
|
---|
| 308 | </para>
|
---|
| 309 |
|
---|
[a78d8510] | 310 | <para>
|
---|
[4304a5f] | 311 | <parameter>-D USE_LIBHYPHEN=OFF</parameter>: This switch disables the
|
---|
[a78d8510] | 312 | default automatic hyphenation implementation. You need to install
|
---|
| 313 | <ulink
|
---|
[885bcd41] | 314 | url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>
|
---|
[a78d8510] | 315 | if you wish to enable it (replacing OFF with ON or just removing
|
---|
| 316 | the switch).
|
---|
| 317 | </para>
|
---|
| 318 |
|
---|
[c7318b4] | 319 | <para>
|
---|
[4304a5f] | 320 | <parameter>-D ENABLE_DOCUMENTATION=OFF</parameter>: This switch disables
|
---|
[c7318b4] | 321 | regenerating the documentation. Remove this switch if you have
|
---|
[f56d2e7] | 322 | <xref linkend="gi-docgen"/>
|
---|
[c7318b4] | 323 | installed and wish to regenerate the documentation.
|
---|
| 324 | </para>
|
---|
| 325 |
|
---|
[40454cd2] | 326 | <para>
|
---|
[4304a5f] | 327 | <parameter>-D ENABLE_GAMEPAD=OFF</parameter>: This switch disables
|
---|
[40454cd2] | 328 | gamepad support. Remove this switch if you have
|
---|
| 329 | <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>
|
---|
| 330 | installed and wish to enable it.
|
---|
| 331 | </para>
|
---|
| 332 |
|
---|
[7c4f32b] | 333 | <para>
|
---|
[4304a5f] | 334 | <parameter>-D ENABLE_MINIBROWSER=ON</parameter>: This switch enables
|
---|
[8252e757] | 335 | compiling and installing the MiniBrowser.
|
---|
[7c4f32b] | 336 | </para>
|
---|
| 337 |
|
---|
[64e33fe5] | 338 | <para>
|
---|
[4304a5f] | 339 | <parameter>-D ENABLE_WEBDRIVER=OFF</parameter>: This switch disables
|
---|
[64e33fe5] | 340 | compiling and installing <command>WebKitWebDriver</command>. We use
|
---|
| 341 | it for the GTK-3 build because the <command>WebKitWebDriver</command>
|
---|
| 342 | from the GTK-3 build will be overwritten by the GTK-4 build anyway.
|
---|
| 343 | Remove this option if you don't plan to build this package with
|
---|
| 344 | GTK-4.
|
---|
| 345 | </para>
|
---|
| 346 |
|
---|
[d0c049f] | 347 | <!--
|
---|
[f6e07a25] | 348 | <para>
|
---|
[4304a5f] | 349 | <parameter>-D USE_JPEGXL=OFF</parameter>: This switch turns off support
|
---|
[f6e07a25] | 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>
|
---|
[d0c049f] | 353 | -->
|
---|
[aa41434] | 354 | <para>
|
---|
[4304a5f] | 355 | <parameter>-D ENABLE_BUBBLEWRAP_SANDBOX=ON</parameter>: This switch
|
---|
[92e5300] | 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">
|
---|
[4304a5f] | 366 | <parameter>-D ENABLE_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 |
|
---|
[ca1dfde] | 371 | <para>
|
---|
[4abc266] | 372 | <parameter>-D USE_SYSPROF_CAPTURE=NO</parameter>: This switch
|
---|
[ca1dfde] | 373 | disables a hard dependency on <ulink url="&sysprof-url;">sysprof</ulink>.
|
---|
| 374 | </para>
|
---|
| 375 |
|
---|
[1a024c3c] | 376 | <para>
|
---|
[4304a5f] | 377 | <option>-D USE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
[1a024c3c] | 378 | against the system installed <application>malloc</application>.
|
---|
| 379 | </para>
|
---|
| 380 |
|
---|
| 381 | <para>
|
---|
[4304a5f] | 382 | <option>-D ENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
[560b86d] | 383 | want to install <xref linkend="geoclue2"/>.
|
---|
[1a024c3c] | 384 | </para>
|
---|
| 385 |
|
---|
[acea88c] | 386 | <para>
|
---|
[4304a5f] | 387 | <option>-D USE_AVIF=OFF</option>: Use this switch if you don't want to
|
---|
[acea88c] | 388 | install <xref linkend="libavif"/>. Note that you will not have support
|
---|
| 389 | for AVIF images if you do this.
|
---|
| 390 | </para>
|
---|
| 391 |
|
---|
[f858bd7] | 392 | <para>
|
---|
[4304a5f] | 393 | <option>-D USE_WOFF2=ON</option>: Use this switch if the optional
|
---|
[1f61010e] | 394 | package <xref linkend="woff2"/> is installed. This adds additional
|
---|
| 395 | support for fonts.
|
---|
[f858bd7] | 396 | </para>
|
---|
| 397 |
|
---|
[d0c049f] | 398 | <para>
|
---|
[4304a5f] | 399 | <option>-D USE_JPEGXL=OFF</option>: Use this switch if the recommended
|
---|
[d0c049f] | 400 | package <xref linkend="libjxl"/> is not installed. Note that you will not
|
---|
| 401 | have support for JPEG XL images if this option is passed.
|
---|
| 402 | </para>
|
---|
| 403 |
|
---|
[1a024c3c] | 404 | </sect2>
|
---|
| 405 |
|
---|
| 406 | <sect2 role="content">
|
---|
| 407 | <title>Contents</title>
|
---|
| 408 |
|
---|
| 409 | <segmentedlist>
|
---|
| 410 | <segtitle>Installed Program</segtitle>
|
---|
| 411 | <segtitle>Installed Libraries</segtitle>
|
---|
| 412 | <segtitle>Installed Directories</segtitle>
|
---|
| 413 |
|
---|
| 414 | <seglistitem>
|
---|
| 415 | <seg>
|
---|
[da1575a] | 416 | <!-- Moved to /usr/libexec/webkit2gtk-4.0, so shouldn't appear here
|
---|
[8558044] | 417 | jsc,
|
---|
[da1575a] | 418 | MiniBrowser, and -->
|
---|
[4291c1e] | 419 | WebKitWebDriver
|
---|
[1a024c3c] | 420 | </seg>
|
---|
| 421 | <seg>
|
---|
[ab376e9] | 422 | libjavascriptcoregtk-4.1.so,
|
---|
| 423 | libjavascriptcoregtk-6.0.so,
|
---|
| 424 | libwebkit2gtk-4.1.so, and
|
---|
| 425 | libwebkitgtk-6.0.so
|
---|
[1a024c3c] | 426 | </seg>
|
---|
| 427 | <seg>
|
---|
[c7318b4] | 428 | /usr/include/webkitgtk-4.1,
|
---|
[ab376e9] | 429 | /usr/include/webkitgtk-6.0,
|
---|
| 430 | /usr/lib{,exec}/webkit2gtk-4.1,
|
---|
[9acdb9d] | 431 | /usr/lib{,exec}/webkitgtk-6.0,
|
---|
[c7318b4] | 432 | /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1
|
---|
[9acdb9d] | 433 | (optional), and
|
---|
| 434 | /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-process-extension}}-6.0
|
---|
[1a024c3c] | 435 | </seg>
|
---|
| 436 | </seglistitem>
|
---|
| 437 | </segmentedlist>
|
---|
| 438 |
|
---|
| 439 | <variablelist>
|
---|
| 440 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 441 | <?dbfo list-presentation="list"?>
|
---|
| 442 | <?dbhtml list-presentation="table"?>
|
---|
| 443 |
|
---|
[da1575a] | 444 | <!--
|
---|
[1a024c3c] | 445 | <varlistentry id="jsc">
|
---|
| 446 | <term><command>jsc</command></term>
|
---|
| 447 | <listitem>
|
---|
| 448 | <para>
|
---|
| 449 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 450 | outside of the context of a web browser.
|
---|
| 451 | </para>
|
---|
[de4ed8e] | 452 | <indexterm zone="webkitgtk jsc">
|
---|
[1a024c3c] | 453 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 454 | </indexterm>
|
---|
| 455 | </listitem>
|
---|
| 456 | </varlistentry>
|
---|
| 457 |
|
---|
[7c4f32b] | 458 | <varlistentry id="MiniBrowser">
|
---|
| 459 | <term><command>MiniBrowser</command></term>
|
---|
| 460 | <listitem>
|
---|
| 461 | <para>
|
---|
| 462 | is a very simple graphical browser.
|
---|
| 463 | </para>
|
---|
| 464 | <indexterm zone="webkitgtk MiniBrowser">
|
---|
| 465 | <primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
[da1575a] | 469 | -->
|
---|
[4d185c9e] | 470 | <varlistentry id="WebKitWebDriver">
|
---|
| 471 | <term><command>WebKitWebDriver</command></term>
|
---|
| 472 | <listitem>
|
---|
| 473 | <para>
|
---|
[4c24eb0a] | 474 | allows debugging and automation of web pages and browsers
|
---|
[4d185c9e] | 475 | </para>
|
---|
| 476 | <indexterm zone="webkitgtk WebKitWebDriver">
|
---|
| 477 | <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
[c7318b4] | 482 | <varlistentry id="libjavascriptcoregtk-4.1">
|
---|
[4c24eb0a] | 483 | <term>
|
---|
[c7318b4] | 484 | <filename class="libraryfile">libjavascriptcoregtk-4.1.so</filename>
|
---|
[4c24eb0a] | 485 | </term>
|
---|
[1a024c3c] | 486 | <listitem>
|
---|
| 487 | <para>
|
---|
| 488 | contains core JavaScript API functions used by
|
---|
[4c24eb0a] | 489 | <command>jsc</command> and
|
---|
[c7318b4] | 490 | <filename class="libraryfile">libwebkit2gtk-4.1</filename>
|
---|
[1a024c3c] | 491 | </para>
|
---|
[c7318b4] | 492 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.1">
|
---|
| 493 | <primary sortas="c-libjavascriptcoregtk-4.1">libjavascriptcoregtk-4.1.so</primary>
|
---|
[1a024c3c] | 494 | </indexterm>
|
---|
| 495 | </listitem>
|
---|
| 496 | </varlistentry>
|
---|
| 497 |
|
---|
[ab376e9] | 498 | <varlistentry id="libjavascriptcoregtk-6.0">
|
---|
| 499 | <term><filename class="libraryfile">libjavascriptcoregtk-6.0.so</filename></term>
|
---|
| 500 | <listitem>
|
---|
| 501 | <para>
|
---|
| 502 | contains core JavaScript API functions used by
|
---|
| 503 | <command>jsc</command> and
|
---|
[f6e07a25] | 504 | <filename class="libraryfile">libwebkitgtk-6.0</filename>
|
---|
[ab376e9] | 505 | </para>
|
---|
| 506 | <indexterm zone="webkitgtk libjavascriptcoregtk-6.0">
|
---|
| 507 | <primary sortas="c-libjavascriptcoregtk-6.0">libjavascriptcoregtk-6.0.so</primary>
|
---|
| 508 | </indexterm>
|
---|
| 509 | </listitem>
|
---|
| 510 | </varlistentry>
|
---|
| 511 |
|
---|
[1a024c3c] | 512 | <varlistentry id="libwebkit2gtk-4">
|
---|
[c7318b4] | 513 | <term><filename class="libraryfile">libwebkit2gtk-4.1.so</filename></term>
|
---|
[1a024c3c] | 514 | <listitem>
|
---|
| 515 | <para>
|
---|
[4c24eb0a] | 516 | contains the <application>WebKit2</application> API functions
|
---|
[1a024c3c] | 517 | </para>
|
---|
[de4ed8e] | 518 | <indexterm zone="webkitgtk libwebkit2gtk-4">
|
---|
[c7318b4] | 519 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.1.so</primary>
|
---|
[1a024c3c] | 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
[ab376e9] | 524 | <varlistentry id="libwebkitgtk-6">
|
---|
| 525 | <term><filename class="libraryfile">libwebkitgtk-6.0.so</filename></term>
|
---|
| 526 | <listitem>
|
---|
| 527 | <para>
|
---|
| 528 | contains the <application>WebKit</application> API functions for
|
---|
| 529 | GTK-4 applications
|
---|
| 530 | </para>
|
---|
| 531 | <indexterm zone="webkitgtk libwebkitgtk-6">
|
---|
| 532 | <primary sortas="c-libwebkitgtk-6">libwebkitgtk-6.0.so</primary>
|
---|
| 533 | </indexterm>
|
---|
| 534 | </listitem>
|
---|
| 535 | </varlistentry>
|
---|
| 536 |
|
---|
[1a024c3c] | 537 | </variablelist>
|
---|
| 538 |
|
---|
| 539 | </sect2>
|
---|
| 540 |
|
---|
| 541 | </sect1>
|
---|