source: x/lib/webkitgtk.xml@ 6384c7d

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 6384c7d was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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