2010-01-11 16:32:12 +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;
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
|
2010-01-11 16:32:12 +08:00
|
|
|
<!ENTITY webkitgtk-download-ftp " ">
|
2012-10-17 20:09:50 +08:00
|
|
|
<!ENTITY webkitgtk-md5sum "28c930cda012391453c476cdacfaca65">
|
2012-09-27 03:37:55 +08:00
|
|
|
<!ENTITY webkitgtk-size "8.2 MB">
|
|
|
|
<!ENTITY webkitgtk-buildsize "800 MB">
|
2012-10-17 20:09:50 +08:00
|
|
|
<!ENTITY webkitgtk-time "55 SBU">
|
2010-01-11 16:32:12 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
|
|
|
<?dbhtml filename="webkitgtk.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>WebKitGTK+-&webkitgtk-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="webkitgtk">
|
|
|
|
<primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to WebKitGTK+</title>
|
|
|
|
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
The <application>WebKitGTK+</application> package is the port of the
|
|
|
|
portable web rendering engine <application>WebKit</application> to the
|
|
|
|
<application>GTK+</application> platform.
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
|
2012-08-26 21:07:02 +08:00
|
|
|
&lfs72_checked;
|
2010-08-12 08:08:40 +08:00
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &webkitgtk-md5sum;
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
Download size: &webkitgtk-size;
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &webkitgtk-buildsize;
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &webkitgtk-time;
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref linkend="gperf"/>,
|
2012-09-27 03:37:55 +08:00
|
|
|
<xref linkend="gst10-plugins-base"/> or
|
2012-08-13 01:02:37 +08:00
|
|
|
<xref linkend="gst-plugins-base"/>,
|
2012-09-27 03:37:55 +08:00
|
|
|
<xref linkend="gtk3"/> or
|
|
|
|
<xref linkend="gtk2"/>,
|
2012-03-28 01:36:31 +08:00
|
|
|
<xref linkend="icu"/>,
|
|
|
|
<xref linkend="libxslt"/>,
|
|
|
|
<xref linkend="libsoup"/>,
|
2012-09-27 03:37:55 +08:00
|
|
|
<xref linkend="mesalib"/>,
|
|
|
|
<xref linkend="ruby"/>,
|
2012-08-13 01:02:37 +08:00
|
|
|
<xref linkend="sqlite"/> and
|
|
|
|
<xref linkend="which"/>
|
2012-03-28 01:36:31 +08:00
|
|
|
</para>
|
2010-09-10 08:09:38 +08:00
|
|
|
|
2012-08-13 01:02:37 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2012-09-27 03:37:55 +08:00
|
|
|
<xref linkend="geoclue"/> and
|
2012-05-01 20:35:38 +08:00
|
|
|
<xref linkend="gobject-introspection"/>
|
|
|
|
</para>
|
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="curl"/>,
|
|
|
|
<xref linkend="enchant"/>,
|
|
|
|
<xref linkend="gtk-doc"/> and
|
2012-07-25 00:17:44 +08:00
|
|
|
<ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
2012-03-28 01:36:31 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of WebKitGTK+</title>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<warning>
|
|
|
|
<para>
|
|
|
|
If you are building <application>WebKitGTK+</application>
|
|
|
|
with <command>make</command> 3.82, make sure that you have built
|
|
|
|
it with the following
|
|
|
|
<ulink url="&patch-downloads;/make/make-3.82-upstream_fixes-3.patch">
|
|
|
|
patch</ulink> applied or <application>WebKitGTK+</application>
|
|
|
|
build will fail.
|
|
|
|
</para>
|
|
|
|
</warning>
|
2012-04-19 02:16:55 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
|
|
|
cause <command>make install</command> to fail:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
|
|
|
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
2012-09-27 03:37:55 +08:00
|
|
|
Install <application>WebKitGTK+</application> by running the
|
2012-04-25 01:54:36 +08:00
|
|
|
following commands:
|
2012-03-29 19:35:14 +08:00
|
|
|
</para>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib/WebKitGTK \
|
|
|
|
--with-gstreamer=1.0 \
|
2012-08-13 01:02:37 +08:00
|
|
|
--enable-introspection &&
|
2012-09-27 03:37:55 +08:00
|
|
|
make</userinput></screen>
|
2012-03-29 19:35:14 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
This package does not have a working testsuite.
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2012-03-29 19:35:14 +08:00
|
|
|
<para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<option>--enable-introspection</option>: This switch enables support for
|
|
|
|
<application>Gobject Introspection</application> and is required for a
|
|
|
|
<application>GNOME</application> Desktop. Remove if you don't have
|
|
|
|
<application>Gobject Introspection</application> installed or you don't
|
|
|
|
want to install <application>GNOME</application>.
|
2012-03-29 19:35:14 +08:00
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
|
2012-03-29 19:35:14 +08:00
|
|
|
<para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<parameter>--with-gstreamer=1.0</parameter>: This switch forces use of
|
|
|
|
<application>GStreamer</application> 1.0 series which
|
|
|
|
<application>GNOME</application> 3.6 uses. Remove if you don't want
|
|
|
|
to install <application>GStreamer</application> 1.0 or you don't
|
|
|
|
want to install <application>GNOME</application>.
|
2012-03-29 19:35:14 +08:00
|
|
|
</para>
|
|
|
|
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<option>--disable-geolocation</option>: Use this option if you did not
|
|
|
|
install <xref linkend="geoclue"/> or <command>configure</command> will
|
|
|
|
fail.
|
2012-08-13 01:02:37 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These parameters
|
|
|
|
force <application>WebKitGTK+</application> to compile against
|
2012-07-25 00:17:44 +08:00
|
|
|
<application>GTK+ 2</application>, even if
|
|
|
|
<application>GTK+ 3</application> is also installed. With
|
|
|
|
<application>GTK+ 2</application>, everything
|
2012-08-13 01:02:37 +08:00
|
|
|
<application>WebKitGTK+</application> installs is suffixed with 1.0. When it
|
2012-07-25 00:17:44 +08:00
|
|
|
is compiled against <application>GTK+ 3</application> everything it
|
2012-03-28 01:36:31 +08:00
|
|
|
installs is suffixed with 3.0. Both versions can be installed alongside
|
|
|
|
one another with no namespace conflicts.
|
|
|
|
</para>
|
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-08-13 01:02:37 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<seg>
|
2012-08-13 01:02:37 +08:00
|
|
|
jsc-1 or jsc-3
|
2012-03-28 01:36:31 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2012-08-13 01:02:37 +08:00
|
|
|
libjavascriptcoregtk-1.0.so and libwebkit-1.0.so or
|
2012-09-27 03:37:55 +08:00
|
|
|
libjavascriptcoregtk-3.0.so, libwebkit2gtk-3.0.so and
|
|
|
|
libwebkit-3.0.so
|
2012-03-28 01:36:31 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
|
2012-09-27 03:37:55 +08:00
|
|
|
/usr/include/webkit-3.0, /usr/lib/WebKit and
|
|
|
|
/usr/share/webkit-3.0
|
2012-03-28 01:36:31 +08:00
|
|
|
</seg>
|
2010-01-11 16:32:12 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="jsc">
|
2011-12-12 21:12:28 +08:00
|
|
|
<term><command>jsc-1</command> or <command>jsc-3</command></term>
|
2010-01-11 16:32:12 +08:00
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
|
|
|
is a command-line utility that allows you to run JavaScript programs
|
|
|
|
outside of the context of a web browser.
|
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
<indexterm zone="webkitgtk jsc">
|
|
|
|
<primary sortas="b-jsc">jsc</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<varlistentry id="libjavascriptcoregtk-1">
|
2012-08-13 01:02:37 +08:00
|
|
|
<term><filename
|
|
|
|
class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
2010-01-11 16:32:12 +08:00
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
2012-08-13 01:02:37 +08:00
|
|
|
contains core JavaScript API functions used by <command>jsc-1</command>
|
|
|
|
and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
2012-03-28 01:36:31 +08:00
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<indexterm zone="webkitgtk libjavascriptcoregtk-1">
|
|
|
|
<primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
2010-01-11 16:32:12 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<varlistentry id="libwebkitgtk-1">
|
2012-08-13 01:02:37 +08:00
|
|
|
<term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
2011-12-12 21:12:28 +08:00
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
2012-08-13 01:02:37 +08:00
|
|
|
contains the <application>WebKitGTK+</application> API functions for
|
|
|
|
<application>GTK+ 2</application>.
|
2012-03-28 01:36:31 +08:00
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<indexterm zone="webkitgtk libwebkitgtk-1">
|
|
|
|
<primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
2011-12-12 21:12:28 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<varlistentry id="libjavascriptcoregtk-3">
|
2011-12-12 21:12:28 +08:00
|
|
|
<term><filename
|
2012-08-13 01:02:37 +08:00
|
|
|
class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
2011-12-12 21:12:28 +08:00
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
2012-08-13 01:02:37 +08:00
|
|
|
contains core JavaScript API functions used by <command>jsc-3</command>
|
|
|
|
and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
2012-03-28 01:36:31 +08:00
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<indexterm zone="webkitgtk libjavascriptcoregtk-3">
|
|
|
|
<primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
2011-12-12 21:12:28 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<varlistentry id="libwebkitgtk-3">
|
2012-08-13 01:02:37 +08:00
|
|
|
<term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
2011-12-12 21:12:28 +08:00
|
|
|
<listitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para>
|
2012-08-13 01:02:37 +08:00
|
|
|
contains the <application>WebKitGTK+</application> API functions for
|
|
|
|
<application>GTK+ 3</application>.
|
2012-03-28 01:36:31 +08:00
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<indexterm zone="webkitgtk libwebkitgtk-3">
|
|
|
|
<primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
2012-08-13 01:02:37 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<varlistentry id="libwebkit2gtk-3">
|
2012-08-13 01:02:37 +08:00
|
|
|
<term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains the <application>WebKit2</application> API functions.
|
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<indexterm zone="webkitgtk libwebkit2gtk-3">
|
|
|
|
<primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
2011-12-12 21:12:28 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-07-25 00:17:44 +08:00
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
</variablelist>
|
2012-07-25 00:17:44 +08:00
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
</sect2>
|
2012-07-25 00:17:44 +08:00
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
</sect1>
|