source: x/lib/webkitgtk2.xml@ 23b3dda

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 23b3dda was 23b3dda, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

More tags. Finish xfce.

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

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