source: x/lib/webkitgtk2.xml@ edd70f1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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 edd70f1 was edd70f1, checked in by DJ Lucas <dj@…>, 8 years ago

[systemd-merge] - Chapter 25 layout

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

  • Property mode set to 100644
File size: 12.6 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 "1b3f18d4087dfc648e8060c14e16e202">
10 <!ENTITY webkitgtk2-size "9.4 MB">
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)">
13]>
14
15<sect1 id="webkitgtk2" xreflabel="WebKitGTK+-&webkitgtk2-version;" revision="systemd">
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="mesa"/>,
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
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
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
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
147 <para>
148 To build <application>WebKitGTK+</application> against
149 <application>GTK+ 3</application>, run the following
150 commands:
151 </para>
152
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>
158
159 <para>
160 To build <application>WebKitGTK+</application> against
161 <application>GTK+ 2</application>, run the following
162 commands:
163 </para>
164
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>
170
171 <para>
172 This package does not have a working testsuite. However, there are two
173 useable basic graphical web browsers in the build directory,
174 <application>Programs/GtkLauncher</application> and
175 <application>Programs/MiniBrowser</application>. If launching any one
176 fails, there is a problem with the build.
177 </para>
178
179 <para>
180 If you have built the package against <application>GTK+ 3</application>,
181 install it by running the following commands as the <systemitem
182 class="username">root</systemitem> user:
183 </para>
184
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>
193
194 <para>
195 If you have built the package against <application>GTK+ 2</application>,
196 install it by running the following commands as the <systemitem
197 class="username">root</systemitem> user:
198 </para>
199
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>
208
209 </sect2>
210
211 <sect2 role="commands">
212 <title>Command Explanations</title>
213
214 <para>
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.
223 </para>
224
225 <para>
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.
230 </para>
231
232 <para>
233 <option>--disable-geolocation</option>: Use this switch if you don't
234 want to install <xref linkend="geoclue"/> or
235 <xref linkend="geoclue2"/>.
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>
247 <segtitle>Installed Programs</segtitle>
248 <segtitle>Installed Libraries</segtitle>
249 <segtitle>Installed Directories</segtitle>
250
251 <seglistitem>
252 <seg>
253 jsc-3 <emphasis>or</emphasis> jsc-1
254 </seg>
255 <seg>
256 libjavascriptcoregtk-3.0.so,
257 libwebkit2gtk-3.0.so and
258 libwebkitgtk-3.0.so <emphasis>or</emphasis>
259 libjavascriptcoregtk-1.0.so and
260 libwebkitgtk-1.0.so
261 </seg>
262 <seg>
263 /usr/include/webkitgtk-3.0,
264 /usr/lib/webkit2gtk-3.0,
265 /usr/share/gtk-doc/html/webkitgtk-3.0,
266 /usr/share/gtk-doc/html/webkitdomgtk-3.0,
267 /usr/share/gtk-doc/html/webkit2gtk and
268 /usr/share/webkitgtk-3.0 <emphasis>or</emphasis>
269 /usr/include/webkit-1.0,
270 /usr/share/gtk-doc/html/webkitgtk-1.0,
271 /usr/share/gtk-doc/html/webkitdomgtk-1.0 and
272 /usr/share/webkit-1.0
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
287 outside of the context of a web browser linked against
288 <filename class="libraryfile">libjavascriptcoregtk-3.0.so</filename>.
289 </para>
290 <indexterm zone="webkitgtk2 jsc-3">
291 <primary sortas="b-jsc-3">jsc-3</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="jsc-1">
297 <term><command>jsc-1</command></term>
298 <listitem>
299 <para>
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>.
303 </para>
304 <indexterm zone="webkitgtk2 jsc-1">
305 <primary sortas="b-jsc-1">jsc-1</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="libjavascriptcoregtk-3.0">
311 <term><filename
312 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
313 <listitem>
314 <para>
315 contains core JavaScript API functions used by <command>jsc-3</command>
316 and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
317 </para>
318 <indexterm zone="webkitgtk2 libjavascriptcoregtk-3.0">
319 <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="libwebkitgtk-3.0">
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>
331 <indexterm zone="webkitgtk2 libwebkitgtk-3.0">
332 <primary sortas="c-libwebkitgtk-3.0">libwebkitgtk-3.0.so</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="libwebkit2gtk-3.0">
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>
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>
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.