[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 |
|
---|
[d57804d] | 86 | <para>Install <application>WebKitGTK+</application> by running the
|
---|
| 87 | following commands:</para>
|
---|
[099ebaf] | 88 |
|
---|
[d57804d] | 89 | <screen><userinput>./configure --prefix=/usr --with-gtk=2.0 &&
|
---|
[099ebaf] | 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
[7d564a1] | 92 | <para>To test the results, issue: <command>make check</command> (you must be
|
---|
| 93 | in an xterm or similar to do this, because it launches some windows).</para>
|
---|
[099ebaf] | 94 |
|
---|
[d57804d] | 95 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 96 | user:</para>
|
---|
[099ebaf] | 97 |
|
---|
| 98 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="commands">
|
---|
| 103 | <title>Command Explanations</title>
|
---|
| 104 |
|
---|
[d57804d] | 105 | <para><option>--with-gtk=2.0</option>: This option forces
|
---|
| 106 | <application>Webkit</application> to compile against
|
---|
| 107 | <application>Gtk+-2</application>, even if
|
---|
| 108 | <application>Gtk+-3</application> is also installed. With
|
---|
| 109 | <application>Gtk+-2</application>, everything
|
---|
| 110 | <application>Webkit</application> installs is suffixed with 1.0. When it is
|
---|
| 111 | compiled against <application>Gtk+-3</application> everything it installs
|
---|
| 112 | is suffixed with 3.0. Both versions can be installed alongside one another
|
---|
| 113 | with no namespace conflicts.</para>
|
---|
| 114 |
|
---|
[57aae596] | 115 | <para><option>--enable-introspection</option>: This option enables support
|
---|
| 116 | for gobject-introspection.</para>
|
---|
| 117 |
|
---|
[e05cd03f] | 118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[099ebaf] | 119 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="content">
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <segmentedlist>
|
---|
| 127 | <segtitle>Installed Program</segtitle>
|
---|
| 128 | <segtitle>Installed Library</segtitle>
|
---|
| 129 | <segtitle>Installed Directories</segtitle>
|
---|
| 130 |
|
---|
| 131 | <seglistitem>
|
---|
[d57804d] | 132 | <seg>jsc-1 or jsc-3 (depending on whether you installed the gtk+-2 or
|
---|
| 133 | gtk+-3 version of webkit)</seg>
|
---|
| 134 | <seg>libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or
|
---|
| 135 | libwebkit-3.0.so and libjavascriptcoregtk-3.0.so (depending on whether
|
---|
| 136 | you installed the gtk+-2 or gtk+-3 version of webkit)</seg>
|
---|
| 137 | <seg>/usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
|
---|
| 138 | /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on whether
|
---|
| 139 | you installed the gtk+-2 or gtk+-3 version of webkit)</seg>
|
---|
[099ebaf] | 140 | </seglistitem>
|
---|
| 141 | </segmentedlist>
|
---|
| 142 |
|
---|
| 143 | <variablelist>
|
---|
| 144 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 145 | <?dbfo list-presentation="list"?>
|
---|
| 146 | <?dbhtml list-presentation="table"?>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="jsc">
|
---|
[d57804d] | 149 | <term><command>jsc-1</command> or <command>jsc-3</command></term>
|
---|
[099ebaf] | 150 | <listitem>
|
---|
| 151 | <para>is a command-line utility that allows you to run JavaScript
|
---|
| 152 | programs outside of the context of a web browser.</para>
|
---|
| 153 | <indexterm zone="webkitgtk jsc">
|
---|
| 154 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libwebkit-1.0">
|
---|
[d57804d] | 160 | <term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
|
---|
[099ebaf] | 161 | <listitem>
|
---|
| 162 | <para>contains the <application>WebKitGTK+</application> API
|
---|
[d57804d] | 163 | functions for <application>gtk+-2</application>.</para>
|
---|
[099ebaf] | 164 | <indexterm zone="webkitgtk libwebkit-1.0">
|
---|
| 165 | <primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
[d57804d] | 170 | <varlistentry id="libwebkit-3.0">
|
---|
| 171 | <term><filename class="libraryfile">libwebkit-3.0.so</filename></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>contains the <application>WebKitGTK+</application> API
|
---|
| 174 | functions for <application>gtk+-3</application>.</para>
|
---|
| 175 | <indexterm zone="webkitgtk libwebkit-3.0">
|
---|
| 176 | <primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="libjavascriptcoregtk-1.0">
|
---|
| 182 | <term><filename
|
---|
| 183 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>contains functions that are used by
|
---|
| 186 | <command>jsc-1</command></para>
|
---|
| 187 | <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
|
---|
| 188 | <primary
|
---|
| 189 | sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="libjavascriptcoregtk-3.0">
|
---|
| 195 | <term><filename
|
---|
| 196 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>contains functions that are used by
|
---|
| 199 | <command>jsc-3</command></para>
|
---|
| 200 | <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
|
---|
| 201 | <primary
|
---|
| 202 | sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
[099ebaf] | 206 | </variablelist>
|
---|
| 207 |
|
---|
| 208 | </sect2>
|
---|
| 209 |
|
---|
| 210 | </sect1>
|
---|