source: x/lib/webkitgtk.xml@ 5fc4874d

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 5fc4874d was 5fc4874d, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

WebKitGTK+-2.8.0: modify sed using the unicode decimal code for rquote -
Explained in the xml file.

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

  • Property mode set to 100644
File size: 8.5 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 "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
8 <!ENTITY webkitgtk-download-ftp " ">
9 <!ENTITY webkitgtk-md5sum "fade95513ecd47b68c8cdaeb1add9cd3">
10 <!ENTITY webkitgtk-size "9.9 MB">
11 <!ENTITY webkitgtk-buildsize "912 MB (98 MB installed)">
12 <!ENTITY webkitgtk-time "19 SBU (using parallelism=12, estimated 30 SBU using parallelism=4)">
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> is the port of the portable web
34 rendering engine <application>WebKit</application> to the
35 <application>GTK+ 3</application> and <application>GTK+ 2</application>
36 platforms.
37 </para>
38
39 &lfs77_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="cmake"/>,
80 <xref linkend="gst10-plugins-base"/>,
81 <xref linkend="gtk2"/>,
82 <xref linkend="gtk3"/>,
83 <xref linkend="icu"/>,
84 <xref linkend="libsecret"/>,
85 <xref linkend="libsoup"/>,
86 <xref linkend="libwebp"/>,
87 <xref linkend="mesalib"/>,
88 <xref linkend="ruby"/>,
89 <xref linkend="sqlite"/>,
90 <xref linkend="udev-extras"/> (for GUdev) and
91 <xref linkend="which"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="enchant"/>,
97 <xref linkend="geoclue"/>,
98 <xref linkend="gobject-introspection"/>,
99 <xref linkend="hicolor-icon-theme"/>
100 </para>
101
102 <bridgehead renderas="sect4">Optional</bridgehead>
103 <para role="optional">
104 <xref linkend="gtk-doc"/>,
105 <xref linkend="harfbuzz"/>,
106 <xref linkend="llvm"/>,
107 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>, and
108 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
109 </para>
110
111 <para condition="html" role="usernotes">
112 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
113 </para>
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of WebKitGTK+</title>
118
119 <bridgehead renderas="sect3">Installation of
120 <application>WebKitGTK+</application></bridgehead>
121
122 <para>
123 Install <application>WebKitGTK+</application> by running the
124 following commands:
125 </para>
126<!--Was getting in Firefox and in Seamnkey:
127sed -i 's/â€/\"/g' ...
128in Ocidental
129or
130in Unicode
131sed -i 's/�€/\"/g' ...
132-->
133<screen><userinput>sed -i 's/&#8221;/\"/g' Source/WebCore/xml/XMLViewer.{css,js} &amp;&amp;
134
135mkdir -vp build &amp;&amp;
136cd build &amp;&amp;
137
138cmake -DCMAKE_BUILD_TYPE=Release \
139 -DCMAKE_INSTALL_PREFIX=/usr \
140 -DCMAKE_SKIP_RPATH=ON \
141 -DPORT=GTK \
142 -DLIB_INSTALL_DIR=/usr/lib \
143 -Wno-dev .. &amp;&amp;
144make</userinput></screen>
145
146 <para>
147 This package does not have a working testsuite.<!-- However, there are two
148 useable basic graphical web browsers in the build directory,
149 <application>Programs/GtkLauncher</application> and
150 <application>Programs/MiniBrowser</application>. If launching any one
151 fails, there is a problem with the build.-->
152 </para>
153
154 <note><para>
155 When installing, the Makefile does some additional compiling and linking.
156 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
157 variables need to be defined for the root user. If using sudo to assume
158 root, use the -E option to pass your current environment variables for the
159 install process.
160 </para></note>
161
162 <para>
163 Now, as the <systemitem class="username">root</systemitem> user:
164 </para>
165
166<screen role="root"><userinput>make install &amp;&amp;
167
168install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
169install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
170 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
171install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
172 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
173
174 </sect2>
175
176 <sect2 role="commands">
177 <title>Command Explanations</title>
178
179 <para>
180 <command>sed -i ...</command>: Fixes typos in two source code files.
181 </para>
182
183 <para>
184 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
185 against the system installed <application>malloc</application>.
186 </para>
187
188 <para>
189 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
190 want to install <xref linkend="geoclue"/> or
191 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>.
192 </para>
193
194 <para>
195 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
196 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
197 API documentation.
198 </para>
199
200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Program</segtitle>
207 <segtitle>Installed Libraries</segtitle>
208 <segtitle>Installed Directories</segtitle>
209
210 <seglistitem>
211 <seg>
212 jsc
213 </seg>
214 <seg>
215 libjavascriptcoregtk-4.0.so and
216 libwebkit2gtk-4.0.so
217 </seg>
218 <seg>
219 /usr/include/webkitgtk-4.0,
220 /usr/lib/webkit2gtk-4.0,
221 /usr/libexec/webkit2gtk-4.0,
222 /usr/share/gtk-doc/html/webkit2gtk-4.0, and
223 /usr/share/gtk-doc/html/webkitdomgtk-4.0
224 </seg>
225 </seglistitem>
226 </segmentedlist>
227
228 <variablelist>
229 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
230 <?dbfo list-presentation="list"?>
231 <?dbhtml list-presentation="table"?>
232
233 <varlistentry id="jsc">
234 <term><command>jsc</command></term>
235 <listitem>
236 <para>
237 is a command-line utility that allows you to run JavaScript programs
238 outside of the context of a web browser.
239 </para>
240 <indexterm zone="webkitgtk jsc">
241 <primary sortas="b-jsc">jsc</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="libjavascriptcoregtk-4.0">
247 <term><filename
248 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
249 <listitem>
250 <para>
251 contains core JavaScript API functions used by
252 <command>jsc</command> and <filename
253 class="libraryfile">libwebkit2gtk-4.0</filename>.
254 </para>
255 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
256 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="libwebkit2gtk-4">
262 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
263 <listitem>
264 <para>
265 contains the <application>WebKit2</application> API functions.
266 </para>
267 <indexterm zone="webkitgtk libwebkit2gtk-4">
268 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 </variablelist>
274
275 </sect2>
276
277</sect1>
Note: See TracBrowser for help on using the repository browser.