[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 " ">
|
---|
[9f4090e] | 9 | <!ENTITY webkitgtk-md5sum "1140f86d9044fb76be974b65f71737d7">
|
---|
[f6e07a25] | 10 | <!ENTITY webkitgtk-size "39 MB">
|
---|
[5a17bbb] | 11 | <!ENTITY webkitgtk-buildsize "1.2 GB (201 MB installed, add 152 MB for GTK-4)">
|
---|
[9f4090e] | 12 | <!ENTITY webkitgtk-time "35 SBU (for GTK-3, using parallelism=4, add 34 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 |
|
---|
[9a279da] | 71 | <!--
|
---|
[b01309e7] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 73 | <itemizedlist spacing="compact">
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Required patch:
|
---|
[7b8b07f8] | 77 | <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-consolidated_fixes-1.patch"/>
|
---|
[b01309e7] | 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
[9a279da] | 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"/>,
|
---|
| 116 | <xref linkend="libavif"/>, and
|
---|
| 117 | <xref linkend="xdg-dbus-proxy"/>
|
---|
[4026a19] | 118 | </para>
|
---|
[1a024c3c] | 119 |
|
---|
| 120 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[fddab91] | 121 | <para role="optional">
|
---|
[92e5300] | 122 | <!--<xref linkend="bubblewrap"/>,-->
|
---|
[f56d2e7] | 123 | <xref linkend="gi-docgen"/>,
|
---|
[1a024c3c] | 124 | <xref linkend="harfbuzz"/>,
|
---|
[47d5a9e5] | 125 | <xref linkend="wayland"/>,
|
---|
| 126 | <xref linkend="woff2"/>,
|
---|
[9851978] | 127 | <ulink url="https://ccache.dev/">ccache</ulink>,
|
---|
[c6b192c] | 128 | <ulink url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
[acea88c] | 129 | <!--<ulink url="https://github.com/AOMediaCodec/libavif">libavif</ulink>,-->
|
---|
[92e5300] | 130 | <ulink url="https://github.com/libjxl/libjxl">libjxl</ulink>, and
|
---|
| 131 | <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>
|
---|
| 132 | <!--<ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>-->
|
---|
[1a024c3c] | 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para condition="html" role="usernotes">
|
---|
[42ddc30] | 136 | Editor Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
[1a024c3c] | 137 | </para>
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="installation">
|
---|
[442c799] | 141 | <title>Installation of WebKitGTK</title>
|
---|
[1a024c3c] | 142 |
|
---|
| 143 | <bridgehead renderas="sect3">Installation of
|
---|
[442c799] | 144 | <application>WebKitGTK</application></bridgehead>
|
---|
[1a024c3c] | 145 |
|
---|
[c5687794] | 146 | <!--
|
---|
[8f1785c] | 147 | <para>
|
---|
[d1d2511] | 148 | First, fix a problem when not using BUBBLEWRAP_SANDBOX:
|
---|
[8f1785c] | 149 | </para>
|
---|
| 150 |
|
---|
[d1d2511] | 151 | <screen><userinput>sed -i '39,66 s:^://:' Source/WTF/wtf/glib/Sandbox.cpp</userinput></screen>
|
---|
[c5687794] | 152 | -->
|
---|
[8f1785c] | 153 |
|
---|
[ab376e9] | 154 | <important>
|
---|
| 155 | <para>
|
---|
| 156 | This package allows building with either GTK-3 or GTK-4, but not both
|
---|
[95abdf87] | 157 | in the same build. The GTK-4 version is needed for packages such as
|
---|
| 158 | <xref linkend="epiphany"/>. Other packages, such as
|
---|
| 159 | <xref linkend="balsa"/> or <xref linkend="evolution"/>, require the
|
---|
| 160 | GTK-3 version. Both versions can be installed side by side on the
|
---|
| 161 | same system. We give build instructions for both cases below, but
|
---|
| 162 | the only difference is the setting of <command>-DUSE_GTK4</command>
|
---|
[ab376e9] | 163 | </para>
|
---|
| 164 | </important>
|
---|
| 165 |
|
---|
[9a279da] | 166 | <!--
|
---|
[053e0a1] | 167 | <para>
|
---|
[7b8b07f8] | 168 | First, fix several security vulnerabilities and some runtime problems
|
---|
| 169 | when running in a virtual machine:
|
---|
[053e0a1] | 170 | </para>
|
---|
| 171 |
|
---|
[7b8b07f8] | 172 | <screen><userinput remap="pre">patch -Np1 -i ../webkitgtk-&webkitgtk-version;-consolidated_fixes-1.patch</userinput></screen>
|
---|
[9a279da] | 173 | -->
|
---|
[053e0a1] | 174 |
|
---|
[1a024c3c] | 175 | <para>
|
---|
[95abdf87] | 176 | If you want to install the GTK+-3 version of
|
---|
| 177 | <application>WebKitGTK</application>, run the following commands:
|
---|
[1a024c3c] | 178 | </para>
|
---|
[6fe4f013] | 179 |
|
---|
[8252e757] | 180 | <screen revision="systemd"><userinput>mkdir -vp build &&
|
---|
[24dfdcd] | 181 | cd build &&
|
---|
[1a024c3c] | 182 |
|
---|
[42b7dab] | 183 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 184 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 185 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 186 | -DPORT=GTK \
|
---|
| 187 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
[a78d8510] | 188 | -DUSE_LIBHYPHEN=OFF \
|
---|
[40454cd2] | 189 | -DENABLE_GAMEPAD=OFF \
|
---|
[7c4f32b] | 190 | -DENABLE_MINIBROWSER=ON \
|
---|
[c7318b4] | 191 | -DENABLE_DOCUMENTATION=OFF \
|
---|
[f858bd7] | 192 | -DUSE_WOFF2=OFF \
|
---|
[95abdf87] | 193 | -DUSE_GTK4=OFF \
|
---|
[fbfb998] | 194 | -DUSE_WPE_RENDERER=ON \
|
---|
[f6e07a25] | 195 | -DUSE_JPEGXL=OFF \
|
---|
[92e5300] | 196 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[12b10249] | 197 | -Wno-dev -G Ninja .. &&
|
---|
[4291c1e] | 198 | ninja</userinput></screen>
|
---|
[1a024c3c] | 199 |
|
---|
[8252e757] | 200 | <screen revision="sysv"><userinput>mkdir -vp build &&
|
---|
| 201 | cd build &&
|
---|
| 202 |
|
---|
| 203 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 204 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 205 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 206 | -DPORT=GTK \
|
---|
| 207 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 208 | -DUSE_LIBHYPHEN=OFF \
|
---|
[1b1a555] | 209 | -DENABLE_GAMEPAD=OFF \
|
---|
[8252e757] | 210 | -DENABLE_MINIBROWSER=ON \
|
---|
[c7318b4] | 211 | -DENABLE_DOCUMENTATION=OFF \
|
---|
[8252e757] | 212 | -DUSE_WOFF2=OFF \
|
---|
[95abdf87] | 213 | -DUSE_GTK4=OFF \
|
---|
[f6e07a25] | 214 | -DUSE_JPEGXL=OFF \
|
---|
[fbfb998] | 215 | -DUSE_WPE_RENDERER=ON \
|
---|
[c38d051] | 216 | -DENABLE_JOURNALD_LOG=OFF \
|
---|
[92e5300] | 217 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[8252e757] | 218 | -Wno-dev -G Ninja .. &&
|
---|
| 219 | ninja</userinput></screen>
|
---|
| 220 |
|
---|
[1a024c3c] | 221 | <para>
|
---|
[48771ae] | 222 | This package does not have a working test suite. However, there is a
|
---|
[c69b5e72] | 223 | usable basic graphical web browser in the build directory,
|
---|
[7c4f32b] | 224 | <application>build/bin/MiniBrowser</application>. If launching it fails,
|
---|
| 225 | there is a problem with the build.
|
---|
[1a024c3c] | 226 | </para>
|
---|
| 227 |
|
---|
| 228 | <para>
|
---|
| 229 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 230 | </para>
|
---|
| 231 |
|
---|
[b5b672a9] | 232 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1a024c3c] | 233 |
|
---|
[b5b672a9] | 234 | <para>
|
---|
| 235 | As the <option>-DENABLE_DOCUMENTATION=OFF</option> option is used,
|
---|
| 236 | the documentation is not rebuilt nor installed now. If you need the
|
---|
| 237 | documentation, you can either install <xref linkend='gi-docgen'/>
|
---|
| 238 | and remove this option from the <command>cmake</command> command,
|
---|
| 239 | or install the pre-built documentation instead:
|
---|
| 240 | </para>
|
---|
| 241 |
|
---|
| 242 | <screen role='root'><userinput>install -vdm755 /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1 &&
|
---|
[c7318b4] | 243 | install -vm644 ../Documentation/jsc-glib-4.1/* \
|
---|
[1936c94] | 244 | /usr/share/gtk-doc/html/jsc-glib-4.1 &&
|
---|
[c7318b4] | 245 | install -vm644 ../Documentation/webkit2gtk-4.1/* \
|
---|
| 246 | /usr/share/gtk-doc/html/webkit2gtk-4.1 &&
|
---|
| 247 | install -vm644 ../Documentation/webkit2gtk-web-extension-4.1/* \
|
---|
| 248 | /usr/share/gtk-doc/html/webkit2gtk-web-extension-4.1</userinput></screen>
|
---|
[95abdf87] | 249 |
|
---|
| 250 | <para>
|
---|
| 251 | If you want to install the GTK4 version of
|
---|
| 252 | <application>WebKitGTK</application>, run the following commands:
|
---|
| 253 | </para>
|
---|
| 254 |
|
---|
| 255 | <screen revision="systemd"><userinput>rm -rf * .[^.]* &&
|
---|
| 256 |
|
---|
| 257 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 258 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 259 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 260 | -DPORT=GTK \
|
---|
| 261 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 262 | -DUSE_LIBHYPHEN=OFF \
|
---|
| 263 | -DENABLE_GAMEPAD=OFF \
|
---|
| 264 | -DENABLE_MINIBROWSER=ON \
|
---|
| 265 | -DENABLE_DOCUMENTATION=OFF \
|
---|
| 266 | -DUSE_WOFF2=OFF \
|
---|
| 267 | -DUSE_GTK4=ON \
|
---|
[f6e07a25] | 268 | -DUSE_JPEGXL=OFF \
|
---|
[95abdf87] | 269 | -DUSE_WPE_RENDERER=ON \
|
---|
[92e5300] | 270 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[95abdf87] | 271 | -Wno-dev -G Ninja .. &&
|
---|
| 272 | ninja</userinput></screen>
|
---|
| 273 |
|
---|
| 274 | <screen revision="sysv"><userinput>rm -rf * .[^.]* &&
|
---|
| 275 |
|
---|
| 276 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 277 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 278 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 279 | -DPORT=GTK \
|
---|
| 280 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 281 | -DUSE_LIBHYPHEN=OFF \
|
---|
| 282 | -DENABLE_GAMEPAD=OFF \
|
---|
| 283 | -DENABLE_MINIBROWSER=ON \
|
---|
| 284 | -DENABLE_DOCUMENTATION=OFF \
|
---|
| 285 | -DUSE_WOFF2=OFF \
|
---|
| 286 | -DUSE_GTK4=ON \
|
---|
[f6e07a25] | 287 | -DUSE_JPEGXL=OFF \
|
---|
[95abdf87] | 288 | -DUSE_WPE_RENDERER=ON \
|
---|
| 289 | -DENABLE_JOURNALD_LOG=OFF \
|
---|
[92e5300] | 290 | -DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
---|
[95abdf87] | 291 | -Wno-dev -G Ninja .. &&
|
---|
| 292 | ninja</userinput></screen>
|
---|
| 293 |
|
---|
| 294 | <para>
|
---|
| 295 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 296 | </para>
|
---|
| 297 |
|
---|
| 298 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 299 |
|
---|
[1a024c3c] | 300 | </sect2>
|
---|
| 301 |
|
---|
| 302 | <sect2 role="commands">
|
---|
| 303 | <title>Command Explanations</title>
|
---|
| 304 |
|
---|
[016e770] | 305 | <!-- <para>
|
---|
[fabeff7] | 306 | <command>sed ... TextCheckerEnchant.cpp</command>: This command
|
---|
[af451f4] | 307 | is needed to allow the build to complete with enchant-2.x.
|
---|
[016e770] | 308 | </para> -->
|
---|
[fabeff7] | 309 |
|
---|
[a78d8510] | 310 | <para>
|
---|
[885bcd41] | 311 | <parameter>-DUSE_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>
|
---|
| 320 | <parameter>-DENABLE_DOCUMENTATION=OFF</parameter>: This switch disables
|
---|
| 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>
|
---|
| 327 | <parameter>-DENABLE_GAMEPAD=OFF</parameter>: This switch disables
|
---|
| 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>
|
---|
[8252e757] | 334 | <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables
|
---|
| 335 | compiling and installing the MiniBrowser.
|
---|
[7c4f32b] | 336 | </para>
|
---|
| 337 |
|
---|
[aa41434] | 338 | <para>
|
---|
[fbfb998] | 339 | <parameter>-DUSE_WPE_RENDERER=ON</parameter>: This switch uses the WPE
|
---|
| 340 | renderer, which is recommended by upstream.
|
---|
[aa41434] | 341 | </para>
|
---|
| 342 |
|
---|
[f6e07a25] | 343 | <para>
|
---|
| 344 | <parameter>-DUSE_JPEGXL=OFF</parameter>: This switch turns off support
|
---|
| 345 | for JPEG-XL images. Remove it if you have the optional package
|
---|
| 346 | <ulink url="https://github.com/libjxl/libjxl">libjxl</ulink> installed.
|
---|
| 347 | </para>
|
---|
| 348 |
|
---|
[aa41434] | 349 | <para>
|
---|
[92e5300] | 350 | <parameter>-DENABLE_BUBBLEWRAP_SANDBOX=ON</parameter>: This switch
|
---|
| 351 | enables the Bubblewrap sandbox, which helps mitigate the impact of most
|
---|
| 352 | security vulnerabilities in this package. Change this switch to OFF if
|
---|
| 353 | you do not want to install <xref linkend="bubblewrap" role="nodep"/> and
|
---|
| 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">
|
---|
[c38d051] | 360 | <parameter>-DENABLE_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>
|
---|
| 366 | <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
| 367 | against the system installed <application>malloc</application>.
|
---|
| 368 | </para>
|
---|
| 369 |
|
---|
| 370 | <para>
|
---|
| 371 | <option>-DENABLE_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>
|
---|
| 376 | <option>-DUSE_AVIF=OFF</option>: Use this switch if you don't want to
|
---|
| 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>
|
---|
[8558044] | 382 | <option>-DUSE_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 |
|
---|
[1a024c3c] | 387 | </sect2>
|
---|
| 388 |
|
---|
| 389 | <sect2 role="content">
|
---|
| 390 | <title>Contents</title>
|
---|
| 391 |
|
---|
| 392 | <segmentedlist>
|
---|
| 393 | <segtitle>Installed Program</segtitle>
|
---|
| 394 | <segtitle>Installed Libraries</segtitle>
|
---|
| 395 | <segtitle>Installed Directories</segtitle>
|
---|
| 396 |
|
---|
| 397 | <seglistitem>
|
---|
| 398 | <seg>
|
---|
[da1575a] | 399 | <!-- Moved to /usr/libexec/webkit2gtk-4.0, so shouldn't appear here
|
---|
[8558044] | 400 | jsc,
|
---|
[da1575a] | 401 | MiniBrowser, and -->
|
---|
[4291c1e] | 402 | WebKitWebDriver
|
---|
[1a024c3c] | 403 | </seg>
|
---|
| 404 | <seg>
|
---|
[ab376e9] | 405 | libjavascriptcoregtk-4.1.so,
|
---|
| 406 | libjavascriptcoregtk-6.0.so,
|
---|
| 407 | libwebkit2gtk-4.1.so, and
|
---|
| 408 | libwebkitgtk-6.0.so
|
---|
[1a024c3c] | 409 | </seg>
|
---|
| 410 | <seg>
|
---|
[c7318b4] | 411 | /usr/include/webkitgtk-4.1,
|
---|
[ab376e9] | 412 | /usr/include/webkitgtk-6.0,
|
---|
| 413 | /usr/lib{,exec}/webkit2gtk-4.1,
|
---|
| 414 | /usr/lib{,exec}/webkitgtk-6.0, and
|
---|
[c7318b4] | 415 | /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1
|
---|
[1a024c3c] | 416 | </seg>
|
---|
| 417 | </seglistitem>
|
---|
| 418 | </segmentedlist>
|
---|
| 419 |
|
---|
| 420 | <variablelist>
|
---|
| 421 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 422 | <?dbfo list-presentation="list"?>
|
---|
| 423 | <?dbhtml list-presentation="table"?>
|
---|
| 424 |
|
---|
[da1575a] | 425 | <!--
|
---|
[1a024c3c] | 426 | <varlistentry id="jsc">
|
---|
| 427 | <term><command>jsc</command></term>
|
---|
| 428 | <listitem>
|
---|
| 429 | <para>
|
---|
| 430 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 431 | outside of the context of a web browser.
|
---|
| 432 | </para>
|
---|
[de4ed8e] | 433 | <indexterm zone="webkitgtk jsc">
|
---|
[1a024c3c] | 434 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 435 | </indexterm>
|
---|
| 436 | </listitem>
|
---|
| 437 | </varlistentry>
|
---|
| 438 |
|
---|
[7c4f32b] | 439 | <varlistentry id="MiniBrowser">
|
---|
| 440 | <term><command>MiniBrowser</command></term>
|
---|
| 441 | <listitem>
|
---|
| 442 | <para>
|
---|
| 443 | is a very simple graphical browser.
|
---|
| 444 | </para>
|
---|
| 445 | <indexterm zone="webkitgtk MiniBrowser">
|
---|
| 446 | <primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
---|
| 447 | </indexterm>
|
---|
| 448 | </listitem>
|
---|
| 449 | </varlistentry>
|
---|
[da1575a] | 450 | -->
|
---|
[4d185c9e] | 451 | <varlistentry id="WebKitWebDriver">
|
---|
| 452 | <term><command>WebKitWebDriver</command></term>
|
---|
| 453 | <listitem>
|
---|
| 454 | <para>
|
---|
[4c24eb0a] | 455 | allows debugging and automation of web pages and browsers
|
---|
[4d185c9e] | 456 | </para>
|
---|
| 457 | <indexterm zone="webkitgtk WebKitWebDriver">
|
---|
| 458 | <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
|
---|
| 459 | </indexterm>
|
---|
| 460 | </listitem>
|
---|
| 461 | </varlistentry>
|
---|
| 462 |
|
---|
[c7318b4] | 463 | <varlistentry id="libjavascriptcoregtk-4.1">
|
---|
[4c24eb0a] | 464 | <term>
|
---|
[c7318b4] | 465 | <filename class="libraryfile">libjavascriptcoregtk-4.1.so</filename>
|
---|
[4c24eb0a] | 466 | </term>
|
---|
[1a024c3c] | 467 | <listitem>
|
---|
| 468 | <para>
|
---|
| 469 | contains core JavaScript API functions used by
|
---|
[4c24eb0a] | 470 | <command>jsc</command> and
|
---|
[c7318b4] | 471 | <filename class="libraryfile">libwebkit2gtk-4.1</filename>
|
---|
[1a024c3c] | 472 | </para>
|
---|
[c7318b4] | 473 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.1">
|
---|
| 474 | <primary sortas="c-libjavascriptcoregtk-4.1">libjavascriptcoregtk-4.1.so</primary>
|
---|
[1a024c3c] | 475 | </indexterm>
|
---|
| 476 | </listitem>
|
---|
| 477 | </varlistentry>
|
---|
| 478 |
|
---|
[ab376e9] | 479 | <varlistentry id="libjavascriptcoregtk-6.0">
|
---|
| 480 | <term><filename class="libraryfile">libjavascriptcoregtk-6.0.so</filename></term>
|
---|
| 481 | <listitem>
|
---|
| 482 | <para>
|
---|
| 483 | contains core JavaScript API functions used by
|
---|
| 484 | <command>jsc</command> and
|
---|
[f6e07a25] | 485 | <filename class="libraryfile">libwebkitgtk-6.0</filename>
|
---|
[ab376e9] | 486 | </para>
|
---|
| 487 | <indexterm zone="webkitgtk libjavascriptcoregtk-6.0">
|
---|
| 488 | <primary sortas="c-libjavascriptcoregtk-6.0">libjavascriptcoregtk-6.0.so</primary>
|
---|
| 489 | </indexterm>
|
---|
| 490 | </listitem>
|
---|
| 491 | </varlistentry>
|
---|
| 492 |
|
---|
[1a024c3c] | 493 | <varlistentry id="libwebkit2gtk-4">
|
---|
[c7318b4] | 494 | <term><filename class="libraryfile">libwebkit2gtk-4.1.so</filename></term>
|
---|
[1a024c3c] | 495 | <listitem>
|
---|
| 496 | <para>
|
---|
[4c24eb0a] | 497 | contains the <application>WebKit2</application> API functions
|
---|
[1a024c3c] | 498 | </para>
|
---|
[de4ed8e] | 499 | <indexterm zone="webkitgtk libwebkit2gtk-4">
|
---|
[c7318b4] | 500 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.1.so</primary>
|
---|
[1a024c3c] | 501 | </indexterm>
|
---|
| 502 | </listitem>
|
---|
| 503 | </varlistentry>
|
---|
| 504 |
|
---|
[ab376e9] | 505 | <varlistentry id="libwebkitgtk-6">
|
---|
| 506 | <term><filename class="libraryfile">libwebkitgtk-6.0.so</filename></term>
|
---|
| 507 | <listitem>
|
---|
| 508 | <para>
|
---|
| 509 | contains the <application>WebKit</application> API functions for
|
---|
| 510 | GTK-4 applications
|
---|
| 511 | </para>
|
---|
| 512 | <indexterm zone="webkitgtk libwebkitgtk-6">
|
---|
| 513 | <primary sortas="c-libwebkitgtk-6">libwebkitgtk-6.0.so</primary>
|
---|
| 514 | </indexterm>
|
---|
| 515 | </listitem>
|
---|
| 516 | </varlistentry>
|
---|
| 517 |
|
---|
[1a024c3c] | 518 | </variablelist>
|
---|
| 519 |
|
---|
| 520 | </sect2>
|
---|
| 521 |
|
---|
| 522 | </sect1>
|
---|