source: x/lib/webkitgtk.xml@ 252ae3a

10.0 10.1 11.0 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 252ae3a was 252ae3a, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Update to webkitgtk-2.14.4

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

  • Property mode set to 100644
File size: 9.9 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 <!-- This is the 2.8.x and later version of webkit -->
8 <!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
9 <!ENTITY webkitgtk-download-ftp " ">
10 <!ENTITY webkitgtk-md5sum "5117199de95d9a1fd1ca5d4e31c845c7">
11 <!ENTITY webkitgtk-size "13 MB">
12 <!ENTITY webkitgtk-buildsize "1.1 GB (115 MB installed)">
13 <!ENTITY webkitgtk-time "32 SBU (using parallelism=4, 112 SBUs using one core)">
14]>
15
16<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
17 <?dbhtml filename="webkitgtk.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>WebKitGTK+-&webkitgtk-version;</title>
25
26 <indexterm zone="webkitgtk">
27 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to WebKitGTK+</title>
32
33 <para>
34 The <application>WebKitGTK+</application> package is a port of the
35 portable web rendering engine <application>WebKit</application> to the
36 <application>GTK+ 3</application> and <application>GTK+ 2</application>
37 platforms.
38 </para>
39
40 &lfs7a_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &webkitgtk-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &webkitgtk-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &webkitgtk-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &webkitgtk-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="cairo"/>,
81 <xref linkend="cmake"/>,
82 <xref linkend="enchant"/>,
83 <xref linkend="gst10-plugins-base"/>,
84 <xref linkend="gtk2"/>,
85 <xref linkend="gtk3"/>,
86 <xref linkend="icu"/>,
87 <xref linkend="libgudev"/>,
88 <xref linkend="libsecret"/>,
89 <xref linkend="libsoup"/>,
90 <xref linkend="libwebp"/>,
91 <xref linkend="mesa"/>,
92 <xref linkend="ruby"/>,
93 <xref linkend="sqlite"/> and
94 <xref linkend="which"/>
95 </para>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
98 <para role="recommended" revision="sysv">
99 <xref linkend="geoclue"/>,
100 <xref linkend="gobject-introspection"/>,
101 <xref linkend="hicolor-icon-theme"/>
102 </para>
103 <para role="recommended" revision="systemd">
104 <xref linkend="geoclue2"/> or
105 <xref linkend="geoclue"/>,
106 <xref linkend="gobject-introspection"/>,
107 <xref linkend="hicolor-icon-theme"/>
108 </para>
109
110 <bridgehead renderas="sect4">Optional</bridgehead>
111 <para role="optional" revision="sysv">
112 <xref linkend="gtk-doc"/>,
113 <xref linkend="harfbuzz"/>,
114 <xref linkend="libnotify"/>,
115 <xref linkend="llvm"/>,
116 <xref linkend="wayland"/>,
117 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
118 <ulink url="http://freedesktop.org/wiki/Software/GeoClue/">GeoClue2</ulink>, and
119 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
120 </para>
121 <para role="optional" revision="systemd">
122 <xref linkend="gtk-doc"/>,
123 <xref linkend="harfbuzz"/>,
124 <xref linkend="libnotify"/>,
125 <xref linkend="llvm"/>,
126 <xref linkend="wayland"/>,
127 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/"> Hyphen</ulink>, and
128 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
129 </para>
130
131 <para condition="html" role="usernotes">
132 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
133 </para>
134 </sect2>
135
136 <sect2 role="installation">
137 <title>Installation of WebKitGTK+</title>
138
139 <bridgehead renderas="sect3">Installation of
140 <application>WebKitGTK+</application></bridgehead>
141
142 <para>
143 Install <application>WebKitGTK+</application> by running the
144 following commands:
145 </para>
146
147<screen><userinput>mkdir -vp build &amp;&amp;
148cd build &amp;&amp;
149
150cmake -DCMAKE_BUILD_TYPE=Release \
151 -DCMAKE_INSTALL_PREFIX=/usr \
152 -DCMAKE_SKIP_RPATH=ON \
153 -DPORT=GTK \
154 -DLIB_INSTALL_DIR=/usr/lib \
155 -DUSE_LIBHYPHEN=OFF \
156 -DENABLE_MINIBROWSER=ON \
157 -Wno-dev .. &amp;&amp;
158make</userinput></screen>
159
160 <para>
161 This package does not have a working testsuite. However, there is a
162 useable basic graphical web browser in the build directory,
163 <application>build/bin/MiniBrowser</application>. If launching it fails,
164 there is a problem with the build.
165 </para>
166
167 <note><para>
168 When installing, the Makefile does some additional compiling and linking.
169 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
170 variables need to be defined for the root user. If using sudo to assume
171 root, use the -E option to pass your current environment variables for the
172 install process.
173 </para></note>
174
175 <para>
176 Now, as the <systemitem class="username">root</systemitem> user:
177 </para>
178
179<screen role="root"><userinput>make install &amp;&amp;
180
181install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
182install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
183 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
184install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
185 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
186
187 </sect2>
188
189 <sect2 role="commands">
190 <title>Command Explanations</title>
191
192 <para>
193 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
194 default automatic hyphenation implementation. You need to install
195 <ulink
196 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
197 if you wish to enable it (replacing OFF with ON or just removing
198 the switch).
199 </para>
200
201 <para>
202 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
203 <application>Mini Browser</application> compilation and install.
204 </para>
205
206 <para>
207 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
208 against the system installed <application>malloc</application>.
209 </para>
210
211 <para>
212 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
213 want to install <xref linkend="geoclue"/> or
214 <xref linkend="geoclue2"/>.
215 </para>
216
217 <para>
218 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
219 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
220 API documentation.
221 </para>
222
223 </sect2>
224
225 <sect2 role="content">
226 <title>Contents</title>
227
228 <segmentedlist>
229 <segtitle>Installed Program</segtitle>
230 <segtitle>Installed Libraries</segtitle>
231 <segtitle>Installed Directories</segtitle>
232
233 <seglistitem>
234 <seg>
235 jsc and MiniBrowser
236 </seg>
237 <seg>
238 libjavascriptcoregtk-4.0.so and
239 libwebkit2gtk-4.0.so
240 </seg>
241 <seg>
242 /usr/include/webkitgtk-4.0,
243 /usr/lib{,exec}/webkit2gtk-4.0 and
244 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
245 </seg>
246 </seglistitem>
247 </segmentedlist>
248
249 <variablelist>
250 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
251 <?dbfo list-presentation="list"?>
252 <?dbhtml list-presentation="table"?>
253
254 <varlistentry id="jsc">
255 <term><command>jsc</command></term>
256 <listitem>
257 <para>
258 is a command-line utility that allows you to run JavaScript programs
259 outside of the context of a web browser.
260 </para>
261 <indexterm zone="webkitgtk jsc">
262 <primary sortas="b-jsc">jsc</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="MiniBrowser">
268 <term><command>MiniBrowser</command></term>
269 <listitem>
270 <para>
271 is a very simple graphical browser.
272 </para>
273 <indexterm zone="webkitgtk MiniBrowser">
274 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="libjavascriptcoregtk-4.0">
280 <term><filename
281 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
282 <listitem>
283 <para>
284 contains core JavaScript API functions used by
285 <command>jsc</command> and <filename
286 class="libraryfile">libwebkit2gtk-4.0</filename>.
287 </para>
288 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
289 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="libwebkit2gtk-4">
295 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
296 <listitem>
297 <para>
298 contains the <application>WebKit2</application> API functions.
299 </para>
300 <indexterm zone="webkitgtk libwebkit2gtk-4">
301 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 </variablelist>
307
308 </sect2>
309
310</sect1>
Note: See TracBrowser for help on using the repository browser.