source: x/lib/webkitgtk.xml@ dbfabc6

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/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since dbfabc6 was dbfabc6, checked in by Douglas R. Reno <renodr@…>, 21 months ago

Package Updates:

Update to eog-42.3
Update to WebKitGTK+-2.36.6

  • Property mode set to 100644
File size: 13.1 KB
Line 
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
7 <!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
8 <!ENTITY webkitgtk-download-ftp " ">
9 <!ENTITY webkitgtk-md5sum "9d5698ed815239e866239652611e73c2">
10 <!ENTITY webkitgtk-size "25 MB">
11 <!ENTITY webkitgtk-buildsize "988 MB (133 MB installed)">
12 <!ENTITY webkitgtk-time "46 SBU (using parallelism=4, estimated 125 SBU using one core)">
13]>
14
15<sect1 id="webkitgtk" xreflabel="WebKitGTK-&webkitgtk-version;">
16 <?dbhtml filename="webkitgtk.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>WebKitGTK-&webkitgtk-version;</title>
23
24 <indexterm zone="webkitgtk">
25 <primary sortas="a-WebKitGTK">WebKitGTK</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to WebKitGTK</title>
30
31 <para>
32 The <application>WebKitGTK</application> package is a port of the
33 portable web rendering engine <application>WebKit</application> to the
34 <application>GTK+ 3</application> and <application>GTK+ 2</application>
35 platforms.
36 </para>
37
38 &lfs111_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &webkitgtk-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &webkitgtk-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &webkitgtk-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &webkitgtk-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74<!--
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;-upstream_fix-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84-->
85
86 <bridgehead renderas="sect3">WebKitGTK Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="cairo"/>,
91 <xref linkend="cmake"/>,
92 <xref linkend="gst10-plugins-base"/>,
93 <xref linkend="gst10-plugins-bad"/>,
94 <xref linkend="gtk3"/>,
95 <xref linkend="icu"/>,
96 <xref linkend="lcms2"/>,
97 <xref linkend="libgudev"/>,
98 <xref linkend="libsecret"/>,
99 <xref linkend="libsoup"/>,
100 <xref linkend="libtasn1"/>,
101 <xref linkend="libwebp"/>,
102 <xref linkend="mesa"/>,
103 <xref linkend="openjpeg2"/>,
104 <xref linkend="ruby"/>,
105 <xref linkend="sqlite"/>,
106 <xref linkend="which"/>, and
107 <xref linkend="wpebackend-fdo"/>
108 </para>
109
110 <bridgehead renderas="sect4">Recommended</bridgehead>
111 <para role="recommended">
112 <xref linkend="enchant"/>,
113 <xref linkend="geoclue2"/>,
114 <xref linkend="gobject-introspection"/>,
115 <xref linkend="hicolor-icon-theme"/>, and
116 <xref linkend="libnotify"/>
117 </para>
118
119 <bridgehead renderas="sect4">Optional</bridgehead>
120 <para role="optional">
121 <xref linkend="bubblewrap"/>,
122 <xref linkend="gtk-doc"/>,
123 <xref linkend="gtk4"/>,
124 <xref linkend="harfbuzz"/>,
125 <xref linkend="wayland"/>,
126 <xref linkend="woff2"/>,
127 <ulink url="https://ccache.dev/">ccache</ulink>,
128 <ulink url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
129 <ulink url="https://github.com/AOMediaCodec/libavif">libavif</ulink>,
130 <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>, and
131 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
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">
140 <title>Installation of WebKitGTK</title>
141
142 <bridgehead renderas="sect3">Installation of
143 <application>WebKitGTK</application></bridgehead>
144
145<!--
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>
151-->
152
153 <para>
154 Install <application>WebKitGTK</application> by running the
155 following commands:
156 </para>
157
158<screen revision="systemd"><userinput>mkdir -vp build &amp;&amp;
159cd build &amp;&amp;
160
161cmake -DCMAKE_BUILD_TYPE=Release \
162 -DCMAKE_INSTALL_PREFIX=/usr \
163 -DCMAKE_SKIP_RPATH=ON \
164 -DPORT=GTK \
165 -DLIB_INSTALL_DIR=/usr/lib \
166 -DUSE_LIBHYPHEN=OFF \
167 -DENABLE_GAMEPAD=OFF \
168 -DENABLE_MINIBROWSER=ON \
169 -DUSE_WOFF2=OFF \
170 -DUSE_SOUP2=ON \
171 -DUSE_WPE_RENDERER=ON \
172 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
173 -Wno-dev -G Ninja .. &amp;&amp;
174ninja</userinput></screen>
175
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 \
185 -DENABLE_GAMEPAD=OFF \
186 -DENABLE_MINIBROWSER=ON \
187 -DUSE_WOFF2=OFF \
188 -DUSE_SOUP2=ON \
189 -DUSE_WPE_RENDERER=ON \
190 -DENABLE_JOURNALD_LOG=OFF \
191 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
192 -Wno-dev -G Ninja .. &amp;&amp;
193ninja</userinput></screen>
194
195 <para>
196 This package does not have a working testsuite. However, there is a
197 usable basic graphical web browser in the build directory,
198 <application>build/bin/MiniBrowser</application>. If launching it fails,
199 there is a problem with the build.
200 </para>
201
202<!-- Since we're using Ninja now instead of autotools, this isn't valid anymore
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>
210-->
211
212 <para>
213 Now, as the <systemitem class="username">root</systemitem> user:
214 </para>
215
216<screen role="root"><userinput>ninja install &amp;&amp;
217
218install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
219install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
220 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
221install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
222 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
223 </sect2>
224
225 <sect2 role="commands">
226 <title>Command Explanations</title>
227
228<!-- <para>
229 <command>sed ... TextCheckerEnchant.cpp</command>: This command
230 is needed to allow the build to complete with enchant-2.x.
231 </para> -->
232
233 <para>
234 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables the
235 default automatic hyphenation implementation. You need to install
236 <ulink
237 url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>
238 if you wish to enable it (replacing OFF with ON or just removing
239 the switch).
240 </para>
241
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
249 <para>
250 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables
251 compiling and installing the MiniBrowser.
252 </para>
253
254 <para>
255 <parameter>-DUSE_WPE_RENDERER=ON</parameter>: This switch uses the WPE
256 renderer, which is recommended by upstream.
257 </para>
258
259 <para>
260 <parameter>-DENABLE_BUBBLEWRAP_SANDBOX=OFF</parameter>: Remove this
261 switch if the optional packages <xref linkend="bubblewrap"/> and
262 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
263 are installed.
264 </para>
265
266 <para revision="sysv">
267 <parameter>-DENABLE_JOURNALD_LOG=OFF</parameter>: This switch disables using the
268 systemd journal for logging errors and debugging information since it
269 is not available on SysV systems.
270 </para>
271
272 <para>
273 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
274 have <application>libnotify</application> installed.
275 </para>
276
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
284 want to install <xref linkend="geoclue2"/>.
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
293 <para>
294 <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
295 package <xref linkend="woff2"/> is installed. This adds additional
296 support for fonts.
297 </para>
298
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
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>
319<!-- Moved to /usr/libexec/webkit2gtk-4.0, so shouldn't appear here
320 jsc,
321 MiniBrowser, and -->
322 WebKitWebDriver
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,
330 /usr/lib{,exec}/webkit2gtk-4.0, and
331 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
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
341<!--
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>
349 <indexterm zone="webkitgtk jsc">
350 <primary sortas="b-jsc">jsc</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
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>
366-->
367 <varlistentry id="WebKitWebDriver">
368 <term><command>WebKitWebDriver</command></term>
369 <listitem>
370 <para>
371 allows debugging and automation of web pages and browsers
372 </para>
373 <indexterm zone="webkitgtk WebKitWebDriver">
374 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
375 </indexterm>
376 </listitem>
377 </varlistentry>
378
379 <varlistentry id="libjavascriptcoregtk-4.0">
380 <term>
381 <filename class="libraryfile">libjavascriptcoregtk-4.0.so</filename>
382 </term>
383 <listitem>
384 <para>
385 contains core JavaScript API functions used by
386 <command>jsc</command> and
387 <filename class="libraryfile">libwebkit2gtk-4.0</filename>
388 </para>
389 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
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>
399 contains the <application>WebKit2</application> API functions
400 </para>
401 <indexterm zone="webkitgtk libwebkit2gtk-4">
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.