source: x/lib/webkitgtk.xml@ 531f138

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 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 531f138 was ad930e6, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Add gst-plugins-bad deppendency in webkitgtk

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

  • Property mode set to 100644
File size: 10.3 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 "10d86dd5a5b68875654cc38af139f382">
10 <!ENTITY webkitgtk-size "14 MB">
11 <!ENTITY webkitgtk-buildsize "1.2 GB (119 MB installed)">
12 <!ENTITY webkitgtk-time "40 SBU (using parallelism=4, extimated 132 SBUs using one core)">
13]>
14
15<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
16 <?dbhtml filename="webkitgtk.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>WebKitGTK+-&webkitgtk-version;</title>
24
25 <indexterm zone="webkitgtk">
26 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to WebKitGTK+</title>
31
32 <para>
33 The <application>WebKitGTK+</application> package is a port of the
34 portable web rendering engine <application>WebKit</application> to the
35 <application>GTK+ 3</application> and <application>GTK+ 2</application>
36 platforms.
37 </para>
38
39 &lfs81_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &webkitgtk-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &webkitgtk-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &webkitgtk-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &webkitgtk-time;
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">
79 <xref linkend="cairo"/>,
80 <xref linkend="cmake"/>,
81 <xref linkend="enchant"/>,
82 <xref linkend="gst10-plugins-base"/>,
83 <xref linkend="gst10-plugins-bad"/>,
84 <xref linkend="gtk2"/>,
85 <xref linkend="gtk3"/>,
86 <xref linkend="icu"/>,
87 <xref linkend="libgudev"/>,
88 <xref linkend="libsecret"/>,
89 <xref linkend="libsoup"/>,
90 <xref linkend="libwebp"/>,
91 <xref linkend="mesa"/>,
92 <xref linkend="ruby"/>,
93 <xref linkend="sqlite"/> and
94 <xref linkend="which"/>
95 </para>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
98 <para role="recommended">
99 <xref linkend="geoclue2"/>,
100 <xref linkend="gobject-introspection"/>,
101 <xref linkend="hicolor-icon-theme"/>
102 <xref linkend="libnotify"/>
103 </para>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="gtk-doc"/>,
108 <xref linkend="harfbuzz"/>,
109 <xref linkend="llvm"/>,
110 <xref linkend="wayland"/>,
111 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>, and
112 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
113 </para>
114
115 <para condition="html" role="usernotes">
116 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of WebKitGTK+</title>
122
123 <bridgehead renderas="sect3">Installation of
124 <application>WebKitGTK+</application></bridgehead>
125
126 <caution>
127 <para>
128 You must rebuild <application>Perl</application> with -Dusethreads
129 if LFS was built without that option. LFS made this change in
130 April 2017.
131 </para>
132 </caution>
133
134 <para>
135 First, fix a build issue with an invalid header path.
136 </para>
137
138<screen><userinput>sed -i '/Activity.h/s:WebCore/:&amp;platform/:' Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h</userinput></screen>
139
140 <para>
141 Install <application>WebKitGTK+</application> by running the
142 following commands:
143 </para>
144
145<screen><userinput>mkdir -vp build &amp;&amp;
146cd build &amp;&amp;
147
148CFLAGS=-Wno-expansion-to-defined \
149CXXFLAGS=-Wno-expansion-to-defined \
150cmake -DCMAKE_BUILD_TYPE=Release \
151 -DCMAKE_INSTALL_PREFIX=/usr \
152 -DCMAKE_SKIP_RPATH=ON \
153 -DPORT=GTK \
154 -DLIB_INSTALL_DIR=/usr/lib \
155 -DUSE_LIBHYPHEN=OFF \
156 -DENABLE_MINIBROWSER=ON \
157 -Wno-dev .. &amp;&amp;
158make</userinput></screen>
159
160 <para>
161 This package does not have a working testsuite. However, there is a
162 useable basic graphical web browser in the build directory,
163 <application>build/bin/MiniBrowser</application>. If launching it fails,
164 there is a problem with the build.
165 </para>
166
167 <note><para>
168 When installing, the Makefile does some additional compiling and linking.
169 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
170 variables need to be defined for the root user. If using sudo to assume
171 root, use the -E option to pass your current environment variables for the
172 install process.
173 </para></note>
174
175 <para>
176 Now, as the <systemitem class="username">root</systemitem> user:
177 </para>
178
179<screen role="root"><userinput>make install &amp;&amp;
180
181install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
182install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
183 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
184install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
185 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
186
187 </sect2>
188
189 <sect2 role="commands">
190 <title>Command Explanations</title>
191
192 <para>
193 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
194 default automatic hyphenation implementation. You need to install
195 <ulink
196 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
197 if you wish to enable it (replacing OFF with ON or just removing
198 the switch).
199 </para>
200
201 <para>
202 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
203 <application>Mini Browser</application> compilation and install.
204 </para>
205
206 <para>
207 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
208 have <application>libnotify</application> installed.
209 </para>
210
211 <para>
212 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
213 against the system installed <application>malloc</application>.
214 </para>
215
216 <para>
217 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
218 want to install <xref linkend="geoclue2"/>.
219 </para>
220
221 <para>
222 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
223 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
224 API documentation.
225 </para>
226
227 </sect2>
228
229 <sect2 role="content">
230 <title>Contents</title>
231
232 <segmentedlist>
233 <segtitle>Installed Program</segtitle>
234 <segtitle>Installed Libraries</segtitle>
235 <segtitle>Installed Directories</segtitle>
236
237 <seglistitem>
238 <seg>
239 jsc,
240 MiniBrowser, and
241 WebKitWebDriver <!-- New in 2.18.0 -->
242 </seg>
243 <seg>
244 libjavascriptcoregtk-4.0.so and
245 libwebkit2gtk-4.0.so
246 </seg>
247 <seg>
248 /usr/include/webkitgtk-4.0,
249 /usr/lib{,exec}/webkit2gtk-4.0 and
250 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
251 </seg>
252 </seglistitem>
253 </segmentedlist>
254
255 <variablelist>
256 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
257 <?dbfo list-presentation="list"?>
258 <?dbhtml list-presentation="table"?>
259
260 <varlistentry id="jsc">
261 <term><command>jsc</command></term>
262 <listitem>
263 <para>
264 is a command-line utility that allows you to run JavaScript programs
265 outside of the context of a web browser.
266 </para>
267 <indexterm zone="webkitgtk jsc">
268 <primary sortas="b-jsc">jsc</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="MiniBrowser">
274 <term><command>MiniBrowser</command></term>
275 <listitem>
276 <para>
277 is a very simple graphical browser.
278 </para>
279 <indexterm zone="webkitgtk MiniBrowser">
280 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="WebKitWebDriver">
286 <term><command>WebKitWebDriver</command></term>
287 <listitem>
288 <para>
289 allows debugging and automation of web pages and browsers.
290 </para>
291 <indexterm zone="webkitgtk WebKitWebDriver">
292 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="libjavascriptcoregtk-4.0">
298 <term><filename
299 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
300 <listitem>
301 <para>
302 contains core JavaScript API functions used by
303 <command>jsc</command> and <filename
304 class="libraryfile">libwebkit2gtk-4.0</filename>.
305 </para>
306 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
307 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="libwebkit2gtk-4">
313 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
314 <listitem>
315 <para>
316 contains the <application>WebKit2</application> API functions.
317 </para>
318 <indexterm zone="webkitgtk libwebkit2gtk-4">
319 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 </variablelist>
325
326 </sect2>
327
328</sect1>
Note: See TracBrowser for help on using the repository browser.