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-12-18 06:55:03 +08:00
|
|
|
<!ENTITY webkitgtk-md5sum "7b1a652af1eb11bee5bf7209e9ff67e6">
|
|
|
|
<!ENTITY webkitgtk-size "8.3 MB">
|
2013-06-06 23:31:50 +08:00
|
|
|
<!ENTITY webkitgtk-buildsize "650 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>
|
|
|
|
<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>
|
2013-06-06 23:31:50 +08:00
|
|
|
The <application>WebKitGTK+</application> is the port of the portable
|
|
|
|
web rendering engine <application>WebKit</application> to the
|
|
|
|
<application>GTK+ 2</application> platform.
|
2012-03-28 01:36:31 +08:00
|
|
|
</para>
|
2010-01-11 16:32:12 +08:00
|
|
|
|
2014-02-21 02:20:46 +08:00
|
|
|
&lfs75_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>
|
|
|
|
|
2013-04-04 04:21:38 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required patch:
|
|
|
|
<ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-fix_librt_linking-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2010-01-11 16:32:12 +08:00
|
|
|
<bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-03-28 01:36:31 +08:00
|
|
|
<para role="required">
|
2012-08-13 01:02:37 +08:00
|
|
|
<xref linkend="gst-plugins-base"/>,
|
2012-09-27 03:37:55 +08:00
|
|
|
<xref linkend="gtk2"/>,
|
2012-03-28 01:36:31 +08:00
|
|
|
<xref linkend="icu"/>,
|
|
|
|
<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">
|
2014-03-02 19:28:39 +08:00
|
|
|
<xref linkend="enchant"/>,
|
|
|
|
<xref linkend="geoclue"/> and
|
|
|
|
<xref linkend="hicolor-icon-theme"/>
|
2012-05-01 20:35:38 +08:00
|
|
|
</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"/>,
|
2013-06-06 23:31:50 +08:00
|
|
|
<xref linkend="gobject-introspection"/>,
|
2012-03-28 01:36:31 +08:00
|
|
|
<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-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>
|
|
|
|
|
2013-09-05 21:19:00 +08:00
|
|
|
<screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
2012-04-19 02:16:55 +08:00
|
|
|
|
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>
|
|
|
|
|
2013-09-05 21:19:00 +08:00
|
|
|
<screen><userinput>sed -i '/parse-param/ a%lex-param {YYLEX_PARAM}' \
|
2014-05-17 05:52:06 +08:00
|
|
|
Source/ThirdParty/ANGLE/src/compiler/glslang.y &&
|
|
|
|
patch -Np1 -i ../webkitgtk-&webkitgtk-version;-fix_librt_linking-1.patch &&
|
|
|
|
./configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &&
|
2012-09-27 03:37:55 +08:00
|
|
|
make</userinput></screen>
|
2012-03-29 19:35:14 +08:00
|
|
|
|
|
|
|
<para>
|
2013-11-22 23:51:22 +08:00
|
|
|
This package does not have a working testsuite. However, there is a
|
|
|
|
useable basic graphical web browser in the source directory,
|
|
|
|
<application>Programs/GtkLauncher</application>. If it fails, there is a
|
|
|
|
problem with the build.
|
2012-03-29 19:35:14 +08:00
|
|
|
</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
|
|
|
|
2014-03-04 21:30:09 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
rm -rf /usr/share/gtk-doc/html/webkitgtk-1.0 &&
|
|
|
|
mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}</userinput></screen>
|
2010-01-11 16:32:12 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2014-03-04 21:30:09 +08:00
|
|
|
<para>
|
|
|
|
<command>mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}</command>:
|
|
|
|
There is a conflict with the directory installed with same name by
|
|
|
|
<xref linkend="webkitgtk2"/>.
|
|
|
|
</para>
|
|
|
|
|
2013-08-25 19:52:57 +08:00
|
|
|
<para>
|
|
|
|
<command>sed ... Source/ThirdParty/ANGLE/src/compiler/glslang.y</command>:
|
|
|
|
This command corrects a problem caused by the most recent version of
|
|
|
|
Bison.
|
|
|
|
</para>
|
|
|
|
|
2012-03-29 19:35:14 +08:00
|
|
|
<para>
|
2013-06-06 23:31:50 +08:00
|
|
|
<parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These parameters
|
|
|
|
force <application>WebKitGTK+</application> to compile against
|
|
|
|
<application>GTK+ 2</application>, even if
|
|
|
|
<application>GTK+ 3</application> is also installed.
|
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>
|
|
|
|
|
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>
|
2013-06-06 23:31:50 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2010-01-11 16:32:12 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-03-28 01:36:31 +08:00
|
|
|
<seg>
|
2013-06-06 23:31:50 +08:00
|
|
|
jsc-1
|
2012-03-28 01:36:31 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-03-04 21:30:09 +08:00
|
|
|
libjavascriptcoregtk-1.0.so and libwebkitgtk-1.0.so
|
2012-03-28 01:36:31 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-03-04 21:30:09 +08:00
|
|
|
/usr/include/webkit-1.0,
|
|
|
|
/usr/share/gtk-doc/html/webkitgtk-1.0 and
|
2014-02-21 05:24:55 +08:00
|
|
|
/usr/share/webkit-1.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"?>
|
|
|
|
|
2013-06-06 23:31:50 +08:00
|
|
|
<varlistentry id="jsc-1">
|
|
|
|
<term><command>jsc-1</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>
|
2013-06-06 23:31:50 +08:00
|
|
|
<indexterm zone="webkitgtk jsc-1">
|
|
|
|
<primary sortas="b-jsc-1">jsc-1</primary>
|
2010-01-11 16:32:12 +08:00
|
|
|
</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>
|
|
|
|
|
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>
|