source: x/lib/webkitgtk.xml@ 7c4f32b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.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 nosym 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 7c4f32b was 7c4f32b, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

LXQt 0.9.1: typos.
Xorg-Server-1.17.2: typo.
PIN-Entry-0.9.5: attempt to clarify fixes when building pinentry-qt4.
WebKitGTK+-2.8.4: include switch to build and install MiniBrowser, good
test if there are build problems and can be useful for simple browsing.
Update to NetworkManager-1.0.4.
Update to network-manager-applet-1.0.4.
Update to Samba-4.2.3.
Update to libepoxy-1.3.1.

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

  • Property mode set to 100644
File size: 9.2 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 <!-- This is the 2.8.x and later version of webkit -->
8 <!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
9 <!ENTITY webkitgtk-download-ftp " ">
10 <!ENTITY webkitgtk-md5sum "50bde91beb882250e29dfd6837f56d97">
11 <!ENTITY webkitgtk-size "10 MB">
12 <!ENTITY webkitgtk-buildsize "965 MB (100 MB installed)">
13 <!ENTITY webkitgtk-time "20 SBU (using parallelism=12, estimated 80+ SBU using 1 core)">
14]>
15
16<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
17 <?dbhtml filename="webkitgtk.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>WebKitGTK+-&webkitgtk-version;</title>
25
26 <indexterm zone="webkitgtk">
27 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to WebKitGTK+</title>
32
33 <para>
34 The <application>WebKitGTK+</application> is the port of the portable web
35 rendering engine <application>WebKit</application> to the
36 <application>GTK+ 3</application> and <application>GTK+ 2</application>
37 platforms.
38 </para>
39
40 &lfs77_checked; &gcc5_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &webkitgtk-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &webkitgtk-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &webkitgtk-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &webkitgtk-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="cmake"/>,
81 <xref linkend="gst10-plugins-base"/>,
82 <xref linkend="gtk2"/>,
83 <xref linkend="gtk3"/>,
84 <xref linkend="icu"/>,
85 <xref linkend="libgudev"/>,
86 <xref linkend="libsecret"/>,
87 <xref linkend="libsoup"/>,
88 <xref linkend="libwebp"/>,
89 <xref linkend="mesalib"/>,
90 <xref linkend="ruby"/>,
91 <xref linkend="sqlite"/> and
92 <xref linkend="which"/>
93 </para>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
97 <xref linkend="enchant"/>,
98 <xref linkend="geoclue"/>,
99 <xref linkend="gobject-introspection"/>,
100 <xref linkend="hicolor-icon-theme"/>
101 </para>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
105 <xref linkend="gtk-doc"/>,
106 <xref linkend="harfbuzz"/>,
107 <xref linkend="llvm"/>,
108 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>, and
109 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
110 </para>
111
112 <para condition="html" role="usernotes">
113 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
114 </para>
115 </sect2>
116
117 <sect2 role="installation">
118 <title>Installation of WebKitGTK+</title>
119
120 <bridgehead renderas="sect3">Installation of
121 <application>WebKitGTK+</application></bridgehead>
122
123 <para>
124 Install <application>WebKitGTK+</application> by running the
125 following commands:
126 </para>
127<!--Was getting in Firefox and in Seamnkey:
128sed -i 's/â€/\"/g' ...
129in Ocidental
130or
131in Unicode
132sed -i 's/�€/\"/g' ...
133
134http://www.danshort.com/HTMLentities/
135Open double quotes “ &ldquo; &#8220; &#x201C;
136Close double quotes ” &rdquo; &#8221; &#x201D;
137-->
138<screen><userinput>sed -e 's/&ldquo;/\"/' -e 's/&rdquo;/\"/' -i Source/WebCore/xml/XMLViewer.{css,js} &amp;&amp;
139
140mkdir -vp build &amp;&amp;
141cd build &amp;&amp;
142
143cmake -DCMAKE_BUILD_TYPE=Release \
144 -DCMAKE_INSTALL_PREFIX=/usr \
145 -DCMAKE_SKIP_RPATH=ON \
146 -DPORT=GTK \
147 -DLIB_INSTALL_DIR=/usr/lib \
148 -DENABLE_MINIBROWSER=ON \
149 -Wno-dev .. &amp;&amp;
150make</userinput></screen>
151
152 <para>
153 This package does not have a working testsuite. However, there is a
154 useable basic graphical web browser in the build directory,
155 <application>build/bin/MiniBrowser</application>. If launching it fails,
156 there is a problem with the build.
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
171<screen role="root"><userinput>make install &amp;&amp;
172
173install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
174install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
175 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
176install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
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
184 <para>
185 <command>sed -i ...</command>: Fixes typos in two source code files.
186 </para>
187
188 <para>
189 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
190 <application>Mini Browser</application> compilation and install.
191 </para>
192
193 <para>
194 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
195 against the system installed <application>malloc</application>.
196 </para>
197
198 <para>
199 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
200 want to install <xref linkend="geoclue"/> or
201 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>.
202 </para>
203
204 <para>
205 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
206 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
207 API documentation.
208 </para>
209
210 </sect2>
211
212 <sect2 role="content">
213 <title>Contents</title>
214
215 <segmentedlist>
216 <segtitle>Installed Program</segtitle>
217 <segtitle>Installed Libraries</segtitle>
218 <segtitle>Installed Directories</segtitle>
219
220 <seglistitem>
221 <seg>
222 jsc and MiniBrowser
223 </seg>
224 <seg>
225 libjavascriptcoregtk-4.0.so and
226 libwebkit2gtk-4.0.so
227 </seg>
228 <seg>
229 /usr/include/webkitgtk-4.0,
230 /usr/lib/webkit2gtk-4.0,
231 /usr/libexec/webkit2gtk-4.0, and
232 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
233 </seg>
234 </seglistitem>
235 </segmentedlist>
236
237 <variablelist>
238 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
239 <?dbfo list-presentation="list"?>
240 <?dbhtml list-presentation="table"?>
241
242 <varlistentry id="jsc">
243 <term><command>jsc</command></term>
244 <listitem>
245 <para>
246 is a command-line utility that allows you to run JavaScript programs
247 outside of the context of a web browser.
248 </para>
249 <indexterm zone="webkitgtk jsc">
250 <primary sortas="b-jsc">jsc</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="MiniBrowser">
256 <term><command>MiniBrowser</command></term>
257 <listitem>
258 <para>
259 is a very simple graphical browser.
260 </para>
261 <indexterm zone="webkitgtk MiniBrowser">
262 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="libjavascriptcoregtk-4.0">
268 <term><filename
269 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
270 <listitem>
271 <para>
272 contains core JavaScript API functions used by
273 <command>jsc</command> and <filename
274 class="libraryfile">libwebkit2gtk-4.0</filename>.
275 </para>
276 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
277 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="libwebkit2gtk-4">
283 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
284 <listitem>
285 <para>
286 contains the <application>WebKit2</application> API functions.
287 </para>
288 <indexterm zone="webkitgtk libwebkit2gtk-4">
289 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 </variablelist>
295
296 </sect2>
297
298</sect1>
Note: See TracBrowser for help on using the repository browser.