source: x/lib/webkitgtk.xml@ fd3a87f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 fd3a87f was f858bd7, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to webkitgtk-2.20.0.
Update to gtksourceview-3.24.7.
Update to libsoup-2.62.0.
Update to colord-1.4.2.

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

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