source: x/lib/webkitgtk.xml@ 8252e757

10.1 11.0 11.1 11.2 11.3 12.0 12.1 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8252e757 was 8252e757, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to vala-0.50.1
Update to libsigc++-2.10.4
Update to gjs-1.66.0
Update to gcr-3.38.0
Update to WebKitGTK+-2.30.1

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

  • Property mode set to 100644
File size: 12.0 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 "de0f910d60de88273ffde7b4bb88bd42">
10 <!ENTITY webkitgtk-size "21 MB">
11 <!ENTITY webkitgtk-buildsize "832 MB (121 MB installed)">
12 <!ENTITY webkitgtk-time "25 SBU (using parallelism=4, estimated 83 SBU 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 &lfs10_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="gtk3"/>,
84 <xref linkend="icu"/>,
85 <xref linkend="libgudev"/>,
86 <xref linkend="libsecret"/>,
87 <xref linkend="libsoup"/>,
88 <xref linkend="libwebp"/>,
89 <xref linkend="mesa"/>,
90 <xref linkend="openjpeg2"/>,
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="bubblewrap"/>,
108 <xref linkend="gtk-doc"/>,
109 <xref linkend="harfbuzz"/>,
110 <xref linkend="wayland"/>,
111 <xref linkend="woff2"/>,
112 <ulink url="https://ccache.dev/">ccache</ulink>,
113 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
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>
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
131 <para>
132 Install <application>WebKitGTK+</application> by running the
133 following commands:
134 </para>
135
136<screen revision="systemd"><userinput>mkdir -vp build &amp;&amp;
137cd build &amp;&amp;
138
139cmake -DCMAKE_BUILD_TYPE=Release \
140 -DCMAKE_INSTALL_PREFIX=/usr \
141 -DCMAKE_SKIP_RPATH=ON \
142 -DPORT=GTK \
143 -DLIB_INSTALL_DIR=/usr/lib \
144 -DUSE_LIBHYPHEN=OFF \
145 -DENABLE_MINIBROWSER=ON \
146 -DUSE_WOFF2=OFF \
147 -DUSE_WPE_RENDERER=OFF \
148 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
149 -Wno-dev -G Ninja .. &amp;&amp;
150ninja</userinput></screen>
151
152<screen revision="sysv"><userinput>mkdir -vp build &amp;&amp;
153cd build &amp;&amp;
154
155cmake -DCMAKE_BUILD_TYPE=Release \
156 -DCMAKE_INSTALL_PREFIX=/usr \
157 -DCMAKE_SKIP_RPATH=ON \
158 -DPORT=GTK \
159 -DLIB_INSTALL_DIR=/usr/lib \
160 -DUSE_LIBHYPHEN=OFF \
161 -DENABLE_MINIBROWSER=ON \
162 -DUSE_WOFF2=OFF \
163 -DUSE_WPE_RENDERER=OFF \
164 -DUSE_SYSTEMD=OFF \
165 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
166 -Wno-dev -G Ninja .. &amp;&amp;
167ninja</userinput></screen>
168
169 <para>
170 This package does not have a working testsuite. However, there is a
171 usable basic graphical web browser in the build directory,
172 <application>build/bin/MiniBrowser</application>. If launching it fails,
173 there is a problem with the build.
174 </para>
175
176 <note><para>
177 When installing, the Makefile does some additional compiling and linking.
178 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
179 variables need to be defined for the root user. If using sudo to assume
180 root, use the -E option to pass your current environment variables for the
181 install process.
182 </para></note>
183
184 <para>
185 Now, as the <systemitem class="username">root</systemitem> user:
186 </para>
187
188<screen role="root"><userinput>ninja install &amp;&amp;
189
190install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
191install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
192 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
193install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
194 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
195
196 </sect2>
197
198 <sect2 role="commands">
199 <title>Command Explanations</title>
200
201<!-- <para>
202 <command>sed ... TextCheckerEnchant.cpp</command>: This command
203 is needed to allow the build to complete with enchant-2.x.
204 </para> -->
205
206 <para>
207 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
208 default automatic hyphenation implementation. You need to install
209 <ulink
210 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
211 if you wish to enable it (replacing OFF with ON or just removing
212 the switch).
213 </para>
214
215 <para>
216 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables
217 compiling and installing the MiniBrowser.
218 </para>
219
220 <para>
221 <parameter>-DUSE_WPE_RENDERER=OFF</parameter>: Remove this switch if the optional
222 packages <ulink url="https://github.com/WebPlatformForEmbedded/libwpe">libwpe</ulink> and
223 <ulink url="https://github.com/Igalia/WPEBackend-fdo">WPEBackend-fdo</ulink> are installed.
224 </para>
225
226 <para>
227 <parameter>-DENABLE_BUBBLEWRAP_SANDBOX=OFF</parameter>: Remove this
228 switch if the optional packages <xref linkend="bubblewrap"/> and
229 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
230 are installed.
231 </para>
232
233 <para revision="sysv">
234 <parameter>-DUSE_SYSTEMD=OFF</parameter>: This switch disables using the
235 systemd journal for logging errors and debugging information since it
236 is not available on SysV systems.
237 </para>
238
239 <para>
240 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
241 have <application>libnotify</application> installed.
242 </para>
243
244 <para>
245 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
246 against the system installed <application>malloc</application>.
247 </para>
248
249 <para>
250 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
251 want to install <xref linkend="geoclue2"/>.
252 </para>
253
254 <para>
255 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
256 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
257 API documentation.
258 </para>
259
260 <para>
261 <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
262 package <xref linkend="woff2"/> is installed. This adds additional
263 support for fonts.
264 </para>
265
266 </sect2>
267
268 <sect2 role="content">
269 <title>Contents</title>
270
271 <segmentedlist>
272 <segtitle>Installed Program</segtitle>
273 <segtitle>Installed Libraries</segtitle>
274 <segtitle>Installed Directories</segtitle>
275
276 <seglistitem>
277 <seg>
278<!-- Moved to /usr/libexec/webkit2gtk-4.0, so shouldn't appear here
279 jsc,
280 MiniBrowser, and -->
281 WebKitWebDriver
282 </seg>
283 <seg>
284 libjavascriptcoregtk-4.0.so and
285 libwebkit2gtk-4.0.so
286 </seg>
287 <seg>
288 /usr/include/webkitgtk-4.0,
289 /usr/lib{,exec}/webkit2gtk-4.0, and
290 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
291 </seg>
292 </seglistitem>
293 </segmentedlist>
294
295 <variablelist>
296 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
297 <?dbfo list-presentation="list"?>
298 <?dbhtml list-presentation="table"?>
299
300<!--
301 <varlistentry id="jsc">
302 <term><command>jsc</command></term>
303 <listitem>
304 <para>
305 is a command-line utility that allows you to run JavaScript programs
306 outside of the context of a web browser.
307 </para>
308 <indexterm zone="webkitgtk jsc">
309 <primary sortas="b-jsc">jsc</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="MiniBrowser">
315 <term><command>MiniBrowser</command></term>
316 <listitem>
317 <para>
318 is a very simple graphical browser.
319 </para>
320 <indexterm zone="webkitgtk MiniBrowser">
321 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325-->
326 <varlistentry id="WebKitWebDriver">
327 <term><command>WebKitWebDriver</command></term>
328 <listitem>
329 <para>
330 allows debugging and automation of web pages and browsers.
331 </para>
332 <indexterm zone="webkitgtk WebKitWebDriver">
333 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="libjavascriptcoregtk-4.0">
339 <term><filename
340 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
341 <listitem>
342 <para>
343 contains core JavaScript API functions used by
344 <command>jsc</command> and <filename
345 class="libraryfile">libwebkit2gtk-4.0</filename>.
346 </para>
347 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
348 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="libwebkit2gtk-4">
354 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
355 <listitem>
356 <para>
357 contains the <application>WebKit2</application> API functions.
358 </para>
359 <indexterm zone="webkitgtk libwebkit2gtk-4">
360 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 </variablelist>
366
367 </sect2>
368
369</sect1>
Note: See TracBrowser for help on using the repository browser.