source: x/lib/webkitgtk.xml@ 4760a584

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

Update to webkitgtk-2.8.3.

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

  • Property mode set to 100644
File size: 8.7 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 "29b92a0aacc819d0e5e5df03895fb98e">
10 <!ENTITY webkitgtk-size "10 MB">
11 <!ENTITY webkitgtk-buildsize "963 MB (100 MB installed)">
12 <!ENTITY webkitgtk-time "30 SBU (using parallelism=4, estimated 81 SBU using 1 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> 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; &gcc5_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
133http://www.danshort.com/HTMLentities/
134Open double quotes “ &ldquo; &#8220; &#x201C;
135Close double quotes ” &rdquo; &#8221; &#x201D;
136-->
137<screen><userinput>sed -e 's/&ldquo;/\"/' -e 's/&rdquo;/\"/' -i Source/WebCore/xml/XMLViewer.{css,js} &amp;&amp;
138
139mkdir -vp build &amp;&amp;
140cd build &amp;&amp;
141
142cmake -DCMAKE_BUILD_TYPE=Release \
143 -DCMAKE_INSTALL_PREFIX=/usr \
144 -DCMAKE_SKIP_RPATH=ON \
145 -DPORT=GTK \
146 -DLIB_INSTALL_DIR=/usr/lib \
147 -Wno-dev .. &amp;&amp;
148make</userinput></screen>
149
150 <para>
151 This package does not have a working testsuite.<!-- However, there are two
152 useable basic graphical web browsers in the build directory,
153 <application>Programs/GtkLauncher</application> and
154 <application>Programs/MiniBrowser</application>. If launching any one
155 fails, there is a problem with the build.-->
156 </para>
157
158 <note><para>
159 When installing, the Makefile does some additional compiling and linking.
160 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
161 variables need to be defined for the root user. If using sudo to assume
162 root, use the -E option to pass your current environment variables for the
163 install process.
164 </para></note>
165
166 <para>
167 Now, as the <systemitem class="username">root</systemitem> user:
168 </para>
169
170<screen role="root"><userinput>make install &amp;&amp;
171
172install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
173install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
174 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
175install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
176 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
177
178 </sect2>
179
180 <sect2 role="commands">
181 <title>Command Explanations</title>
182
183 <para>
184 <command>sed -i ...</command>: Fixes typos in two source code files.
185 </para>
186
187 <para>
188 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
189 against the system installed <application>malloc</application>.
190 </para>
191
192 <para>
193 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
194 want to install <xref linkend="geoclue"/> or
195 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>.
196 </para>
197
198 <para>
199 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
200 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
201 API documentation.
202 </para>
203
204 </sect2>
205
206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
210 <segtitle>Installed Program</segtitle>
211 <segtitle>Installed Libraries</segtitle>
212 <segtitle>Installed Directories</segtitle>
213
214 <seglistitem>
215 <seg>
216 jsc
217 </seg>
218 <seg>
219 libjavascriptcoregtk-4.0.so and
220 libwebkit2gtk-4.0.so
221 </seg>
222 <seg>
223 /usr/include/webkitgtk-4.0,
224 /usr/lib/webkit2gtk-4.0,
225 /usr/libexec/webkit2gtk-4.0, and
226 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
227 </seg>
228 </seglistitem>
229 </segmentedlist>
230
231 <variablelist>
232 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
233 <?dbfo list-presentation="list"?>
234 <?dbhtml list-presentation="table"?>
235
236 <varlistentry id="jsc">
237 <term><command>jsc</command></term>
238 <listitem>
239 <para>
240 is a command-line utility that allows you to run JavaScript programs
241 outside of the context of a web browser.
242 </para>
243 <indexterm zone="webkitgtk jsc">
244 <primary sortas="b-jsc">jsc</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="libjavascriptcoregtk-4.0">
250 <term><filename
251 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
252 <listitem>
253 <para>
254 contains core JavaScript API functions used by
255 <command>jsc</command> and <filename
256 class="libraryfile">libwebkit2gtk-4.0</filename>.
257 </para>
258 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
259 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="libwebkit2gtk-4">
265 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
266 <listitem>
267 <para>
268 contains the <application>WebKit2</application> API functions.
269 </para>
270 <indexterm zone="webkitgtk libwebkit2gtk-4">
271 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 </variablelist>
277
278 </sect2>
279
280</sect1>
Note: See TracBrowser for help on using the repository browser.