source: x/lib/webkitgtk.xml@ 7c89b59

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 7c89b59 was 7c89b59, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Update to WebKitGTK+-2.16.3

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

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