source: x/lib/webkitgtk.xml@ 2bd19a3

10.1 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 2bd19a3 was ebecc30f, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Update to WebKitGTK+-2.30.3

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

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