[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 " ">
|
---|
[f7ecea1] | 9 | <!ENTITY webkitgtk-md5sum "46cf81df314acbf62f811bcfd99f4769">
|
---|
| 10 | <!ENTITY webkitgtk-size "36 MB">
|
---|
| 11 | <!ENTITY webkitgtk-buildsize "1.2 GB (159 MB installed, add 154 MB for GTK-4)">
|
---|
| 12 | <!ENTITY webkitgtk-time "29 SBU (for GTK-3, using parallelism=8, add 30 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 |
|
---|
[ca09b51] | 38 | &lfs121_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>,
|
---|
[d0c049f] | 132 | &libbacktrace;, and
|
---|
| 133 | <!--<ulink url="https://github.com/libjxl/libjxl">libjxl</ulink>, and-->
|
---|
[92e5300] | 134 | <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</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 |
|
---|
[ade0ad4] | 157 | <para>
|
---|
| 158 | First, fix a regression that occurs with some websites that use
|
---|
| 159 | WebAssembly: <!-- Ticket #20235 -->
|
---|
| 160 | </para>
|
---|
| 161 |
|
---|
| 162 | <screen><userinput remap="pre">sed '/returnLocation.isStackArgument/,/returnLocation = canonicalLocation/d'\
|
---|
| 163 | -i Source/JavaScriptCore/wasm/WasmBBQJIT.cpp</userinput></screen>
|
---|
| 164 |
|
---|
[1a024c3c] | 165 | <para>
|
---|
[95abdf87] | 166 | If you want to install the GTK+-3 version of
|
---|
| 167 | <application>WebKitGTK</application>, run the following commands:
|
---|
[1a024c3c] | 168 | </para>
|
---|
[6fe4f013] | 169 |
|
---|
[8252e757] | 170 | <screen revision="systemd"><userinput>mkdir -vp build &&
|
---|
[24dfdcd] | 171 | cd build &&
|
---|
[1a024c3c] | 172 |
|
---|
[4304a5f] | 173 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 174 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 175 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 176 | -D PORT=GTK \
|
---|
| 177 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 178 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 179 | -D USE_LIBHYPHEN=OFF \
|
---|
| 180 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 181 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 182 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 183 | -D ENABLE_WEBDRIVER=OFF \
|
---|
| 184 | -D USE_WOFF2=OFF \
|
---|
| 185 | -D USE_GTK4=OFF \
|
---|
| 186 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
| 187 | -W no-dev -G Ninja .. &&
|
---|
[4291c1e] | 188 | ninja</userinput></screen>
|
---|
[1a024c3c] | 189 |
|
---|
[8252e757] | 190 | <screen revision="sysv"><userinput>mkdir -vp build &&
|
---|
| 191 | cd build &&
|
---|
| 192 |
|
---|
[4304a5f] | 193 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 194 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 195 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 196 | -D PORT=GTK \
|
---|
| 197 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 198 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 199 | -D USE_LIBHYPHEN=OFF \
|
---|
| 200 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 201 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 202 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 203 | -D ENABLE_WEBDRIVER=OFF \
|
---|
| 204 | -D USE_WOFF2=OFF \
|
---|
| 205 | -D USE_GTK4=OFF \
|
---|
| 206 | -D ENABLE_JOURNALD_LOG=OFF \
|
---|
| 207 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
| 208 | -W no-dev -G Ninja .. &&
|
---|
[8252e757] | 209 | ninja</userinput></screen>
|
---|
| 210 |
|
---|
[1a024c3c] | 211 | <para>
|
---|
[48771ae] | 212 | This package does not have a working test suite. However, there is a
|
---|
[c69b5e72] | 213 | usable basic graphical web browser in the build directory,
|
---|
[7c4f32b] | 214 | <application>build/bin/MiniBrowser</application>. If launching it fails,
|
---|
| 215 | there is a problem with the build.
|
---|
[1a024c3c] | 216 | </para>
|
---|
| 217 |
|
---|
| 218 | <para>
|
---|
| 219 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
[b5b672a9] | 222 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1a024c3c] | 223 |
|
---|
[95abdf87] | 224 | <para>
|
---|
| 225 | If you want to install the GTK4 version of
|
---|
| 226 | <application>WebKitGTK</application>, run the following commands:
|
---|
| 227 | </para>
|
---|
| 228 |
|
---|
| 229 | <screen revision="systemd"><userinput>rm -rf * .[^.]* &&
|
---|
| 230 |
|
---|
[4304a5f] | 231 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 232 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 233 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 234 | -D PORT=GTK \
|
---|
| 235 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 236 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 237 | -D USE_LIBHYPHEN=OFF \
|
---|
| 238 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 239 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 240 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 241 | -D USE_WOFF2=OFF \
|
---|
| 242 | -D USE_GTK4=ON \
|
---|
| 243 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
| 244 | -W no-dev -G Ninja .. &&
|
---|
[95abdf87] | 245 | ninja</userinput></screen>
|
---|
| 246 |
|
---|
| 247 | <screen revision="sysv"><userinput>rm -rf * .[^.]* &&
|
---|
| 248 |
|
---|
[4304a5f] | 249 | cmake -D CMAKE_BUILD_TYPE=Release \
|
---|
| 250 | -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 251 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
| 252 | -D PORT=GTK \
|
---|
| 253 | -D LIB_INSTALL_DIR=/usr/lib \
|
---|
| 254 | -D USE_LIBBACKTRACE=OFF \
|
---|
| 255 | -D USE_LIBHYPHEN=OFF \
|
---|
| 256 | -D ENABLE_GAMEPAD=OFF \
|
---|
| 257 | -D ENABLE_MINIBROWSER=ON \
|
---|
| 258 | -D ENABLE_DOCUMENTATION=OFF \
|
---|
| 259 | -D USE_WOFF2=OFF \
|
---|
| 260 | -D USE_GTK4=ON \
|
---|
| 261 | -D ENABLE_JOURNALD_LOG=OFF \
|
---|
| 262 | -D ENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
| 263 | -W no-dev -G Ninja .. &&
|
---|
[95abdf87] | 264 | ninja</userinput></screen>
|
---|
| 265 |
|
---|
| 266 | <para>
|
---|
| 267 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 268 | </para>
|
---|
| 269 |
|
---|
| 270 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 271 |
|
---|
[9acdb9d] | 272 | <para>
|
---|
[4304a5f] | 273 | As the <option>-D ENABLE_DOCUMENTATION=OFF</option> option is used,
|
---|
[9acdb9d] | 274 | the documentation is not rebuilt nor installed now. If you need the
|
---|
| 275 | documentation, you can either install <xref linkend='gi-docgen'/>
|
---|
| 276 | and remove this option from the <command>cmake</command> command,
|
---|
| 277 | or install the pre-built documentation (only for the GTK-4 version)
|
---|
| 278 | instead:
|
---|
| 279 | </para>
|
---|
| 280 |
|
---|
| 281 | <screen role='root'><userinput>install -vdm755 /usr/share/gtk-doc/html &&
|
---|
[9333d93e] | 282 | cp -rv ../Documentation/* /usr/share/gtk-doc/html</userinput></screen>
|
---|
[9acdb9d] | 283 |
|
---|
[1a024c3c] | 284 | </sect2>
|
---|
| 285 |
|
---|
| 286 | <sect2 role="commands">
|
---|
| 287 | <title>Command Explanations</title>
|
---|
| 288 |
|
---|
[016e770] | 289 | <!-- <para>
|
---|
[fabeff7] | 290 | <command>sed ... TextCheckerEnchant.cpp</command>: This command
|
---|
[af451f4] | 291 | is needed to allow the build to complete with enchant-2.x.
|
---|
[016e770] | 292 | </para> -->
|
---|
[fabeff7] | 293 |
|
---|
[846bcc9] | 294 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 295 | href="../../xincludes/cmake-skip-install-rpath.xml"/>
|
---|
| 296 |
|
---|
[9acdb9d] | 297 | <para>
|
---|
[4304a5f] | 298 | <parameter>-D USE_LIBBACKTRACE=OFF</parameter>: This switch disables
|
---|
[9acdb9d] | 299 | the use of libbacktrace for dumping a stack trace when a crash
|
---|
| 300 | happens. You need to install &libbacktrace; if you wish to enable it
|
---|
| 301 | (replacing OFF with ON or just removing the switch).
|
---|
| 302 | </para>
|
---|
| 303 |
|
---|
[a78d8510] | 304 | <para>
|
---|
[4304a5f] | 305 | <parameter>-D USE_LIBHYPHEN=OFF</parameter>: This switch disables the
|
---|
[a78d8510] | 306 | default automatic hyphenation implementation. You need to install
|
---|
| 307 | <ulink
|
---|
[885bcd41] | 308 | url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>
|
---|
[a78d8510] | 309 | if you wish to enable it (replacing OFF with ON or just removing
|
---|
| 310 | the switch).
|
---|
| 311 | </para>
|
---|
| 312 |
|
---|
[c7318b4] | 313 | <para>
|
---|
[4304a5f] | 314 | <parameter>-D ENABLE_DOCUMENTATION=OFF</parameter>: This switch disables
|
---|
[c7318b4] | 315 | regenerating the documentation. Remove this switch if you have
|
---|
[f56d2e7] | 316 | <xref linkend="gi-docgen"/>
|
---|
[c7318b4] | 317 | installed and wish to regenerate the documentation.
|
---|
| 318 | </para>
|
---|
| 319 |
|
---|
[40454cd2] | 320 | <para>
|
---|
[4304a5f] | 321 | <parameter>-D ENABLE_GAMEPAD=OFF</parameter>: This switch disables
|
---|
[40454cd2] | 322 | gamepad support. Remove this switch if you have
|
---|
| 323 | <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>
|
---|
| 324 | installed and wish to enable it.
|
---|
| 325 | </para>
|
---|
| 326 |
|
---|
[7c4f32b] | 327 | <para>
|
---|
[4304a5f] | 328 | <parameter>-D ENABLE_MINIBROWSER=ON</parameter>: This switch enables
|
---|
[8252e757] | 329 | compiling and installing the MiniBrowser.
|
---|
[7c4f32b] | 330 | </para>
|
---|
| 331 |
|
---|
[64e33fe5] | 332 | <para>
|
---|
[4304a5f] | 333 | <parameter>-D ENABLE_WEBDRIVER=OFF</parameter>: This switch disables
|
---|
[64e33fe5] | 334 | compiling and installing <command>WebKitWebDriver</command>. We use
|
---|
| 335 | it for the GTK-3 build because the <command>WebKitWebDriver</command>
|
---|
| 336 | from the GTK-3 build will be overwritten by the GTK-4 build anyway.
|
---|
| 337 | Remove this option if you don't plan to build this package with
|
---|
| 338 | GTK-4.
|
---|
| 339 | </para>
|
---|
| 340 |
|
---|
[d0c049f] | 341 | <!--
|
---|
[f6e07a25] | 342 | <para>
|
---|
[4304a5f] | 343 | <parameter>-D USE_JPEGXL=OFF</parameter>: This switch turns off support
|
---|
[f6e07a25] | 344 | for JPEG-XL images. Remove it if you have the optional package
|
---|
| 345 | <ulink url="https://github.com/libjxl/libjxl">libjxl</ulink> installed.
|
---|
| 346 | </para>
|
---|
[d0c049f] | 347 | -->
|
---|
[aa41434] | 348 | <para>
|
---|
[4304a5f] | 349 | <parameter>-D ENABLE_BUBBLEWRAP_SANDBOX=ON</parameter>: This switch
|
---|
[92e5300] | 350 | enables the Bubblewrap sandbox, which helps mitigate the impact of most
|
---|
| 351 | security vulnerabilities in this package. Change this switch to OFF if
|
---|
[3f65573] | 352 | you do not want to install <xref linkend="bubblewrap" role="nodep"/>,
|
---|
| 353 | <xref linkend='libseccomp' role="nodep"/>, or
|
---|
[92e5300] | 354 | <xref linkend="xdg-dbus-proxy" role="nodep"/>, but note that this may
|
---|
| 355 | put you at risk.
|
---|
| 356 | <!-- Note: This works well on both i686 and x86_64. -renodr -->
|
---|
[aa41434] | 357 | </para>
|
---|
[8252e757] | 358 |
|
---|
| 359 | <para revision="sysv">
|
---|
[4304a5f] | 360 | <parameter>-D ENABLE_JOURNALD_LOG=OFF</parameter>: This switch disables using the
|
---|
[8252e757] | 361 | systemd journal for logging errors and debugging information since it
|
---|
| 362 | is not available on SysV systems.
|
---|
| 363 | </para>
|
---|
[aa41434] | 364 |
|
---|
[1a024c3c] | 365 | <para>
|
---|
[4304a5f] | 366 | <option>-D USE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
[1a024c3c] | 367 | against the system installed <application>malloc</application>.
|
---|
| 368 | </para>
|
---|
| 369 |
|
---|
| 370 | <para>
|
---|
[4304a5f] | 371 | <option>-D ENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
[560b86d] | 372 | want to install <xref linkend="geoclue2"/>.
|
---|
[1a024c3c] | 373 | </para>
|
---|
| 374 |
|
---|
[acea88c] | 375 | <para>
|
---|
[4304a5f] | 376 | <option>-D USE_AVIF=OFF</option>: Use this switch if you don't want to
|
---|
[acea88c] | 377 | install <xref linkend="libavif"/>. Note that you will not have support
|
---|
| 378 | for AVIF images if you do this.
|
---|
| 379 | </para>
|
---|
| 380 |
|
---|
[f858bd7] | 381 | <para>
|
---|
[4304a5f] | 382 | <option>-D USE_WOFF2=ON</option>: Use this switch if the optional
|
---|
[1f61010e] | 383 | package <xref linkend="woff2"/> is installed. This adds additional
|
---|
| 384 | support for fonts.
|
---|
[f858bd7] | 385 | </para>
|
---|
| 386 |
|
---|
[d0c049f] | 387 | <para>
|
---|
[4304a5f] | 388 | <option>-D USE_JPEGXL=OFF</option>: Use this switch if the recommended
|
---|
[d0c049f] | 389 | package <xref linkend="libjxl"/> is not installed. Note that you will not
|
---|
| 390 | have support for JPEG XL images if this option is passed.
|
---|
| 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,
|
---|
[9acdb9d] | 420 | /usr/lib{,exec}/webkitgtk-6.0,
|
---|
[c7318b4] | 421 | /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1
|
---|
[9acdb9d] | 422 | (optional), and
|
---|
| 423 | /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-process-extension}}-6.0
|
---|
[1a024c3c] | 424 | </seg>
|
---|
| 425 | </seglistitem>
|
---|
| 426 | </segmentedlist>
|
---|
| 427 |
|
---|
| 428 | <variablelist>
|
---|
| 429 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 430 | <?dbfo list-presentation="list"?>
|
---|
| 431 | <?dbhtml list-presentation="table"?>
|
---|
| 432 |
|
---|
[da1575a] | 433 | <!--
|
---|
[1a024c3c] | 434 | <varlistentry id="jsc">
|
---|
| 435 | <term><command>jsc</command></term>
|
---|
| 436 | <listitem>
|
---|
| 437 | <para>
|
---|
| 438 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 439 | outside of the context of a web browser.
|
---|
| 440 | </para>
|
---|
[de4ed8e] | 441 | <indexterm zone="webkitgtk jsc">
|
---|
[1a024c3c] | 442 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 443 | </indexterm>
|
---|
| 444 | </listitem>
|
---|
| 445 | </varlistentry>
|
---|
| 446 |
|
---|
[7c4f32b] | 447 | <varlistentry id="MiniBrowser">
|
---|
| 448 | <term><command>MiniBrowser</command></term>
|
---|
| 449 | <listitem>
|
---|
| 450 | <para>
|
---|
| 451 | is a very simple graphical browser.
|
---|
| 452 | </para>
|
---|
| 453 | <indexterm zone="webkitgtk MiniBrowser">
|
---|
| 454 | <primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
[da1575a] | 458 | -->
|
---|
[4d185c9e] | 459 | <varlistentry id="WebKitWebDriver">
|
---|
| 460 | <term><command>WebKitWebDriver</command></term>
|
---|
| 461 | <listitem>
|
---|
| 462 | <para>
|
---|
[4c24eb0a] | 463 | allows debugging and automation of web pages and browsers
|
---|
[4d185c9e] | 464 | </para>
|
---|
| 465 | <indexterm zone="webkitgtk WebKitWebDriver">
|
---|
| 466 | <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
|
---|
| 467 | </indexterm>
|
---|
| 468 | </listitem>
|
---|
| 469 | </varlistentry>
|
---|
| 470 |
|
---|
[c7318b4] | 471 | <varlistentry id="libjavascriptcoregtk-4.1">
|
---|
[4c24eb0a] | 472 | <term>
|
---|
[c7318b4] | 473 | <filename class="libraryfile">libjavascriptcoregtk-4.1.so</filename>
|
---|
[4c24eb0a] | 474 | </term>
|
---|
[1a024c3c] | 475 | <listitem>
|
---|
| 476 | <para>
|
---|
| 477 | contains core JavaScript API functions used by
|
---|
[4c24eb0a] | 478 | <command>jsc</command> and
|
---|
[c7318b4] | 479 | <filename class="libraryfile">libwebkit2gtk-4.1</filename>
|
---|
[1a024c3c] | 480 | </para>
|
---|
[c7318b4] | 481 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.1">
|
---|
| 482 | <primary sortas="c-libjavascriptcoregtk-4.1">libjavascriptcoregtk-4.1.so</primary>
|
---|
[1a024c3c] | 483 | </indexterm>
|
---|
| 484 | </listitem>
|
---|
| 485 | </varlistentry>
|
---|
| 486 |
|
---|
[ab376e9] | 487 | <varlistentry id="libjavascriptcoregtk-6.0">
|
---|
| 488 | <term><filename class="libraryfile">libjavascriptcoregtk-6.0.so</filename></term>
|
---|
| 489 | <listitem>
|
---|
| 490 | <para>
|
---|
| 491 | contains core JavaScript API functions used by
|
---|
| 492 | <command>jsc</command> and
|
---|
[f6e07a25] | 493 | <filename class="libraryfile">libwebkitgtk-6.0</filename>
|
---|
[ab376e9] | 494 | </para>
|
---|
| 495 | <indexterm zone="webkitgtk libjavascriptcoregtk-6.0">
|
---|
| 496 | <primary sortas="c-libjavascriptcoregtk-6.0">libjavascriptcoregtk-6.0.so</primary>
|
---|
| 497 | </indexterm>
|
---|
| 498 | </listitem>
|
---|
| 499 | </varlistentry>
|
---|
| 500 |
|
---|
[1a024c3c] | 501 | <varlistentry id="libwebkit2gtk-4">
|
---|
[c7318b4] | 502 | <term><filename class="libraryfile">libwebkit2gtk-4.1.so</filename></term>
|
---|
[1a024c3c] | 503 | <listitem>
|
---|
| 504 | <para>
|
---|
[4c24eb0a] | 505 | contains the <application>WebKit2</application> API functions
|
---|
[1a024c3c] | 506 | </para>
|
---|
[de4ed8e] | 507 | <indexterm zone="webkitgtk libwebkit2gtk-4">
|
---|
[c7318b4] | 508 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.1.so</primary>
|
---|
[1a024c3c] | 509 | </indexterm>
|
---|
| 510 | </listitem>
|
---|
| 511 | </varlistentry>
|
---|
| 512 |
|
---|
[ab376e9] | 513 | <varlistentry id="libwebkitgtk-6">
|
---|
| 514 | <term><filename class="libraryfile">libwebkitgtk-6.0.so</filename></term>
|
---|
| 515 | <listitem>
|
---|
| 516 | <para>
|
---|
| 517 | contains the <application>WebKit</application> API functions for
|
---|
| 518 | GTK-4 applications
|
---|
| 519 | </para>
|
---|
| 520 | <indexterm zone="webkitgtk libwebkitgtk-6">
|
---|
| 521 | <primary sortas="c-libwebkitgtk-6">libwebkitgtk-6.0.so</primary>
|
---|
| 522 | </indexterm>
|
---|
| 523 | </listitem>
|
---|
| 524 | </varlistentry>
|
---|
| 525 |
|
---|
[1a024c3c] | 526 | </variablelist>
|
---|
| 527 |
|
---|
| 528 | </sect2>
|
---|
| 529 |
|
---|
| 530 | </sect1>
|
---|