source: x/lib/webkitgtk.xml@ 91694fac

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 91694fac was 91694fac, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to webkitgtk-2.20.1.
Update to epiphany-3.28.1.
Update to QScintilla_gpl-2.10.4.
Update to sqlite-autoconf-3.23.1.

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

  • Property mode set to 100644
File size: 10.8 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 " ">
[91694fac]9 <!ENTITY webkitgtk-md5sum "0cd9b9ae1f48c04de5314f77806eceb4">
[f858bd7]10 <!ENTITY webkitgtk-size "16 MB">
[91694fac]11 <!ENTITY webkitgtk-buildsize "825 MB (128 MB installed)">
12 <!ENTITY webkitgtk-time "22 SBU (using parallelism=4, estimated 80 SBUs 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
[b282e39]39 &lfs82_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"/>,
[9dfdf8b7]81 <xref linkend="enchant"/>,
[1a024c3c]82 <xref linkend="gst10-plugins-base"/>,
[ad930e6]83 <xref linkend="gst10-plugins-bad"/>,
[1a024c3c]84 <xref linkend="gtk2"/>,
85 <xref linkend="gtk3"/>,
86 <xref linkend="icu"/>,
[f175d6f6]87 <xref linkend="libgudev"/>,
[1a024c3c]88 <xref linkend="libsecret"/>,
89 <xref linkend="libsoup"/>,
90 <xref linkend="libwebp"/>,
[7a395d1]91 <xref linkend="mesa"/>,
[1a024c3c]92 <xref linkend="ruby"/>,
[206913a]93 <xref linkend="sqlite"/>, and
[1a024c3c]94 <xref linkend="which"/>
95 </para>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
[fddab91]98 <para role="recommended">
[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">
[1a024c3c]107 <xref linkend="gtk-doc"/>,
108 <xref linkend="harfbuzz"/>,
109 <xref linkend="llvm"/>,
[206913a]110 <xref linkend="wayland"/>,
[f858bd7]111 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
112 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>, and
113 <ulink url="https://github.com/google/woff2">woff2</ulink>
[1a024c3c]114 </para>
115
116 <para condition="html" role="usernotes">
117 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
118 </para>
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of WebKitGTK+</title>
123
124 <bridgehead renderas="sect3">Installation of
125 <application>WebKitGTK+</application></bridgehead>
126
[b7a300f7]127<!-- Remove for 8.2 (or 9.0) release -->
[560b86d]128 <caution>
129 <para>
130 You must rebuild <application>Perl</application> with -Dusethreads
131 if LFS was built without that option. LFS made this change in
132 April 2017.
133 </para>
134 </caution>
135
[016e770]136<!-- <para>
[4d185c9e]137 First, fix a build issue with an invalid header path.
[2acb826]138 </para>
139
[4d185c9e]140<screen><userinput>sed -i '/Activity.h/s:WebCore/:&amp;platform/:' Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h</userinput></screen>
[016e770]141-->
[1a024c3c]142 <para>
143 Install <application>WebKitGTK+</application> by running the
144 following commands:
145 </para>
[6fe4f013]146
[016e770]147<screen><userinput>mkdir -vp build &amp;&amp;
[24dfdcd]148cd build &amp;&amp;
[1a024c3c]149
[b6a8577d]150CFLAGS=-Wno-expansion-to-defined \
151CXXFLAGS=-Wno-expansion-to-defined \
[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 \
[7c4f32b]158 -DENABLE_MINIBROWSER=ON \
[f858bd7]159 -DUSE_WOFF2=OFF \
[42b7dab]160 -Wno-dev .. &amp;&amp;
[1a024c3c]161make</userinput></screen>
162
163 <para>
[7c4f32b]164 This package does not have a working testsuite. However, there is a
165 useable basic graphical web browser in the build directory,
166 <application>build/bin/MiniBrowser</application>. If launching it fails,
167 there is a problem with the build.
[1a024c3c]168 </para>
169
170 <note><para>
171 When installing, the Makefile does some additional compiling and linking.
172 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
173 variables need to be defined for the root user. If using sudo to assume
174 root, use the -E option to pass your current environment variables for the
175 install process.
176 </para></note>
177
178 <para>
179 Now, as the <systemitem class="username">root</systemitem> user:
180 </para>
181
182<screen role="root"><userinput>make install &amp;&amp;
183
[2c95b08]184install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
[24dfdcd]185install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
186 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
[de4ed8e]187install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
[1a024c3c]188 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
189
190 </sect2>
191
192 <sect2 role="commands">
193 <title>Command Explanations</title>
194
[016e770]195<!-- <para>
[fabeff7]196 <command>sed ... TextCheckerEnchant.cpp</command>: This command
[af451f4]197 is needed to allow the build to complete with enchant-2.x.
[016e770]198 </para> -->
[fabeff7]199
[a78d8510]200 <para>
201 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
202 default automatic hyphenation implementation. You need to install
203 <ulink
204 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
205 if you wish to enable it (replacing OFF with ON or just removing
206 the switch).
207 </para>
208
[7c4f32b]209 <para>
210 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
211 <application>Mini Browser</application> compilation and install.
212 </para>
213
[b6a8577d]214 <para>
215 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
216 have <application>libnotify</application> installed.
217 </para>
218
[1a024c3c]219 <para>
220 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
221 against the system installed <application>malloc</application>.
222 </para>
223
224 <para>
225 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
[560b86d]226 want to install <xref linkend="geoclue2"/>.
[1a024c3c]227 </para>
228
229 <para>
230 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
231 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
232 API documentation.
233 </para>
234
[f858bd7]235 <para>
236 <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
237 package <ulink url="https://github.com/google/woff2">woff2</ulink> is inatalled.
238 </para>
239
[1a024c3c]240 </sect2>
241
242 <sect2 role="content">
243 <title>Contents</title>
244
245 <segmentedlist>
246 <segtitle>Installed Program</segtitle>
247 <segtitle>Installed Libraries</segtitle>
248 <segtitle>Installed Directories</segtitle>
249
250 <seglistitem>
251 <seg>
[4d185c9e]252 jsc,
253 MiniBrowser, and
254 WebKitWebDriver <!-- New in 2.18.0 -->
[1a024c3c]255 </seg>
256 <seg>
257 libjavascriptcoregtk-4.0.so and
258 libwebkit2gtk-4.0.so
259 </seg>
260 <seg>
261 /usr/include/webkitgtk-4.0,
[206913a]262 /usr/lib{,exec}/webkit2gtk-4.0, and
[24dfdcd]263 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
[1a024c3c]264 </seg>
265 </seglistitem>
266 </segmentedlist>
267
268 <variablelist>
269 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
270 <?dbfo list-presentation="list"?>
271 <?dbhtml list-presentation="table"?>
272
273 <varlistentry id="jsc">
274 <term><command>jsc</command></term>
275 <listitem>
276 <para>
277 is a command-line utility that allows you to run JavaScript programs
278 outside of the context of a web browser.
279 </para>
[de4ed8e]280 <indexterm zone="webkitgtk jsc">
[1a024c3c]281 <primary sortas="b-jsc">jsc</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
[7c4f32b]286 <varlistentry id="MiniBrowser">
287 <term><command>MiniBrowser</command></term>
288 <listitem>
289 <para>
290 is a very simple graphical browser.
291 </para>
292 <indexterm zone="webkitgtk MiniBrowser">
293 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
[4d185c9e]298 <varlistentry id="WebKitWebDriver">
299 <term><command>WebKitWebDriver</command></term>
300 <listitem>
301 <para>
302 allows debugging and automation of web pages and browsers.
303 </para>
304 <indexterm zone="webkitgtk WebKitWebDriver">
305 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
[1a024c3c]310 <varlistentry id="libjavascriptcoregtk-4.0">
311 <term><filename
312 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
313 <listitem>
314 <para>
315 contains core JavaScript API functions used by
316 <command>jsc</command> and <filename
317 class="libraryfile">libwebkit2gtk-4.0</filename>.
318 </para>
[de4ed8e]319 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
[1a024c3c]320 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="libwebkit2gtk-4">
326 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
327 <listitem>
328 <para>
329 contains the <application>WebKit2</application> API functions.
330 </para>
[de4ed8e]331 <indexterm zone="webkitgtk libwebkit2gtk-4">
[1a024c3c]332 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 </variablelist>
338
339 </sect2>
340
341</sect1>
Note: See TracBrowser for help on using the repository browser.