2014-09-30 21:23:31 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
|
2015-04-01 03:21:38 +08:00
|
|
|
<!ENTITY webkitgtk-download-ftp " ">
|
2017-11-11 13:42:18 +08:00
|
|
|
<!ENTITY webkitgtk-md5sum "264a22d7467deae606e42b6eb5dd65af">
|
2017-10-24 15:36:39 +08:00
|
|
|
<!ENTITY webkitgtk-size "15 MB">
|
|
|
|
<!ENTITY webkitgtk-buildsize "1.2 GB (133 MB installed)">
|
2017-11-11 13:42:18 +08:00
|
|
|
<!ENTITY webkitgtk-time "41 SBU (using parallelism=4, about 133 SBUs using one core)">
|
2014-09-30 21:23:31 +08:00
|
|
|
]>
|
|
|
|
|
2015-04-01 03:21:38 +08:00
|
|
|
<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
|
|
|
<?dbhtml filename="webkitgtk.html"?>
|
2014-09-30 21:23:31 +08:00
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2015-04-01 03:21:38 +08:00
|
|
|
<title>WebKitGTK+-&webkitgtk-version;</title>
|
2014-09-30 21:23:31 +08:00
|
|
|
|
2015-04-01 03:21:38 +08:00
|
|
|
<indexterm zone="webkitgtk">
|
2014-09-30 21:23:31 +08:00
|
|
|
<primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to WebKitGTK+</title>
|
|
|
|
|
|
|
|
<para>
|
2016-07-07 05:05:29 +08:00
|
|
|
The <application>WebKitGTK+</application> package is a port of the
|
|
|
|
portable web rendering engine <application>WebKit</application> to the
|
2014-09-30 21:23:31 +08:00
|
|
|
<application>GTK+ 3</application> and <application>GTK+ 2</application>
|
|
|
|
platforms.
|
|
|
|
</para>
|
|
|
|
|
2017-08-28 00:44:01 +08:00
|
|
|
&lfs81_checked;
|
2014-09-30 21:23:31 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-04-01 03:21:38 +08:00
|
|
|
Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-04-01 03:21:38 +08:00
|
|
|
Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-04-01 03:21:38 +08:00
|
|
|
Download MD5 sum: &webkitgtk-md5sum;
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-04-01 03:21:38 +08:00
|
|
|
Download size: &webkitgtk-size;
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-04-01 03:21:38 +08:00
|
|
|
Estimated disk space required: &webkitgtk-buildsize;
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-04-01 03:21:38 +08:00
|
|
|
Estimated build time: &webkitgtk-time;
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2016-07-07 05:05:29 +08:00
|
|
|
<xref linkend="cairo"/>,
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="cmake"/>,
|
2017-01-03 16:30:15 +08:00
|
|
|
<xref linkend="enchant"/>,
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="gst10-plugins-base"/>,
|
2017-09-19 01:45:49 +08:00
|
|
|
<xref linkend="gst10-plugins-bad"/>,
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="gtk2"/>,
|
|
|
|
<xref linkend="gtk3"/>,
|
|
|
|
<xref linkend="icu"/>,
|
2015-06-29 09:36:57 +08:00
|
|
|
<xref linkend="libgudev"/>,
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="libsecret"/>,
|
|
|
|
<xref linkend="libsoup"/>,
|
|
|
|
<xref linkend="libwebp"/>,
|
2015-10-11 19:51:21 +08:00
|
|
|
<xref linkend="mesa"/>,
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="ruby"/>,
|
2017-12-02 07:42:20 +08:00
|
|
|
<xref linkend="sqlite"/>, and
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="which"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2017-05-15 11:08:53 +08:00
|
|
|
<para role="recommended">
|
2017-04-06 09:33:46 +08:00
|
|
|
<xref linkend="geoclue2"/>,
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="gobject-introspection"/>,
|
2017-12-02 07:42:20 +08:00
|
|
|
<xref linkend="hicolor-icon-theme"/>, and
|
2017-05-11 12:23:32 +08:00
|
|
|
<xref linkend="libnotify"/>
|
2016-07-07 05:05:29 +08:00
|
|
|
</para>
|
2014-09-30 21:23:31 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2017-05-15 11:08:53 +08:00
|
|
|
<para role="optional">
|
2014-09-30 21:23:31 +08:00
|
|
|
<xref linkend="gtk-doc"/>,
|
|
|
|
<xref linkend="harfbuzz"/>,
|
|
|
|
<xref linkend="llvm"/>,
|
2017-12-02 07:42:20 +08:00
|
|
|
<xref linkend="wayland"/>,
|
2017-04-06 09:33:46 +08:00
|
|
|
<ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>, and
|
2014-09-30 21:23:31 +08:00
|
|
|
<ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of WebKitGTK+</title>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Installation of
|
|
|
|
<application>WebKitGTK+</application></bridgehead>
|
|
|
|
|
2017-10-05 03:31:13 +08:00
|
|
|
<!-- Remove for 8.2 (or 9.0) release -->
|
2017-04-06 09:33:46 +08:00
|
|
|
<caution>
|
|
|
|
<para>
|
|
|
|
You must rebuild <application>Perl</application> with -Dusethreads
|
|
|
|
if LFS was built without that option. LFS made this change in
|
|
|
|
April 2017.
|
|
|
|
</para>
|
|
|
|
</caution>
|
|
|
|
|
2017-10-24 15:36:39 +08:00
|
|
|
<!-- <para>
|
2017-09-17 15:08:17 +08:00
|
|
|
First, fix a build issue with an invalid header path.
|
2017-04-18 11:59:42 +08:00
|
|
|
</para>
|
|
|
|
|
2017-09-17 15:08:17 +08:00
|
|
|
<screen><userinput>sed -i '/Activity.h/s:WebCore/:&platform/:' Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h</userinput></screen>
|
2017-10-24 15:36:39 +08:00
|
|
|
-->
|
2014-09-30 21:23:31 +08:00
|
|
|
<para>
|
|
|
|
Install <application>WebKitGTK+</application> by running the
|
|
|
|
following commands:
|
|
|
|
</para>
|
2016-02-24 07:21:23 +08:00
|
|
|
|
2017-10-24 15:36:39 +08:00
|
|
|
<screen><userinput>mkdir -vp build &&
|
2015-04-15 10:30:56 +08:00
|
|
|
cd build &&
|
2014-09-30 21:23:31 +08:00
|
|
|
|
2017-05-11 12:23:32 +08:00
|
|
|
CFLAGS=-Wno-expansion-to-defined \
|
|
|
|
CXXFLAGS=-Wno-expansion-to-defined \
|
2014-11-13 08:09:24 +08:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DPORT=GTK \
|
|
|
|
-DLIB_INSTALL_DIR=/usr/lib \
|
2015-10-29 03:45:14 +08:00
|
|
|
-DUSE_LIBHYPHEN=OFF \
|
2015-07-17 08:43:56 +08:00
|
|
|
-DENABLE_MINIBROWSER=ON \
|
2014-11-13 08:09:24 +08:00
|
|
|
-Wno-dev .. &&
|
2014-09-30 21:23:31 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
2015-07-17 08:43:56 +08:00
|
|
|
This package does not have a working testsuite. However, there is a
|
|
|
|
useable basic graphical web browser in the build directory,
|
|
|
|
<application>build/bin/MiniBrowser</application>. If launching it fails,
|
|
|
|
there is a problem with the build.
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
When installing, the Makefile does some additional compiling and linking.
|
|
|
|
If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
|
|
|
variables need to be defined for the root user. If using sudo to assume
|
|
|
|
root, use the -E option to pass your current environment variables for the
|
|
|
|
install process.
|
|
|
|
</para></note>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
|
2015-03-03 06:33:58 +08:00
|
|
|
install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &&
|
2015-04-15 10:30:56 +08:00
|
|
|
install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
|
|
|
|
/usr/share/gtk-doc/html/webkit2gtk-4.0 &&
|
2015-04-01 03:21:38 +08:00
|
|
|
install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
|
2014-09-30 21:23:31 +08:00
|
|
|
/usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2017-10-24 15:36:39 +08:00
|
|
|
<!-- <para>
|
2017-09-26 09:35:42 +08:00
|
|
|
<command>sed ... TextCheckerEnchant.cpp</command>: This command
|
2017-09-26 15:29:40 +08:00
|
|
|
is needed to allow the build to complete with enchant-2.x.
|
2017-10-24 15:36:39 +08:00
|
|
|
</para> -->
|
2017-09-26 09:35:42 +08:00
|
|
|
|
2015-10-29 03:45:14 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
|
|
|
|
default automatic hyphenation implementation. You need to install
|
|
|
|
<ulink
|
|
|
|
url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
|
|
|
if you wish to enable it (replacing OFF with ON or just removing
|
|
|
|
the switch).
|
|
|
|
</para>
|
|
|
|
|
2015-07-17 08:43:56 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
|
|
|
|
<application>Mini Browser</application> compilation and install.
|
|
|
|
</para>
|
|
|
|
|
2017-05-11 12:23:32 +08:00
|
|
|
<para>
|
|
|
|
<option>-DUSE_LIBNOTIFY=OFF</option>: Use this switch if you do not
|
|
|
|
have <application>libnotify</application> installed.
|
|
|
|
</para>
|
|
|
|
|
2014-09-30 21:23:31 +08:00
|
|
|
<para>
|
|
|
|
<option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
|
|
|
against the system installed <application>malloc</application>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
2017-04-06 09:33:46 +08:00
|
|
|
want to install <xref linkend="geoclue2"/>.
|
2014-09-30 21:23:31 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
|
|
|
|
linkend="gtk-doc"/> is installed and you wish to rebuild and install the
|
|
|
|
API documentation.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2017-09-17 15:08:17 +08:00
|
|
|
jsc,
|
|
|
|
MiniBrowser, and
|
|
|
|
WebKitWebDriver <!-- New in 2.18.0 -->
|
2014-09-30 21:23:31 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libjavascriptcoregtk-4.0.so and
|
|
|
|
libwebkit2gtk-4.0.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/webkitgtk-4.0,
|
2017-12-02 07:42:20 +08:00
|
|
|
/usr/lib{,exec}/webkit2gtk-4.0, and
|
2015-04-15 10:30:56 +08:00
|
|
|
/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
|
2014-09-30 21:23:31 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="jsc">
|
|
|
|
<term><command>jsc</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command-line utility that allows you to run JavaScript programs
|
|
|
|
outside of the context of a web browser.
|
|
|
|
</para>
|
2015-04-01 03:21:38 +08:00
|
|
|
<indexterm zone="webkitgtk jsc">
|
2014-09-30 21:23:31 +08:00
|
|
|
<primary sortas="b-jsc">jsc</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-07-17 08:43:56 +08:00
|
|
|
<varlistentry id="MiniBrowser">
|
|
|
|
<term><command>MiniBrowser</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a very simple graphical browser.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="webkitgtk MiniBrowser">
|
|
|
|
<primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2017-09-17 15:08:17 +08:00
|
|
|
<varlistentry id="WebKitWebDriver">
|
|
|
|
<term><command>WebKitWebDriver</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
allows debugging and automation of web pages and browsers.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="webkitgtk WebKitWebDriver">
|
|
|
|
<primary sortas="b-WebKitWebDriver">WebKitWebDriver</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2014-09-30 21:23:31 +08:00
|
|
|
<varlistentry id="libjavascriptcoregtk-4.0">
|
|
|
|
<term><filename
|
|
|
|
class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains core JavaScript API functions used by
|
|
|
|
<command>jsc</command> and <filename
|
|
|
|
class="libraryfile">libwebkit2gtk-4.0</filename>.
|
|
|
|
</para>
|
2015-04-01 03:21:38 +08:00
|
|
|
<indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
|
2014-09-30 21:23:31 +08:00
|
|
|
<primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libwebkit2gtk-4">
|
|
|
|
<term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains the <application>WebKit2</application> API functions.
|
|
|
|
</para>
|
2015-04-01 03:21:38 +08:00
|
|
|
<indexterm zone="webkitgtk libwebkit2gtk-4">
|
2014-09-30 21:23:31 +08:00
|
|
|
<primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|