source: x/lib/webkitgtk2.xml@ d7bee48

systemd-13485
Last change on this file since d7bee48 was d7bee48, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Sync to trunk r17332

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

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