source: x/lib/webkitgtk26-systemd.xml@ 6a26bf9

kde5-14686 systemd-13485
Last change on this file since 6a26bf9 was 6a26bf9, checked in by Christopher Gregory <cjg@…>, 10 years ago

Added new page for webkitgtk 2.6.0.

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

  • Property mode set to 100644
File size: 12.5 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 webkitgtk26-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk26-version;.tar.xz">
8 <!ENTITY webkitgtk26-download-ftp " ">
9 <!ENTITY webkitgtk26-md5sum "56fa5d14c91ef07e92f6a29469916a12">
10 <!ENTITY webkitgtk26-size "9.4 MB">
11 <!ENTITY webkitgtk26-buildsize "878.5 MB">
12 <!ENTITY webkitgtk26-time "124 SBU">
13]>
14
15<sect1 id="webkitgtk26" xreflabel="WebKitGTK+-&webkitgtk26-version;">
16 <?dbhtml filename="webkitgtk26.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy: cjg $</othername>
20 <date>$Date: 2014-09-07 19:15:49 +1200 (Sun, 07 Sep 2014) $</date>
21 </sect1info>
22
23 <title>WebKitGTK+-&webkitgtk26-version;</title>
24
25 <indexterm zone="webkitgtk26">
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. This version also changes
36 to the cmake build system and is not yet compatible with all applications.
37 </para>
38
39 &lfs76_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&webkitgtk26-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&webkitgtk26-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &webkitgtk26-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &webkitgtk26-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &webkitgtk26-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &webkitgtk26-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="libsecret"/>,
84 <xref linkend="libsoup"/>,
85 <xref linkend="libwebp"/>,
86 <xref linkend="mesalib"/>,
87 <xref linkend="ruby"/>,
88 <xref linkend="sqlite"/>,
89 <xref linkend="systemd"/> (for GUdev) 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>./configure - -prefix=/usr - -enable-introspection &amp;&amp;
146make</userinput></screen>-->
147
148 <para>
149 To build <application>WebKitGTK+</application>, run the following
150 commands:
151 </para>
152
153<screen><userinput>mkdir build &amp;&amp;
154pushd build &amp;&amp;
155 cmake -DCMAKE_BUILD_TYPE=Release \
156 -DCMAKE_INSTALL_PREFIX=/usr \
157 -DCMAKE_SKIP_RPATH=ON \
158 -DPORT=GTK \
159 -DENABLE_GTKDOC=ON \
160 -DUSE_SYSTEM_MALLOC=ON \
161 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc \
162 -DLIB_INSTALL_DIR=/usr/lib .. &amp;&amp;
163make</userinput></screen>
164
165 <para>
166 This package does not have a working testsuite. However, there are two
167 useable basic graphical web browsers in the source directory,
168 <application>Programs/GtkLauncher</application> and
169 <application>Programs/MiniBrowser</application>. If launching any one
170 fails, there is a problem with the build.
171 </para>
172
173 <para>
174 Now, as the <systemitem class="username">root</systemitem> user:
175 </para>
176
177<screen role="root"><userinput>make install</userinput></screen>
178
179<!-- <para>
180 If you have built the package against <application>GTK+ 3</application>,
181 rename the following directory to avoid conflicts with the package
182 built against <application>GTK+ 2</application> by running the
183 following commands as the <systemitem
184 class="username">root</systemitem> user:
185 </para>
186
187<screen role="root"><userinput>rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-3.0 &amp;&amp;
188mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-3.0} &amp;&amp;
189mv -v /usr/share/gtk-doc/html/webkitgtk{,-3.0}</userinput></screen>
190
191 <para>
192 If you have built the package against <application>GTK+ 2</application>,
193 rename the following directory to avoid conflicts with the package
194 built against <application>GTK+ 3</application> by running the
195 following commands as the <systemitem
196 class="username">root</systemitem> user:
197 </para>
198
199<screen role="root"><userinput>rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-1.0 &amp;&amp;
200mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-1.0} &amp;&amp;
201mv -v /usr/share/gtk-doc/html/webkitgtk{,-1.0}</userinput></screen>-->
202
203 </sect2>
204
205 <sect2 role="commands">
206 <title>Command Explanations</title>
207
208<!-- <para>
209 <parameter>- -enable-introspection</parameter>: This switch enables
210 <application>Gobject Introspection</application> bindings and is
211 required if building <application>GNOME</application> Desktop.
212 Remove if you don't have <application>Gobject
213 Introspection</application> installed or you don't want to install
214 <application>GNOME</application>. It is not needed if building
215 against <application>GTK+ 2</application>, although it can be used
216 if desired.
217 </para>-->
218
219<!-- <para>
220 <parameter>- -with-gtk=2.0 - -disable-webkit2</parameter>: These switches
221 force <application>WebKitGTK+</application> to compile against
222 <application>GTK+ 2</application>, even if
223 <application>GTK+ 3</application> is also installed.
224 </para>-->
225
226 <para>
227 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
228 against the system installed <application>malloc</application>.
229 </para>
230
231 <para>
232 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
233 want to install <xref linkend="geoclue"/> or
234 <xref linkend="geoclue2"/>.
235 </para>
236
237 <para>
238 <option>-DENABLE_GTKDOC=ON</option>: Remove this switch if you don't
239 want to install <xref linkend="gtk-doc"/>
240 </para>
241
242 </sect2>
243
244 <sect2 role="content">
245 <title>Contents</title>
246
247 <segmentedlist>
248 <segtitle>Installed Program</segtitle>
249 <segtitle>Installed Libraries</segtitle>
250 <segtitle>Installed Directories</segtitle>
251
252 <seglistitem>
253 <seg>
254 jsc
255 </seg>
256 <seg>
257 libjavascriptcoregtk-4.0.so and
258 libwebkit2gtk-4.0.so
259 </seg>
260 <seg>
261 /usr/include/webkitgtk-4.0,
262 /usr/lib/webkit2gtk-4.0,
263 /usr/libexec/webkit2gtk-4.0,
264 /usr/share/gtk-doc/html/webkit2gtk-4.0, and
265 /usr/share/gtk-doc/html/webkitdomgtk-4.0
266 </seg>
267 </seglistitem>
268 </segmentedlist>
269
270 <variablelist>
271 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
272 <?dbfo list-presentation="list"?>
273 <?dbhtml list-presentation="table"?>
274
275 <varlistentry id="jsc">
276 <term><command>jsc</command></term>
277 <listitem>
278 <para>
279 is a command-line utility that allows you to run JavaScript programs
280 outside of the context of a web browser linked against
281 <filename class="libraryfile">libjavascriptcoregtk-4.0.so</filename>.
282 </para>
283 <indexterm zone="webkitgtk26 jsc">
284 <primary sortas="b-jsc">jsc</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289<!-- <varlistentry id="jsc-1">
290 <term><command>jsc-1</command></term>
291 <listitem>
292 <para>
293 is a command-line utility that allows you to run JavaScript programs
294 outside of the context of a web browser linked against
295 <filename class="libraryfile">libjavascriptcoregtk-1.0.so</filename>.
296 </para>
297 <indexterm zone="webkitgtk2 jsc-1">
298 <primary sortas="b-jsc-1">jsc-1</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>-->
302
303 <varlistentry id="libjavascriptcoregtk-4.0">
304 <term><filename
305 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
306 <listitem>
307 <para>
308 contains core JavaScript API functions used by <command>jsc</command>
309 and <filename class="libraryfile">libwebkitgtk-4.0.so</filename>.
310 </para>
311 <indexterm zone="webkitgtk26 libjavascriptcoregtk-4.0">
312 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.so</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="libwebkitgtk-4.0">
318 <term><filename class="libraryfile">libwebkitgtk-4.0.so</filename></term>
319 <listitem>
320 <para>
321 contains the <application>WebKitGTK+</application> API functions for
322 <application>GTK+ 3</application>.
323 </para>
324 <indexterm zone="webkitgtk26 libwebkitgtk-4.0">
325 <primary sortas="c-libwebkitgtk-3.0">libwebkitgtk-4.0.so</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330<!-- <varlistentry id="libwebkit2gtk-3.0">
331 <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
332 <listitem>
333 <para>
334 contains the <application>WebKit2</application> API functions.
335 </para>
336 <indexterm zone="webkitgtk26 libwebkit2gtk-3.0">
337 <primary sortas="c-libwebkit2gtk-3.0">libwebkit2gtk-3.0.so</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>-->
341
342<!-- <varlistentry id="libjavascriptcoregtk-1.0">
343 <term><filename
344 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
345 <listitem>
346 <para>
347 contains core JavaScript API functions used by <command>jsc-1</command>
348 and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
349 </para>
350 <indexterm zone="webkitgtk26 libjavascriptcoregtk-1.0">
351 <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="libwebkitgtk-1.0">
357 <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
358 <listitem>
359 <para>
360 contains the <application>WebKitGTK+</application> API functions for
361 <application>GTK+ 2</application>.
362 </para>
363 <indexterm zone="webkitgtk26 libwebkitgtk-1.0">
364 <primary sortas="c-libwebkitgtk-1.0">libwebkitgtk-1.0.so</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>-->
368
369 </variablelist>
370
371 </sect2>
372
373</sect1>
Note: See TracBrowser for help on using the repository browser.