source: x/lib/webkitgtk.xml@ fbfb998

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

Add wpebackend-fdo
Add libwpe
Update to WebKitGTK+-2.32.1 and make it use wpebackend-fdo for
rendering.

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