source: x/lib/webkitgtk.xml@ 8057fc4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8057fc4 was 8057fc4, checked in by Krejzi <krejzi@…>, 12 years ago

Mark more packages as LFS 7.2 checked. Remove Gc ftp link. Update Gimp http link.

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

  • Property mode set to 100644
File size: 11.7 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 "http://webkitgtk.org/releases/webkit-&webkitgtk-version;.tar.xz">
8 <!ENTITY webkitgtk-download-ftp " ">
9 <!ENTITY webkitgtk-md5sum "f7bd0bd4f323039f15e19c82a9a8313c">
10 <!ENTITY webkitgtk-size "7.7 MB">
11 <!ENTITY webkitgtk-buildsize "700 MB">
12 <!ENTITY webkitgtk-time "30 SBU">
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 the port of the
34 portable web rendering engine <application>WebKit</application> to the
35 <application>GTK+</application> platform.
36 </para>
37
38 &lfs72_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &webkitgtk-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &webkitgtk-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &webkitgtk-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &webkitgtk-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Required patch:
79 <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-bison-1.patch"/>
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <xref linkend="geoclue"/>,
89 <xref linkend="gperf"/>,
90 <xref linkend="gst-plugins-base"/>,
91 <xref linkend="gtk3"/> or <xref linkend="gtk2"/>,
92 <xref linkend="icu"/>,
93 <xref linkend="libxslt"/>,
94 <xref linkend="libsoup"/>,
95 <xref linkend="sqlite"/> and
96 <xref linkend="which"/>
97 </para>
98
99 <bridgehead renderas="sect4">Recommended</bridgehead>
100 <para role="recommended">
101 <xref linkend="gobject-introspection"/>
102 </para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <xref linkend="curl"/>,
107 <xref linkend="enchant"/>,
108 <xref linkend="gtk-doc"/> and
109 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
110 </para>
111
112 <para condition="html" role="usernotes">
113 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
114 </para>
115 </sect2>
116
117 <sect2 role="installation">
118 <title>Installation of WebKitGTK+</title>
119
120 <para>
121 If you have <application>pkg-config 0.23</application> or older installed
122 fix a bug in the configure script that will stop it detecting
123 <application>Gstreamer</application> correctly:
124 </para>
125
126<screen><userinput>sed -i 's#=GST#=$GST#' configure</userinput></screen>
127
128 <para>
129 If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
130 cause <command>make install</command> to fail:
131 </para>
132
133<screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
134
135 <para>
136 <application>WebKitGTK+</application> takes a long time to compile, so if you
137 have a multicore CPU it can be useful to speed up the build by running
138 make with multiple jobs.
139 </para>
140
141 <para>
142 If you want to run make with just one core, install
143 <application>WebKitGTK+</application> by running the following commands:
144 </para>
145
146<screen><userinput>patch -Np1 -i ../webkitgtk-&webkitgtk-version;-bison-1.patch &amp;&amp;
147./configure --prefix=/usr \
148 --libexecdir=/usr/lib/WebKit \
149 --enable-introspection &amp;&amp;
150make</userinput></screen>
151
152 <para>
153 If you have a multicore CPU and want to run make with multiple jobs
154 running in parallel, install <application>WebKitGTK+</application> with the
155 following commands:
156 </para>
157
158<screen><userinput>patch -Np1 -i ../webkitgtk-&webkitgtk-version;-bison-1.patch &amp;&amp;
159./configure --prefix=/usr \
160 --libexecdir=/usr/lib/WebKit \
161 --enable-introspection &amp;&amp;
162error_count=0
163until make -j$(getconf _NPROCESSORS_ONLN)
164do
165 if (( $((error_count++)) &gt; 4 ))
166 then
167 echo Too Many Errors
168 break
169 fi
170done
171unset error_count</userinput></screen>
172
173 <para>
174 This package does not have a working testsuite.
175 </para>
176
177 <para>
178 Now, as the <systemitem class="username">root</systemitem> user:
179 </para>
180
181<screen role="root"><userinput>make install</userinput></screen>
182 </sect2>
183
184 <sect2 role="commands">
185 <title>Command Explanations</title>
186
187 <para>
188 <option>--enable-introspection</option>: This option enables support for
189 <application>GObject Introspection</application> and is required for a
190 <application>GNOME</application> Desktop. If you don't have
191 <application>Gobject Introspection</application> installed and don't want
192 to install <application>GNOME</application> remove this option.
193 </para>
194
195 <para>
196 <command>error_count=0; until make ...</command>: Sadly
197 there are race conditions in the makefiles that will cause the build to
198 fail if you run make with multiple jobs. This simple hack works around
199 that problem by using <command>until</command> to keep running
200 <command>make</command> until it succeeds. The variable
201 <envar>error_count</envar> is incremented each time an error occurs and is
202 checked to ensure that no more than 5 errors occur. This is so that if an
203 error occurs that is <emphasis>not</emphasis> due to a race condition then
204 it will not keep repeating <command>make</command> forever.
205 <command>$(getconf _NPROCESSORS_ONLN)</command> prints the number of cores
206 your computer seems to have. If you would prefer, you can use any positive
207 integer such as 4.
208 </para>
209
210 <para>
211 <option>--enable-webkit2</option>: This switch enables building of
212 <application>WebKit2</application> libraries which some applications
213 like <application>DevHelp</application> can use and which will probably
214 be used in future releases of <application>GNOME</application> Desktop.
215 </para>
216
217 <para>
218 <parameter>--with-gtk=2.0</parameter>: This option forces
219 <application>WebKitGTK+</application> to compile against
220 <application>GTK+ 2</application>, even if
221 <application>GTK+ 3</application> is also installed. With
222 <application>GTK+ 2</application>, everything
223 <application>WebKitGTK+</application> installs is suffixed with 1.0. When it
224 is compiled against <application>GTK+ 3</application> everything it
225 installs is suffixed with 3.0. Both versions can be installed alongside
226 one another with no namespace conflicts.
227 </para>
228
229 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
230 href="../../xincludes/gtk-doc-rebuild.xml"/>
231
232 </sect2>
233
234 <sect2 role="content">
235 <title>Contents</title>
236
237 <segmentedlist>
238 <segtitle>Installed Program</segtitle>
239 <segtitle>Installed Library</segtitle>
240 <segtitle>Installed Directories</segtitle>
241
242 <seglistitem>
243 <seg>
244 jsc-1 or jsc-3
245 </seg>
246 <seg>
247 libjavascriptcoregtk-1.0.so and libwebkit-1.0.so or
248 libjavascriptcoregtk-3.0.so and libwebkit-3.0.so and
249 optionaly libwebkit2gtk-3.0.so
250 </seg>
251 <seg>
252 /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
253 /usr/include/webkit-3.0 and /usr/share/webkit-3.0 and
254 optionaly /usr/lib/WebKit
255 </seg>
256 </seglistitem>
257 </segmentedlist>
258
259 <variablelist>
260 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
261 <?dbfo list-presentation="list"?>
262 <?dbhtml list-presentation="table"?>
263
264 <varlistentry id="jsc">
265 <term><command>jsc-1</command> or <command>jsc-3</command></term>
266 <listitem>
267 <para>
268 is a command-line utility that allows you to run JavaScript programs
269 outside of the context of a web browser.
270 </para>
271 <indexterm zone="webkitgtk jsc">
272 <primary sortas="b-jsc">jsc</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="libjavascriptcoregtk-1.0">
278 <term><filename
279 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
280 <listitem>
281 <para>
282 contains core JavaScript API functions used by <command>jsc-1</command>
283 and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
284 </para>
285 <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
286 <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="libwebkitgtk-1.0">
292 <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
293 <listitem>
294 <para>
295 contains the <application>WebKitGTK+</application> API functions for
296 <application>GTK+ 2</application>.
297 </para>
298 <indexterm zone="webkitgtk libwebkitgtk-1.0">
299 <primary sortas="c-libwebkitgtk-1.0">libwebkitgtk-1.0.so</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="libjavascriptcoregtk-3.0">
305 <term><filename
306 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
307 <listitem>
308 <para>
309 contains core JavaScript API functions used by <command>jsc-3</command>
310 and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
311 </para>
312 <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
313 <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="libwebkitgtk-3.0">
319 <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
320 <listitem>
321 <para>
322 contains the <application>WebKitGTK+</application> API functions for
323 <application>GTK+ 3</application>.
324 </para>
325 <indexterm zone="webkitgtk libwebkitgtk-3.0">
326 <primary sortas="c-libwebkitgtk-3.0">libwebkitgtk-3.0.so</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="libwebkit2gtk-3.0">
332 <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
333 <listitem>
334 <para>
335 contains the <application>WebKit2</application> API functions.
336 </para>
337 <indexterm zone="webkitgtk libwebkit2gtk-3.0">
338 <primary sortas="c-libwebkit2gtk-3.0">libwebkit2gtk-3.0.so</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 </variablelist>
344
345 </sect2>
346
347</sect1>
Note: See TracBrowser for help on using the repository browser.