source: x/lib/webkitgtk.xml@ 826ddf4

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

a changelog entry

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9950 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
8 "http://webkitgtk.org/releases/webkit-&webkitgtk-version;.tar.xz">
9 <!ENTITY webkitgtk-download-ftp " ">
10 <!ENTITY webkitgtk-md5sum "52b2feb0fae01e68432b547bd85e8d74">
11 <!ENTITY webkitgtk-size "7.6 MB">
12 <!ENTITY webkitgtk-buildsize "500 MB (38 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 job, 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 install <application>WebKit</application> by running the following
144 commands:
145 </para>
146
147<screen><userinput>./configure --prefix=/usr --enable-introspection &amp;&amp;
148until make -j$(getconf _NPROCESSORS_ONLN)
149do echo "Let's try that again..."
150done</userinput></screen>
151
152 <para>
153 This package does not have a working testsuite.
154 </para>
155<!--
156 <para>
157 To test the results, issue: <command>make check</command> (you must be in
158 an xterm or similar to do this, because it launches some windows).
159 Requires <xref linkend="pygobject2"/>.
160 </para>
161-->
162
163 <para>
164 Now, as the <systemitem class="username">root</systemitem> user:
165 </para>
166
167<screen role="root"><userinput>make install</userinput></screen>
168 </sect2>
169
170 <sect2 role="commands">
171 <title>Command Explanations</title>
172
173 <para>
174 <option>--enable-introspection</option>: This option enables support for
175 <application>Gobject-Introspection</application> and is required for a
176 <application>GNOME</application> desktop.
177 </para>
178
179 <para>
180 <command>until make -j$(getconf _NPROCESSORS_ONLN)</command>). Sadly
181 there are race conditions in the makefiles that will cause the build to
182 fail if you run make with multiple jobs. This simple hack works around
183 that, <command>until</command> will keep running <command>make</command>
184 until it succeeds. You will need to monitor the output of
185 <command>make</command>. If an error occurs that is
186 <emphasis>not</emphasis> due to a race condition then it will keep
187 repeating <command>make</command> until you kill the process.
188 <command>$(getconf _NPROCESSORS_ONLN)</command> prints
189 the number of cores your computer seems to have.
190 </para>
191
192 <para>
193 <option>--with-gtk=2.0</option>: This option forces
194 <application>Webkit</application> to compile against
195 <application>Gtk+-2</application>, even if
196 <application>Gtk+-3</application> is also installed. With
197 <application>Gtk+-2</application>, everything
198 <application>Webkit</application> installs is suffixed with 1.0. When it
199 is compiled against <application>Gtk+-3</application> everything it
200 installs is suffixed with 3.0. Both versions can be installed alongside
201 one another with no namespace conflicts.
202 </para>
203
204 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
205 href="../../xincludes/gtk-doc-rebuild.xml"/>
206 </sect2>
207
208 <sect2 role="content">
209 <title>Contents</title>
210
211 <segmentedlist>
212 <segtitle>Installed Program</segtitle>
213 <segtitle>Installed Library</segtitle>
214 <segtitle>Installed Directories</segtitle>
215
216 <seglistitem>
217 <seg>
218 jsc-1 or jsc-3 (depending on whether you installed the
219 <application>Gtk+-2</application> or <application>Gtk+-3</application>
220 version of <application>WebKit</application>).
221 </seg>
222 <seg>
223 libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or libwebkit-3.0.so
224 and libjavascriptcoregtk-3.0.so (depending on whether you installed
225 the <application>Gtk+-2</application> or
226 <application>Gtk+-3</application> version of
227 <application>WebKit</application>).
228 </seg>
229 <seg>
230 /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
231 /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on
232 whether you installed the <application>Gtk+-2</application> or
233 <application>Gtk+-3</application> version of
234 <application>WebKit</application>).
235 </seg>
236 </seglistitem>
237 </segmentedlist>
238
239 <variablelist>
240 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
241 <?dbfo list-presentation="list"?>
242 <?dbhtml list-presentation="table"?>
243
244 <varlistentry id="jsc">
245 <term><command>jsc-1</command> or <command>jsc-3</command></term>
246 <listitem>
247 <para>
248 is a command-line utility that allows you to run JavaScript programs
249 outside of the context of a web browser.
250 </para>
251 <indexterm zone="webkitgtk jsc">
252 <primary sortas="b-jsc">jsc</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="libwebkit-1.0">
258 <term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
259 <listitem>
260 <para>
261 contains the <application>WebKit</application> API functions for
262 <application>gtk+-2</application>.
263 </para>
264 <indexterm zone="webkitgtk libwebkit-1.0">
265 <primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="libwebkit-3.0">
271 <term><filename class="libraryfile">libwebkit-3.0.so</filename></term>
272 <listitem>
273 <para>
274 contains the <application>WebKit</application> API functions for
275 <application>gtk+-3</application>.
276 </para>
277 <indexterm zone="webkitgtk libwebkit-3.0">
278 <primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="libjavascriptcoregtk-1.0">
284 <term><filename
285 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
286 <listitem>
287 <para>
288 contains functions that are used by <command>jsc-1</command>.
289 </para>
290 <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
291 <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="libjavascriptcoregtk-3.0">
297 <term><filename
298 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
299 <listitem>
300 <para>
301 contains functions that are used by <command>jsc-3</command>.
302 </para>
303 <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
304 <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308 </variablelist>
309 </sect2>
310</sect1>
Note: See TracBrowser for help on using the repository browser.