[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 |
|
---|
[30ed2389] | 39 | &lfs77_checked; &gcc5_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"/>,
|
---|
| 87 | <xref linkend="mesalib"/>,
|
---|
| 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"/>,
|
---|
| 113 | <ulink url="http://gitorious.org/geoclue2/">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 |
|
---|
[6621c93] | 130 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
| 131 |
|
---|
[5e11bc38] | 132 | <para>
|
---|
[64419b7] | 133 | Upstream standard now is to link this package against <application>GTK+
|
---|
| 134 | 3</application>. However, for backward compatibility, manu users need
|
---|
| 135 | also another instance, linked to <application>GTK+ 2</application>. Both
|
---|
| 136 | can be installed in the same system, without problem. However, some
|
---|
| 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 |
|
---|
| 212 | <screen><userinput>cd build-1 &&
|
---|
| 213 |
|
---|
| 214 | ../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &&
|
---|
| 215 | make</userinput></screen>
|
---|
| 216 |
|
---|
| 217 | <para>
|
---|
| 218 | This package does not have a working testsuite. However, there is one
|
---|
| 219 | useable basic graphical web browser in the build directory,
|
---|
| 220 | <application>Programs/GtkLauncher</application>. If launching it
|
---|
| 221 | fails, there is a problem with the build.
|
---|
| 222 | </para>
|
---|
| 223 |
|
---|
| 224 | <note><para>
|
---|
| 225 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 226 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 227 | variables need to be defined for the root user. If using sudo to assume
|
---|
| 228 | root, use the -E option to pass your current environment variables for the
|
---|
| 229 | install process.
|
---|
| 230 | </para></note>
|
---|
| 231 |
|
---|
| 232 | <para>
|
---|
| 233 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 234 | </para>
|
---|
| 235 |
|
---|
| 236 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 237 |
|
---|
| 238 | <para>
|
---|
| 239 | Finally, leave the buid directory:
|
---|
| 240 | </para>
|
---|
| 241 |
|
---|
| 242 | <screen><userinput>cd ..</userinput></screen>
|
---|
| 243 |
|
---|
| 244 | </sect2>
|
---|
| 245 |
|
---|
| 246 | <sect2 role="commands">
|
---|
| 247 | <title>Command Explanations</title>
|
---|
| 248 |
|
---|
[c72f1ff] | 249 | <para>
|
---|
| 250 | <option>--enable-introspection</option>: This switch enables support for
|
---|
| 251 | <application>Gobject Introspection</application> and is required for a
|
---|
| 252 | <application>GNOME</application> Desktop. Remove if you don't have
|
---|
| 253 | <application>Gobject Introspection</application> installed or you don't
|
---|
| 254 | want to install <application>GNOME</application>.
|
---|
| 255 | </para>
|
---|
| 256 |
|
---|
| 257 | <para>
|
---|
| 258 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
| 259 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
| 260 | fail.
|
---|
| 261 | </para>
|
---|
| 262 |
|
---|
| 263 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 264 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 265 |
|
---|
| 266 | </sect2>
|
---|
| 267 |
|
---|
| 268 | <sect2 role="content">
|
---|
| 269 | <title>Contents</title>
|
---|
| 270 |
|
---|
| 271 | <segmentedlist>
|
---|
[5e11bc38] | 272 | <segtitle>Installed Programs</segtitle>
|
---|
[c72f1ff] | 273 | <segtitle>Installed Libraries</segtitle>
|
---|
| 274 | <segtitle>Installed Directories</segtitle>
|
---|
| 275 |
|
---|
| 276 | <seglistitem>
|
---|
| 277 | <seg>
|
---|
[cb3304d3] | 278 | jsc-1 and jsc-3
|
---|
[c72f1ff] | 279 | </seg>
|
---|
| 280 | <seg>
|
---|
[30ed2389] | 281 | libjavascriptcoregtk-{1,3}.0.so,
|
---|
| 282 | libwebkit2gtk-3.0.so, and
|
---|
| 283 | libwebkitgtk-{1,3}.0.so
|
---|
[c72f1ff] | 284 | </seg>
|
---|
| 285 | <seg>
|
---|
[cb3304d3] | 286 | /usr/include/webkitgtk-{1,3}.0,
|
---|
[c8eaf30] | 287 | /usr/lib/webkit2gtk-3.0,
|
---|
[cb3304d3] | 288 | /usr/share/gtk-doc/html/webkit{2,dom,}gtk, and
|
---|
| 289 | /usr/share/webkitgtk-{1,3}.0
|
---|
[c72f1ff] | 290 | </seg>
|
---|
| 291 | </seglistitem>
|
---|
| 292 | </segmentedlist>
|
---|
| 293 |
|
---|
| 294 | <variablelist>
|
---|
| 295 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 296 | <?dbfo list-presentation="list"?>
|
---|
| 297 | <?dbhtml list-presentation="table"?>
|
---|
| 298 |
|
---|
[5e11bc38] | 299 | <varlistentry id="jsc-1">
|
---|
| 300 | <term><command>jsc-1</command></term>
|
---|
| 301 | <listitem>
|
---|
| 302 | <para>
|
---|
| 303 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 304 | outside of the context of a web browser.
|
---|
| 305 | </para>
|
---|
| 306 | <indexterm zone="webkitgtk2 jsc-1">
|
---|
| 307 | <primary sortas="b-jsc-1">jsc-1</primary>
|
---|
| 308 | </indexterm>
|
---|
| 309 | </listitem>
|
---|
| 310 | </varlistentry>
|
---|
| 311 |
|
---|
[c72f1ff] | 312 | <varlistentry id="jsc-3">
|
---|
| 313 | <term><command>jsc-3</command></term>
|
---|
| 314 | <listitem>
|
---|
| 315 | <para>
|
---|
| 316 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 317 | outside of the context of a web browser.
|
---|
| 318 | </para>
|
---|
| 319 | <indexterm zone="webkitgtk2 jsc-3">
|
---|
| 320 | <primary sortas="b-jsc-3">jsc-3</primary>
|
---|
| 321 | </indexterm>
|
---|
| 322 | </listitem>
|
---|
| 323 | </varlistentry>
|
---|
| 324 |
|
---|
[5e11bc38] | 325 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
| 326 | <term><filename
|
---|
| 327 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
| 328 | <listitem>
|
---|
| 329 | <para>
|
---|
[64419b7] | 330 | contains core JavaScript API functions used by
|
---|
| 331 | <command>jsc-1</command> and <filename
|
---|
| 332 | class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
[5e11bc38] | 333 | </para>
|
---|
| 334 | <indexterm zone="webkitgtk2 libjavascriptcoregtk-1">
|
---|
| 335 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
| 336 | </indexterm>
|
---|
| 337 | </listitem>
|
---|
| 338 | </varlistentry>
|
---|
| 339 |
|
---|
[c72f1ff] | 340 | <varlistentry id="libjavascriptcoregtk-3">
|
---|
| 341 | <term><filename
|
---|
| 342 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 343 | <listitem>
|
---|
| 344 | <para>
|
---|
[64419b7] | 345 | contains core JavaScript API functions used by
|
---|
| 346 | <command>jsc-3</command> and <filename
|
---|
| 347 | class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
[c72f1ff] | 348 | </para>
|
---|
[5e11bc38] | 349 | <indexterm zone="webkitgtk2 libjavascriptcoregtk-3">
|
---|
[c72f1ff] | 350 | <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
---|
| 351 | </indexterm>
|
---|
| 352 | </listitem>
|
---|
[a48fd185] | 353 | </varlistentry>
|
---|
[5e11bc38] | 354 |
|
---|
| 355 | <varlistentry id="libwebkitgtk-1">
|
---|
| 356 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
[a48fd185] | 357 | <listitem>
|
---|
| 358 | <para>
|
---|
| 359 | contains the <application>WebKitGTK+</application> API functions for
|
---|
[5e11bc38] | 360 | <application>GTK+ 2</application>.
|
---|
[a48fd185] | 361 | </para>
|
---|
[5e11bc38] | 362 | <indexterm zone="webkitgtk2 libwebkitgtk-1">
|
---|
| 363 | <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
---|
[a48fd185] | 364 | </indexterm>
|
---|
| 365 | </listitem>
|
---|
[c72f1ff] | 366 | </varlistentry>
|
---|
| 367 |
|
---|
| 368 | <varlistentry id="libwebkitgtk-3">
|
---|
| 369 | <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
---|
| 370 | <listitem>
|
---|
| 371 | <para>
|
---|
| 372 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 373 | <application>GTK+ 3</application>.
|
---|
| 374 | </para>
|
---|
[5e11bc38] | 375 | <indexterm zone="webkitgtk2 libwebkitgtk-3">
|
---|
[c72f1ff] | 376 | <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
---|
| 377 | </indexterm>
|
---|
| 378 | </listitem>
|
---|
| 379 | </varlistentry>
|
---|
| 380 |
|
---|
| 381 | <varlistentry id="libwebkit2gtk-3">
|
---|
| 382 | <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
---|
| 383 | <listitem>
|
---|
| 384 | <para>
|
---|
| 385 | contains the <application>WebKit2</application> API functions.
|
---|
| 386 | </para>
|
---|
[5e11bc38] | 387 | <indexterm zone="webkitgtk2 libwebkit2gtk-3">
|
---|
[c72f1ff] | 388 | <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
---|
| 389 | </indexterm>
|
---|
| 390 | </listitem>
|
---|
| 391 | </varlistentry>
|
---|
| 392 |
|
---|
| 393 | </variablelist>
|
---|
| 394 |
|
---|
| 395 | </sect2>
|
---|
| 396 |
|
---|
| 397 | </sect1>
|
---|