source: x/lib/webkitgtk.xml@ 9855c0fd

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 9855c0fd was 9855c0fd, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to webkitgtk-2.36.2.

  • Property mode set to 100644
File size: 12.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 <!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
8 <!ENTITY webkitgtk-download-ftp " ">
9 <!ENTITY webkitgtk-md5sum "121ca7e6c9333a78a98cd91d147fca0b">
10 <!ENTITY webkitgtk-size "25 MB">
11 <!ENTITY webkitgtk-buildsize "861 MB (136 MB installed)">
12 <!ENTITY webkitgtk-time "32 SBU (using parallelism=4, estimated 107 SBU using one core)">
13]>
14
15<sect1 id="webkitgtk" xreflabel="WebKitGTK-&webkitgtk-version;">
16 <?dbhtml filename="webkitgtk.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>WebKitGTK-&webkitgtk-version;</title>
23
24 <indexterm zone="webkitgtk">
25 <primary sortas="a-WebKitGTK">WebKitGTK</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to WebKitGTK</title>
30
31 <para>
32 The <application>WebKitGTK</application> package is a port of the
33 portable web rendering engine <application>WebKit</application> to the
34 <application>GTK+ 3</application> and <application>GTK+ 2</application>
35 platforms.
36 </para>
37
38 &lfs111_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &webkitgtk-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &webkitgtk-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &webkitgtk-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &webkitgtk-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <!--
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-icu_69-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84 -->
85
86 <bridgehead renderas="sect3">WebKitGTK Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="cairo"/>,
91 <xref linkend="cmake"/>,
92 <xref linkend="gst10-plugins-base"/>,
93 <xref linkend="gst10-plugins-bad"/>,
94 <xref linkend="gtk3"/>,
95 <xref linkend="icu"/>,
96 <xref linkend="lcms2"/>,
97 <xref linkend="libgudev"/>,
98 <xref linkend="libsecret"/>,
99 <xref linkend="libsoup"/>,
100 <xref linkend="libtasn1"/>,
101 <xref linkend="libwebp"/>,
102 <xref linkend="mesa"/>,
103 <xref linkend="openjpeg2"/>,
104 <xref linkend="ruby"/>,
105 <xref linkend="sqlite"/>,
106 <xref linkend="which"/>, and
107 <xref linkend="wpebackend-fdo"/>
108 </para>
109
110 <bridgehead renderas="sect4">Recommended</bridgehead>
111 <para role="recommended">
112 <xref linkend="enchant"/>,
113 <xref linkend="geoclue2"/>,
114 <xref linkend="gobject-introspection"/>,
115 <xref linkend="hicolor-icon-theme"/>, and
116 <xref linkend="libnotify"/>
117 </para>
118
119 <bridgehead renderas="sect4">Optional</bridgehead>
120 <para role="optional">
121 <xref linkend="bubblewrap"/>,
122 <xref linkend="gtk-doc"/>,
123 <xref linkend="gtk4"/>,
124 <xref linkend="harfbuzz"/>,
125 <xref linkend="wayland"/>,
126 <xref linkend="woff2"/>,
127 <ulink url="https://ccache.dev/">ccache</ulink>,
128 <ulink url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
129 <ulink url="https://github.com/AOMediaCodec/libavif">libavif</ulink>,
130 <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>, and
131 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
132 </para>
133
134 <para condition="html" role="usernotes">
135 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
136 </para>
137 </sect2>
138
139 <sect2 role="installation">
140 <title>Installation of WebKitGTK</title>
141
142 <bridgehead renderas="sect3">Installation of
143 <application>WebKitGTK</application></bridgehead>
144
145 <para>
146 Install <application>WebKitGTK</application> by running the
147 following commands:
148 </para>
149
150<screen revision="systemd"><userinput>mkdir -vp build &amp;&amp;
151cd build &amp;&amp;
152
153cmake -DCMAKE_BUILD_TYPE=Release \
154 -DCMAKE_INSTALL_PREFIX=/usr \
155 -DCMAKE_SKIP_RPATH=ON \
156 -DPORT=GTK \
157 -DLIB_INSTALL_DIR=/usr/lib \
158 -DUSE_LIBHYPHEN=OFF \
159 -DENABLE_GAMEPAD=OFF \
160 -DENABLE_MINIBROWSER=ON \
161 -DUSE_WOFF2=OFF \
162 -DUSE_SOUP2=ON \
163 -DUSE_WPE_RENDERER=ON \
164 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
165 -Wno-dev -G Ninja .. &amp;&amp;
166ninja</userinput></screen>
167
168<screen revision="sysv"><userinput>mkdir -vp build &amp;&amp;
169cd build &amp;&amp;
170
171cmake -DCMAKE_BUILD_TYPE=Release \
172 -DCMAKE_INSTALL_PREFIX=/usr \
173 -DCMAKE_SKIP_RPATH=ON \
174 -DPORT=GTK \
175 -DLIB_INSTALL_DIR=/usr/lib \
176 -DUSE_LIBHYPHEN=OFF \
177 -DENABLE_GAMEPAD=OFF \
178 -DENABLE_MINIBROWSER=ON \
179 -DUSE_WOFF2=OFF \
180 -DUSE_SOUP2=ON \
181 -DUSE_WPE_RENDERER=ON \
182 -DUSE_SYSTEMD=OFF \
183 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
184 -Wno-dev -G Ninja .. &amp;&amp;
185ninja</userinput></screen>
186
187 <para>
188 This package does not have a working testsuite. However, there is a
189 usable basic graphical web browser in the build directory,
190 <application>build/bin/MiniBrowser</application>. If launching it fails,
191 there is a problem with the build.
192 </para>
193
194<!-- Since we're using Ninja now instead of autotools, this isn't valid anymore
195 <note><para>
196 When installing, the Makefile does some additional compiling and linking.
197 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
198 variables need to be defined for the root user. If using sudo to assume
199 root, use the -E option to pass your current environment variables for the
200 install process.
201 </para></note>
202-->
203
204 <para>
205 Now, as the <systemitem class="username">root</systemitem> user:
206 </para>
207
208<screen role="root"><userinput>ninja install &amp;&amp;
209
210install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
211install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
212 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
213install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
214 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
215 </sect2>
216
217 <sect2 role="commands">
218 <title>Command Explanations</title>
219
220<!-- <para>
221 <command>sed ... TextCheckerEnchant.cpp</command>: This command
222 is needed to allow the build to complete with enchant-2.x.
223 </para> -->
224
225 <para>
226 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables the
227 default automatic hyphenation implementation. You need to install
228 <ulink
229 url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>
230 if you wish to enable it (replacing OFF with ON or just removing
231 the switch).
232 </para>
233
234 <para>
235 <parameter>-DENABLE_GAMEPAD=OFF</parameter>: This switch disables
236 gamepad support. Remove this switch if you have
237 <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink>
238 installed and wish to enable it.
239 </para>
240
241 <para>
242 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables
243 compiling and installing the MiniBrowser.
244 </para>
245
246 <para>
247 <parameter>-DUSE_WPE_RENDERER=ON</parameter>: This switch uses the WPE
248 renderer, which is recommended by upstream.
249 </para>
250
251 <para>
252 <parameter>-DENABLE_BUBBLEWRAP_SANDBOX=OFF</parameter>: Remove this
253 switch if the optional packages <xref linkend="bubblewrap"/> and
254 <ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>
255 are installed.
256 </para>
257
258 <para revision="sysv">
259 <parameter>-DUSE_SYSTEMD=OFF</parameter>: This switch disables using the
260 systemd journal for logging errors and debugging information since it
261 is not available on SysV systems.
262 </para>
263
264 <para>
265 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
266 have <application>libnotify</application> installed.
267 </para>
268
269 <para>
270 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
271 against the system installed <application>malloc</application>.
272 </para>
273
274 <para>
275 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
276 want to install <xref linkend="geoclue2"/>.
277 </para>
278
279 <para>
280 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
281 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
282 API documentation.
283 </para>
284
285 <para>
286 <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
287 package <xref linkend="woff2"/> is installed. This adds additional
288 support for fonts.
289 </para>
290
291 <!-- Uncomment once GTK4 support works, or when it doesn't require
292 a development version of libsoup.
293 <para>
294 <option>-DUSE_GTK4=ON</option>: Use this switch if <xref linkend="gtk4"/>
295 is installed and you wish to build GTK4 support.
296 </para>
297 -->
298
299 </sect2>
300
301 <sect2 role="content">
302 <title>Contents</title>
303
304 <segmentedlist>
305 <segtitle>Installed Program</segtitle>
306 <segtitle>Installed Libraries</segtitle>
307 <segtitle>Installed Directories</segtitle>
308
309 <seglistitem>
310 <seg>
311<!-- Moved to /usr/libexec/webkit2gtk-4.0, so shouldn't appear here
312 jsc,
313 MiniBrowser, and -->
314 WebKitWebDriver
315 </seg>
316 <seg>
317 libjavascriptcoregtk-4.0.so and
318 libwebkit2gtk-4.0.so
319 </seg>
320 <seg>
321 /usr/include/webkitgtk-4.0,
322 /usr/lib{,exec}/webkit2gtk-4.0, and
323 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
324 </seg>
325 </seglistitem>
326 </segmentedlist>
327
328 <variablelist>
329 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
330 <?dbfo list-presentation="list"?>
331 <?dbhtml list-presentation="table"?>
332
333<!--
334 <varlistentry id="jsc">
335 <term><command>jsc</command></term>
336 <listitem>
337 <para>
338 is a command-line utility that allows you to run JavaScript programs
339 outside of the context of a web browser.
340 </para>
341 <indexterm zone="webkitgtk jsc">
342 <primary sortas="b-jsc">jsc</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="MiniBrowser">
348 <term><command>MiniBrowser</command></term>
349 <listitem>
350 <para>
351 is a very simple graphical browser.
352 </para>
353 <indexterm zone="webkitgtk MiniBrowser">
354 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358-->
359 <varlistentry id="WebKitWebDriver">
360 <term><command>WebKitWebDriver</command></term>
361 <listitem>
362 <para>
363 allows debugging and automation of web pages and browsers
364 </para>
365 <indexterm zone="webkitgtk WebKitWebDriver">
366 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="libjavascriptcoregtk-4.0">
372 <term>
373 <filename class="libraryfile">libjavascriptcoregtk-4.0.so</filename>
374 </term>
375 <listitem>
376 <para>
377 contains core JavaScript API functions used by
378 <command>jsc</command> and
379 <filename class="libraryfile">libwebkit2gtk-4.0</filename>
380 </para>
381 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
382 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="libwebkit2gtk-4">
388 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
389 <listitem>
390 <para>
391 contains the <application>WebKit2</application> API functions
392 </para>
393 <indexterm zone="webkitgtk libwebkit2gtk-4">
394 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 </variablelist>
400
401 </sect2>
402
403</sect1>
Note: See TracBrowser for help on using the repository browser.