source: x/lib/webkitgtk2.xml@ 7d64567

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 7d64567 was 7d64567, checked in by DJ Lucas <dj@…>, 8 years ago

Remove liblxqt CK2 patch from systemd, reintroduce WebKitGTK-2.4.11 to SystemV, and add ModemManager, GeoClue2, libmbim, and libqmi for SystemV.

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

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