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 "650 MB">
|
---|
12 | <!ENTITY webkitgtk-time "55 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
---|
16 | <?dbhtml filename="webkitgtk.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>WebKitGTK+-&webkitgtk-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="webkitgtk">
|
---|
22 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to WebKitGTK+</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>WebKitGTK+</application> is the port of the portable
|
---|
30 | web rendering engine <application>WebKit</application> to the
|
---|
31 | <application>GTK+ 2</application> platform.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs75_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &webkitgtk-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &webkitgtk-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
71 | <itemizedlist spacing="compact">
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Required patch:
|
---|
75 | <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-fix_librt_linking-1.patch"/>
|
---|
76 | </para>
|
---|
77 | </listitem>
|
---|
78 | </itemizedlist>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
83 | <para role="required">
|
---|
84 | <xref linkend="gst-plugins-base"/>,
|
---|
85 | <xref linkend="gtk2"/>,
|
---|
86 | <xref linkend="icu"/>,
|
---|
87 | <xref linkend="libsoup"/>,
|
---|
88 | <xref linkend="mesalib"/>,
|
---|
89 | <xref linkend="ruby"/>,
|
---|
90 | <xref linkend="sqlite"/> 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"/> and
|
---|
98 | <xref linkend="hicolor-icon-theme"/>
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
102 | <para role="optional">
|
---|
103 | <xref linkend="curl"/>,
|
---|
104 | <xref linkend="gobject-introspection"/>,
|
---|
105 | <xref linkend="gtk-doc"/> and
|
---|
106 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <para condition="html" role="usernotes">
|
---|
110 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
111 | </para>
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="installation">
|
---|
115 | <title>Installation of WebKitGTK+</title>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
---|
119 | cause <command>make install</command> to fail:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | Install <application>WebKitGTK+</application> by running the
|
---|
126 | following commands:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen><userinput>sed -i '/parse-param/ a%lex-param {YYLEX_PARAM}' \
|
---|
130 | Source/ThirdParty/ANGLE/src/compiler/glslang.y &&
|
---|
131 | patch -Np1 -i ../webkitgtk-&webkitgtk-version;-fix_librt_linking-1.patch &&
|
---|
132 | ./configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &&
|
---|
133 | make</userinput></screen>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | This package does not have a working testsuite. However, there is a
|
---|
137 | useable basic graphical web browser in the source directory,
|
---|
138 | <application>Programs/GtkLauncher</application>. If it fails, there is a
|
---|
139 | problem with the build.
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <screen role="root"><userinput>make install &&
|
---|
147 | rm -rf /usr/share/gtk-doc/html/webkitgtk-1.0 &&
|
---|
148 | mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}</userinput></screen>
|
---|
149 | </sect2>
|
---|
150 |
|
---|
151 | <sect2 role="commands">
|
---|
152 | <title>Command Explanations</title>
|
---|
153 |
|
---|
154 | <para>
|
---|
155 | <command>mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}</command>:
|
---|
156 | There is a conflict with the directory installed with same name by
|
---|
157 | <xref linkend="webkitgtk2"/>.
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | <command>sed ... Source/ThirdParty/ANGLE/src/compiler/glslang.y</command>:
|
---|
162 | This command corrects a problem caused by the most recent version of
|
---|
163 | Bison.
|
---|
164 | </para>
|
---|
165 |
|
---|
166 | <para>
|
---|
167 | <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These parameters
|
---|
168 | force <application>WebKitGTK+</application> to compile against
|
---|
169 | <application>GTK+ 2</application>, even if
|
---|
170 | <application>GTK+ 3</application> is also installed.
|
---|
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 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
180 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
181 |
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | <sect2 role="content">
|
---|
185 | <title>Contents</title>
|
---|
186 |
|
---|
187 | <segmentedlist>
|
---|
188 | <segtitle>Installed Program</segtitle>
|
---|
189 | <segtitle>Installed Libraries</segtitle>
|
---|
190 | <segtitle>Installed Directories</segtitle>
|
---|
191 |
|
---|
192 | <seglistitem>
|
---|
193 | <seg>
|
---|
194 | jsc-1
|
---|
195 | </seg>
|
---|
196 | <seg>
|
---|
197 | libjavascriptcoregtk-1.0.so and libwebkitgtk-1.0.so
|
---|
198 | </seg>
|
---|
199 | <seg>
|
---|
200 | /usr/include/webkit-1.0,
|
---|
201 | /usr/share/gtk-doc/html/webkitgtk-1.0 and
|
---|
202 | /usr/share/webkit-1.0
|
---|
203 | </seg>
|
---|
204 | </seglistitem>
|
---|
205 | </segmentedlist>
|
---|
206 |
|
---|
207 | <variablelist>
|
---|
208 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
209 | <?dbfo list-presentation="list"?>
|
---|
210 | <?dbhtml list-presentation="table"?>
|
---|
211 |
|
---|
212 | <varlistentry id="jsc-1">
|
---|
213 | <term><command>jsc-1</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>
|
---|
216 | is a command-line utility that allows you to run JavaScript programs
|
---|
217 | outside of the context of a web browser.
|
---|
218 | </para>
|
---|
219 | <indexterm zone="webkitgtk jsc-1">
|
---|
220 | <primary sortas="b-jsc-1">jsc-1</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
226 | <term><filename
|
---|
227 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
228 | <listitem>
|
---|
229 | <para>
|
---|
230 | contains core JavaScript API functions used by <command>jsc-1</command>
|
---|
231 | and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
232 | </para>
|
---|
233 | <indexterm zone="webkitgtk libjavascriptcoregtk-1">
|
---|
234 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | <varlistentry id="libwebkitgtk-1">
|
---|
240 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
241 | <listitem>
|
---|
242 | <para>
|
---|
243 | contains the <application>WebKitGTK+</application> API functions for
|
---|
244 | <application>GTK+ 2</application>.
|
---|
245 | </para>
|
---|
246 | <indexterm zone="webkitgtk libwebkitgtk-1">
|
---|
247 | <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
---|
248 | </indexterm>
|
---|
249 | </listitem>
|
---|
250 | </varlistentry>
|
---|
251 |
|
---|
252 | </variablelist>
|
---|
253 |
|
---|
254 | </sect2>
|
---|
255 |
|
---|
256 | </sect1>
|
---|