source: x/lib/webkitgtk.xml@ 35e8cc57

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 9.1 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 35e8cc57 was 217b167, checked in by Douglas R. Reno <renodr@…>, 5 years ago

webkitgtk: Adapt to ICU-65.1
brotli: Add optional dependency on Lua for bindings
Minor text tweaks

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

  • Property mode set to 100644
File size: 11.4 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
[8dfc5c3]7 <!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
[de4ed8e]8 <!ENTITY webkitgtk-download-ftp " ">
[1f44af0a]9 <!ENTITY webkitgtk-md5sum "65e06fe73ee166447894aaea95038e3b">
[12b10249]10 <!ENTITY webkitgtk-size "18 MB">
11 <!ENTITY webkitgtk-buildsize "617 MB (107 MB installed)">
12 <!ENTITY webkitgtk-time "22 SBU (using parallelism=4, estimated 75 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
[6a62e34]39 &lfs90_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"/>,
81 <xref linkend="gst10-plugins-base"/>,
[ad930e67]82 <xref linkend="gst10-plugins-bad"/>,
[1a024c3c]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"/>,
[2367283]91 <xref linkend="openjpeg2"/>,
[1a024c3c]92 <xref linkend="ruby"/>,
[206913a]93 <xref linkend="sqlite"/>, and
[1a024c3c]94 <xref linkend="which"/>
95 </para>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
[fddab91]98 <para role="recommended">
[decb6bc5]99 <xref linkend="enchant"/>,
[560b86d]100 <xref linkend="geoclue2"/>,
[1a024c3c]101 <xref linkend="gobject-introspection"/>,
[206913a]102 <xref linkend="hicolor-icon-theme"/>, and
[b6a8577d]103 <xref linkend="libnotify"/>
[4026a19]104 </para>
[1a024c3c]105
106 <bridgehead renderas="sect4">Optional</bridgehead>
[fddab91]107 <para role="optional">
[1a024c3c]108 <xref linkend="gtk-doc"/>,
109 <xref linkend="harfbuzz"/>,
110 <xref linkend="llvm"/>,
[47d5a9e5]111 <xref linkend="wayland"/>,
112 <xref linkend="woff2"/>,
[f858bd7]113 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
[12b10249]114 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>,
115 <ulink url="https://github.com/WebPlatformForEmbedded/libwpe">libwpe</ulink>,
116 <ulink url="https://github.com/Igalia/WPEBackend-fdo">WPEBackend-fdo</ulink>, and
117 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
[1a024c3c]118 </para>
119
120 <para condition="html" role="usernotes">
121 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
122 </para>
123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of WebKitGTK+</title>
127
128 <bridgehead renderas="sect3">Installation of
129 <application>WebKitGTK+</application></bridgehead>
130
[217b167]131 <para>
132 First, fix some typos exposed by ICU-65.1+:
133 </para>
134
135<screen><userinput remap="pre">sed -i -e "/U16_NEXT(buffer, i, length, c)/s/$/;/" source/WTF/wtf/URLHelpers.cpp &amp;&amp;
136sed -i -e "/U16_NEXT(characters, i, length, c)/s/$/;/" \
137 -e "/U16_NEXT(qualifiedName, i, length, c)/s/$/;/" \
138 Source/WebCore/dom/Document.cpp</userinput></screen>
139
[1a024c3c]140 <para>
141 Install <application>WebKitGTK+</application> by running the
142 following commands:
143 </para>
[6fe4f013]144
[016e770]145<screen><userinput>mkdir -vp build &amp;&amp;
[24dfdcd]146cd build &amp;&amp;
[1a024c3c]147
[42b7dab]148cmake -DCMAKE_BUILD_TYPE=Release \
149 -DCMAKE_INSTALL_PREFIX=/usr \
150 -DCMAKE_SKIP_RPATH=ON \
151 -DPORT=GTK \
152 -DLIB_INSTALL_DIR=/usr/lib \
[a78d8510]153 -DUSE_LIBHYPHEN=OFF \
[7c4f32b]154 -DENABLE_MINIBROWSER=ON \
[f858bd7]155 -DUSE_WOFF2=OFF \
[12b10249]156 -DUSE_WPE_RENDERER=OFF \
157 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
158 -Wno-dev -G Ninja .. &amp;&amp;
[4291c1e]159ninja</userinput></screen>
[1a024c3c]160
161 <para>
[7c4f32b]162 This package does not have a working testsuite. However, there is a
[c69b5e72]163 usable basic graphical web browser in the build directory,
[7c4f32b]164 <application>build/bin/MiniBrowser</application>. If launching it fails,
165 there is a problem with the build.
[1a024c3c]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
[4291c1e]180<screen role="root"><userinput>ninja install &amp;&amp;
[1a024c3c]181
[2c95b08]182install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
[24dfdcd]183install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
184 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
[de4ed8e]185install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
[1a024c3c]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
[016e770]193<!-- <para>
[fabeff7]194 <command>sed ... TextCheckerEnchant.cpp</command>: This command
[af451f4]195 is needed to allow the build to complete with enchant-2.x.
[016e770]196 </para> -->
[fabeff7]197
[a78d8510]198 <para>
199 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
200 default automatic hyphenation implementation. You need to install
201 <ulink
202 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
203 if you wish to enable it (replacing OFF with ON or just removing
204 the switch).
205 </para>
206
[7c4f32b]207 <para>
208 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
209 <application>Mini Browser</application> compilation and install.
210 </para>
211
[aa41434]212 <para>
213 <parameter>-DUSE_WPE_RENDERER=OFF</parameter>: Remove this switch if the optional
214 packages <ulink url="https://github.com/WebPlatformForEmbedded/libwpe">libwpe</ulink> and
215 <ulink url="https://github.com/Igalia/WPEBackend-fdo">WPEBackend-fdo</ulink> are installed.
216 </para>
217
218 <para>
219 <parameter>-DENABLE_BUBBLEWRAP_SANDBOX=OFF</parameter>: Remove this switch if the optional
220 package <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
221 is installed.
222 </para>
223
[b6a8577d]224 <para>
225 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
226 have <application>libnotify</application> installed.
227 </para>
228
[1a024c3c]229 <para>
230 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
231 against the system installed <application>malloc</application>.
232 </para>
233
234 <para>
235 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
[560b86d]236 want to install <xref linkend="geoclue2"/>.
[1a024c3c]237 </para>
238
239 <para>
240 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
241 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
242 API documentation.
243 </para>
244
[f858bd7]245 <para>
246 <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
[47d5a9e5]247 package <xref linkend="woff2"/> is installed.
[f858bd7]248 </para>
249
[1a024c3c]250 </sect2>
251
252 <sect2 role="content">
253 <title>Contents</title>
254
255 <segmentedlist>
256 <segtitle>Installed Program</segtitle>
257 <segtitle>Installed Libraries</segtitle>
258 <segtitle>Installed Directories</segtitle>
259
260 <seglistitem>
261 <seg>
[4d185c9e]262 jsc,
263 MiniBrowser, and
[4291c1e]264 WebKitWebDriver
[1a024c3c]265 </seg>
266 <seg>
267 libjavascriptcoregtk-4.0.so and
268 libwebkit2gtk-4.0.so
269 </seg>
270 <seg>
271 /usr/include/webkitgtk-4.0,
[206913a]272 /usr/lib{,exec}/webkit2gtk-4.0, and
[24dfdcd]273 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
[1a024c3c]274 </seg>
275 </seglistitem>
276 </segmentedlist>
277
278 <variablelist>
279 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
280 <?dbfo list-presentation="list"?>
281 <?dbhtml list-presentation="table"?>
282
283 <varlistentry id="jsc">
284 <term><command>jsc</command></term>
285 <listitem>
286 <para>
287 is a command-line utility that allows you to run JavaScript programs
288 outside of the context of a web browser.
289 </para>
[de4ed8e]290 <indexterm zone="webkitgtk jsc">
[1a024c3c]291 <primary sortas="b-jsc">jsc</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
[7c4f32b]296 <varlistentry id="MiniBrowser">
297 <term><command>MiniBrowser</command></term>
298 <listitem>
299 <para>
300 is a very simple graphical browser.
301 </para>
302 <indexterm zone="webkitgtk MiniBrowser">
303 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
[4d185c9e]308 <varlistentry id="WebKitWebDriver">
309 <term><command>WebKitWebDriver</command></term>
310 <listitem>
311 <para>
312 allows debugging and automation of web pages and browsers.
313 </para>
314 <indexterm zone="webkitgtk WebKitWebDriver">
315 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
[1a024c3c]320 <varlistentry id="libjavascriptcoregtk-4.0">
321 <term><filename
322 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
323 <listitem>
324 <para>
325 contains core JavaScript API functions used by
326 <command>jsc</command> and <filename
327 class="libraryfile">libwebkit2gtk-4.0</filename>.
328 </para>
[de4ed8e]329 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
[1a024c3c]330 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
335 <varlistentry id="libwebkit2gtk-4">
336 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
337 <listitem>
338 <para>
339 contains the <application>WebKit2</application> API functions.
340 </para>
[de4ed8e]341 <indexterm zone="webkitgtk libwebkit2gtk-4">
[1a024c3c]342 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 </variablelist>
348
349 </sect2>
350
351</sect1>
Note: See TracBrowser for help on using the repository browser.