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