source: x/lib/webkitgtk.xml@ 81a4756

10.0 10.1 11.0 11.1 11.2 9.1 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 81a4756 was 81a4756, checked in by Xi Ruoyao <xry111@…>, 3 years ago

webkitgtk: remove deps llvm and gtk2

GTK2 NPAPI plugin support removed at 2.25.3.
LLVM dep removed at 2.11.5.

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

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