source: x/lib/webkitgtk.xml@ 40454cd2

11.0 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 40454cd2 was 40454cd2, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to WebKitGTK+-2.32.0
Update to gimp-2.10.24
popt: Add optional dependency on doxygen

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24420 af4574ff-66df-0310-9fd7-8a98e5e911e0

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