source: x/lib/webkitgtk.xml@ b01309e7

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

Update to ICU-69.1
Fix building WebKitGTK+ with ICU-69.1 (patch from Xi Ruoyao)
Fix building Node.JS with ICU-69.1 (patch from Ken Moffat)

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