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 "7b1a652af1eb11bee5bf7209e9ff67e6">
|
---|
10 | <!ENTITY webkitgtk-size "8.3 MB">
|
---|
11 | <!ENTITY webkitgtk-buildsize "800 MB (650 MB for GTK+2 version)">
|
---|
12 | <!ENTITY webkitgtk-time "55 SBU">
|
---|
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 the port of the
|
---|
34 | portable web rendering engine <application>WebKit</application> to the
|
---|
35 | <application>GTK+</application> platform.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs72_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &webkitgtk-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &webkitgtk-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="gperf"/>,
|
---|
79 | <xref linkend="gst10-plugins-base"/> or
|
---|
80 | <xref linkend="gst-plugins-base"/>,
|
---|
81 | <xref linkend="gtk3"/> or
|
---|
82 | <xref linkend="gtk2"/>,
|
---|
83 | <xref linkend="icu"/>,
|
---|
84 | <xref linkend="libxslt"/>,
|
---|
85 | <xref linkend="libsoup"/>,
|
---|
86 | <xref linkend="mesalib"/>,
|
---|
87 | <xref linkend="ruby"/>,
|
---|
88 | <xref linkend="sqlite"/> and
|
---|
89 | <xref linkend="which"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
93 | <para role="recommended">
|
---|
94 | <xref linkend="geoclue"/> and
|
---|
95 | <xref linkend="gobject-introspection"/>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
99 | <para role="optional">
|
---|
100 | <xref linkend="curl"/>,
|
---|
101 | <xref linkend="enchant"/>,
|
---|
102 | <xref linkend="gtk-doc"/> and
|
---|
103 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para condition="html" role="usernotes">
|
---|
107 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
108 | </para>
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="installation">
|
---|
112 | <title>Installation of WebKitGTK+</title>
|
---|
113 |
|
---|
114 | <warning>
|
---|
115 | <para>
|
---|
116 | If you are building <application>WebKitGTK+</application>
|
---|
117 | with <command>make</command> 3.82, make sure that you have built
|
---|
118 | it with the following
|
---|
119 | <ulink url="&patch-downloads;/make/make-3.82-upstream_fixes-3.patch">
|
---|
120 | patch</ulink> applied or <application>WebKitGTK+</application>
|
---|
121 | build will fail.
|
---|
122 | </para>
|
---|
123 | </warning>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
---|
127 | cause <command>make install</command> to fail:
|
---|
128 | </para>
|
---|
129 |
|
---|
130 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | Install <application>WebKitGTK+</application> by running the
|
---|
134 | following commands:
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <screen><userinput>./configure --prefix=/usr \
|
---|
138 | --libexecdir=/usr/lib/WebKitGTK \
|
---|
139 | --with-gstreamer=1.0 \
|
---|
140 | --enable-introspection &&
|
---|
141 | make</userinput></screen>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | This package does not have a working testsuite.
|
---|
145 | </para>
|
---|
146 |
|
---|
147 | <para>
|
---|
148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | <sect2 role="commands">
|
---|
155 | <title>Command Explanations</title>
|
---|
156 |
|
---|
157 | <para>
|
---|
158 | <option>--enable-introspection</option>: This switch enables support for
|
---|
159 | <application>Gobject Introspection</application> and is required for a
|
---|
160 | <application>GNOME</application> Desktop. Remove if you don't have
|
---|
161 | <application>Gobject Introspection</application> installed or you don't
|
---|
162 | want to install <application>GNOME</application>.
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | <parameter>--with-gstreamer=1.0</parameter>: This switch forces use of
|
---|
167 | <application>GStreamer</application> 1.0 series which
|
---|
168 | <application>GNOME</application> 3.6 uses. Remove if you don't want
|
---|
169 | to install <application>GStreamer</application> 1.0 or you don't
|
---|
170 | want to install <application>GNOME</application>.
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | <para>
|
---|
174 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
175 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
176 | fail.
|
---|
177 | </para>
|
---|
178 |
|
---|
179 | <para>
|
---|
180 | <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These parameters
|
---|
181 | force <application>WebKitGTK+</application> to compile against
|
---|
182 | <application>GTK+ 2</application>, even if
|
---|
183 | <application>GTK+ 3</application> is also installed. With
|
---|
184 | <application>GTK+ 2</application>, everything
|
---|
185 | <application>WebKitGTK+</application> installs is suffixed with 1.0. When it
|
---|
186 | is compiled against <application>GTK+ 3</application> everything it
|
---|
187 | installs is suffixed with 3.0. Both versions can be installed alongside
|
---|
188 | one another with no namespace conflicts.
|
---|
189 | </para>
|
---|
190 |
|
---|
191 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
192 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | <sect2 role="content">
|
---|
197 | <title>Contents</title>
|
---|
198 |
|
---|
199 | <segmentedlist>
|
---|
200 | <segtitle>Installed Program</segtitle>
|
---|
201 | <segtitle>Installed Library</segtitle>
|
---|
202 | <segtitle>Installed Directories</segtitle>
|
---|
203 |
|
---|
204 | <seglistitem>
|
---|
205 | <seg>
|
---|
206 | jsc-1 or jsc-3
|
---|
207 | </seg>
|
---|
208 | <seg>
|
---|
209 | libjavascriptcoregtk-1.0.so and libwebkit-1.0.so or
|
---|
210 | libjavascriptcoregtk-3.0.so, libwebkit2gtk-3.0.so and
|
---|
211 | libwebkit-3.0.so
|
---|
212 | </seg>
|
---|
213 | <seg>
|
---|
214 | /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
|
---|
215 | /usr/include/webkit-3.0, /usr/lib/WebKit and
|
---|
216 | /usr/share/webkit-3.0
|
---|
217 | </seg>
|
---|
218 | </seglistitem>
|
---|
219 | </segmentedlist>
|
---|
220 |
|
---|
221 | <variablelist>
|
---|
222 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
223 | <?dbfo list-presentation="list"?>
|
---|
224 | <?dbhtml list-presentation="table"?>
|
---|
225 |
|
---|
226 | <varlistentry id="jsc">
|
---|
227 | <term><command>jsc-1</command> or <command>jsc-3</command></term>
|
---|
228 | <listitem>
|
---|
229 | <para>
|
---|
230 | is a command-line utility that allows you to run JavaScript programs
|
---|
231 | outside of the context of a web browser.
|
---|
232 | </para>
|
---|
233 | <indexterm zone="webkitgtk jsc">
|
---|
234 | <primary sortas="b-jsc">jsc</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
240 | <term><filename
|
---|
241 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
242 | <listitem>
|
---|
243 | <para>
|
---|
244 | contains core JavaScript API functions used by <command>jsc-1</command>
|
---|
245 | and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
246 | </para>
|
---|
247 | <indexterm zone="webkitgtk libjavascriptcoregtk-1">
|
---|
248 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
249 | </indexterm>
|
---|
250 | </listitem>
|
---|
251 | </varlistentry>
|
---|
252 |
|
---|
253 | <varlistentry id="libwebkitgtk-1">
|
---|
254 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
255 | <listitem>
|
---|
256 | <para>
|
---|
257 | contains the <application>WebKitGTK+</application> API functions for
|
---|
258 | <application>GTK+ 2</application>.
|
---|
259 | </para>
|
---|
260 | <indexterm zone="webkitgtk libwebkitgtk-1">
|
---|
261 | <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
---|
262 | </indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | <varlistentry id="libjavascriptcoregtk-3">
|
---|
267 | <term><filename
|
---|
268 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
269 | <listitem>
|
---|
270 | <para>
|
---|
271 | contains core JavaScript API functions used by <command>jsc-3</command>
|
---|
272 | and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
273 | </para>
|
---|
274 | <indexterm zone="webkitgtk libjavascriptcoregtk-3">
|
---|
275 | <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
---|
276 | </indexterm>
|
---|
277 | </listitem>
|
---|
278 | </varlistentry>
|
---|
279 |
|
---|
280 | <varlistentry id="libwebkitgtk-3">
|
---|
281 | <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
---|
282 | <listitem>
|
---|
283 | <para>
|
---|
284 | contains the <application>WebKitGTK+</application> API functions for
|
---|
285 | <application>GTK+ 3</application>.
|
---|
286 | </para>
|
---|
287 | <indexterm zone="webkitgtk libwebkitgtk-3">
|
---|
288 | <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
---|
289 | </indexterm>
|
---|
290 | </listitem>
|
---|
291 | </varlistentry>
|
---|
292 |
|
---|
293 | <varlistentry id="libwebkit2gtk-3">
|
---|
294 | <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
---|
295 | <listitem>
|
---|
296 | <para>
|
---|
297 | contains the <application>WebKit2</application> API functions.
|
---|
298 | </para>
|
---|
299 | <indexterm zone="webkitgtk libwebkit2gtk-3">
|
---|
300 | <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
---|
301 | </indexterm>
|
---|
302 | </listitem>
|
---|
303 | </varlistentry>
|
---|
304 |
|
---|
305 | </variablelist>
|
---|
306 |
|
---|
307 | </sect2>
|
---|
308 |
|
---|
309 | </sect1>
|
---|