source: x/lib/webkitgtk.xml@ fbcb384

10.0 10.1 11.0 11.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since fbcb384 was fbcb384, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to webkitgtk-2.18.5.
Update to rpcsvc-proto-1.3.1.
Update to node.js-9.4.0.
Update to libseccomp-2.3.3.
Move note from llvm to lvm2
Tweak lightdm instructions.

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

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