source: x/lib/webkitgtk.xml@ b6a8577d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 b6a8577d was b6a8577d, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Update to WebKitGTK+-2.16.2 and add libnotify as recommended with option to disable
Update deps in KRB5

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

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