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 "41e018d651413fdbcd4b6480ab1fbd7b">
|
---|
10 | <!ENTITY webkitgtk-size "11.2 MB">
|
---|
11 | <!ENTITY webkitgtk-buildsize "925 MB (109 MB installed)">
|
---|
12 | <!ENTITY webkitgtk-time "38 SBU (with parallelism=4, estimated 90+ SBU 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> is the port of the portable
|
---|
34 | web rendering engine <application>WebKit</application> to the
|
---|
35 | <application>GTK+ 3</application> platform.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs77_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="cmake"/>,
|
---|
79 | <xref linkend="gst10-plugins-base"/>,
|
---|
80 | <xref linkend="gtk3"/>,
|
---|
81 | <xref linkend="icu"/>,
|
---|
82 | <xref linkend="libgudev"/>,
|
---|
83 | <xref linkend="libsecret"/>,
|
---|
84 | <xref linkend="libsoup"/>,
|
---|
85 | <xref linkend="libwebp"/>,
|
---|
86 | <xref linkend="mesa"/>,
|
---|
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="enchant"/>,
|
---|
95 | <xref linkend="geoclue2"/> or
|
---|
96 | <xref linkend="geoclue"/>,
|
---|
97 | <xref linkend="gobject-introspection"/>,
|
---|
98 | <xref linkend="gtk2"/>, and
|
---|
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="libnotify"/>,
|
---|
107 | <xref linkend="llvm"/>,
|
---|
108 | <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>, and
|
---|
109 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <note>
|
---|
113 | <para>
|
---|
114 | Note that <application>WebKitGTK+</application> links against
|
---|
115 | <application>GTK+ 2</application> in order to be able to use
|
---|
116 | NPAPI plugins such as Adobe Flash.
|
---|
117 | </para>
|
---|
118 | </note>
|
---|
119 |
|
---|
120 | <para condition="html" role="usernotes">
|
---|
121 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
122 | </para>
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="installation">
|
---|
126 | <title>Installation of WebKitGTK+</title>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | Install <application>WebKitGTK+</application> by running the following
|
---|
130 | commands:
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <screen><userinput>mkdir build &&
|
---|
134 | cd build &&
|
---|
135 |
|
---|
136 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
137 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
138 | -DCMAKE_SKIP_RPATH=ON \
|
---|
139 | -DPORT=GTK \
|
---|
140 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
141 | -DUSE_LIBHYPHEN=OFF \
|
---|
142 | -DENABLE_MINIBROWSER=ON \
|
---|
143 | -Wno-dev .. &&
|
---|
144 | make</userinput></screen>
|
---|
145 |
|
---|
146 |
|
---|
147 | <para>
|
---|
148 | This package does not have a working testsuite.
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
153 | </para>
|
---|
154 |
|
---|
155 | <screen role="root"><userinput>make install &&
|
---|
156 | install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &&
|
---|
157 | install -vm644 ../Documentation/webkitgtk2-4.0/html/* \
|
---|
158 | /usr/share/gtk-doc/html/webkit2gtk-4.0 &&
|
---|
159 | install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
|
---|
160 | /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
|
---|
161 |
|
---|
162 | </sect2>
|
---|
163 |
|
---|
164 | <sect2 role="commands">
|
---|
165 | <title>Command Explanations</title>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
169 | to apply higher level of the compiler optimizations.
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <para>
|
---|
173 | <parameter>-DCMAKE_SKIP_RPATH=ON</parameter>: This switch is used to
|
---|
174 | prevent hardcoding a runtime path into the built executables.
|
---|
175 | </para>
|
---|
176 |
|
---|
177 | <para>
|
---|
178 | <parameter>-DLIB_INSTALL_DIR=/usr/lib</parameter>: This switch is used
|
---|
179 | to get libraries to install to <filename
|
---|
180 | class="directory">/usr/lib</filename> instead of <filename
|
---|
181 | class="directory">/usr/lib64</filename> on a 64 bit system.
|
---|
182 | </para>
|
---|
183 |
|
---|
184 | <para>
|
---|
185 | <option>-DENABLE_SPELLCHECK=OFF</option>: Use this switch if you don't
|
---|
186 | want to install <xref linkend="enchant"/> and don't need the spell
|
---|
187 | checking feature.
|
---|
188 | </para>
|
---|
189 |
|
---|
190 | <para>
|
---|
191 | <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
192 | want to install <xref linkend="geoclue"/> or
|
---|
193 | <xref linkend="geoclue2"/> and don't need the geolocation feature.
|
---|
194 | </para>
|
---|
195 |
|
---|
196 | <para>
|
---|
197 | <option>-DENABLE_GTKDOC=ON</option>: Use this switch if you have
|
---|
198 | installed <xref linkend="gtk-doc"/> and wish to build the API
|
---|
199 | manuals.
|
---|
200 | </para>
|
---|
201 |
|
---|
202 |
|
---|
203 | </sect2>
|
---|
204 |
|
---|
205 | <sect2 role="content">
|
---|
206 | <title>Contents</title>
|
---|
207 |
|
---|
208 | <segmentedlist>
|
---|
209 | <segtitle>Installed Programs</segtitle>
|
---|
210 | <segtitle>Installed Libraries</segtitle>
|
---|
211 | <segtitle>Installed Directories</segtitle>
|
---|
212 |
|
---|
213 | <seglistitem>
|
---|
214 | <seg>
|
---|
215 | jsc and MiniBrowser
|
---|
216 | </seg>
|
---|
217 | <seg>
|
---|
218 | libjavascriptcoregtk-4.0.so and
|
---|
219 | libwebkit2gtk-4.0.so
|
---|
220 | </seg>
|
---|
221 | <seg>
|
---|
222 | /usr/include/webkitgtk-4.0,
|
---|
223 | /usr/lib/webkit2gtk-4.0,
|
---|
224 | /usr/libexec/webkit2gtk-4.0,
|
---|
225 | /usr/share/gtk-doc/html/webkit2gtk-4.0 and
|
---|
226 | /usr/share/gtk-doc/html/webkitdomgtk-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="MiniBrowser">
|
---|
250 | <term><command>MiniBrowser</command></term>
|
---|
251 | <listitem>
|
---|
252 | <para>
|
---|
253 | is a very simple graphical browser, useful for testing.
|
---|
254 | </para>
|
---|
255 | <indexterm zone="webkitgtk MiniBrowser">
|
---|
256 | <primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
---|
257 | </indexterm>
|
---|
258 | </listitem>
|
---|
259 | </varlistentry>
|
---|
260 |
|
---|
261 | <varlistentry id="libjavascriptcoregtk-4.0">
|
---|
262 | <term><filename
|
---|
263 | class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
|
---|
264 | <listitem>
|
---|
265 | <para>
|
---|
266 | contains core JavaScript API functions used by <command>jsc</command>
|
---|
267 | and <filename class="libraryfile">libwebkit2gtk-4.0.so</filename>.
|
---|
268 | </para>
|
---|
269 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
|
---|
270 | <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.so</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | <varlistentry id="libwebkit2gtk-4.0">
|
---|
276 | <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
|
---|
277 | <listitem>
|
---|
278 | <para>
|
---|
279 | contains the <application>WebKit2</application> API functions.
|
---|
280 | </para>
|
---|
281 | <indexterm zone="webkitgtk libwebkit2gtk-4.0">
|
---|
282 | <primary sortas="c-libwebkit2gtk-4.0">libwebkit2gtk-4.0.so</primary>
|
---|
283 | </indexterm>
|
---|
284 | </listitem>
|
---|
285 | </varlistentry>
|
---|
286 |
|
---|
287 | </variablelist>
|
---|
288 |
|
---|
289 | </sect2>
|
---|
290 |
|
---|
291 | </sect1>
|
---|