[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 " ">
|
---|
[e11b07c] | 9 | <!ENTITY webkitgtk2-md5sum "1b3f18d4087dfc648e8060c14e16e202">
|
---|
[f56c241f] | 10 | <!ENTITY webkitgtk2-size "9.4 MB">
|
---|
[e11b07c] | 11 | <!ENTITY webkitgtk2-buildsize "1.5 GB (both built)">
|
---|
| 12 | <!ENTITY webkitgtk2-time "50 SBU (using parallelism=4, both built, webkitgtk-3.0 takes a little longer than webkitgtk-1.0)">
|
---|
[c72f1ff] | 13 | ]>
|
---|
| 14 |
|
---|
[a096a6af] | 15 | <sect1 id="webkitgtk2" xreflabel="WebKitGTK+-&webkitgtk2-version;">
|
---|
[c72f1ff] | 16 | <?dbhtml filename="webkitgtk2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>WebKitGTK+-&webkitgtk2-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="webkitgtk2">
|
---|
| 25 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to WebKitGTK+</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
[5e11bc38] | 32 | The <application>WebKitGTK+</application> is the port of the portable web
|
---|
| 33 | rendering engine <application>WebKit</application> to the
|
---|
| 34 | <application>GTK+ 3</application> and/or <application>GTK+
|
---|
| 35 | 2</application> platforms.
|
---|
[c72f1ff] | 36 | </para>
|
---|
| 37 |
|
---|
[8bc128e] | 38 | &lfs79_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"/>,
|
---|
[5e11bc38] | 79 | <xref linkend="gtk2"/> or
|
---|
[c72f1ff] | 80 | <xref linkend="gtk3"/>,
|
---|
| 81 | <xref linkend="icu"/>,
|
---|
[f175d6f6] | 82 | <xref linkend="libgudev"/>,
|
---|
[c72f1ff] | 83 | <xref linkend="libsecret"/>,
|
---|
| 84 | <xref linkend="libsoup"/>,
|
---|
| 85 | <xref linkend="libwebp"/>,
|
---|
[7a395d1] | 86 | <xref linkend="mesa"/>,
|
---|
[c72f1ff] | 87 | <xref linkend="ruby"/>,
|
---|
[f175d6f6] | 88 | <xref linkend="sqlite"/> and
|
---|
[c72f1ff] | 89 | <xref linkend="which"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
[5e11bc38] | 92 | <note><para>
|
---|
[64419b7] | 93 | <application>WebKit2</application> links against<application>GTK+
|
---|
| 94 | 2</application> (even if <application>GTK+ 3</application> is being
|
---|
| 95 | used), in order to be able to use NPAPI plugins such as Adobe Flash.
|
---|
[5e11bc38] | 96 | </para></note>
|
---|
| 97 |
|
---|
| 98 |
|
---|
[c72f1ff] | 99 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 100 | <para role="recommended">
|
---|
| 101 | <xref linkend="enchant"/>,
|
---|
[e51a42b6] | 102 | <xref linkend="geoclue"/>,
|
---|
[c647e6d] | 103 | <xref linkend="gobject-introspection"/>,
|
---|
[e51a42b6] | 104 | <xref linkend="hicolor-icon-theme"/>
|
---|
[c72f1ff] | 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 108 | <para role="optional">
|
---|
[2f0f7a0] | 109 | <xref linkend="gtk-doc"/>,
|
---|
| 110 | <xref linkend="harfbuzz"/>,
|
---|
| 111 | <xref linkend="llvm"/>,
|
---|
[f0d9ee6] | 112 | <ulink url="http://freedesktop.org/wiki/Software/GeoClue/">GeoClue2</ulink>, 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 |
|
---|
[8da658ba] | 129 | <screen><userinput>sed -e '/generate-gtkdoc --rebase/s:^:# :' \
|
---|
| 130 | -i GNUmakefile.in</userinput></screen>
|
---|
[6621c93] | 131 |
|
---|
[5e11bc38] | 132 | <para>
|
---|
[64419b7] | 133 | Upstream standard now is to link this package against <application>GTK+
|
---|
[1ee4839] | 134 | 3</application>. However, for backward compatibility, many users need
|
---|
[64419b7] | 135 | also another instance, linked to <application>GTK+ 2</application>. Both
|
---|
[1ee4839] | 136 | can be installed in the same system, without any problems. However, some
|
---|
[64419b7] | 137 | packages can alternatively be linked to either one. Here, both build
|
---|
| 138 | methods are presented and recommended to be built, but if you know which
|
---|
| 139 | one you need, just jump to the respective part.
|
---|
[5e11bc38] | 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <!-- ==== WebKitGTK+ against GTK+ 3 ====== -->
|
---|
[64419b7] | 143 | <bridgehead renderas="sect3">Build and install
|
---|
| 144 | <application>WebKitGTK+</application> against <application>GTK+
|
---|
| 145 | 3</application></bridgehead>
|
---|
[c72f1ff] | 146 |
|
---|
| 147 | <para>
|
---|
| 148 | Install <application>WebKitGTK+</application> by running the
|
---|
| 149 | following commands:
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
[5e11bc38] | 152 | <screen><userinput>mkdir -vp build-3 &&
|
---|
| 153 | cp -a Documentation build-3 &&
|
---|
| 154 | cd build-3 &&
|
---|
| 155 |
|
---|
| 156 | ../configure --prefix=/usr --enable-introspection &&
|
---|
[c72f1ff] | 157 | make</userinput></screen>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
[a910bff] | 160 | This package does not have a working testsuite. However, there are two
|
---|
[5e11bc38] | 161 | useable basic graphical web browsers in the build directory,
|
---|
[a910bff] | 162 | <application>Programs/GtkLauncher</application> and
|
---|
| 163 | <application>Programs/MiniBrowser</application>. If launching any one
|
---|
| 164 | fails, there is a problem with the build.
|
---|
[c72f1ff] | 165 | </para>
|
---|
| 166 |
|
---|
[ec592a68] | 167 | <note><para>
|
---|
| 168 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 169 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 170 | variables need to be defined for the root user. If using sudo to assume
|
---|
[773db87] | 171 | root, use the -E option to pass your current environment variables for the
|
---|
[ec592a68] | 172 | install process.
|
---|
| 173 | </para></note>
|
---|
| 174 |
|
---|
[c72f1ff] | 175 | <para>
|
---|
| 176 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
[5e11bc38] | 179 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[c72f1ff] | 180 |
|
---|
[5e11bc38] | 181 | <para>
|
---|
| 182 | Finally, leave the buid directory:
|
---|
| 183 | </para>
|
---|
| 184 |
|
---|
| 185 | <screen><userinput>cd ..</userinput></screen>
|
---|
| 186 |
|
---|
| 187 | <!-- ==== WebKitGTK+ against GTK+ 2 ====== -->
|
---|
[64419b7] | 188 | <bridgehead renderas="sect3">Build and install
|
---|
| 189 | <application>WebKitGTK+</application> against <application>GTK+
|
---|
| 190 | 2</application></bridgehead>
|
---|
[c72f1ff] | 191 |
|
---|
[49d3336] | 192 | <para>
|
---|
[5e11bc38] | 193 | Install <application>WebKitGTK+</application> by running the
|
---|
| 194 | following commands:
|
---|
[49d3336] | 195 | </para>
|
---|
| 196 |
|
---|
[5e11bc38] | 197 | <screen><userinput>mkdir -vp build-1</userinput></screen>
|
---|
| 198 |
|
---|
| 199 | <para>
|
---|
[64419b7] | 200 | If you have built and installed the package against <application>GTK+
|
---|
| 201 | 3</application>. skip the following command, because the previous
|
---|
| 202 | docummentation also applies here:
|
---|
[5e11bc38] | 203 | </para>
|
---|
| 204 |
|
---|
| 205 | <screen><userinput>cp -a Documentation build-1</userinput></screen>
|
---|
| 206 |
|
---|
| 207 | <para>
|
---|
| 208 | Now, change into the build directory and effectively start the build and
|
---|
| 209 | install:
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
[8da658ba] | 212 | <screen><userinput>cd build-1 &&
|
---|
[5e11bc38] | 213 |
|
---|
[8da658ba] | 214 | ../configure --prefix=/usr \
|
---|
| 215 | --with-gtk=2.0 \
|
---|
| 216 | --disable-webkit2 &&
|
---|
[5e11bc38] | 217 | make</userinput></screen>
|
---|
| 218 |
|
---|
| 219 | <para>
|
---|
| 220 | This package does not have a working testsuite. However, there is one
|
---|
| 221 | useable basic graphical web browser in the build directory,
|
---|
| 222 | <application>Programs/GtkLauncher</application>. If launching it
|
---|
| 223 | fails, there is a problem with the build.
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
| 226 | <note><para>
|
---|
| 227 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 228 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 229 | variables need to be defined for the root user. If using sudo to assume
|
---|
| 230 | root, use the -E option to pass your current environment variables for the
|
---|
| 231 | install process.
|
---|
| 232 | </para></note>
|
---|
| 233 |
|
---|
| 234 | <para>
|
---|
| 235 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 236 | </para>
|
---|
| 237 |
|
---|
| 238 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 239 |
|
---|
| 240 | <para>
|
---|
| 241 | Finally, leave the buid directory:
|
---|
| 242 | </para>
|
---|
| 243 |
|
---|
| 244 | <screen><userinput>cd ..</userinput></screen>
|
---|
| 245 |
|
---|
| 246 | </sect2>
|
---|
| 247 |
|
---|
| 248 | <sect2 role="commands">
|
---|
| 249 | <title>Command Explanations</title>
|
---|
| 250 |
|
---|
[c72f1ff] | 251 | <para>
|
---|
| 252 | <option>--enable-introspection</option>: This switch enables support for
|
---|
| 253 | <application>Gobject Introspection</application> and is required for a
|
---|
| 254 | <application>GNOME</application> Desktop. Remove if you don't have
|
---|
| 255 | <application>Gobject Introspection</application> installed or you don't
|
---|
| 256 | want to install <application>GNOME</application>.
|
---|
| 257 | </para>
|
---|
| 258 |
|
---|
| 259 | <para>
|
---|
| 260 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
| 261 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
| 262 | fail.
|
---|
| 263 | </para>
|
---|
| 264 |
|
---|
| 265 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 266 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 267 |
|
---|
| 268 | </sect2>
|
---|
| 269 |
|
---|
| 270 | <sect2 role="content">
|
---|
| 271 | <title>Contents</title>
|
---|
| 272 |
|
---|
| 273 | <segmentedlist>
|
---|
[5e11bc38] | 274 | <segtitle>Installed Programs</segtitle>
|
---|
[c72f1ff] | 275 | <segtitle>Installed Libraries</segtitle>
|
---|
| 276 | <segtitle>Installed Directories</segtitle>
|
---|
| 277 |
|
---|
| 278 | <seglistitem>
|
---|
| 279 | <seg>
|
---|
[cb3304d3] | 280 | jsc-1 and jsc-3
|
---|
[c72f1ff] | 281 | </seg>
|
---|
| 282 | <seg>
|
---|
[30ed2389] | 283 | libjavascriptcoregtk-{1,3}.0.so,
|
---|
| 284 | libwebkit2gtk-3.0.so, and
|
---|
| 285 | libwebkitgtk-{1,3}.0.so
|
---|
[c72f1ff] | 286 | </seg>
|
---|
| 287 | <seg>
|
---|
[cb3304d3] | 288 | /usr/include/webkitgtk-{1,3}.0,
|
---|
[c8eaf30] | 289 | /usr/lib/webkit2gtk-3.0,
|
---|
[cb3304d3] | 290 | /usr/share/gtk-doc/html/webkit{2,dom,}gtk, and
|
---|
| 291 | /usr/share/webkitgtk-{1,3}.0
|
---|
[c72f1ff] | 292 | </seg>
|
---|
| 293 | </seglistitem>
|
---|
| 294 | </segmentedlist>
|
---|
| 295 |
|
---|
| 296 | <variablelist>
|
---|
| 297 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 298 | <?dbfo list-presentation="list"?>
|
---|
| 299 | <?dbhtml list-presentation="table"?>
|
---|
| 300 |
|
---|
[5e11bc38] | 301 | <varlistentry id="jsc-1">
|
---|
| 302 | <term><command>jsc-1</command></term>
|
---|
| 303 | <listitem>
|
---|
| 304 | <para>
|
---|
| 305 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 306 | outside of the context of a web browser.
|
---|
| 307 | </para>
|
---|
| 308 | <indexterm zone="webkitgtk2 jsc-1">
|
---|
| 309 | <primary sortas="b-jsc-1">jsc-1</primary>
|
---|
| 310 | </indexterm>
|
---|
| 311 | </listitem>
|
---|
| 312 | </varlistentry>
|
---|
| 313 |
|
---|
[c72f1ff] | 314 | <varlistentry id="jsc-3">
|
---|
| 315 | <term><command>jsc-3</command></term>
|
---|
| 316 | <listitem>
|
---|
| 317 | <para>
|
---|
| 318 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 319 | outside of the context of a web browser.
|
---|
| 320 | </para>
|
---|
| 321 | <indexterm zone="webkitgtk2 jsc-3">
|
---|
| 322 | <primary sortas="b-jsc-3">jsc-3</primary>
|
---|
| 323 | </indexterm>
|
---|
| 324 | </listitem>
|
---|
| 325 | </varlistentry>
|
---|
| 326 |
|
---|
[5e11bc38] | 327 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
| 328 | <term><filename
|
---|
| 329 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
| 330 | <listitem>
|
---|
| 331 | <para>
|
---|
[64419b7] | 332 | contains core JavaScript API functions used by
|
---|
| 333 | <command>jsc-1</command> and <filename
|
---|
| 334 | class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
[5e11bc38] | 335 | </para>
|
---|
| 336 | <indexterm zone="webkitgtk2 libjavascriptcoregtk-1">
|
---|
| 337 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
| 338 | </indexterm>
|
---|
| 339 | </listitem>
|
---|
| 340 | </varlistentry>
|
---|
| 341 |
|
---|
[c72f1ff] | 342 | <varlistentry id="libjavascriptcoregtk-3">
|
---|
| 343 | <term><filename
|
---|
| 344 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 345 | <listitem>
|
---|
| 346 | <para>
|
---|
[64419b7] | 347 | contains core JavaScript API functions used by
|
---|
| 348 | <command>jsc-3</command> and <filename
|
---|
| 349 | class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
[c72f1ff] | 350 | </para>
|
---|
[5e11bc38] | 351 | <indexterm zone="webkitgtk2 libjavascriptcoregtk-3">
|
---|
[c72f1ff] | 352 | <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
---|
| 353 | </indexterm>
|
---|
| 354 | </listitem>
|
---|
[a48fd185] | 355 | </varlistentry>
|
---|
[5e11bc38] | 356 |
|
---|
| 357 | <varlistentry id="libwebkitgtk-1">
|
---|
| 358 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
[a48fd185] | 359 | <listitem>
|
---|
| 360 | <para>
|
---|
| 361 | contains the <application>WebKitGTK+</application> API functions for
|
---|
[5e11bc38] | 362 | <application>GTK+ 2</application>.
|
---|
[a48fd185] | 363 | </para>
|
---|
[5e11bc38] | 364 | <indexterm zone="webkitgtk2 libwebkitgtk-1">
|
---|
| 365 | <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
---|
[a48fd185] | 366 | </indexterm>
|
---|
| 367 | </listitem>
|
---|
[c72f1ff] | 368 | </varlistentry>
|
---|
| 369 |
|
---|
| 370 | <varlistentry id="libwebkitgtk-3">
|
---|
| 371 | <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
---|
| 372 | <listitem>
|
---|
| 373 | <para>
|
---|
| 374 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 375 | <application>GTK+ 3</application>.
|
---|
| 376 | </para>
|
---|
[5e11bc38] | 377 | <indexterm zone="webkitgtk2 libwebkitgtk-3">
|
---|
[c72f1ff] | 378 | <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
---|
| 379 | </indexterm>
|
---|
| 380 | </listitem>
|
---|
| 381 | </varlistentry>
|
---|
| 382 |
|
---|
| 383 | <varlistentry id="libwebkit2gtk-3">
|
---|
| 384 | <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
---|
| 385 | <listitem>
|
---|
| 386 | <para>
|
---|
| 387 | contains the <application>WebKit2</application> API functions.
|
---|
| 388 | </para>
|
---|
[5e11bc38] | 389 | <indexterm zone="webkitgtk2 libwebkit2gtk-3">
|
---|
[c72f1ff] | 390 | <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
---|
| 391 | </indexterm>
|
---|
| 392 | </listitem>
|
---|
| 393 | </varlistentry>
|
---|
| 394 |
|
---|
| 395 | </variablelist>
|
---|
| 396 |
|
---|
| 397 | </sect2>
|
---|
| 398 |
|
---|
| 399 | </sect1>
|
---|