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