source: x/lib/webkitgtk.xml@ 080eb9bb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 080eb9bb was 080eb9bb, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to WebkitGTK+-2.12.5

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

  • Property mode set to 100644
File size: 10.5 KB
RevLine 
[1a024c3c]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
[264db1d]7 <!-- This is the 2.8.x and later version of webkit -->
[de4ed8e]8 <!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
9 <!ENTITY webkitgtk-download-ftp " ">
[080eb9bb]10 <!ENTITY webkitgtk-md5sum "7a9ea00ec195488db90fdeb2d174ddaf">
[69d2a66]11 <!ENTITY webkitgtk-size "11.2 MB">
[4026a19]12 <!ENTITY webkitgtk-buildsize "1.0 GB (109 MB installed)">
[080eb9bb]13 <!ENTITY webkitgtk-time "35 SBU (using parallelism=4, 115 SBUs using one core)">
[1a024c3c]14]>
15
[de4ed8e]16<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
17 <?dbhtml filename="webkitgtk.html"?>
[1a024c3c]18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[de4ed8e]24 <title>WebKitGTK+-&webkitgtk-version;</title>
[1a024c3c]25
[de4ed8e]26 <indexterm zone="webkitgtk">
[1a024c3c]27 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to WebKitGTK+</title>
32
33 <para>
[4026a19]34 The <application>WebKitGTK+</application> package is a port of the
35 portable web rendering engine <application>WebKit</application> to the
[1a024c3c]36 <application>GTK+ 3</application> and <application>GTK+ 2</application>
37 platforms.
38 </para>
39
[0feedb07]40 &lfs7a_checked;
[1a024c3c]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
[de4ed8e]46 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
[1a024c3c]47 </para>
48 </listitem>
49 <listitem>
50 <para>
[de4ed8e]51 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
[1a024c3c]52 </para>
53 </listitem>
54 <listitem>
55 <para>
[de4ed8e]56 Download MD5 sum: &webkitgtk-md5sum;
[1a024c3c]57 </para>
58 </listitem>
59 <listitem>
60 <para>
[de4ed8e]61 Download size: &webkitgtk-size;
[1a024c3c]62 </para>
63 </listitem>
64 <listitem>
65 <para>
[de4ed8e]66 Estimated disk space required: &webkitgtk-buildsize;
[1a024c3c]67 </para>
68 </listitem>
69 <listitem>
70 <para>
[de4ed8e]71 Estimated build time: &webkitgtk-time;
[1a024c3c]72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
[4026a19]80 <xref linkend="cairo"/>,
[1a024c3c]81 <xref linkend="cmake"/>,
82 <xref linkend="gst10-plugins-base"/>,
83 <xref linkend="gtk2"/>,
84 <xref linkend="gtk3"/>,
85 <xref linkend="icu"/>,
[f175d6f6]86 <xref linkend="libgudev"/>,
[1a024c3c]87 <xref linkend="libsecret"/>,
88 <xref linkend="libsoup"/>,
89 <xref linkend="libwebp"/>,
[7a395d1]90 <xref linkend="mesa"/>,
[1a024c3c]91 <xref linkend="ruby"/>,
[f175d6f6]92 <xref linkend="sqlite"/> and
[1a024c3c]93 <xref linkend="which"/>
94 </para>
95
96 <bridgehead renderas="sect4">Recommended</bridgehead>
[4026a19]97 <para role="recommended" revision="sysv">
[1a024c3c]98 <xref linkend="enchant"/>,
99 <xref linkend="geoclue"/>,
100 <xref linkend="gobject-introspection"/>,
101 <xref linkend="hicolor-icon-theme"/>
102 </para>
[4026a19]103 <para role="recommended" revision="systemd">
104 <xref linkend="enchant"/>,
105 <xref linkend="geoclue2"/> or
106 <xref linkend="geoclue"/>,
107 <xref linkend="gobject-introspection"/>,
108 <xref linkend="hicolor-icon-theme"/>
109 </para>
[1a024c3c]110
111 <bridgehead renderas="sect4">Optional</bridgehead>
[4026a19]112 <para role="optional" revision="sysv">
[1a024c3c]113 <xref linkend="gtk-doc"/>,
114 <xref linkend="harfbuzz"/>,
[a78d8510]115 <xref linkend="libnotify"/>,
[1a024c3c]116 <xref linkend="llvm"/>,
[4026a19]117 <xref linkend="wayland"/>,
[a78d8510]118 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
[604bf744]119 <ulink url="http://freedesktop.org/wiki/Software/GeoClue/">GeoClue2</ulink>, and
[1a024c3c]120 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
121 </para>
[4026a19]122 <para role="optional" revision="systemd">
123 <xref linkend="gtk-doc"/>,
124 <xref linkend="harfbuzz"/>,
125 <xref linkend="libnotify"/>,
126 <xref linkend="llvm"/>,
127 <xref linkend="wayland"/>,
128 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/"> Hyphen</ulink>, and
129 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
130 </para>
[1a024c3c]131
132 <para condition="html" role="usernotes">
133 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
134 </para>
135 </sect2>
136
137 <sect2 role="installation">
138 <title>Installation of WebKitGTK+</title>
139
140 <bridgehead renderas="sect3">Installation of
141 <application>WebKitGTK+</application></bridgehead>
142
143 <para>
144 Install <application>WebKitGTK+</application> by running the
145 following commands:
146 </para>
[5fc4874d]147<!--Was getting in Firefox and in Seamnkey:
148sed -i 's/â€/\"/g' ...
149in Ocidental
150or
151in Unicode
152sed -i 's/�€/\"/g' ...
[24dfdcd]153
154http://www.danshort.com/HTMLentities/
155Open double quotes “ &ldquo; &#8220; &#x201C;
156Close double quotes ” &rdquo; &#8221; &#x201D;
[5fc4874d]157-->
[8da658ba]158<screen><userinput>sed -e 's/&ldquo;/\"/' -e 's/&rdquo;/\"/' \
159 -i Source/WebCore/xml/XMLViewer.{css,js} &amp;&amp;
[075290e]160<!-- Fixed in 2.10.9
161sed -i "s#isnan#std::&amp;#g" Source/JavaScriptCore/runtime/Options.cpp &amp;&amp;-->
[6fe4f013]162
[1a024c3c]163mkdir -vp build &amp;&amp;
[24dfdcd]164cd build &amp;&amp;
[1a024c3c]165
[42b7dab]166cmake -DCMAKE_BUILD_TYPE=Release \
167 -DCMAKE_INSTALL_PREFIX=/usr \
168 -DCMAKE_SKIP_RPATH=ON \
169 -DPORT=GTK \
170 -DLIB_INSTALL_DIR=/usr/lib \
[a78d8510]171 -DUSE_LIBHYPHEN=OFF \
[7c4f32b]172 -DENABLE_MINIBROWSER=ON \
[42b7dab]173 -Wno-dev .. &amp;&amp;
[1a024c3c]174make</userinput></screen>
175
176 <para>
[7c4f32b]177 This package does not have a working testsuite. However, there is a
178 useable basic graphical web browser in the build directory,
179 <application>build/bin/MiniBrowser</application>. If launching it fails,
180 there is a problem with the build.
[1a024c3c]181 </para>
182
183 <note><para>
184 When installing, the Makefile does some additional compiling and linking.
185 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
186 variables need to be defined for the root user. If using sudo to assume
187 root, use the -E option to pass your current environment variables for the
188 install process.
189 </para></note>
190
191 <para>
192 Now, as the <systemitem class="username">root</systemitem> user:
193 </para>
194
195<screen role="root"><userinput>make install &amp;&amp;
196
[2c95b08]197install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
[24dfdcd]198install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
199 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
[de4ed8e]200install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
[1a024c3c]201 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
202
203 </sect2>
204
205 <sect2 role="commands">
206 <title>Command Explanations</title>
207
208 <para>
[075290e]209 <command>sed -i ...</command>: Fixes typos in two
210 source code files.
[1a024c3c]211 </para>
212
[a78d8510]213 <para>
214 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
215 default automatic hyphenation implementation. You need to install
216 <ulink
217 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
218 if you wish to enable it (replacing OFF with ON or just removing
219 the switch).
220 </para>
221
[7c4f32b]222 <para>
223 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
224 <application>Mini Browser</application> compilation and install.
225 </para>
226
[1a024c3c]227 <para>
228 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
229 against the system installed <application>malloc</application>.
230 </para>
231
232 <para>
233 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
234 want to install <xref linkend="geoclue"/> or
[080eb9bb]235 <xref linkend="geoclue2"/>.
[1a024c3c]236 </para>
237
238 <para>
239 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
240 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
241 API documentation.
242 </para>
243
244 </sect2>
245
246 <sect2 role="content">
247 <title>Contents</title>
248
249 <segmentedlist>
250 <segtitle>Installed Program</segtitle>
251 <segtitle>Installed Libraries</segtitle>
252 <segtitle>Installed Directories</segtitle>
253
254 <seglistitem>
255 <seg>
[7c4f32b]256 jsc and MiniBrowser
[1a024c3c]257 </seg>
258 <seg>
259 libjavascriptcoregtk-4.0.so and
260 libwebkit2gtk-4.0.so
261 </seg>
262 <seg>
263 /usr/include/webkitgtk-4.0,
[f0d9ee6]264 /usr/lib{,exec}/webkit2gtk-4.0 and
[24dfdcd]265 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
[1a024c3c]266 </seg>
267 </seglistitem>
268 </segmentedlist>
269
270 <variablelist>
271 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
272 <?dbfo list-presentation="list"?>
273 <?dbhtml list-presentation="table"?>
274
275 <varlistentry id="jsc">
276 <term><command>jsc</command></term>
277 <listitem>
278 <para>
279 is a command-line utility that allows you to run JavaScript programs
280 outside of the context of a web browser.
281 </para>
[de4ed8e]282 <indexterm zone="webkitgtk jsc">
[1a024c3c]283 <primary sortas="b-jsc">jsc</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
[7c4f32b]288 <varlistentry id="MiniBrowser">
289 <term><command>MiniBrowser</command></term>
290 <listitem>
291 <para>
292 is a very simple graphical browser.
293 </para>
294 <indexterm zone="webkitgtk MiniBrowser">
295 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
[1a024c3c]300 <varlistentry id="libjavascriptcoregtk-4.0">
301 <term><filename
302 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
303 <listitem>
304 <para>
305 contains core JavaScript API functions used by
306 <command>jsc</command> and <filename
307 class="libraryfile">libwebkit2gtk-4.0</filename>.
308 </para>
[de4ed8e]309 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
[1a024c3c]310 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="libwebkit2gtk-4">
316 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
317 <listitem>
318 <para>
319 contains the <application>WebKit2</application> API functions.
320 </para>
[de4ed8e]321 <indexterm zone="webkitgtk libwebkit2gtk-4">
[1a024c3c]322 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 </variablelist>
328
329 </sect2>
330
331</sect1>
Note: See TracBrowser for help on using the repository browser.