source: x/lib/webkitgtk.xml@ fabeff7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 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 fabeff7 was fabeff7, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to scons-3.0.0.
Update to mercurial-4.3.2.
Update to shared-mime-info-1.9.
Update to six-1.11.0 (Python module).
Update to pycairo-1.15.3 (python module).
Update to iso-codes-3.76.
Update to python2-2.7.14.
Update to enchant-2.1.1.

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

  • Property mode set to 100644
File size: 10.6 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 "10d86dd5a5b68875654cc38af139f382">
10 <!ENTITY webkitgtk-size "14 MB">
11 <!ENTITY webkitgtk-buildsize "1.2 GB (119 MB installed)">
12 <!ENTITY webkitgtk-time "40 SBU (using parallelism=4, extimated 132 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"/>
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 <caution>
127 <para>
128 You must rebuild <application>Perl</application> with -Dusethreads
129 if LFS was built without that option. LFS made this change in
130 April 2017.
131 </para>
132 </caution>
133
134 <para>
135 First, fix a build issue with an invalid header path.
136 </para>
137
138<screen><userinput>sed -i '/Activity.h/s:WebCore/:&amp;platform/:' Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h</userinput></screen>
139
140 <para>
141 Install <application>WebKitGTK+</application> by running the
142 following commands:
143 </para>
144
145<screen><userinput>sed -e 's#enchant_dict_free_suggestions#enchant_dict_free_string_list#g' \
146 -i Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp &amp;&amp;
147
148mkdir -vp build &amp;&amp;
149cd build &amp;&amp;
150
151CFLAGS=-Wno-expansion-to-defined \
152CXXFLAGS=-Wno-expansion-to-defined \
153cmake -DCMAKE_BUILD_TYPE=Release \
154 -DCMAKE_INSTALL_PREFIX=/usr \
155 -DCMAKE_SKIP_RPATH=ON \
156 -DPORT=GTK \
157 -DLIB_INSTALL_DIR=/usr/lib \
158 -DUSE_LIBHYPHEN=OFF \
159 -DENABLE_MINIBROWSER=ON \
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 enchangt-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 </sect2>
236
237 <sect2 role="content">
238 <title>Contents</title>
239
240 <segmentedlist>
241 <segtitle>Installed Program</segtitle>
242 <segtitle>Installed Libraries</segtitle>
243 <segtitle>Installed Directories</segtitle>
244
245 <seglistitem>
246 <seg>
247 jsc,
248 MiniBrowser, and
249 WebKitWebDriver <!-- New in 2.18.0 -->
250 </seg>
251 <seg>
252 libjavascriptcoregtk-4.0.so and
253 libwebkit2gtk-4.0.so
254 </seg>
255 <seg>
256 /usr/include/webkitgtk-4.0,
257 /usr/lib{,exec}/webkit2gtk-4.0 and
258 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
259 </seg>
260 </seglistitem>
261 </segmentedlist>
262
263 <variablelist>
264 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
265 <?dbfo list-presentation="list"?>
266 <?dbhtml list-presentation="table"?>
267
268 <varlistentry id="jsc">
269 <term><command>jsc</command></term>
270 <listitem>
271 <para>
272 is a command-line utility that allows you to run JavaScript programs
273 outside of the context of a web browser.
274 </para>
275 <indexterm zone="webkitgtk jsc">
276 <primary sortas="b-jsc">jsc</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="MiniBrowser">
282 <term><command>MiniBrowser</command></term>
283 <listitem>
284 <para>
285 is a very simple graphical browser.
286 </para>
287 <indexterm zone="webkitgtk MiniBrowser">
288 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="WebKitWebDriver">
294 <term><command>WebKitWebDriver</command></term>
295 <listitem>
296 <para>
297 allows debugging and automation of web pages and browsers.
298 </para>
299 <indexterm zone="webkitgtk WebKitWebDriver">
300 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="libjavascriptcoregtk-4.0">
306 <term><filename
307 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
308 <listitem>
309 <para>
310 contains core JavaScript API functions used by
311 <command>jsc</command> and <filename
312 class="libraryfile">libwebkit2gtk-4.0</filename>.
313 </para>
314 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
315 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="libwebkit2gtk-4">
321 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
322 <listitem>
323 <para>
324 contains the <application>WebKit2</application> API functions.
325 </para>
326 <indexterm zone="webkitgtk libwebkit2gtk-4">
327 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 </variablelist>
333
334 </sect2>
335
336</sect1>
Note: See TracBrowser for help on using the repository browser.