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