glfs/x/lib/webkitgtk.xml

234 lines
8.7 KiB
XML
Raw Normal View History

<?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 " ">
<!ENTITY webkitgtk-md5sum "c11743694b1b71dad287b2e7a9e73b05">
<!ENTITY webkitgtk-size "9.7 MB">
<!ENTITY webkitgtk-buildsize "500 MB (38 MB installed)">
<!ENTITY webkitgtk-time "28 SBU">
]>
<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>
&lfs71_checked;
<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>
<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>
<bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<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>
<bridgehead renderas="sect4">Optional</bridgehead>
<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>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/webkitgtk"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of WebKitGTK+</title>
<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>
<para>Install <application>WebKitGTK+</application> by running the
following commands:</para>
<screen><userinput>patch -p1 &lt; ../webkitgtk-&webkitgtk-version;_gcc-4.7-1.patch &amp;&amp;
./configure --prefix=/usr --with-gtk=3.0 \
--enable-introspection &amp;&amp;
make</userinput></screen>
<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>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<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>
<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>
<para><option>--enable-introspection</option>: This option enables support
for gobject-introspection and is required for a
<application>GNOME</application> desktop.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
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>
<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>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="jsc">
<term><command>jsc-1</command> or <command>jsc-3</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>
<indexterm zone="webkitgtk jsc">
<primary sortas="b-jsc">jsc</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libwebkit-1.0">
<term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
<listitem>
<para>contains the <application>WebKitGTK+</application> API
functions for <application>gtk+-2</application>.</para>
<indexterm zone="webkitgtk libwebkit-1.0">
<primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
</indexterm>
</listitem>
</varlistentry>
<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>
</variablelist>
</sect2>
</sect1>