source: x/lib/webkitgtk.xml@ 4307e1e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 4307e1e was 4307e1e, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to webkitgtk-2.14.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18008 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 "2fe3cadbc546d93ca68a13756c2be015">
11 <!ENTITY webkitgtk-size "12.8 MB">
12 <!ENTITY webkitgtk-buildsize "956 MB (115 MB installed)">
13 <!ENTITY webkitgtk-time "34 SBU (using parallelism=4, estimated 116 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="gst10-plugins-base"/>,
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" revision="sysv">
98 <xref linkend="enchant"/>,
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="enchant"/>,
105 <xref linkend="geoclue2"/> or
106 <xref linkend="geoclue"/>,
107 <xref linkend="gobject-introspection"/>,
108 <xref linkend="hicolor-icon-theme"/>
109 </para>
110
111 <bridgehead renderas="sect4">Optional</bridgehead>
112 <para role="optional" revision="sysv">
113 <xref linkend="gtk-doc"/>,
114 <xref linkend="harfbuzz"/>,
115 <xref linkend="libnotify"/>,
116 <xref linkend="llvm"/>,
117 <xref linkend="wayland"/>,
118 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
119 <ulink url="http://freedesktop.org/wiki/Software/GeoClue/">GeoClue2</ulink>, and
120 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
121 </para>
122 <para role="optional" revision="systemd">
123 <xref linkend="gtk-doc"/>,
124 <xref linkend="harfbuzz"/>,
125 <xref linkend="libnotify"/>,
126 <xref linkend="llvm"/>,
127 <xref linkend="wayland"/>,
128 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/"> Hyphen</ulink>, and
129 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
130 </para>
131
132 <para condition="html" role="usernotes">
133 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
134 </para>
135 </sect2>
136
137 <sect2 role="installation">
138 <title>Installation of WebKitGTK+</title>
139
140 <bridgehead renderas="sect3">Installation of
141 <application>WebKitGTK+</application></bridgehead>
142
143 <para>
144 Install <application>WebKitGTK+</application> by running the
145 following commands:
146 </para>
147
148<screen><userinput>mkdir -vp build &amp;&amp;
149cd build &amp;&amp;
150
151cmake -DCMAKE_BUILD_TYPE=Release \
152 -DCMAKE_INSTALL_PREFIX=/usr \
153 -DCMAKE_SKIP_RPATH=ON \
154 -DPORT=GTK \
155 -DLIB_INSTALL_DIR=/usr/lib \
156 -DUSE_LIBHYPHEN=OFF \
157 -DENABLE_MINIBROWSER=ON \
158 -Wno-dev .. &amp;&amp;
159make</userinput></screen>
160
161 <para>
162 This package does not have a working testsuite. However, there is a
163 useable basic graphical web browser in the build directory,
164 <application>build/bin/MiniBrowser</application>. If launching it fails,
165 there is a problem with the build.
166 </para>
167
168 <note><para>
169 When installing, the Makefile does some additional compiling and linking.
170 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
171 variables need to be defined for the root user. If using sudo to assume
172 root, use the -E option to pass your current environment variables for the
173 install process.
174 </para></note>
175
176 <para>
177 Now, as the <systemitem class="username">root</systemitem> user:
178 </para>
179
180<screen role="root"><userinput>make install &amp;&amp;
181
182install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
183install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
184 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
185install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
186 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
187
188 </sect2>
189
190 <sect2 role="commands">
191 <title>Command Explanations</title>
192
193 <para>
194 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
195 default automatic hyphenation implementation. You need to install
196 <ulink
197 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
198 if you wish to enable it (replacing OFF with ON or just removing
199 the switch).
200 </para>
201
202 <para>
203 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
204 <application>Mini Browser</application> compilation and install.
205 </para>
206
207 <para>
208 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
209 against the system installed <application>malloc</application>.
210 </para>
211
212 <para>
213 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
214 want to install <xref linkend="geoclue"/> or
215 <xref linkend="geoclue2"/>.
216 </para>
217
218 <para>
219 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
220 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
221 API documentation.
222 </para>
223
224 </sect2>
225
226 <sect2 role="content">
227 <title>Contents</title>
228
229 <segmentedlist>
230 <segtitle>Installed Program</segtitle>
231 <segtitle>Installed Libraries</segtitle>
232 <segtitle>Installed Directories</segtitle>
233
234 <seglistitem>
235 <seg>
236 jsc and MiniBrowser
237 </seg>
238 <seg>
239 libjavascriptcoregtk-4.0.so and
240 libwebkit2gtk-4.0.so
241 </seg>
242 <seg>
243 /usr/include/webkitgtk-4.0,
244 /usr/lib{,exec}/webkit2gtk-4.0 and
245 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
246 </seg>
247 </seglistitem>
248 </segmentedlist>
249
250 <variablelist>
251 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
252 <?dbfo list-presentation="list"?>
253 <?dbhtml list-presentation="table"?>
254
255 <varlistentry id="jsc">
256 <term><command>jsc</command></term>
257 <listitem>
258 <para>
259 is a command-line utility that allows you to run JavaScript programs
260 outside of the context of a web browser.
261 </para>
262 <indexterm zone="webkitgtk jsc">
263 <primary sortas="b-jsc">jsc</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="MiniBrowser">
269 <term><command>MiniBrowser</command></term>
270 <listitem>
271 <para>
272 is a very simple graphical browser.
273 </para>
274 <indexterm zone="webkitgtk MiniBrowser">
275 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="libjavascriptcoregtk-4.0">
281 <term><filename
282 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
283 <listitem>
284 <para>
285 contains core JavaScript API functions used by
286 <command>jsc</command> and <filename
287 class="libraryfile">libwebkit2gtk-4.0</filename>.
288 </para>
289 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
290 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="libwebkit2gtk-4">
296 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
297 <listitem>
298 <para>
299 contains the <application>WebKit2</application> API functions.
300 </para>
301 <indexterm zone="webkitgtk libwebkit2gtk-4">
302 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 </variablelist>
308
309 </sect2>
310
311</sect1>
Note: See TracBrowser for help on using the repository browser.