source: x/lib/webkitgtk.xml@ f3eb6d99

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 f3eb6d99 was f3eb6d99, checked in by Andrew Benton <andy@…>, 12 years ago

Thunderbird http url is working now

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9995 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
8 "http://webkitgtk.org/releases/webkit-&webkitgtk-version;.tar.xz">
9 <!ENTITY webkitgtk-download-ftp " ">
10 <!ENTITY webkitgtk-md5sum "f2f01b1fdc7262a2eede81ebed0970b2">
11 <!ENTITY webkitgtk-size "7.6 MB">
12 <!ENTITY webkitgtk-buildsize "566 MB (43 MB installed)">
13 <!ENTITY webkitgtk-time "28 SBU">
14]>
15
16<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
17 <?dbhtml filename="webkitgtk.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>WebKitGTK+-&webkitgtk-version;</title>
25
26 <indexterm zone="webkitgtk">
27 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to WebKitGTK+</title>
32
33 <para>
34 The <application>WebKitGTK+</application> package is the port of the
35 portable web rendering engine <application>WebKit</application> to the
36 <application>GTK+</application> platform.
37 </para>
38
39 &lfs71_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="gperf"/>,
80 <xref linkend="libjpeg"/>,
81 <xref linkend="libpng"/>,
82 <xref linkend="icu"/>,
83 <xref linkend="libxslt"/>,
84 <xref linkend="gtk2"/> or <xref linkend="gtk3"/>
85 (<command>configure</command> defaults to using gtk+-3),
86 <xref linkend="libsoup"/>,
87 <xref linkend="gst-plugins-base"/>,
88 <xref linkend="geoclue"/>,
89 <xref linkend="which"/> and
90 <xref linkend="sqlite"/>.
91 </para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional">
95 <xref linkend="curl"/>,
96 <xref linkend="enchant"/>,
97 <xref linkend="gobject-introspection"/> (required if building
98 <application>epiphany</application>),
99 <xref linkend="gtk-doc"/> and
100 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>.
101 </para>
102
103 <para condition="html" role="usernotes">
104 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
105 </para>
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of WebKitGTK+</title>
110
111 <para>
112 If you have <application>pkg-config 0.23</application> or older installed
113 fix a bug in the configure script that will stop it detecting
114 <application>Gstreamer</application> correctly:
115 </para>
116 <!-- https://bugs.webkit.org/show_bug.cgi?id=82580 -->
117
118<screen><userinput>sed -i 's#=GST#=$GST#' configure</userinput></screen>
119
120 <para>
121 If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
122 cause <command>make install</command> to fail:
123 </para>
124
125<screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
126
127 <para>
128 <application>WebKit</application> takes a long time to compile, so if you
129 have a multicore CPU it can be useful to speed up the build by running
130 make with multiple jobs.
131 </para>
132
133 <para>
134 If you want to run make with just one core, install
135 <application>WebKit</application> by running the following commands:
136 </para>
137
138<screen><userinput>./configure --prefix=/usr --enable-introspection &amp;&amp;
139make</userinput></screen>
140
141 <para>
142 If you have a multicore CPU and want to run make with multiple jobs
143 running in parallel, install <application>WebKit</application> with the
144 following commands:
145 </para>
146
147<screen><userinput>./configure --prefix=/usr --enable-introspection &amp;&amp;
148error_count=0
149until make -j$(getconf _NPROCESSORS_ONLN)
150do
151 if (( $((error_count++)) &gt; 4 ))
152 then
153 echo Too Many Errors
154 break
155 fi
156done
157unset error_count</userinput></screen>
158
159 <para>
160 This package does not have a working testsuite.
161 </para>
162<!--
163 <para>
164 To test the results, issue: <command>make check</command> (you must be in
165 an xterm or similar to do this, because it launches some windows).
166 Requires <xref linkend="pygobject2"/>.
167 </para>
168-->
169
170 <para>
171 Now, as the <systemitem class="username">root</systemitem> user:
172 </para>
173
174<screen role="root"><userinput>make install</userinput></screen>
175 </sect2>
176
177 <sect2 role="commands">
178 <title>Command Explanations</title>
179
180 <para>
181 <option>--enable-introspection</option>: This option enables support for
182 <application>Gobject-Introspection</application> and is required for a
183 <application>GNOME</application> desktop. If you don't have
184 <application>Gobject-Introspection</application> installed and don't want
185 to install <application>GNOME</application> remove this option.
186 </para>
187
188 <para>
189 <command>error_count=0; until make ...</command>: Sadly
190 there are race conditions in the makefiles that will cause the build to
191 fail if you run make with multiple jobs. This simple hack works around
192 that problem by using <command>until</command> to keep running
193 <command>make</command> until it succeeds. The variable
194 <envar>error_count</envar> is incremented each time an error occurs and is
195 checked to ensure that no more than 5 errors occur. This is so that if an
196 error occurs that is <emphasis>not</emphasis> due to a race condition then
197 it will not keep repeating <command>make</command> forever.
198 <command>$(getconf _NPROCESSORS_ONLN)</command> prints the number of cores
199 your computer seems to have. If you would prefer, you can use any positive
200 integer such as 4.
201 </para>
202
203 <para>
204 <option>--with-gtk=2.0</option>: This option forces
205 <application>Webkit</application> to compile against
206 <application>Gtk+-2</application>, even if
207 <application>Gtk+-3</application> is also installed. With
208 <application>Gtk+-2</application>, everything
209 <application>Webkit</application> installs is suffixed with 1.0. When it
210 is compiled against <application>Gtk+-3</application> everything it
211 installs is suffixed with 3.0. Both versions can be installed alongside
212 one another with no namespace conflicts.
213 </para>
214
215 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
216 href="../../xincludes/gtk-doc-rebuild.xml"/>
217 </sect2>
218
219 <sect2 role="content">
220 <title>Contents</title>
221
222 <segmentedlist>
223 <segtitle>Installed Program</segtitle>
224 <segtitle>Installed Library</segtitle>
225 <segtitle>Installed Directories</segtitle>
226
227 <seglistitem>
228 <seg>
229 jsc-1 or jsc-3 (depending on whether you installed the
230 <application>Gtk+-2</application> or <application>Gtk+-3</application>
231 version of <application>WebKit</application>).
232 </seg>
233 <seg>
234 libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or libwebkit-3.0.so
235 and libjavascriptcoregtk-3.0.so (depending on whether you installed
236 the <application>Gtk+-2</application> or
237 <application>Gtk+-3</application> version of
238 <application>WebKit</application>).
239 </seg>
240 <seg>
241 /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
242 /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on
243 whether you installed the <application>Gtk+-2</application> or
244 <application>Gtk+-3</application> version of
245 <application>WebKit</application>).
246 </seg>
247 </seglistitem>
248 </segmentedlist>
249
250 <variablelist>
251 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
252 <?dbfo list-presentation="list"?>
253 <?dbhtml list-presentation="table"?>
254
255 <varlistentry id="jsc">
256 <term><command>jsc-1</command> or <command>jsc-3</command></term>
257 <listitem>
258 <para>
259 is a command-line utility that allows you to run JavaScript programs
260 outside of the context of a web browser.
261 </para>
262 <indexterm zone="webkitgtk jsc">
263 <primary sortas="b-jsc">jsc</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="libwebkit-1.0">
269 <term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
270 <listitem>
271 <para>
272 contains the <application>WebKit</application> API functions for
273 <application>gtk+-2</application>.
274 </para>
275 <indexterm zone="webkitgtk libwebkit-1.0">
276 <primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="libwebkit-3.0">
282 <term><filename class="libraryfile">libwebkit-3.0.so</filename></term>
283 <listitem>
284 <para>
285 contains the <application>WebKit</application> API functions for
286 <application>gtk+-3</application>.
287 </para>
288 <indexterm zone="webkitgtk libwebkit-3.0">
289 <primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="libjavascriptcoregtk-1.0">
295 <term><filename
296 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
297 <listitem>
298 <para>
299 contains functions that are used by <command>jsc-1</command>.
300 </para>
301 <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
302 <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="libjavascriptcoregtk-3.0">
308 <term><filename
309 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
310 <listitem>
311 <para>
312 contains functions that are used by <command>jsc-3</command>.
313 </para>
314 <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
315 <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319 </variablelist>
320 </sect2>
321</sect1>
Note: See TracBrowser for help on using the repository browser.