source: x/lib/webkitgtk2.xml@ 5e11bc38

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5e11bc38 was 5e11bc38, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to webkitgtk-2.4.5.
Remove WebKitGTK+1.10.x, consequently, fix Midori-0.5.8 and Gimp-2.8.14 (remove broken ftp link from the latter).
Fix Tk-8.6.2 md5sum that changed overnight. Thanks Wayne B.
LibreOffice-4.3.0 - fix broken symbolic links. Thanks Wayne B.

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

  • Property mode set to 100644
File size: 13.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 webkitgtk2-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk2-version;.tar.xz">
8 <!ENTITY webkitgtk2-download-ftp " ">
9 <!ENTITY webkitgtk2-md5sum "c2e1687bb0314a0948fbf78e2d1e931f">
10 <!ENTITY webkitgtk2-size "9.4 MB">
11 <!ENTITY webkitgtk2-buildsize "1.5 GB (both built)">
12 <!ENTITY webkitgtk2-time "138 SBU (both built, webkitgtk-3.0 takes a little longer than webkitgtk-1.0)">
13]>
14
15<sect1 id="webkitgtk2" xreflabel="WebKitGTK+-&webkitgtk2-version;">
16 <?dbhtml filename="webkitgtk2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>WebKitGTK+-&webkitgtk2-version;</title>
24
25 <indexterm zone="webkitgtk2">
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> is the port of the portable web
34 rendering engine <application>WebKit</application> to the
35 <application>GTK+ 3</application> and/or <application>GTK+
36 2</application> platforms.
37 </para>
38
39 &lfs75_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&webkitgtk2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&webkitgtk2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &webkitgtk2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &webkitgtk2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &webkitgtk2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &webkitgtk2-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="gst10-plugins-base"/>,
80 <xref linkend="gtk2"/> or
81 <xref linkend="gtk3"/>,
82 <xref linkend="icu"/>,
83 <xref linkend="libsecret"/>,
84 <xref linkend="libsoup"/>,
85 <xref linkend="libwebp"/>,
86 <xref linkend="mesalib"/>,
87 <xref linkend="ruby"/>,
88 <xref linkend="sqlite"/>,
89 <xref linkend="udev-extras"/> (for GUdev) and
90 <xref linkend="which"/>
91 </para>
92
93 <note><para>
94 WebKit2 links against GTK+ 2 (even if GTK+ 3 is being used), in order to
95 be able to use NPAPI plugins such as Adobe Flash.
96 </para></note>
97
98
99 <bridgehead renderas="sect4">Recommended</bridgehead>
100 <para role="recommended">
101 <xref linkend="enchant"/>,
102 <xref linkend="geoclue"/>,
103 <xref linkend="gobject-introspection"/>,
104 <xref linkend="hicolor-icon-theme"/>
105 </para>
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional">
109 <xref linkend="gtk-doc"/>,
110 <xref linkend="harfbuzz"/>,
111 <xref linkend="llvm"/>,
112 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>, and
113 <ulink url="http://xsltml.sourceforge.net/">MathML</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 <para>
125 If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
126 cause <command>make install</command> to fail:
127 </para>
128
129<screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' \
130 GNUmakefile.in</userinput></screen>
131
132 <para>
133 Upstream standard now is to link this package against GTK+ 3. However,
134 for backward compatibility, manu users need also another instance, linked
135 to GTK+ 2. Both can be installed in the same system, without problem.
136 However, some packages can alternatively be linked to either one. Here,
137 both build methods are presented and recommended to be built, but if you
138 know which one you need, just jump to the respective part.
139 </para>
140
141<!-- ==== WebKitGTK+ against GTK+ 3 ====== -->
142 <bridgehead renderas="sect3">Build and install WebKitGTK+ against
143 GTK+ 3</bridgehead>
144
145 <para>
146 Install <application>WebKitGTK+</application> by running the
147 following commands:
148 </para>
149
150<screen><userinput>mkdir -vp build-3 &amp;&amp;
151cp -a Documentation build-3 &amp;&amp;
152cd build-3 &amp;&amp;
153
154
155../configure --prefix=/usr --enable-introspection &amp;&amp;
156make</userinput></screen>
157
158 <para>
159 This package does not have a working testsuite. However, there are two
160 useable basic graphical web browsers in the build directory,
161 <application>Programs/GtkLauncher</application> and
162 <application>Programs/MiniBrowser</application>. If launching any one
163 fails, there is a problem with the build.
164 </para>
165
166 <note><para>
167 When installing, the Makefile does some additional compiling and linking.
168 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
169 variables need to be defined for the root user. If using sudo to assume
170 root, use the -E option to pass your current environment variables for the
171 install process.
172 </para></note>
173
174 <para>
175 Now, as the <systemitem class="username">root</systemitem> user:
176 </para>
177
178<screen role="root"><userinput>make install</userinput></screen>
179
180 <para>
181 Finally, leave the buid directory:
182 </para>
183
184<screen><userinput>cd ..</userinput></screen>
185
186<!-- ==== WebKitGTK+ against GTK+ 2 ====== -->
187 <bridgehead renderas="sect3">Build and install WebKitGTK+ against
188 GTK+ 2</bridgehead>
189
190 <para>
191 Install <application>WebKitGTK+</application> by running the
192 following commands:
193 </para>
194
195<screen><userinput>mkdir -vp build-1</userinput></screen>
196
197 <para>
198 If you have built and installed the package against GTK+ 3, skip the
199 following command, because the previous docummentation also applies here:
200 </para>
201
202<screen><userinput>cp -a Documentation build-1</userinput></screen>
203
204 <para>
205 Now, change into the build directory and effectively start the build and
206 install:
207 </para>
208
209<screen><userinput>cd build-1 &amp;&amp;
210
211
212../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &amp;&amp;
213make</userinput></screen>
214
215 <para>
216 This package does not have a working testsuite. However, there is one
217 useable basic graphical web browser in the build directory,
218 <application>Programs/GtkLauncher</application>. If launching it
219 fails, there is a problem with the build.
220 </para>
221
222 <note><para>
223 When installing, the Makefile does some additional compiling and linking.
224 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
225 variables need to be defined for the root user. If using sudo to assume
226 root, use the -E option to pass your current environment variables for the
227 install process.
228 </para></note>
229
230 <para>
231 Now, as the <systemitem class="username">root</systemitem> user:
232 </para>
233
234<screen role="root"><userinput>make install</userinput></screen>
235
236 <para>
237 Finally, leave the buid directory:
238 </para>
239
240<screen><userinput>cd ..</userinput></screen>
241
242 </sect2>
243
244 <sect2 role="commands">
245 <title>Command Explanations</title>
246
247 <para>
248 <option>--enable-introspection</option>: This switch enables support for
249 <application>Gobject Introspection</application> and is required for a
250 <application>GNOME</application> Desktop. Remove if you don't have
251 <application>Gobject Introspection</application> installed or you don't
252 want to install <application>GNOME</application>.
253 </para>
254
255 <para>
256 <option>--disable-geolocation</option>: Use this option if you did not
257 install <xref linkend="geoclue"/> or <command>configure</command> will
258 fail.
259 </para>
260
261 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
262 href="../../xincludes/gtk-doc-rebuild.xml"/>
263
264 </sect2>
265
266 <sect2 role="content">
267 <title>Contents</title>
268
269 <segmentedlist>
270 <segtitle>Installed Programs</segtitle>
271 <segtitle>Installed Libraries</segtitle>
272 <segtitle>Installed Directories</segtitle>
273
274 <seglistitem>
275 <seg>
276 jsc-1, and jsc-3
277 </seg>
278 <seg>
279 libjavascriptcoregtk-1.0.so,
280 libjavascriptcoregtk-3.0.so,
281 libwebkit2gtk-3.0.so,
282 libwebkitgtk-1.0.so,
283 libwebkitgtk-3.0.so, and
284 webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.so
285 </seg>
286 <seg>
287 /usr/include/webkitgtk-1.0,
288 /usr/include/webkitgtk-3.0,
289 /usr/lib/webkit2gtk-3.0,
290 /usr/share/gtk-doc/html/webkit2gtk,
291 /usr/share/gtk-doc/html/webkitdomgtk,
292 /usr/share/gtk-doc/html/webkitgtk,
293 /usr/share/webkitgtk-1.0, and
294 /usr/share/webkitgtk-3.0
295 </seg>
296 </seglistitem>
297 </segmentedlist>
298
299 <variablelist>
300 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
301 <?dbfo list-presentation="list"?>
302 <?dbhtml list-presentation="table"?>
303
304 <varlistentry id="jsc-1">
305 <term><command>jsc-1</command></term>
306 <listitem>
307 <para>
308 is a command-line utility that allows you to run JavaScript programs
309 outside of the context of a web browser.
310 </para>
311 <indexterm zone="webkitgtk2 jsc-1">
312 <primary sortas="b-jsc-1">jsc-1</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="jsc-3">
318 <term><command>jsc-3</command></term>
319 <listitem>
320 <para>
321 is a command-line utility that allows you to run JavaScript programs
322 outside of the context of a web browser.
323 </para>
324 <indexterm zone="webkitgtk2 jsc-3">
325 <primary sortas="b-jsc-3">jsc-3</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="libjavascriptcoregtk-1">
331 <term><filename
332 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
333 <listitem>
334 <para>
335 contains core JavaScript API functions used by <command>jsc-1</command>
336 and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
337 </para>
338 <indexterm zone="webkitgtk2 libjavascriptcoregtk-1">
339 <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="libjavascriptcoregtk-3">
345 <term><filename
346 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
347 <listitem>
348 <para>
349 contains core JavaScript API functions used by <command>jsc-3</command>
350 and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
351 </para>
352 <indexterm zone="webkitgtk2 libjavascriptcoregtk-3">
353 <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="libwebkitgtk-1">
359 <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
360 <listitem>
361 <para>
362 contains the <application>WebKitGTK+</application> API functions for
363 <application>GTK+ 2</application>.
364 </para>
365 <indexterm zone="webkitgtk2 libwebkitgtk-1">
366 <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="libwebkitgtk-3">
372 <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
373 <listitem>
374 <para>
375 contains the <application>WebKitGTK+</application> API functions for
376 <application>GTK+ 3</application>.
377 </para>
378 <indexterm zone="webkitgtk2 libwebkitgtk-3">
379 <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="libwebkit2gtk-3">
385 <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
386 <listitem>
387 <para>
388 contains the <application>WebKit2</application> API functions.
389 </para>
390 <indexterm zone="webkitgtk2 libwebkit2gtk-3">
391 <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 </variablelist>
397
398 </sect2>
399
400</sect1>
Note: See TracBrowser for help on using the repository browser.