2013-06-06 23:31:50 +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;
|
|
|
|
|
2013-06-11 04:44:07 +08:00
|
|
|
<!ENTITY webkitgtk2-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk2-version;.tar.xz">
|
2013-06-06 23:31:50 +08:00
|
|
|
<!ENTITY webkitgtk2-download-ftp " ">
|
2013-10-01 01:18:59 +08:00
|
|
|
<!ENTITY webkitgtk2-md5sum "9c337812667c4885ebe29a54084dcd4c">
|
|
|
|
<!ENTITY webkitgtk2-size "9.0 MB">
|
|
|
|
<!ENTITY webkitgtk2-buildsize "784 MB">
|
|
|
|
<!ENTITY webkitgtk2-time "42 SBU">
|
2013-06-06 23:31:50 +08:00
|
|
|
]>
|
|
|
|
|
2013-08-21 01:47:38 +08:00
|
|
|
<sect1 id="webkitgtk2" xreflabel="WebKitGTK+-&webkitgtk2-version;">
|
2013-06-06 23:31:50 +08:00
|
|
|
<?dbhtml filename="webkitgtk2.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>WebKitGTK+-&webkitgtk2-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="webkitgtk2">
|
|
|
|
<primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to WebKitGTK+</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>WebKitGTK+</application> is the port of the portable
|
|
|
|
web rendering engine <application>WebKit</application> to the
|
|
|
|
<application>GTK+ 3</application> platform.
|
|
|
|
</para>
|
|
|
|
|
2013-09-03 23:50:35 +08:00
|
|
|
&lfs74_checked;
|
2013-06-06 23:31:50 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&webkitgtk2-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&webkitgtk2-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &webkitgtk2-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &webkitgtk2-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &webkitgtk2-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &webkitgtk2-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="gperf"/>,
|
|
|
|
<xref linkend="gst10-plugins-base"/>,
|
|
|
|
<xref linkend="gtk3"/>,
|
|
|
|
<xref linkend="icu"/>,
|
|
|
|
<xref linkend="libsecret"/>,
|
|
|
|
<xref linkend="libsoup"/>,
|
|
|
|
<xref linkend="libwebp"/>,
|
|
|
|
<xref linkend="mesalib"/>,
|
|
|
|
<xref linkend="ruby"/>,
|
|
|
|
<xref linkend="sqlite"/>,
|
2013-10-01 01:18:59 +08:00
|
|
|
<xref linkend="udev-extras"/> (for GUdev), and
|
2013-06-06 23:31:50 +08:00
|
|
|
<xref linkend="which"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="enchant"/>,
|
2013-10-01 01:18:59 +08:00
|
|
|
<xref linkend="geoclue"/>, and
|
2013-06-06 23:31:50 +08:00
|
|
|
<xref linkend="gobject-introspection"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>
|
2013-10-01 01:18:59 +08:00
|
|
|
build may fail.
|
2013-06-06 23:31:50 +08:00
|
|
|
</para>
|
|
|
|
</warning>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>WebKitGTK+</application> by running the
|
|
|
|
following commands:
|
|
|
|
</para>
|
|
|
|
|
2013-10-01 01:18:59 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
2013-06-06 23:31:50 +08:00
|
|
|
--libexecdir=/usr/lib/webkitgtk3 \
|
|
|
|
--enable-introspection &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This package does not have a working testsuite.
|
|
|
|
</para>
|
|
|
|
|
2013-09-03 23:50:35 +08:00
|
|
|
<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
|
2013-09-04 03:08:19 +08:00
|
|
|
root, use the -E option to pass your current environment variables for the
|
2013-09-03 23:50:35 +08:00
|
|
|
install process.
|
|
|
|
</para></note>
|
|
|
|
|
2013-06-06 23:31:50 +08:00
|
|
|
<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>
|
|
|
|
|
2013-09-03 23:50:35 +08:00
|
|
|
<para>
|
|
|
|
<command>sed ... glslang.y</command>: This command fixes a problem
|
|
|
|
when using bison-3.0 or later.
|
|
|
|
</para>
|
|
|
|
|
2013-06-06 23:31:50 +08:00
|
|
|
<para>
|
|
|
|
<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>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<option>--disable-geolocation</option>: Use this option if you did not
|
|
|
|
install <xref linkend="geoclue"/> or <command>configure</command> will
|
|
|
|
fail.
|
|
|
|
</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 Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
jsc-3
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2013-10-01 01:18:59 +08:00
|
|
|
libjavascriptcoregtk-3.0.so,
|
|
|
|
libwebkit2gtk-3.0.so, and
|
|
|
|
libwebkitgtk-3.0.so
|
2013-06-06 23:31:50 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2013-10-01 01:18:59 +08:00
|
|
|
/usr/include/webkitgtk-3.0,
|
|
|
|
/usr/lib/webkitgtk3, and
|
|
|
|
/usr/share/webkitgtk-3.0
|
2013-06-06 23:31:50 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="jsc-3">
|
|
|
|
<term><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="webkitgtk2 jsc-3">
|
|
|
|
<primary sortas="b-jsc-3">jsc-3</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libjavascriptcoregtk-3">
|
|
|
|
<term><filename
|
|
|
|
class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains core JavaScript API functions used by <command>jsc-3</command>
|
|
|
|
and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="webkitgtk libjavascriptcoregtk-3">
|
|
|
|
<primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libwebkitgtk-3">
|
|
|
|
<term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains the <application>WebKitGTK+</application> API functions for
|
|
|
|
<application>GTK+ 3</application>.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="webkitgtk libwebkitgtk-3">
|
|
|
|
<primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libwebkit2gtk-3">
|
|
|
|
<term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains the <application>WebKit2</application> API functions.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="webkitgtk libwebkit2gtk-3">
|
|
|
|
<primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|