source: x/lib/webkitgtk.xml@ 88f20bb

perl-modules
Last change on this file since 88f20bb was 88f20bb, checked in by Ken Moffat <ken@…>, 6 years ago

Perl modules branch: merge revisions 20505 to 20531 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/perl-modules@20532 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
[8dfc5c3]7 <!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
[de4ed8e]8 <!ENTITY webkitgtk-download-ftp " ">
[88f20bb]9 <!ENTITY webkitgtk-md5sum "207d50d313c07b03726f3a7f22643934">
[f858bd7]10 <!ENTITY webkitgtk-size "16 MB">
[88f20bb]11 <!ENTITY webkitgtk-buildsize "788 MB (128 MB installed)">
12 <!ENTITY webkitgtk-time "16 SBU (using parallelism=4, 50 SBUs using one core)">
[1a024c3c]13]>
14
[de4ed8e]15<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
16 <?dbhtml filename="webkitgtk.html"?>
[1a024c3c]17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[de4ed8e]23 <title>WebKitGTK+-&webkitgtk-version;</title>
[1a024c3c]24
[de4ed8e]25 <indexterm zone="webkitgtk">
[1a024c3c]26 <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to WebKitGTK+</title>
31
32 <para>
[4026a19]33 The <application>WebKitGTK+</application> package is a port of the
34 portable web rendering engine <application>WebKit</application> to the
[1a024c3c]35 <application>GTK+ 3</application> and <application>GTK+ 2</application>
36 platforms.
37 </para>
38
[66966b2]39 &lfs83_checked;
[1a024c3c]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
[de4ed8e]45 Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
[1a024c3c]46 </para>
47 </listitem>
48 <listitem>
49 <para>
[de4ed8e]50 Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
[1a024c3c]51 </para>
52 </listitem>
53 <listitem>
54 <para>
[de4ed8e]55 Download MD5 sum: &webkitgtk-md5sum;
[1a024c3c]56 </para>
57 </listitem>
58 <listitem>
59 <para>
[de4ed8e]60 Download size: &webkitgtk-size;
[1a024c3c]61 </para>
62 </listitem>
63 <listitem>
64 <para>
[de4ed8e]65 Estimated disk space required: &webkitgtk-buildsize;
[1a024c3c]66 </para>
67 </listitem>
68 <listitem>
69 <para>
[de4ed8e]70 Estimated build time: &webkitgtk-time;
[1a024c3c]71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
[4026a19]79 <xref linkend="cairo"/>,
[1a024c3c]80 <xref linkend="cmake"/>,
81 <xref linkend="gst10-plugins-base"/>,
[ad930e6]82 <xref linkend="gst10-plugins-bad"/>,
[1a024c3c]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"/>,
[206913a]92 <xref linkend="sqlite"/>, and
[1a024c3c]93 <xref linkend="which"/>
94 </para>
95
96 <bridgehead renderas="sect4">Recommended</bridgehead>
[fddab91]97 <para role="recommended">
[decb6bc5]98 <xref linkend="enchant"/>,
[560b86d]99 <xref linkend="geoclue2"/>,
[1a024c3c]100 <xref linkend="gobject-introspection"/>,
[206913a]101 <xref linkend="hicolor-icon-theme"/>, and
[b6a8577d]102 <xref linkend="libnotify"/>
[4026a19]103 </para>
[1a024c3c]104
105 <bridgehead renderas="sect4">Optional</bridgehead>
[fddab91]106 <para role="optional">
[1a024c3c]107 <xref linkend="gtk-doc"/>,
108 <xref linkend="harfbuzz"/>,
109 <xref linkend="llvm"/>,
[206913a]110 <xref linkend="wayland"/>,
[f858bd7]111 <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
112 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>, and
113 <ulink url="https://github.com/google/woff2">woff2</ulink>
[1a024c3c]114 </para>
115
116 <para condition="html" role="usernotes">
117 User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
118 </para>
119 </sect2>
120
121 <sect2 role="installation">
122 <title>Installation of WebKitGTK+</title>
123
124 <bridgehead renderas="sect3">Installation of
125 <application>WebKitGTK+</application></bridgehead>
126
127 <para>
128 Install <application>WebKitGTK+</application> by running the
129 following commands:
130 </para>
[6fe4f013]131
[016e770]132<screen><userinput>mkdir -vp build &amp;&amp;
[24dfdcd]133cd build &amp;&amp;
[1a024c3c]134
[b6a8577d]135CFLAGS=-Wno-expansion-to-defined \
136CXXFLAGS=-Wno-expansion-to-defined \
[42b7dab]137cmake -DCMAKE_BUILD_TYPE=Release \
138 -DCMAKE_INSTALL_PREFIX=/usr \
139 -DCMAKE_SKIP_RPATH=ON \
140 -DPORT=GTK \
141 -DLIB_INSTALL_DIR=/usr/lib \
[a78d8510]142 -DUSE_LIBHYPHEN=OFF \
[7c4f32b]143 -DENABLE_MINIBROWSER=ON \
[f858bd7]144 -DUSE_WOFF2=OFF \
[88f20bb]145 -Wno-dev -G Ninja .. &amp;&amp;
146ninja</userinput></screen>
[1a024c3c]147
148 <para>
[7c4f32b]149 This package does not have a working testsuite. However, there is a
150 useable basic graphical web browser in the build directory,
151 <application>build/bin/MiniBrowser</application>. If launching it fails,
152 there is a problem with the build.
[1a024c3c]153 </para>
154
155 <note><para>
156 When installing, the Makefile does some additional compiling and linking.
157 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
158 variables need to be defined for the root user. If using sudo to assume
159 root, use the -E option to pass your current environment variables for the
160 install process.
161 </para></note>
162
163 <para>
164 Now, as the <systemitem class="username">root</systemitem> user:
165 </para>
166
[88f20bb]167<screen role="root"><userinput>ninja install &amp;&amp;
[1a024c3c]168
[2c95b08]169install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &amp;&amp;
[24dfdcd]170install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
171 /usr/share/gtk-doc/html/webkit2gtk-4.0 &amp;&amp;
[de4ed8e]172install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
[1a024c3c]173 /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
174
175 </sect2>
176
177 <sect2 role="commands">
178 <title>Command Explanations</title>
179
[016e770]180<!-- <para>
[fabeff7]181 <command>sed ... TextCheckerEnchant.cpp</command>: This command
[af451f4]182 is needed to allow the build to complete with enchant-2.x.
[016e770]183 </para> -->
[fabeff7]184
[a78d8510]185 <para>
186 <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
187 default automatic hyphenation implementation. You need to install
188 <ulink
189 url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
190 if you wish to enable it (replacing OFF with ON or just removing
191 the switch).
192 </para>
193
[7c4f32b]194 <para>
195 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
196 <application>Mini Browser</application> compilation and install.
197 </para>
198
[b6a8577d]199 <para>
200 <option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
201 have <application>libnotify</application> installed.
202 </para>
203
[1a024c3c]204 <para>
205 <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
206 against the system installed <application>malloc</application>.
207 </para>
208
209 <para>
210 <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
[560b86d]211 want to install <xref linkend="geoclue2"/>.
[1a024c3c]212 </para>
213
214 <para>
215 <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
216 linkend="gtk-doc"/> is installed and you wish to rebuild and install the
217 API documentation.
218 </para>
219
[f858bd7]220 <para>
221 <option>-DUSE_WOFF2=ON</option>: Use this switch if the optional
222 package <ulink url="https://github.com/google/woff2">woff2</ulink> is inatalled.
223 </para>
224
[1a024c3c]225 </sect2>
226
227 <sect2 role="content">
228 <title>Contents</title>
229
230 <segmentedlist>
231 <segtitle>Installed Program</segtitle>
232 <segtitle>Installed Libraries</segtitle>
233 <segtitle>Installed Directories</segtitle>
234
235 <seglistitem>
236 <seg>
[4d185c9e]237 jsc,
238 MiniBrowser, and
[88f20bb]239 WebKitWebDriver
[1a024c3c]240 </seg>
241 <seg>
242 libjavascriptcoregtk-4.0.so and
243 libwebkit2gtk-4.0.so
244 </seg>
245 <seg>
246 /usr/include/webkitgtk-4.0,
[206913a]247 /usr/lib{,exec}/webkit2gtk-4.0, and
[24dfdcd]248 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
[1a024c3c]249 </seg>
250 </seglistitem>
251 </segmentedlist>
252
253 <variablelist>
254 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
255 <?dbfo list-presentation="list"?>
256 <?dbhtml list-presentation="table"?>
257
258 <varlistentry id="jsc">
259 <term><command>jsc</command></term>
260 <listitem>
261 <para>
262 is a command-line utility that allows you to run JavaScript programs
263 outside of the context of a web browser.
264 </para>
[de4ed8e]265 <indexterm zone="webkitgtk jsc">
[1a024c3c]266 <primary sortas="b-jsc">jsc</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
[7c4f32b]271 <varlistentry id="MiniBrowser">
272 <term><command>MiniBrowser</command></term>
273 <listitem>
274 <para>
275 is a very simple graphical browser.
276 </para>
277 <indexterm zone="webkitgtk MiniBrowser">
278 <primary sortas="b-MiniBrowser">MiniBrowser</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
[4d185c9e]283 <varlistentry id="WebKitWebDriver">
284 <term><command>WebKitWebDriver</command></term>
285 <listitem>
286 <para>
287 allows debugging and automation of web pages and browsers.
288 </para>
289 <indexterm zone="webkitgtk WebKitWebDriver">
290 <primary sortas="b-WebKitWebDriver">WebKitWebDriver</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.