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