[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 |
|
---|
[d356833] | 7 | <!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
|
---|
[099ebaf] | 8 | <!ENTITY webkitgtk-download-ftp " ">
|
---|
[d356833] | 9 | <!ENTITY webkitgtk-md5sum "6da450ec7793c0a7873d8c8c2cae4eb8">
|
---|
| 10 | <!ENTITY webkitgtk-size "8.2 MB">
|
---|
| 11 | <!ENTITY webkitgtk-buildsize "800 MB">
|
---|
| 12 | <!ENTITY webkitgtk-time "40 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 |
|
---|
[4f1a8e5] | 32 | <para>
|
---|
| 33 | The <application>WebKitGTK+</application> package is the port of the
|
---|
| 34 | portable web rendering engine <application>WebKit</application> to the
|
---|
| 35 | <application>GTK+</application> platform.
|
---|
| 36 | </para>
|
---|
[099ebaf] | 37 |
|
---|
[8057fc4] | 38 | &lfs72_checked;
|
---|
[18d8af99] | 39 |
|
---|
[099ebaf] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[4f1a8e5] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
| 45 | </para>
|
---|
[099ebaf] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[4f1a8e5] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[099ebaf] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[4f1a8e5] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
| 55 | </para>
|
---|
[099ebaf] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[4f1a8e5] | 58 | <para>
|
---|
| 59 | Download size: &webkitgtk-size;
|
---|
| 60 | </para>
|
---|
[099ebaf] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[4f1a8e5] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
| 65 | </para>
|
---|
[099ebaf] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[4f1a8e5] | 68 | <para>
|
---|
| 69 | Estimated build time: &webkitgtk-time;
|
---|
| 70 | </para>
|
---|
[099ebaf] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4f1a8e5] | 77 | <para role="required">
|
---|
| 78 | <xref linkend="gperf"/>,
|
---|
[d356833] | 79 | <xref linkend="gst10-plugins-base"/> or
|
---|
[45ada554] | 80 | <xref linkend="gst-plugins-base"/>,
|
---|
[d356833] | 81 | <xref linkend="gtk3"/> or
|
---|
| 82 | <xref linkend="gtk2"/>,
|
---|
[4f1a8e5] | 83 | <xref linkend="icu"/>,
|
---|
| 84 | <xref linkend="libxslt"/>,
|
---|
| 85 | <xref linkend="libsoup"/>,
|
---|
[d356833] | 86 | <xref linkend="mesalib"/>,
|
---|
| 87 | <xref linkend="ruby"/>,
|
---|
[45ada554] | 88 | <xref linkend="sqlite"/> and
|
---|
| 89 | <xref linkend="which"/>
|
---|
[4f1a8e5] | 90 | </para>
|
---|
[57aae596] | 91 |
|
---|
[45ada554] | 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 93 | <para role="recommended">
|
---|
[d356833] | 94 | <xref linkend="geoclue"/> and
|
---|
[4c2be438] | 95 | <xref linkend="gobject-introspection"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
[099ebaf] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4f1a8e5] | 99 | <para role="optional">
|
---|
| 100 | <xref linkend="curl"/>,
|
---|
| 101 | <xref linkend="enchant"/>,
|
---|
| 102 | <xref linkend="gtk-doc"/> and
|
---|
[a2912ff] | 103 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
[4f1a8e5] | 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <para condition="html" role="usernotes">
|
---|
| 107 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 108 | </para>
|
---|
[099ebaf] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
| 112 | <title>Installation of WebKitGTK+</title>
|
---|
| 113 |
|
---|
[d356833] | 114 | <warning>
|
---|
| 115 | <para>
|
---|
| 116 | If you are building <application>WebKitGTK+</application>
|
---|
| 117 | with <command>make</command> 3.82, make sure that you have built
|
---|
| 118 | it with the following
|
---|
| 119 | <ulink url="&patch-downloads;/make/make-3.82-upstream_fixes-3.patch">
|
---|
| 120 | patch</ulink> applied or <application>WebKitGTK+</application>
|
---|
| 121 | build will fail.
|
---|
| 122 | </para>
|
---|
| 123 | </warning>
|
---|
[eedd7058] | 124 |
|
---|
| 125 | <para>
|
---|
| 126 | If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
---|
| 127 | cause <command>make install</command> to fail:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
| 131 |
|
---|
[4f1a8e5] | 132 | <para>
|
---|
[d356833] | 133 | Install <application>WebKitGTK+</application> by running the
|
---|
[50f6ac1] | 134 | following commands:
|
---|
[4ac4aea] | 135 | </para>
|
---|
| 136 |
|
---|
[d356833] | 137 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 138 | --libexecdir=/usr/lib/WebKitGTK \
|
---|
| 139 | --with-gstreamer=1.0 \
|
---|
[45ada554] | 140 | --enable-introspection &&
|
---|
[d356833] | 141 | make</userinput></screen>
|
---|
[4ac4aea] | 142 |
|
---|
| 143 | <para>
|
---|
| 144 | This package does not have a working testsuite.
|
---|
| 145 | </para>
|
---|
[099ebaf] | 146 |
|
---|
[4f1a8e5] | 147 | <para>
|
---|
| 148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[099ebaf] | 150 |
|
---|
| 151 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="commands">
|
---|
| 155 | <title>Command Explanations</title>
|
---|
| 156 |
|
---|
[4ac4aea] | 157 | <para>
|
---|
[d356833] | 158 | <option>--enable-introspection</option>: This switch enables support for
|
---|
| 159 | <application>Gobject Introspection</application> and is required for a
|
---|
| 160 | <application>GNOME</application> Desktop. Remove if you don't have
|
---|
| 161 | <application>Gobject Introspection</application> installed or you don't
|
---|
| 162 | want to install <application>GNOME</application>.
|
---|
[4ac4aea] | 163 | </para>
|
---|
[d356833] | 164 |
|
---|
[4ac4aea] | 165 | <para>
|
---|
[d356833] | 166 | <parameter>--with-gstreamer=1.0</parameter>: This switch forces use of
|
---|
| 167 | <application>GStreamer</application> 1.0 series which
|
---|
| 168 | <application>GNOME</application> 3.6 uses. Remove if you don't want
|
---|
| 169 | to install <application>GStreamer</application> 1.0 or you don't
|
---|
| 170 | want to install <application>GNOME</application>.
|
---|
[4ac4aea] | 171 | </para>
|
---|
| 172 |
|
---|
[4f1a8e5] | 173 | <para>
|
---|
[d356833] | 174 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
| 175 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
| 176 | fail.
|
---|
[45ada554] | 177 | </para>
|
---|
| 178 |
|
---|
| 179 | <para>
|
---|
[d356833] | 180 | <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These parameters
|
---|
| 181 | force <application>WebKitGTK+</application> to compile against
|
---|
[a2912ff] | 182 | <application>GTK+ 2</application>, even if
|
---|
| 183 | <application>GTK+ 3</application> is also installed. With
|
---|
| 184 | <application>GTK+ 2</application>, everything
|
---|
[45ada554] | 185 | <application>WebKitGTK+</application> installs is suffixed with 1.0. When it
|
---|
[a2912ff] | 186 | is compiled against <application>GTK+ 3</application> everything it
|
---|
[4f1a8e5] | 187 | installs is suffixed with 3.0. Both versions can be installed alongside
|
---|
| 188 | one another with no namespace conflicts.
|
---|
| 189 | </para>
|
---|
| 190 |
|
---|
[e05cd03f] | 191 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[45ada554] | 192 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 193 |
|
---|
[099ebaf] | 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | <sect2 role="content">
|
---|
| 197 | <title>Contents</title>
|
---|
| 198 |
|
---|
| 199 | <segmentedlist>
|
---|
| 200 | <segtitle>Installed Program</segtitle>
|
---|
| 201 | <segtitle>Installed Library</segtitle>
|
---|
| 202 | <segtitle>Installed Directories</segtitle>
|
---|
| 203 |
|
---|
| 204 | <seglistitem>
|
---|
[4f1a8e5] | 205 | <seg>
|
---|
[45ada554] | 206 | jsc-1 or jsc-3
|
---|
[4f1a8e5] | 207 | </seg>
|
---|
| 208 | <seg>
|
---|
[45ada554] | 209 | libjavascriptcoregtk-1.0.so and libwebkit-1.0.so or
|
---|
[d356833] | 210 | libjavascriptcoregtk-3.0.so, libwebkit2gtk-3.0.so and
|
---|
| 211 | libwebkit-3.0.so
|
---|
[4f1a8e5] | 212 | </seg>
|
---|
| 213 | <seg>
|
---|
| 214 | /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
|
---|
[d356833] | 215 | /usr/include/webkit-3.0, /usr/lib/WebKit and
|
---|
| 216 | /usr/share/webkit-3.0
|
---|
[4f1a8e5] | 217 | </seg>
|
---|
[099ebaf] | 218 | </seglistitem>
|
---|
| 219 | </segmentedlist>
|
---|
| 220 |
|
---|
| 221 | <variablelist>
|
---|
| 222 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 223 | <?dbfo list-presentation="list"?>
|
---|
| 224 | <?dbhtml list-presentation="table"?>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="jsc">
|
---|
[d57804d] | 227 | <term><command>jsc-1</command> or <command>jsc-3</command></term>
|
---|
[099ebaf] | 228 | <listitem>
|
---|
[4f1a8e5] | 229 | <para>
|
---|
| 230 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 231 | outside of the context of a web browser.
|
---|
| 232 | </para>
|
---|
[099ebaf] | 233 | <indexterm zone="webkitgtk jsc">
|
---|
| 234 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
[d356833] | 239 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
[45ada554] | 240 | <term><filename
|
---|
| 241 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
[099ebaf] | 242 | <listitem>
|
---|
[4f1a8e5] | 243 | <para>
|
---|
[45ada554] | 244 | contains core JavaScript API functions used by <command>jsc-1</command>
|
---|
| 245 | and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
[4f1a8e5] | 246 | </para>
|
---|
[d356833] | 247 | <indexterm zone="webkitgtk libjavascriptcoregtk-1">
|
---|
| 248 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
[099ebaf] | 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
[d356833] | 253 | <varlistentry id="libwebkitgtk-1">
|
---|
[45ada554] | 254 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
[d57804d] | 255 | <listitem>
|
---|
[4f1a8e5] | 256 | <para>
|
---|
[45ada554] | 257 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 258 | <application>GTK+ 2</application>.
|
---|
[4f1a8e5] | 259 | </para>
|
---|
[d356833] | 260 | <indexterm zone="webkitgtk libwebkitgtk-1">
|
---|
| 261 | <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
---|
[d57804d] | 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
[d356833] | 266 | <varlistentry id="libjavascriptcoregtk-3">
|
---|
[d57804d] | 267 | <term><filename
|
---|
[45ada554] | 268 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
[d57804d] | 269 | <listitem>
|
---|
[4f1a8e5] | 270 | <para>
|
---|
[45ada554] | 271 | contains core JavaScript API functions used by <command>jsc-3</command>
|
---|
| 272 | and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
[4f1a8e5] | 273 | </para>
|
---|
[d356833] | 274 | <indexterm zone="webkitgtk libjavascriptcoregtk-3">
|
---|
| 275 | <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
---|
[d57804d] | 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
[d356833] | 280 | <varlistentry id="libwebkitgtk-3">
|
---|
[45ada554] | 281 | <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
---|
[d57804d] | 282 | <listitem>
|
---|
[4f1a8e5] | 283 | <para>
|
---|
[45ada554] | 284 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 285 | <application>GTK+ 3</application>.
|
---|
[4f1a8e5] | 286 | </para>
|
---|
[d356833] | 287 | <indexterm zone="webkitgtk libwebkitgtk-3">
|
---|
| 288 | <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
---|
[45ada554] | 289 | </indexterm>
|
---|
| 290 | </listitem>
|
---|
| 291 | </varlistentry>
|
---|
| 292 |
|
---|
[d356833] | 293 | <varlistentry id="libwebkit2gtk-3">
|
---|
[45ada554] | 294 | <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
---|
| 295 | <listitem>
|
---|
| 296 | <para>
|
---|
| 297 | contains the <application>WebKit2</application> API functions.
|
---|
| 298 | </para>
|
---|
[d356833] | 299 | <indexterm zone="webkitgtk libwebkit2gtk-3">
|
---|
| 300 | <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
---|
[d57804d] | 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
[a2912ff] | 304 |
|
---|
[099ebaf] | 305 | </variablelist>
|
---|
[a2912ff] | 306 |
|
---|
[099ebaf] | 307 | </sect2>
|
---|
[a2912ff] | 308 |
|
---|
[099ebaf] | 309 | </sect1>
|
---|