source: x/lib/webkitgtk.xml@ 4a53d15

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 4a53d15 was d537949, checked in by DJ Lucas <dj@…>, 7 years ago

Add include to installed file.

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

  • Property mode set to 100644
File size: 10.3 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 " ">
[b6bbdbe2]10 <!ENTITY webkitgtk-md5sum "d3bcf995a667fd9febb9ab991acf0ca7">
[560b86d]11 <!ENTITY webkitgtk-size "14 MB">
[252ae3a]12 <!ENTITY webkitgtk-buildsize "1.1 GB (115 MB installed)">
[b6bbdbe2]13 <!ENTITY webkitgtk-time "41 SBU (using parallelism=4, 142 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
[e28509c]40 &lfs80_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"/>,
[9dfdf8b7]82 <xref linkend="enchant"/>,
[1a024c3c]83 <xref linkend="gst10-plugins-base"/>,
84 <xref linkend="gtk2"/>,
85 <xref linkend="gtk3"/>,
86 <xref linkend="icu"/>,
[f175d6f6]87 <xref linkend="libgudev"/>,
[1a024c3c]88 <xref linkend="libsecret"/>,
89 <xref linkend="libsoup"/>,
90 <xref linkend="libwebp"/>,
[7a395d1]91 <xref linkend="mesa"/>,
[1a024c3c]92 <xref linkend="ruby"/>,
[f175d6f6]93 <xref linkend="sqlite"/> and
[1a024c3c]94 <xref linkend="which"/>
95 </para>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
[4026a19]98 <para role="recommended" revision="sysv">
[560b86d]99 <xref linkend="geoclue2"/>,
[1a024c3c]100 <xref linkend="gobject-introspection"/>,
101 <xref linkend="hicolor-icon-theme"/>
102 </para>
[4026a19]103 <para role="recommended" revision="systemd">
[560b86d]104 <xref linkend="geoclue2"/>,
[4026a19]105 <xref linkend="gobject-introspection"/>,
106 <xref linkend="hicolor-icon-theme"/>
107 </para>
[1a024c3c]108
109 <bridgehead renderas="sect4">Optional</bridgehead>
[4026a19]110 <para role="optional" revision="sysv">
[1a024c3c]111 <xref linkend="gtk-doc"/>,
112 <xref linkend="harfbuzz"/>,
[a78d8510]113 <xref linkend="libnotify"/>,
[1a024c3c]114 <xref linkend="llvm"/>,
[4026a19]115 <xref linkend="wayland"/>,
[560b86d]116 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>, and
[1a024c3c]117 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
118 </para>
[4026a19]119 <para role="optional" revision="systemd">
120 <xref linkend="gtk-doc"/>,
121 <xref linkend="harfbuzz"/>,
122 <xref linkend="libnotify"/>,
123 <xref linkend="llvm"/>,
124 <xref linkend="wayland"/>,
125 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/"> Hyphen</ulink>, and
126 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
127 </para>
[1a024c3c]128
129 <para condition="html" role="usernotes">
130 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
131 </para>
132 </sect2>
133
134 <sect2 role="installation">
135 <title>Installation of WebKitGTK+</title>
136
137 <bridgehead renderas="sect3">Installation of
138 <application>WebKitGTK+</application></bridgehead>
139
[560b86d]140 <caution>
141 <para>
142 You must rebuild <application>Perl</application> with -Dusethreads
143 if LFS was built without that option. LFS made this change in
144 April 2017.
145 </para>
146 </caution>
147
[2acb826]148 <para>
149 First, fix a build issue with <application>ICU</application> &gt;= 59:
150 </para>
151
[298fc093]152<screen><userinput>sed -i 's/unsigned short/char16_t/' \
[2acb826]153 Source/JavaScriptCore/API/JSStringRef.h \
[298fc093]154 Source/WebKit2/Shared/API/c/WKString.h &amp;&amp;
155
[d537949]156sed -i '/stdbool.h/ a#include &lt;uchar.h&gt;' \
157 Source/JavaScriptCore/API/JSBase.h</userinput></screen>
[2acb826]158
[1a024c3c]159 <para>
160 Install <application>WebKitGTK+</application> by running the
161 following commands:
162 </para>
[6fe4f013]163
[0e107e3]164<screen><userinput>mkdir -vp build &amp;&amp;
[24dfdcd]165cd build &amp;&amp;
[1a024c3c]166
[42b7dab]167cmake -DCMAKE_BUILD_TYPE=Release \
168 -DCMAKE_INSTALL_PREFIX=/usr \
169 -DCMAKE_SKIP_RPATH=ON \
170 -DPORT=GTK \
171 -DLIB_INSTALL_DIR=/usr/lib \
[a78d8510]172 -DUSE_LIBHYPHEN=OFF \
[7c4f32b]173 -DENABLE_MINIBROWSER=ON \
[42b7dab]174 -Wno-dev .. &amp;&amp;
[1a024c3c]175make</userinput></screen>
176
177 <para>
[7c4f32b]178 This package does not have a working testsuite. However, there is a
179 useable basic graphical web browser in the build directory,
180 <application>build/bin/MiniBrowser</application>. If launching it fails,
181 there is a problem with the build.
[1a024c3c]182 </para>
183
184 <note><para>
185 When installing, the Makefile does some additional compiling and linking.
186 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
187 variables need to be defined for the root user. If using sudo to assume
188 root, use the -E option to pass your current environment variables for the
189 install process.
190 </para></note>
191
192 <para>
193 Now, as the <systemitem class="username">root</systemitem> user:
194 </para>
195
196<screen role="root"><userinput>make install &amp;&amp;
197
[2c95b08]198install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
[24dfdcd]199install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
200 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
[de4ed8e]201install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
[1a024c3c]202 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
203
204 </sect2>
205
206 <sect2 role="commands">
207 <title>Command Explanations</title>
208
[a78d8510]209 <para>
210 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
211 default automatic hyphenation implementation. You need to install
212 <ulink
213 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
214 if you wish to enable it (replacing OFF with ON or just removing
215 the switch).
216 </para>
217
[7c4f32b]218 <para>
219 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
220 <application>Mini Browser</application> compilation and install.
221 </para>
222
[1a024c3c]223 <para>
224 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
225 against the system installed <application>malloc</application>.
226 </para>
227
228 <para>
229 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
[560b86d]230 want to install <xref linkend="geoclue2"/>.
[1a024c3c]231 </para>
232
233 <para>
234 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
235 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
236 API documentation.
237 </para>
238
239 </sect2>
240
241 <sect2 role="content">
242 <title>Contents</title>
243
244 <segmentedlist>
245 <segtitle>Installed Program</segtitle>
246 <segtitle>Installed Libraries</segtitle>
247 <segtitle>Installed Directories</segtitle>
248
249 <seglistitem>
250 <seg>
[7c4f32b]251 jsc and MiniBrowser
[1a024c3c]252 </seg>
253 <seg>
254 libjavascriptcoregtk-4.0.so and
255 libwebkit2gtk-4.0.so
256 </seg>
257 <seg>
258 /usr/include/webkitgtk-4.0,
[f0d9ee6]259 /usr/lib{,exec}/webkit2gtk-4.0 and
[24dfdcd]260 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
[1a024c3c]261 </seg>
262 </seglistitem>
263 </segmentedlist>
264
265 <variablelist>
266 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
267 <?dbfo list-presentation="list"?>
268 <?dbhtml list-presentation="table"?>
269
270 <varlistentry id="jsc">
271 <term><command>jsc</command></term>
272 <listitem>
273 <para>
274 is a command-line utility that allows you to run JavaScript programs
275 outside of the context of a web browser.
276 </para>
[de4ed8e]277 <indexterm zone="webkitgtk jsc">
[1a024c3c]278 <primary sortas="b-jsc">jsc</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
[7c4f32b]283 <varlistentry id="MiniBrowser">
284 <term><command>MiniBrowser</command></term>
285 <listitem>
286 <para>
287 is a very simple graphical browser.
288 </para>
289 <indexterm zone="webkitgtk MiniBrowser">
290 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
[1a024c3c]295 <varlistentry id="libjavascriptcoregtk-4.0">
296 <term><filename
297 class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
298 <listitem>
299 <para>
300 contains core JavaScript API functions used by
301 <command>jsc</command> and <filename
302 class="libraryfile">libwebkit2gtk-4.0</filename>.
303 </para>
[de4ed8e]304 <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
[1a024c3c]305 <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="libwebkit2gtk-4">
311 <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
312 <listitem>
313 <para>
314 contains the <application>WebKit2</application> API functions.
315 </para>
[de4ed8e]316 <indexterm zone="webkitgtk libwebkit2gtk-4">
[1a024c3c]317 <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 </variablelist>
323
324 </sect2>
325
326</sect1>
Note: See TracBrowser for help on using the repository browser.