source: x/lib/webkitgtk2.xml@ cbc3f97

systemd-13485
Last change on this file since cbc3f97 was cbc3f97, checked in by DJ Lucas <dj@…>, 8 years ago

Merge chapter 14 from trunk, merge recent updates from trunk to completed chapters, more -systemd.xml files cleanup.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16869 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.4 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 "312fd29eb7f5970660c6a64b8bf8420e">
10 <!ENTITY webkitgtk2-size "9.4 MB">
11 <!ENTITY webkitgtk2-buildsize "972 MB (GTK+ 3 Build), 688 MB (GTK+ 2 Build)">
12 <!ENTITY webkitgtk2-time "95 SBU (GTK+ 3 Build), 75 SBU (GTK+ 2 Build)">
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
34 web rendering engine <application>WebKit</application> to the
35 <application>GTK+ 3</application> and <application>GTK+ 2</application>
36 platforms.
37 </para>
38
39 &lfs77_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="gtk3"/> or
81 <xref linkend="gtk2"/> or both,
82 <xref linkend="icu"/>,
83 <xref linkend="libgudev"/>,
84 <xref linkend="libsecret"/>,
85 <xref linkend="libsoup"/>,
86 <xref linkend="libwebp"/>,
87 <xref linkend="mesalib"/>,
88 <xref linkend="ruby"/>,
89 <xref linkend="sqlite"/> and
90 <xref linkend="which"/>
91 </para>
92
93 <note>
94 <para>
95 Note that WebKit2 links against <application>GTK+ 2</application>
96 (even if <application>GTK+ 3</application> is being used) in order
97 to be able to use NPAPI plugins such as Adobe Flash.
98 </para>
99 </note>
100
101 <bridgehead renderas="sect4">Recommended</bridgehead>
102 <para role="recommended">
103 <xref linkend="enchant"/>,
104 <xref linkend="geoclue2"/> or
105 <xref linkend="geoclue"/>,
106 <xref linkend="gobject-introspection"/> and
107 <xref linkend="hicolor-icon-theme"/>
108 </para>
109
110 <bridgehead renderas="sect4">Optional</bridgehead>
111 <para role="optional">
112 <xref linkend="gtk-doc"/>,
113 <xref linkend="llvm"/> and
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
130<screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
131
132 <note>
133 <para>
134 Unless noted otherwise, the packages depending on this package
135 expect it to be built against <application>GTK+ 3</application>.
136 </para>
137 </note>
138
139 <para>
140 To build <application>WebKitGTK+</application> against
141 <application>GTK+ 3</application>, run the following
142 commands:
143 </para>
144
145<screen><userinput>mkdir build3 &amp;&amp;
146pushd build3 &amp;&amp;
147../configure --prefix=/usr --enable-introspection &amp;&amp;
148make &amp;&amp;
149popd</userinput></screen>
150
151 <para>
152 To build <application>WebKitGTK+</application> against
153 <application>GTK+ 2</application>, run the following
154 commands:
155 </para>
156
157<screen><userinput>mkdir build2 &amp;&amp;
158pushd build2 &amp;&amp;
159../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &amp;&amp;
160make &amp;&amp;
161popd</userinput></screen>
162
163 <para>
164 This package does not have a working testsuite. However, there are two
165 useable basic graphical web browsers in the build directory,
166 <application>Programs/GtkLauncher</application> and
167 <application>Programs/MiniBrowser</application>. If launching any one
168 fails, there is a problem with the build.
169 </para>
170
171 <para>
172 If you have built the package against <application>GTK+ 3</application>,
173 install it by running the following commands as the <systemitem
174 class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>make -C build3 install &amp;&amp;
178rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-3.0 &amp;&amp;
179if [ -e /usr/share/gtk-doc/html/webkitdomgtk ]; then
180 mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-3.0}
181fi
182if [ -e /usr/share/gtk-doc/html/webkitgtk ]; then
183 mv -v /usr/share/gtk-doc/html/webkitgtk{,-3.0}
184fi</userinput></screen>
185
186 <para>
187 If you have built the package against <application>GTK+ 2</application>,
188 install it by running the following commands as the <systemitem
189 class="username">root</systemitem> user:
190 </para>
191
192<screen role="root"><userinput>make -C build2 install &amp;&amp;
193rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-1.0 &amp;&amp;
194if [ -e /usr/share/gtk-doc/html/webkitdomgtk ]; then
195 mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-1.0}
196fi
197if [ -e /usr/share/gtk-doc/html/webkitgtk ]; then
198 mv -v /usr/share/gtk-doc/html/webkitgtk{,-1.0}
199fi</userinput></screen>
200
201 </sect2>
202
203 <sect2 role="commands">
204 <title>Command Explanations</title>
205
206 <para>
207 <parameter>--enable-introspection</parameter>: This switch enables
208 <application>Gobject Introspection</application> bindings and is
209 required if building <application>GNOME</application> Desktop.
210 Remove if you don't have <application>Gobject
211 Introspection</application> installed or you don't want to install
212 <application>GNOME</application>. It is not needed if building
213 against <application>GTK+ 2</application>, although it can be used
214 if desired.
215 </para>
216
217 <para>
218 <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These switches
219 force <application>WebKitGTK+</application> to compile against
220 <application>GTK+ 2</application>, even if
221 <application>GTK+ 3</application> is also installed.
222 </para>
223
224 <para>
225 <option>--disable-geolocation</option>: Use this switch if you don't
226 want to install <xref linkend="geoclue"/> or
227 <xref linkend="geoclue2"/>.
228 </para>
229
230 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
231 href="../../xincludes/gtk-doc-rebuild.xml"/>
232
233 </sect2>
234
235 <sect2 role="content">
236 <title>Contents</title>
237
238 <segmentedlist>
239 <segtitle>Installed Programs</segtitle>
240 <segtitle>Installed Libraries</segtitle>
241 <segtitle>Installed Directories</segtitle>
242
243 <seglistitem>
244 <seg>
245 jsc-3 <emphasis>or</emphasis> jsc-1
246 </seg>
247 <seg>
248 libjavascriptcoregtk-3.0.so,
249 libwebkit2gtk-3.0.so and
250 libwebkitgtk-3.0.so <emphasis>or</emphasis>
251 libjavascriptcoregtk-1.0.so and
252 libwebkitgtk-1.0.so
253 </seg>
254 <seg>
255 /usr/include/webkitgtk-3.0,
256 /usr/lib/webkit2gtk-3.0,
257 /usr/share/gtk-doc/html/webkitgtk-3.0,
258 /usr/share/gtk-doc/html/webkitdomgtk-3.0,
259 /usr/share/gtk-doc/html/webkit2gtk and
260 /usr/share/webkitgtk-3.0 <emphasis>or</emphasis>
261 /usr/include/webkit-1.0,
262 /usr/share/gtk-doc/html/webkitgtk-1.0,
263 /usr/share/gtk-doc/html/webkitdomgtk-1.0 and
264 /usr/share/webkit-1.0
265 </seg>
266 </seglistitem>
267 </segmentedlist>
268
269 <variablelist>
270 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
271 <?dbfo list-presentation="list"?>
272 <?dbhtml list-presentation="table"?>
273
274 <varlistentry id="jsc-3">
275 <term><command>jsc-3</command></term>
276 <listitem>
277 <para>
278 is a command-line utility that allows you to run JavaScript programs
279 outside of the context of a web browser linked against
280 <filename class="libraryfile">libjavascriptcoregtk-3.0.so</filename>.
281 </para>
282 <indexterm zone="webkitgtk2 jsc-3">
283 <primary sortas="b-jsc-3">jsc-3</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="jsc-1">
289 <term><command>jsc-1</command></term>
290 <listitem>
291 <para>
292 is a command-line utility that allows you to run JavaScript programs
293 outside of the context of a web browser linked against
294 <filename class="libraryfile">libjavascriptcoregtk-1.0.so</filename>.
295 </para>
296 <indexterm zone="webkitgtk2 jsc-1">
297 <primary sortas="b-jsc-1">jsc-1</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="libjavascriptcoregtk-3.0">
303 <term><filename
304 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
305 <listitem>
306 <para>
307 contains core JavaScript API functions used by <command>jsc-3</command>
308 and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
309 </para>
310 <indexterm zone="webkitgtk2 libjavascriptcoregtk-3.0">
311 <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="libwebkitgtk-3.0">
317 <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
318 <listitem>
319 <para>
320 contains the <application>WebKitGTK+</application> API functions for
321 <application>GTK+ 3</application>.
322 </para>
323 <indexterm zone="webkitgtk2 libwebkitgtk-3.0">
324 <primary sortas="c-libwebkitgtk-3.0">libwebkitgtk-3.0.so</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="libwebkit2gtk-3.0">
330 <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
331 <listitem>
332 <para>
333 contains the <application>WebKit2</application> API functions.
334 </para>
335 <indexterm zone="webkitgtk2 libwebkit2gtk-3.0">
336 <primary sortas="c-libwebkit2gtk-3.0">libwebkit2gtk-3.0.so</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="libjavascriptcoregtk-1.0">
342 <term><filename
343 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
344 <listitem>
345 <para>
346 contains core JavaScript API functions used by <command>jsc-1</command>
347 and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
348 </para>
349 <indexterm zone="webkitgtk2 libjavascriptcoregtk-1.0">
350 <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
355 <varlistentry id="libwebkitgtk-1.0">
356 <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
357 <listitem>
358 <para>
359 contains the <application>WebKitGTK+</application> API functions for
360 <application>GTK+ 2</application>.
361 </para>
362 <indexterm zone="webkitgtk2 libwebkitgtk-1.0">
363 <primary sortas="c-libwebkitgtk-1.0">libwebkitgtk-1.0.so</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 </variablelist>
369
370 </sect2>
371
372</sect1>
Note: See TracBrowser for help on using the repository browser.