source: x/lib/webkitgtk.xml@ 6968e3cb

11.1 11.2 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6968e3cb was 6968e3cb, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Package Updates and a buildfix

Update to Thunderbird-91.3.0
Update to Seamonkey-2.53.10
Update to webkitgtk-2.34.3
Update to nss-3.73.1
Fix building Firefox with wayland-1.20.

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