source: x/lib/webkitgtk.xml@ da1575a

10.0 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 da1575a was da1575a, checked in by Pierre Labastie <pieere@…>, 4 years ago

webkitgtk-2.28.4
pipewire0.3.8

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

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