source: x/lib/webkitgtk2-systemd.xml@ 19afaf7

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 19afaf7 was 19afaf7, checked in by Krejzi <krejzi@…>, 10 years ago

Fix build.

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

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