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;
|
|
|
|
|
|
|
|
<!ENTITY webkitgtk-download-http "http://webkitgtk.org/webkit-&webkitgtk-version;.tar.gz">
|
|
|
|
<!ENTITY webkitgtk-download-ftp " ">
|
2011-12-12 21:12:28 +08:00
|
|
|
<!ENTITY webkitgtk-md5sum "c11743694b1b71dad287b2e7a9e73b05">
|
|
|
|
<!ENTITY webkitgtk-size "9.7 MB">
|
|
|
|
<!ENTITY webkitgtk-buildsize "500 MB (38 MB installed)">
|
|
|
|
<!ENTITY webkitgtk-time "28 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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2012-03-05 23:41:10 +08:00
|
|
|
&lfs71_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>
|
|
|
|
<para>Download (HTTP): <ulink url="&webkitgtk-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&webkitgtk-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &webkitgtk-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &webkitgtk-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &webkitgtk-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &webkitgtk-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2012-03-28 01:13:46 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required patch if you're using <application>GCC-4.7</application>:
|
|
|
|
<ulink url="&patch-root;/webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
<bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2011-12-12 21:12:28 +08:00
|
|
|
<para role="required"><xref linkend="gperf"/>, <xref linkend="libjpeg"/>,
|
|
|
|
<xref linkend="libpng"/>, <xref linkend="icu"/>, <xref linkend="libxslt"/>,
|
|
|
|
<xref linkend="gtk2"/> or <xref linkend="gtk3"/> (if both are installed
|
|
|
|
configure defaults to using gtk+-3), <xref linkend="libsoup"/>,
|
|
|
|
<xref linkend="gst-plugins-base"/>, <xref linkend="which"/>
|
|
|
|
and <xref linkend="sqlite"/></para>
|
2010-09-10 08:09:38 +08:00
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2011-12-12 21:12:28 +08:00
|
|
|
<para role="optional"><xref linkend="curl"/>, <xref linkend="enchant"/>,
|
|
|
|
<ulink
|
|
|
|
url="http://www.freedesktop.org/wiki/Software/GeoClue">GeoClue</ulink>,
|
|
|
|
<xref linkend="gobject-introspection"/> (required if building
|
|
|
|
<application>epiphany</application>), <xref linkend="gtk-doc"/> and
|
|
|
|
<ulink url="http://xsltml.sourceforge.net/">MathML</ulink>.</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/webkitgtk"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of WebKitGTK+</title>
|
|
|
|
|
2012-02-10 01:46:20 +08:00
|
|
|
<para>These instructions assume you are installing
|
|
|
|
<application>WebKitGTK+</application> to support a
|
|
|
|
<application>GNOME</application> desktop - if not, please review the
|
|
|
|
explanations for the various optional parameters.</para>
|
|
|
|
|
2011-12-12 21:12:28 +08:00
|
|
|
<para>Install <application>WebKitGTK+</application> by running the
|
|
|
|
following commands:</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
|
2012-03-28 01:13:46 +08:00
|
|
|
<screen><userinput>patch -p1 < ../webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch &&
|
|
|
|
./configure --prefix=/usr --with-gtk=3.0 \
|
2012-02-10 01:46:20 +08:00
|
|
|
--enable-introspection &&
|
2010-01-11 16:32:12 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2010-10-24 01:28:28 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command> (you must be
|
|
|
|
in an xterm or similar to do this, because it launches some windows).</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
|
2011-12-12 21:12:28 +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-02-10 01:46:20 +08:00
|
|
|
<para><parameter>--with-gtk=3.0</parameter>: This switch forces
|
|
|
|
<application>Webkit</application> to compile against
|
|
|
|
<application>Gtk+-3</application> and is required for a
|
|
|
|
<application>GNOME</application> desktop.</para>
|
|
|
|
|
2011-12-12 21:12:28 +08:00
|
|
|
<para><option>--with-gtk=2.0</option>: This option forces
|
|
|
|
<application>Webkit</application> to compile against
|
|
|
|
<application>Gtk+-2</application>, even if
|
|
|
|
<application>Gtk+-3</application> is also installed. With
|
|
|
|
<application>Gtk+-2</application>, everything
|
|
|
|
<application>Webkit</application> installs is suffixed with 1.0. When it is
|
|
|
|
compiled against <application>Gtk+-3</application> everything it installs
|
|
|
|
is suffixed with 3.0. Both versions can be installed alongside one another
|
|
|
|
with no namespace conflicts.</para>
|
|
|
|
|
2010-09-10 08:09:38 +08:00
|
|
|
<para><option>--enable-introspection</option>: This option enables support
|
2012-02-10 01:46:20 +08:00
|
|
|
for gobject-introspection and is required for a
|
2012-02-27 02:13:56 +08:00
|
|
|
<application>GNOME</application> desktop.</para>
|
2010-09-10 08:09:38 +08:00
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2010-01-11 16:32:12 +08:00
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2011-12-12 21:12:28 +08:00
|
|
|
<seg>jsc-1 or jsc-3 (depending on whether you installed the gtk+-2 or
|
|
|
|
gtk+-3 version of webkit)</seg>
|
|
|
|
<seg>libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or
|
|
|
|
libwebkit-3.0.so and libjavascriptcoregtk-3.0.so (depending on whether
|
|
|
|
you installed the gtk+-2 or gtk+-3 version of webkit)</seg>
|
|
|
|
<seg>/usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
|
|
|
|
/usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on whether
|
|
|
|
you installed the gtk+-2 or gtk+-3 version of webkit)</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>
|
|
|
|
<para>is a command-line utility that allows you to run JavaScript
|
|
|
|
programs outside of the context of a web browser.</para>
|
|
|
|
<indexterm zone="webkitgtk jsc">
|
|
|
|
<primary sortas="b-jsc">jsc</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libwebkit-1.0">
|
2011-12-12 21:12:28 +08:00
|
|
|
<term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
|
2010-01-11 16:32:12 +08:00
|
|
|
<listitem>
|
|
|
|
<para>contains the <application>WebKitGTK+</application> API
|
2011-12-12 21:12:28 +08:00
|
|
|
functions for <application>gtk+-2</application>.</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
<indexterm zone="webkitgtk libwebkit-1.0">
|
|
|
|
<primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2011-12-12 21:12:28 +08:00
|
|
|
<varlistentry id="libwebkit-3.0">
|
|
|
|
<term><filename class="libraryfile">libwebkit-3.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>contains the <application>WebKitGTK+</application> API
|
|
|
|
functions for <application>gtk+-3</application>.</para>
|
|
|
|
<indexterm zone="webkitgtk libwebkit-3.0">
|
|
|
|
<primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libjavascriptcoregtk-1.0">
|
|
|
|
<term><filename
|
|
|
|
class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>contains functions that are used by
|
|
|
|
<command>jsc-1</command></para>
|
|
|
|
<indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
|
|
|
|
<primary
|
|
|
|
sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libjavascriptcoregtk-3.0">
|
|
|
|
<term><filename
|
|
|
|
class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>contains functions that are used by
|
|
|
|
<command>jsc-3</command></para>
|
|
|
|
<indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
|
|
|
|
<primary
|
|
|
|
sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2010-01-11 16:32:12 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|