source: x/lib/webkitgtk.xml@ 88f20bb

perl-modules
Last change on this file since 88f20bb was 88f20bb, checked in by Ken Moffat <ken@…>, 4 years ago

Perl modules branch: merge revisions 20505 to 20531 from trunk.

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

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