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