source: x/lib/webkitgtk.xml@ 498e62a

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 498e62a was cbe60bd, checked in by Douglas R. Reno <renodr@…>, 20 months ago

Update to WebKitGTK+-2.36.8

  • Property mode set to 100644
File size: 13.1 KB
RevLine 
[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 " ">
[cbe60bd]9 <!ENTITY webkitgtk-md5sum "7a3f19f4ff9e8de8c4ab2707e2d350f5">
[9855c0fd]10 <!ENTITY webkitgtk-size "25 MB">
[dbfabc6]11 <!ENTITY webkitgtk-buildsize "988 MB (133 MB installed)">
[cbe60bd]12 <!ENTITY webkitgtk-time "43 SBU (using parallelism=4, estimated 150 SBU using one core)">
[1a024c3c]13]>
14
[442c799]15<sect1 id="webkitgtk" xreflabel="WebKitGTK-&webkitgtk-version;">
[de4ed8e]16 <?dbhtml filename="webkitgtk.html"?>
[1a024c3c]17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
[442c799]22 <title>WebKitGTK-&webkitgtk-version;</title>
[1a024c3c]23
[de4ed8e]24 <indexterm zone="webkitgtk">
[442c799]25 <primary sortas="a-WebKitGTK">WebKitGTK</primary>
[1a024c3c]26 </indexterm>
27
28 <sect2 role="package">
[442c799]29 <title>Introduction to WebKitGTK</title>
[1a024c3c]30
31 <para>
[8558044]32 The <application>WebKitGTK</application> package is a port of the
[4026a19]33 portable web rendering engine <application>WebKit</application> to the
[cbe60bd]34 <application>GTK+ 3</application> and <application>GTK 4</application>
[1a024c3c]35 platforms.
36 </para>
37
[b1c0fa7]38 &lfs112_checked;
[1a024c3c]39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
[de4ed8e]44 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
[1a024c3c]45 </para>
46 </listitem>
47 <listitem>
48 <para>
[de4ed8e]49 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
[1a024c3c]50 </para>
51 </listitem>
52 <listitem>
53 <para>
[de4ed8e]54 Download MD5 sum: &webkitgtk-md5sum;
[1a024c3c]55 </para>
56 </listitem>
57 <listitem>
58 <para>
[de4ed8e]59 Download size: &webkitgtk-size;
[1a024c3c]60 </para>
61 </listitem>
62 <listitem>
63 <para>
[de4ed8e]64 Estimated disk space required: &webkitgtk-buildsize;
[1a024c3c]65 </para>
66 </listitem>
67 <listitem>
68 <para>
[de4ed8e]69 Estimated build time: &webkitgtk-time;
[1a024c3c]70 </para>
71 </listitem>
72 </itemizedlist>
73
[dbfabc6]74<!--
[b01309e7]75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
[8f1785c]80 <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-upstream_fix-1.patch"/>
[b01309e7]81 </para>
82 </listitem>
83 </itemizedlist>
[dbfabc6]84-->
[b01309e7]85
[442c799]86 <bridgehead renderas="sect3">WebKitGTK Dependencies</bridgehead>
[1a024c3c]87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
[4026a19]90 <xref linkend="cairo"/>,
[1a024c3c]91 <xref linkend="cmake"/>,
92 <xref linkend="gst10-plugins-base"/>,
[ad930e6]93 <xref linkend="gst10-plugins-bad"/>,
[1a024c3c]94 <xref linkend="gtk3"/>,
95 <xref linkend="icu"/>,
[885bcd41]96 <xref linkend="lcms2"/>,
[f175d6f6]97 <xref linkend="libgudev"/>,
[1a024c3c]98 <xref linkend="libsecret"/>,
99 <xref linkend="libsoup"/>,
[40454cd2]100 <xref linkend="libtasn1"/>,
[1a024c3c]101 <xref linkend="libwebp"/>,
[7a395d1]102 <xref linkend="mesa"/>,
[2367283]103 <xref linkend="openjpeg2"/>,
[1a024c3c]104 <xref linkend="ruby"/>,
[fbfb998]105 <xref linkend="sqlite"/>,
106 <xref linkend="which"/>, and
107 <xref linkend="wpebackend-fdo"/>
[1a024c3c]108 </para>
109
110 <bridgehead renderas="sect4">Recommended</bridgehead>
[fddab91]111 <para role="recommended">
[decb6bc5]112 <xref linkend="enchant"/>,
[560b86d]113 <xref linkend="geoclue2"/>,
[1a024c3c]114 <xref linkend="gobject-introspection"/>,
[206913a]115 <xref linkend="hicolor-icon-theme"/>, and
[b6a8577d]116 <xref linkend="libnotify"/>
[4026a19]117 </para>
[1a024c3c]118
119 <bridgehead renderas="sect4">Optional</bridgehead>
[fddab91]120 <para role="optional">
[0940157]121 <xref linkend="bubblewrap"/>,
[1a024c3c]122 <xref linkend="gtk-doc"/>,
[9d31900]123 <xref linkend="gtk4"/>,
[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>,
[e90881c]129 <ulink url="https://github.com/AOMediaCodec/libavif">libavif</ulink>,
[fbfb998]130 <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>, and
[12b10249]131 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
[1a024c3c]132 </para>
133
134 <para condition="html" role="usernotes">
135 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
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
[dbfabc6]145<!--
[8f1785c]146 <para>
147 Fix an issue causing a crash viewing some web pages:
148 </para>
149
150<screen><userinput>patch -Np1 -i ../webkitgtk-&webkitgtk-version;-upstream_fix-1.patch</userinput></screen>
[dbfabc6]151-->
[8f1785c]152
[1a024c3c]153 <para>
[442c799]154 Install <application>WebKitGTK</application> by running the
[1a024c3c]155 following commands:
156 </para>
[6fe4f013]157
[8252e757]158<screen revision="systemd"><userinput>mkdir -vp build &amp;&amp;
[24dfdcd]159cd build &amp;&amp;
[1a024c3c]160
[42b7dab]161cmake -DCMAKE_BUILD_TYPE=Release \
162 -DCMAKE_INSTALL_PREFIX=/usr \
163 -DCMAKE_SKIP_RPATH=ON \
164 -DPORT=GTK \
165 -DLIB_INSTALL_DIR=/usr/lib \
[a78d8510]166 -DUSE_LIBHYPHEN=OFF \
[40454cd2]167 -DENABLE_GAMEPAD=OFF \
[7c4f32b]168 -DENABLE_MINIBROWSER=ON \
[f858bd7]169 -DUSE_WOFF2=OFF \
[86ba5b6]170 -DUSE_SOUP2=ON \
[fbfb998]171 -DUSE_WPE_RENDERER=ON \
[12b10249]172 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
173 -Wno-dev -G Ninja .. &amp;&amp;
[4291c1e]174ninja</userinput></screen>
[1a024c3c]175
[8252e757]176<screen revision="sysv"><userinput>mkdir -vp build &amp;&amp;
177cd build &amp;&amp;
178
179cmake -DCMAKE_BUILD_TYPE=Release \
180 -DCMAKE_INSTALL_PREFIX=/usr \
181 -DCMAKE_SKIP_RPATH=ON \
182 -DPORT=GTK \
183 -DLIB_INSTALL_DIR=/usr/lib \
184 -DUSE_LIBHYPHEN=OFF \
[1b1a555]185 -DENABLE_GAMEPAD=OFF \
[8252e757]186 -DENABLE_MINIBROWSER=ON \
187 -DUSE_WOFF2=OFF \
[86ba5b6]188 -DUSE_SOUP2=ON \
[fbfb998]189 -DUSE_WPE_RENDERER=ON \
[c38d051]190 -DENABLE_JOURNALD_LOG=OFF \
[8252e757]191 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
192 -Wno-dev -G Ninja .. &amp;&amp;
193ninja</userinput></screen>
194
[1a024c3c]195 <para>
[7c4f32b]196 This package does not have a working testsuite. However, there is a
[c69b5e72]197 usable basic graphical web browser in the build directory,
[7c4f32b]198 <application>build/bin/MiniBrowser</application>. If launching it fails,
199 there is a problem with the build.
[1a024c3c]200 </para>
201
[885bcd41]202<!-- Since we're using Ninja now instead of autotools, this isn't valid anymore
[1a024c3c]203 <note><para>
204 When installing, the Makefile does some additional compiling and linking.
205 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
206 variables need to be defined for the root user. If using sudo to assume
207 root, use the -E option to pass your current environment variables for the
208 install process.
209 </para></note>
[885bcd41]210-->
[1a024c3c]211
212 <para>
213 Now, as the <systemitem class="username">root</systemitem> user:
214 </para>
215
[4291c1e]216<screen role="root"><userinput>ninja install &amp;&amp;
[1a024c3c]217
[2c95b08]218install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
[24dfdcd]219install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
220 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
[de4ed8e]221install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
[1a024c3c]222 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
223 </sect2>
224
225 <sect2 role="commands">
226 <title>Command Explanations</title>
227
[016e770]228<!-- <para>
[fabeff7]229 <command>sed ... TextCheckerEnchant.cpp</command>: This command
[af451f4]230 is needed to allow the build to complete with enchant-2.x.
[016e770]231 </para> -->
[fabeff7]232
[a78d8510]233 <para>
[885bcd41]234 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables the
[a78d8510]235 default automatic hyphenation implementation. You need to install
236 <ulink
[885bcd41]237 url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>
[a78d8510]238 if you wish to enable it (replacing OFF with ON or just removing
239 the switch).
240 </para>
241
[40454cd2]242 <para>
243 <parameter>-DENABLE_GAMEPAD=OFF</parameter>: This switch disables
244 gamepad support. Remove this switch if you have
245 <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>
246 installed and wish to enable it.
247 </para>
248
[7c4f32b]249 <para>
[8252e757]250 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables
251 compiling and installing the MiniBrowser.
[7c4f32b]252 </para>
253
[aa41434]254 <para>
[fbfb998]255 <parameter>-DUSE_WPE_RENDERER=ON</parameter>: This switch uses the WPE
256 renderer, which is recommended by upstream.
[aa41434]257 </para>
258
259 <para>
[8558044]260 <parameter>-DENABLE_BUBBLEWRAP_SANDBOX=OFF</parameter>: Remove this
[8252e757]261 switch if the optional packages <xref linkend="bubblewrap"/> and
[0940157]262 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
263 are installed.
[aa41434]264 </para>
[8252e757]265
266 <para revision="sysv">
[c38d051]267 <parameter>-DENABLE_JOURNALD_LOG=OFF</parameter>: This switch disables using the
[8252e757]268 systemd journal for logging errors and debugging information since it
269 is not available on SysV systems.
270 </para>
[aa41434]271
[b6a8577d]272 <para>
273 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
274 have <application>libnotify</application> installed.
275 </para>
276
[1a024c3c]277 <para>
278 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
279 against the system installed <application>malloc</application>.
280 </para>
281
282 <para>
283 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
[560b86d]284 want to install <xref linkend="geoclue2"/>.
[1a024c3c]285 </para>
286
287 <para>
288 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
289 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
290 API documentation.
291 </para>
292
[f858bd7]293 <para>
[8558044]294 <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
[1f61010e]295 package <xref linkend="woff2"/> is installed. This adds additional
296 support for fonts.
[f858bd7]297 </para>
298
[9d31900]299 <!-- Uncomment once GTK4 support works, or when it doesn't require
300 a development version of libsoup.
301 <para>
302 <option>-DUSE_GTK4=ON</option>: Use this switch if <xref linkend="gtk4"/>
303 is installed and you wish to build GTK4 support.
304 </para>
305 -->
306
[1a024c3c]307 </sect2>
308
309 <sect2 role="content">
310 <title>Contents</title>
311
312 <segmentedlist>
313 <segtitle>Installed Program</segtitle>
314 <segtitle>Installed Libraries</segtitle>
315 <segtitle>Installed Directories</segtitle>
316
317 <seglistitem>
318 <seg>
[da1575a]319<!-- Moved to /usr/libexec/webkit2gtk-4.0, so shouldn't appear here
[8558044]320 jsc,
[da1575a]321 MiniBrowser, and -->
[4291c1e]322 WebKitWebDriver
[1a024c3c]323 </seg>
324 <seg>
325 libjavascriptcoregtk-4.0.so and
326 libwebkit2gtk-4.0.so
327 </seg>
328 <seg>
329 /usr/include/webkitgtk-4.0,
[206913a]330 /usr/lib{,exec}/webkit2gtk-4.0, and
[24dfdcd]331 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
[1a024c3c]332 </seg>
333 </seglistitem>
334 </segmentedlist>
335
336 <variablelist>
337 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
338 <?dbfo list-presentation="list"?>
339 <?dbhtml list-presentation="table"?>
340
[da1575a]341<!--
[1a024c3c]342 <varlistentry id="jsc">
343 <term><command>jsc</command></term>
344 <listitem>
345 <para>
346 is a command-line utility that allows you to run JavaScript programs
347 outside of the context of a web browser.
348 </para>
[de4ed8e]349 <indexterm zone="webkitgtk jsc">
[1a024c3c]350 <primary sortas="b-jsc">jsc</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
[7c4f32b]355 <varlistentry id="MiniBrowser">
356 <term><command>MiniBrowser</command></term>
357 <listitem>
358 <para>
359 is a very simple graphical browser.
360 </para>
361 <indexterm zone="webkitgtk MiniBrowser">
362 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
363 </indexterm>
364 </listitem>
365 </varlistentry>
[da1575a]366-->
[4d185c9e]367 <varlistentry id="WebKitWebDriver">
368 <term><command>WebKitWebDriver</command></term>
369 <listitem>
370 <para>
[4c24eb0a]371 allows debugging and automation of web pages and browsers
[4d185c9e]372 </para>
373 <indexterm zone="webkitgtk WebKitWebDriver">
374 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
375 </indexterm>
376 </listitem>
377 </varlistentry>
378
[1a024c3c]379 <varlistentry id="libjavascriptcoregtk-4.0">
[4c24eb0a]380 <term>
381 <filename class="libraryfile">libjavascriptcoregtk-4.0.so</filename>
382 </term>
[1a024c3c]383 <listitem>
384 <para>
385 contains core JavaScript API functions used by
[4c24eb0a]386 <command>jsc</command> and
387 <filename class="libraryfile">libwebkit2gtk-4.0</filename>
[1a024c3c]388 </para>
[de4ed8e]389 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
[1a024c3c]390 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
391 </indexterm>
392 </listitem>
393 </varlistentry>
394
395 <varlistentry id="libwebkit2gtk-4">
396 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
397 <listitem>
398 <para>
[4c24eb0a]399 contains the <application>WebKit2</application> API functions
[1a024c3c]400 </para>
[de4ed8e]401 <indexterm zone="webkitgtk libwebkit2gtk-4">
[1a024c3c]402 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
407 </variablelist>
408
409 </sect2>
410
411</sect1>
Note: See TracBrowser for help on using the repository browser.