[099ebaf] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY webkitgtk-download-http "http://webkitgtk.org/webkit-&webkitgtk-version;.tar.gz">
|
---|
| 8 | <!ENTITY webkitgtk-download-ftp " ">
|
---|
[d57804d] | 9 | <!ENTITY webkitgtk-md5sum "c11743694b1b71dad287b2e7a9e73b05">
|
---|
| 10 | <!ENTITY webkitgtk-size "9.7 MB">
|
---|
| 11 | <!ENTITY webkitgtk-buildsize "500 MB (38 MB installed)">
|
---|
| 12 | <!ENTITY webkitgtk-time "28 SBU">
|
---|
[099ebaf] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
---|
| 16 | <?dbhtml filename="webkitgtk.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>WebKitGTK+-&webkitgtk-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="webkitgtk">
|
---|
| 26 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to WebKitGTK+</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>WebKitGTK+</application> package is the port of the
|
---|
| 33 | portable web rendering engine <application>WebKit</application> to the
|
---|
| 34 | <application>GTK+</application> platform.</para>
|
---|
| 35 |
|
---|
[d57804d] | 36 | &lfs70_checked;
|
---|
[18d8af99] | 37 |
|
---|
[099ebaf] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&webkitgtk-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&webkitgtk-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &webkitgtk-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &webkitgtk-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &webkitgtk-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &webkitgtk-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d57804d] | 63 | <para role="required"><xref linkend="gperf"/>, <xref linkend="libjpeg"/>,
|
---|
| 64 | <xref linkend="libpng"/>, <xref linkend="icu"/>, <xref linkend="libxslt"/>,
|
---|
| 65 | <xref linkend="gtk2"/> or <xref linkend="gtk3"/> (if both are installed
|
---|
| 66 | configure defaults to using gtk+-3), <xref linkend="libsoup"/>,
|
---|
| 67 | <xref linkend="gst-plugins-base"/>, <xref linkend="which"/>
|
---|
| 68 | and <xref linkend="sqlite"/></para>
|
---|
[57aae596] | 69 |
|
---|
[099ebaf] | 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d57804d] | 71 | <para role="optional"><xref linkend="curl"/>, <xref linkend="enchant"/>,
|
---|
| 72 | <ulink
|
---|
| 73 | url="http://www.freedesktop.org/wiki/Software/GeoClue">GeoClue</ulink>,
|
---|
| 74 | <xref linkend="gobject-introspection"/> (required if building
|
---|
| 75 | <application>epiphany</application>), <xref linkend="gtk-doc"/> and
|
---|
| 76 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>.</para>
|
---|
[099ebaf] | 77 |
|
---|
| 78 | <para condition="html" role="usernotes">User Notes:
|
---|
| 79 | <ulink url="&blfs-wiki;/webkitgtk"/></para>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of WebKitGTK+</title>
|
---|
| 85 |
|
---|
[39ed0a6e] | 86 | <para>These instructions assume you are installing
|
---|
| 87 | <application>WebKitGTK+</application> to support a
|
---|
| 88 | <application>GNOME</application> desktop - if not, please review the
|
---|
| 89 | explanations for the various optional parameters.</para>
|
---|
| 90 |
|
---|
[d57804d] | 91 | <para>Install <application>WebKitGTK+</application> by running the
|
---|
| 92 | following commands:</para>
|
---|
[099ebaf] | 93 |
|
---|
[39ed0a6e] | 94 | <screen><userinput>./configure --prefix=/usr --with-gtk=3.0 \
|
---|
| 95 | --enable-introspection &&
|
---|
[099ebaf] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[7d564a1] | 98 | <para>To test the results, issue: <command>make check</command> (you must be
|
---|
| 99 | in an xterm or similar to do this, because it launches some windows).</para>
|
---|
[099ebaf] | 100 |
|
---|
[d57804d] | 101 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 102 | user:</para>
|
---|
[099ebaf] | 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[39ed0a6e] | 111 | <para><parameter>--with-gtk=3.0</parameter>: This switch forces
|
---|
| 112 | <application>Webkit</application> to compile against
|
---|
| 113 | <application>Gtk+-3</application> and is required for a
|
---|
| 114 | <application>GNOME</application> desktop.</para>
|
---|
| 115 |
|
---|
[d57804d] | 116 | <para><option>--with-gtk=2.0</option>: This option forces
|
---|
| 117 | <application>Webkit</application> to compile against
|
---|
| 118 | <application>Gtk+-2</application>, even if
|
---|
| 119 | <application>Gtk+-3</application> is also installed. With
|
---|
| 120 | <application>Gtk+-2</application>, everything
|
---|
| 121 | <application>Webkit</application> installs is suffixed with 1.0. When it is
|
---|
| 122 | compiled against <application>Gtk+-3</application> everything it installs
|
---|
| 123 | is suffixed with 3.0. Both versions can be installed alongside one another
|
---|
| 124 | with no namespace conflicts.</para>
|
---|
| 125 |
|
---|
[57aae596] | 126 | <para><option>--enable-introspection</option>: This option enables support
|
---|
[39ed0a6e] | 127 | for gobject-introspection and is required for a
|
---|
[7377d74] | 128 | <application>GNOME</application> desktop.</para>
|
---|
[57aae596] | 129 |
|
---|
[e05cd03f] | 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[099ebaf] | 131 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2 role="content">
|
---|
| 136 | <title>Contents</title>
|
---|
| 137 |
|
---|
| 138 | <segmentedlist>
|
---|
| 139 | <segtitle>Installed Program</segtitle>
|
---|
| 140 | <segtitle>Installed Library</segtitle>
|
---|
| 141 | <segtitle>Installed Directories</segtitle>
|
---|
| 142 |
|
---|
| 143 | <seglistitem>
|
---|
[d57804d] | 144 | <seg>jsc-1 or jsc-3 (depending on whether you installed the gtk+-2 or
|
---|
| 145 | gtk+-3 version of webkit)</seg>
|
---|
| 146 | <seg>libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or
|
---|
| 147 | libwebkit-3.0.so and libjavascriptcoregtk-3.0.so (depending on whether
|
---|
| 148 | you installed the gtk+-2 or gtk+-3 version of webkit)</seg>
|
---|
| 149 | <seg>/usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
|
---|
| 150 | /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on whether
|
---|
| 151 | you installed the gtk+-2 or gtk+-3 version of webkit)</seg>
|
---|
[099ebaf] | 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
| 154 |
|
---|
| 155 | <variablelist>
|
---|
| 156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 157 | <?dbfo list-presentation="list"?>
|
---|
| 158 | <?dbhtml list-presentation="table"?>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="jsc">
|
---|
[d57804d] | 161 | <term><command>jsc-1</command> or <command>jsc-3</command></term>
|
---|
[099ebaf] | 162 | <listitem>
|
---|
| 163 | <para>is a command-line utility that allows you to run JavaScript
|
---|
| 164 | programs outside of the context of a web browser.</para>
|
---|
| 165 | <indexterm zone="webkitgtk jsc">
|
---|
| 166 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="libwebkit-1.0">
|
---|
[d57804d] | 172 | <term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
|
---|
[099ebaf] | 173 | <listitem>
|
---|
| 174 | <para>contains the <application>WebKitGTK+</application> API
|
---|
[d57804d] | 175 | functions for <application>gtk+-2</application>.</para>
|
---|
[099ebaf] | 176 | <indexterm zone="webkitgtk libwebkit-1.0">
|
---|
| 177 | <primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
[d57804d] | 182 | <varlistentry id="libwebkit-3.0">
|
---|
| 183 | <term><filename class="libraryfile">libwebkit-3.0.so</filename></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>contains the <application>WebKitGTK+</application> API
|
---|
| 186 | functions for <application>gtk+-3</application>.</para>
|
---|
| 187 | <indexterm zone="webkitgtk libwebkit-3.0">
|
---|
| 188 | <primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="libjavascriptcoregtk-1.0">
|
---|
| 194 | <term><filename
|
---|
| 195 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>contains functions that are used by
|
---|
| 198 | <command>jsc-1</command></para>
|
---|
| 199 | <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
|
---|
| 200 | <primary
|
---|
| 201 | sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
| 206 | <varlistentry id="libjavascriptcoregtk-3.0">
|
---|
| 207 | <term><filename
|
---|
| 208 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>contains functions that are used by
|
---|
| 211 | <command>jsc-3</command></para>
|
---|
| 212 | <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
|
---|
| 213 | <primary
|
---|
| 214 | sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
[099ebaf] | 218 | </variablelist>
|
---|
| 219 |
|
---|
| 220 | </sect2>
|
---|
| 221 |
|
---|
| 222 | </sect1>
|
---|