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