[c72f1ff] | 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 |
|
---|
[8b32d48] | 7 | <!ENTITY webkitgtk2-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk2-version;.tar.xz">
|
---|
[c72f1ff] | 8 | <!ENTITY webkitgtk2-download-ftp " ">
|
---|
[f56c241f] | 9 | <!ENTITY webkitgtk2-md5sum "e1a10b4730f501980e3681db9b0e5d25">
|
---|
| 10 | <!ENTITY webkitgtk2-size "9.4 MB">
|
---|
[fe7679cd] | 11 | <!ENTITY webkitgtk2-buildsize "968 MB (GTK+ 3 Build), 688 MB (GTK+ 2 Build)">
|
---|
| 12 | <!ENTITY webkitgtk2-time "88 SBU (GTK+ 3 Build), 75 SBU (GTK+ 2 Build)">
|
---|
[c72f1ff] | 13 | ]>
|
---|
| 14 |
|
---|
[a096a6af] | 15 | <sect1 id="webkitgtk2" xreflabel="WebKitGTK+-&webkitgtk2-version;">
|
---|
[c72f1ff] | 16 | <?dbhtml filename="webkitgtk2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>WebKitGTK+-&webkitgtk2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="webkitgtk2">
|
---|
| 26 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to WebKitGTK+</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
[fe7679cd] | 33 | The <application>WebKitGTK+</application> is the port of the portable
|
---|
| 34 | web rendering engine <application>WebKit</application> to the
|
---|
| 35 | <application>GTK+ 3</application> platform.
|
---|
[c72f1ff] | 36 | </para>
|
---|
| 37 |
|
---|
[23b3dda5] | 38 | &lfs76_checked;
|
---|
[c72f1ff] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&webkitgtk2-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&webkitgtk2-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &webkitgtk2-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &webkitgtk2-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &webkitgtk2-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &webkitgtk2-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="gst10-plugins-base"/>,
|
---|
[fe7679cd] | 79 | <xref linkend="gtk3"/> or
|
---|
| 80 | <xref linkend="gtk2"/> or both,
|
---|
[c72f1ff] | 81 | <xref linkend="icu"/>,
|
---|
| 82 | <xref linkend="libsecret"/>,
|
---|
| 83 | <xref linkend="libsoup"/>,
|
---|
| 84 | <xref linkend="libwebp"/>,
|
---|
| 85 | <xref linkend="mesalib"/>,
|
---|
| 86 | <xref linkend="ruby"/>,
|
---|
| 87 | <xref linkend="sqlite"/>,
|
---|
[05a9cde] | 88 | <xref linkend="systemd"/> (for GUdev) and
|
---|
[c72f1ff] | 89 | <xref linkend="which"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
[fe7679cd] | 92 | <note>
|
---|
| 93 | <para>
|
---|
| 94 | Note that WebKit2 links against <application>GTK+ 2</application>
|
---|
| 95 | (even if <application>GTK+ 3</application> is being used) in order
|
---|
| 96 | to be able to use NPAPI plugins such as Adobe Flash.
|
---|
| 97 | </para>
|
---|
| 98 | </note>
|
---|
[5e11bc38] | 99 |
|
---|
[c72f1ff] | 100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 101 | <para role="recommended">
|
---|
| 102 | <xref linkend="enchant"/>,
|
---|
[fe7679cd] | 103 | <xref linkend="geoclue2"/> or
|
---|
[e51a42b6] | 104 | <xref linkend="geoclue"/>,
|
---|
[fe7679cd] | 105 | <xref linkend="gobject-introspection"/> and
|
---|
[e51a42b6] | 106 | <xref linkend="hicolor-icon-theme"/>
|
---|
[c72f1ff] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 110 | <para role="optional">
|
---|
[2f0f7a0] | 111 | <xref linkend="gtk-doc"/>,
|
---|
[fe7679cd] | 112 | <xref linkend="llvm"/> and
|
---|
[c72f1ff] | 113 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para condition="html" role="usernotes">
|
---|
| 117 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 118 | </para>
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="installation">
|
---|
| 122 | <title>Installation of WebKitGTK+</title>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
---|
| 126 | cause <command>make install</command> to fail:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[fe7679cd] | 129 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | <note>
|
---|
| 132 | <para>
|
---|
| 133 | Unless noted otherwise, the packages depending on this package
|
---|
| 134 | expect it to be built against <application>GTK+ 3</application>.
|
---|
| 135 | </para>
|
---|
| 136 | </note>
|
---|
[5e11bc38] | 137 |
|
---|
| 138 | <para>
|
---|
[fe7679cd] | 139 | To build <application>WebKitGTK+</application> against
|
---|
| 140 | <application>GTK+ 3</application>, run the following
|
---|
| 141 | commands:
|
---|
[5e11bc38] | 142 | </para>
|
---|
| 143 |
|
---|
[fe7679cd] | 144 | <screen><userinput>mkdir build3 &&
|
---|
| 145 | pushd build3 &&
|
---|
| 146 | ../configure --prefix=/usr --enable-introspection &&
|
---|
| 147 | make &&
|
---|
| 148 | popd</userinput></screen>
|
---|
[c72f1ff] | 149 |
|
---|
| 150 | <para>
|
---|
[fe7679cd] | 151 | To build <application>WebKitGTK+</application> against
|
---|
| 152 | <application>GTK+ 2</application>, run the following
|
---|
| 153 | commands:
|
---|
[c72f1ff] | 154 | </para>
|
---|
| 155 |
|
---|
[fe7679cd] | 156 | <screen><userinput>mkdir build2 &&
|
---|
| 157 | pushd build2 &&
|
---|
| 158 | ../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &&
|
---|
| 159 | make &&
|
---|
| 160 | popd</userinput></screen>
|
---|
[c72f1ff] | 161 |
|
---|
| 162 | <para>
|
---|
[a910bff] | 163 | This package does not have a working testsuite. However, there are two
|
---|
[5e11bc38] | 164 | useable basic graphical web browsers in the build directory,
|
---|
[a910bff] | 165 | <application>Programs/GtkLauncher</application> and
|
---|
| 166 | <application>Programs/MiniBrowser</application>. If launching any one
|
---|
| 167 | fails, there is a problem with the build.
|
---|
[c72f1ff] | 168 | </para>
|
---|
| 169 |
|
---|
[5e11bc38] | 170 | <para>
|
---|
[fe7679cd] | 171 | If you have built the package against <application>GTK+ 3</application>,
|
---|
| 172 | install it by running the following commands as the <systemitem
|
---|
| 173 | class="username">root</systemitem> user:
|
---|
[5e11bc38] | 174 | </para>
|
---|
| 175 |
|
---|
[fe7679cd] | 176 | <screen role="root"><userinput>make -C build3 install &&
|
---|
| 177 | rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-3.0 &&
|
---|
| 178 | if [ -e /usr/share/gtk-doc/html/webkitdomgtk ]; then
|
---|
| 179 | mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-3.0}
|
---|
| 180 | fi
|
---|
[3e09737] | 181 | if [ -e /usr/share/gtk-doc/html/webkitgtk ]; then
|
---|
[fe7679cd] | 182 | mv -v /usr/share/gtk-doc/html/webkitgtk{,-3.0}
|
---|
| 183 | fi</userinput></screen>
|
---|
[5e11bc38] | 184 |
|
---|
| 185 | <para>
|
---|
[fe7679cd] | 186 | If you have built the package against <application>GTK+ 2</application>,
|
---|
| 187 | install it by running the following commands as the <systemitem
|
---|
| 188 | class="username">root</systemitem> user:
|
---|
[5e11bc38] | 189 | </para>
|
---|
| 190 |
|
---|
[fe7679cd] | 191 | <screen role="root"><userinput>make -C build2 install &&
|
---|
| 192 | rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-1.0 &&
|
---|
| 193 | if [ -e /usr/share/gtk-doc/html/webkitdomgtk ]; then
|
---|
| 194 | mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-1.0}
|
---|
| 195 | fi
|
---|
[3e09737] | 196 | if [ -e /usr/share/gtk-doc/html/webkitgtk ]; then
|
---|
[fe7679cd] | 197 | mv -v /usr/share/gtk-doc/html/webkitgtk{,-1.0}
|
---|
| 198 | fi</userinput></screen>
|
---|
[5e11bc38] | 199 |
|
---|
| 200 | </sect2>
|
---|
| 201 |
|
---|
| 202 | <sect2 role="commands">
|
---|
| 203 | <title>Command Explanations</title>
|
---|
| 204 |
|
---|
[c72f1ff] | 205 | <para>
|
---|
[fe7679cd] | 206 | <parameter>--enable-introspection</parameter>: This switch enables
|
---|
| 207 | <application>Gobject Introspection</application> bindings and is
|
---|
| 208 | required if building <application>GNOME</application> Desktop.
|
---|
| 209 | Remove if you don't have <application>Gobject
|
---|
| 210 | Introspection</application> installed or you don't want to install
|
---|
| 211 | <application>GNOME</application>. It is not needed if building
|
---|
| 212 | against <application>GTK+ 2</application>, although it can be used
|
---|
| 213 | if desired.
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <para>
|
---|
| 217 | <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These switches
|
---|
| 218 | force <application>WebKitGTK+</application> to compile against
|
---|
| 219 | <application>GTK+ 2</application>, even if
|
---|
| 220 | <application>GTK+ 3</application> is also installed.
|
---|
[c72f1ff] | 221 | </para>
|
---|
| 222 |
|
---|
| 223 | <para>
|
---|
[fe7679cd] | 224 | <option>--disable-geolocation</option>: Use this switch if you don't
|
---|
| 225 | want to install <xref linkend="geoclue"/> or
|
---|
| 226 | <xref linkend="geoclue2"/>.
|
---|
[c72f1ff] | 227 | </para>
|
---|
| 228 |
|
---|
| 229 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 230 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 231 |
|
---|
| 232 | </sect2>
|
---|
| 233 |
|
---|
| 234 | <sect2 role="content">
|
---|
| 235 | <title>Contents</title>
|
---|
| 236 |
|
---|
| 237 | <segmentedlist>
|
---|
[5e11bc38] | 238 | <segtitle>Installed Programs</segtitle>
|
---|
[c72f1ff] | 239 | <segtitle>Installed Libraries</segtitle>
|
---|
| 240 | <segtitle>Installed Directories</segtitle>
|
---|
| 241 |
|
---|
| 242 | <seglistitem>
|
---|
| 243 | <seg>
|
---|
[fe7679cd] | 244 | jsc-3 <emphasis>or</emphasis> jsc-1
|
---|
[c72f1ff] | 245 | </seg>
|
---|
| 246 | <seg>
|
---|
[a48fd185] | 247 | libjavascriptcoregtk-3.0.so,
|
---|
[fe7679cd] | 248 | libwebkit2gtk-3.0.so and
|
---|
| 249 | libwebkitgtk-3.0.so <emphasis>or</emphasis>
|
---|
| 250 | libjavascriptcoregtk-1.0.so and
|
---|
| 251 | libwebkitgtk-1.0.so
|
---|
[c72f1ff] | 252 | </seg>
|
---|
| 253 | <seg>
|
---|
[fe7679cd] | 254 | /usr/include/webkitgtk-3.0,
|
---|
| 255 | /usr/lib/webkit2gtk-3.0,
|
---|
| 256 | /usr/share/gtk-doc/html/webkitgtk-3.0,
|
---|
| 257 | /usr/share/gtk-doc/html/webkitdomgtk-3.0,
|
---|
| 258 | /usr/share/gtk-doc/html/webkit2gtk and
|
---|
| 259 | /usr/share/webkitgtk-3.0 <emphasis>or</emphasis>
|
---|
| 260 | /usr/include/webkit-1.0,
|
---|
| 261 | /usr/share/gtk-doc/html/webkitgtk-1.0,
|
---|
| 262 | /usr/share/gtk-doc/html/webkitdomgtk-1.0 and
|
---|
| 263 | /usr/share/webkit-1.0
|
---|
[c72f1ff] | 264 | </seg>
|
---|
| 265 | </seglistitem>
|
---|
| 266 | </segmentedlist>
|
---|
| 267 |
|
---|
| 268 | <variablelist>
|
---|
| 269 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 270 | <?dbfo list-presentation="list"?>
|
---|
| 271 | <?dbhtml list-presentation="table"?>
|
---|
| 272 |
|
---|
[fe7679cd] | 273 | <varlistentry id="jsc-3">
|
---|
| 274 | <term><command>jsc-3</command></term>
|
---|
[5e11bc38] | 275 | <listitem>
|
---|
| 276 | <para>
|
---|
| 277 | is a command-line utility that allows you to run JavaScript programs
|
---|
[fe7679cd] | 278 | outside of the context of a web browser linked against
|
---|
| 279 | <filename class="libraryfile">libjavascriptcoregtk-3.0.so</filename>.
|
---|
[5e11bc38] | 280 | </para>
|
---|
[fe7679cd] | 281 | <indexterm zone="webkitgtk2 jsc-3">
|
---|
| 282 | <primary sortas="b-jsc-3">jsc-3</primary>
|
---|
[5e11bc38] | 283 | </indexterm>
|
---|
| 284 | </listitem>
|
---|
| 285 | </varlistentry>
|
---|
| 286 |
|
---|
[fe7679cd] | 287 | <varlistentry id="jsc-1">
|
---|
| 288 | <term><command>jsc-1</command></term>
|
---|
[c72f1ff] | 289 | <listitem>
|
---|
| 290 | <para>
|
---|
| 291 | is a command-line utility that allows you to run JavaScript programs
|
---|
[fe7679cd] | 292 | outside of the context of a web browser linked against
|
---|
| 293 | <filename class="libraryfile">libjavascriptcoregtk-1.0.so</filename>.
|
---|
[c72f1ff] | 294 | </para>
|
---|
[fe7679cd] | 295 | <indexterm zone="webkitgtk2 jsc-1">
|
---|
| 296 | <primary sortas="b-jsc-1">jsc-1</primary>
|
---|
[c72f1ff] | 297 | </indexterm>
|
---|
| 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
| 300 |
|
---|
[fe7679cd] | 301 | <varlistentry id="libjavascriptcoregtk-3.0">
|
---|
[5e11bc38] | 302 | <term><filename
|
---|
[fe7679cd] | 303 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
[5e11bc38] | 304 | <listitem>
|
---|
| 305 | <para>
|
---|
[fe7679cd] | 306 | contains core JavaScript API functions used by <command>jsc-3</command>
|
---|
| 307 | and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
[5e11bc38] | 308 | </para>
|
---|
[fe7679cd] | 309 | <indexterm zone="webkitgtk2 libjavascriptcoregtk-3.0">
|
---|
| 310 | <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
|
---|
[5e11bc38] | 311 | </indexterm>
|
---|
| 312 | </listitem>
|
---|
| 313 | </varlistentry>
|
---|
| 314 |
|
---|
[fe7679cd] | 315 | <varlistentry id="libwebkitgtk-3.0">
|
---|
| 316 | <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
---|
[c72f1ff] | 317 | <listitem>
|
---|
| 318 | <para>
|
---|
[fe7679cd] | 319 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 320 | <application>GTK+ 3</application>.
|
---|
[c72f1ff] | 321 | </para>
|
---|
[fe7679cd] | 322 | <indexterm zone="webkitgtk2 libwebkitgtk-3.0">
|
---|
| 323 | <primary sortas="c-libwebkitgtk-3.0">libwebkitgtk-3.0.so</primary>
|
---|
[c72f1ff] | 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
[a48fd185] | 326 | </varlistentry>
|
---|
[5e11bc38] | 327 |
|
---|
[fe7679cd] | 328 | <varlistentry id="libwebkit2gtk-3.0">
|
---|
| 329 | <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
---|
[a48fd185] | 330 | <listitem>
|
---|
| 331 | <para>
|
---|
[fe7679cd] | 332 | contains the <application>WebKit2</application> API functions.
|
---|
[a48fd185] | 333 | </para>
|
---|
[fe7679cd] | 334 | <indexterm zone="webkitgtk2 libwebkit2gtk-3.0">
|
---|
| 335 | <primary sortas="c-libwebkit2gtk-3.0">libwebkit2gtk-3.0.so</primary>
|
---|
[a48fd185] | 336 | </indexterm>
|
---|
| 337 | </listitem>
|
---|
[c72f1ff] | 338 | </varlistentry>
|
---|
| 339 |
|
---|
[fe7679cd] | 340 | <varlistentry id="libjavascriptcoregtk-1.0">
|
---|
| 341 | <term><filename
|
---|
| 342 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
[c72f1ff] | 343 | <listitem>
|
---|
| 344 | <para>
|
---|
[fe7679cd] | 345 | contains core JavaScript API functions used by <command>jsc-1</command>
|
---|
| 346 | and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
[c72f1ff] | 347 | </para>
|
---|
[fe7679cd] | 348 | <indexterm zone="webkitgtk2 libjavascriptcoregtk-1.0">
|
---|
| 349 | <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
|
---|
[c72f1ff] | 350 | </indexterm>
|
---|
| 351 | </listitem>
|
---|
| 352 | </varlistentry>
|
---|
| 353 |
|
---|
[fe7679cd] | 354 | <varlistentry id="libwebkitgtk-1.0">
|
---|
| 355 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
[c72f1ff] | 356 | <listitem>
|
---|
| 357 | <para>
|
---|
[fe7679cd] | 358 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 359 | <application>GTK+ 2</application>.
|
---|
[c72f1ff] | 360 | </para>
|
---|
[fe7679cd] | 361 | <indexterm zone="webkitgtk2 libwebkitgtk-1.0">
|
---|
| 362 | <primary sortas="c-libwebkitgtk-1.0">libwebkitgtk-1.0.so</primary>
|
---|
[c72f1ff] | 363 | </indexterm>
|
---|
| 364 | </listitem>
|
---|
| 365 | </varlistentry>
|
---|
| 366 |
|
---|
| 367 | </variablelist>
|
---|
| 368 |
|
---|
| 369 | </sect2>
|
---|
| 370 |
|
---|
| 371 | </sect1>
|
---|