[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 " ">
|
---|
[5e11bc38] | 9 | <!ENTITY webkitgtk2-md5sum "c2e1687bb0314a0948fbf78e2d1e931f">
|
---|
[2f0f7a0] | 10 | <!ENTITY webkitgtk2-size "9.4 MB">
|
---|
[5e11bc38] | 11 | <!ENTITY webkitgtk2-buildsize "1.5 GB (both built)">
|
---|
| 12 | <!ENTITY webkitgtk2-time "138 SBU (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 |
|
---|
[682f45b2] | 39 | &lfs75_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"/>,
|
---|
| 83 | <xref linkend="libsecret"/>,
|
---|
| 84 | <xref linkend="libsoup"/>,
|
---|
| 85 | <xref linkend="libwebp"/>,
|
---|
| 86 | <xref linkend="mesalib"/>,
|
---|
| 87 | <xref linkend="ruby"/>,
|
---|
| 88 | <xref linkend="sqlite"/>,
|
---|
[263acbff] | 89 | <xref linkend="udev-extras"/> (for GUdev) and
|
---|
[c72f1ff] | 90 | <xref linkend="which"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[5e11bc38] | 93 | <note><para>
|
---|
| 94 | WebKit2 links against GTK+ 2 (even if GTK+ 3 is being used), in order to
|
---|
| 95 | be able to use NPAPI plugins such as Adobe Flash.
|
---|
| 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"/>,
|
---|
| 112 | <ulink url="http://gitorious.org/geoclue2/">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 |
|
---|
[5e11bc38] | 129 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' \
|
---|
| 130 | GNUmakefile.in</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | Upstream standard now is to link this package against GTK+ 3. However,
|
---|
| 134 | for backward compatibility, manu users need also another instance, linked
|
---|
| 135 | to GTK+ 2. Both can be installed in the same system, without problem.
|
---|
| 136 | However, some packages can alternatively be linked to either one. Here,
|
---|
| 137 | both build methods are presented and recommended to be built, but if you
|
---|
| 138 | know which one you need, just jump to the respective part.
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <!-- ==== WebKitGTK+ against GTK+ 3 ====== -->
|
---|
| 142 | <bridgehead renderas="sect3">Build and install WebKitGTK+ against
|
---|
| 143 | GTK+ 3</bridgehead>
|
---|
[c72f1ff] | 144 |
|
---|
| 145 | <para>
|
---|
| 146 | Install <application>WebKitGTK+</application> by running the
|
---|
| 147 | following commands:
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
[5e11bc38] | 150 | <screen><userinput>mkdir -vp build-3 &&
|
---|
| 151 | cp -a Documentation build-3 &&
|
---|
| 152 | cd build-3 &&
|
---|
| 153 |
|
---|
| 154 |
|
---|
| 155 | ../configure --prefix=/usr --enable-introspection &&
|
---|
[c72f1ff] | 156 | make</userinput></screen>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
[a910bff] | 159 | This package does not have a working testsuite. However, there are two
|
---|
[5e11bc38] | 160 | useable basic graphical web browsers in the build directory,
|
---|
[a910bff] | 161 | <application>Programs/GtkLauncher</application> and
|
---|
| 162 | <application>Programs/MiniBrowser</application>. If launching any one
|
---|
| 163 | fails, there is a problem with the build.
|
---|
[c72f1ff] | 164 | </para>
|
---|
| 165 |
|
---|
[ec592a68] | 166 | <note><para>
|
---|
| 167 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 168 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 169 | variables need to be defined for the root user. If using sudo to assume
|
---|
[773db87] | 170 | root, use the -E option to pass your current environment variables for the
|
---|
[ec592a68] | 171 | install process.
|
---|
| 172 | </para></note>
|
---|
| 173 |
|
---|
[c72f1ff] | 174 | <para>
|
---|
| 175 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 176 | </para>
|
---|
| 177 |
|
---|
[5e11bc38] | 178 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[c72f1ff] | 179 |
|
---|
[5e11bc38] | 180 | <para>
|
---|
| 181 | Finally, leave the buid directory:
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
| 184 | <screen><userinput>cd ..</userinput></screen>
|
---|
| 185 |
|
---|
| 186 | <!-- ==== WebKitGTK+ against GTK+ 2 ====== -->
|
---|
| 187 | <bridgehead renderas="sect3">Build and install WebKitGTK+ against
|
---|
| 188 | GTK+ 2</bridgehead>
|
---|
[c72f1ff] | 189 |
|
---|
[49d3336] | 190 | <para>
|
---|
[5e11bc38] | 191 | Install <application>WebKitGTK+</application> by running the
|
---|
| 192 | following commands:
|
---|
[49d3336] | 193 | </para>
|
---|
| 194 |
|
---|
[5e11bc38] | 195 | <screen><userinput>mkdir -vp build-1</userinput></screen>
|
---|
| 196 |
|
---|
| 197 | <para>
|
---|
| 198 | If you have built and installed the package against GTK+ 3, skip the
|
---|
| 199 | following command, because the previous docummentation also applies here:
|
---|
| 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 |
|
---|
| 209 | <screen><userinput>cd build-1 &&
|
---|
| 210 |
|
---|
| 211 |
|
---|
| 212 | ../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &&
|
---|
| 213 | make</userinput></screen>
|
---|
| 214 |
|
---|
| 215 | <para>
|
---|
| 216 | This package does not have a working testsuite. However, there is one
|
---|
| 217 | useable basic graphical web browser in the build directory,
|
---|
| 218 | <application>Programs/GtkLauncher</application>. If launching it
|
---|
| 219 | fails, there is a problem with the build.
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
| 222 | <note><para>
|
---|
| 223 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 224 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 225 | variables need to be defined for the root user. If using sudo to assume
|
---|
| 226 | root, use the -E option to pass your current environment variables for the
|
---|
| 227 | install process.
|
---|
| 228 | </para></note>
|
---|
| 229 |
|
---|
| 230 | <para>
|
---|
| 231 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 232 | </para>
|
---|
| 233 |
|
---|
| 234 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 235 |
|
---|
| 236 | <para>
|
---|
| 237 | Finally, leave the buid directory:
|
---|
| 238 | </para>
|
---|
| 239 |
|
---|
| 240 | <screen><userinput>cd ..</userinput></screen>
|
---|
| 241 |
|
---|
| 242 | </sect2>
|
---|
| 243 |
|
---|
| 244 | <sect2 role="commands">
|
---|
| 245 | <title>Command Explanations</title>
|
---|
| 246 |
|
---|
[c72f1ff] | 247 | <para>
|
---|
| 248 | <option>--enable-introspection</option>: This switch enables support for
|
---|
| 249 | <application>Gobject Introspection</application> and is required for a
|
---|
| 250 | <application>GNOME</application> Desktop. Remove if you don't have
|
---|
| 251 | <application>Gobject Introspection</application> installed or you don't
|
---|
| 252 | want to install <application>GNOME</application>.
|
---|
| 253 | </para>
|
---|
| 254 |
|
---|
| 255 | <para>
|
---|
| 256 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
| 257 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
| 258 | fail.
|
---|
| 259 | </para>
|
---|
| 260 |
|
---|
| 261 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 262 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 263 |
|
---|
| 264 | </sect2>
|
---|
| 265 |
|
---|
| 266 | <sect2 role="content">
|
---|
| 267 | <title>Contents</title>
|
---|
| 268 |
|
---|
| 269 | <segmentedlist>
|
---|
[5e11bc38] | 270 | <segtitle>Installed Programs</segtitle>
|
---|
[c72f1ff] | 271 | <segtitle>Installed Libraries</segtitle>
|
---|
| 272 | <segtitle>Installed Directories</segtitle>
|
---|
| 273 |
|
---|
| 274 | <seglistitem>
|
---|
| 275 | <seg>
|
---|
[5e11bc38] | 276 | jsc-1, and jsc-3
|
---|
[c72f1ff] | 277 | </seg>
|
---|
| 278 | <seg>
|
---|
[5e11bc38] | 279 | libjavascriptcoregtk-1.0.so,
|
---|
[a48fd185] | 280 | libjavascriptcoregtk-3.0.so,
|
---|
[263acbff] | 281 | libwebkit2gtk-3.0.so,
|
---|
[5e11bc38] | 282 | libwebkitgtk-1.0.so,
|
---|
| 283 | libwebkitgtk-3.0.so, and
|
---|
| 284 | webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.so
|
---|
[c72f1ff] | 285 | </seg>
|
---|
| 286 | <seg>
|
---|
[5e11bc38] | 287 | /usr/include/webkitgtk-1.0,
|
---|
[0cf41c97] | 288 | /usr/include/webkitgtk-3.0,
|
---|
| 289 | /usr/lib/webkit2gtk-3.0,
|
---|
[5e11bc38] | 290 | /usr/share/gtk-doc/html/webkit2gtk,
|
---|
[2f0f7a0] | 291 | /usr/share/gtk-doc/html/webkitdomgtk,
|
---|
[5e11bc38] | 292 | /usr/share/gtk-doc/html/webkitgtk,
|
---|
| 293 | /usr/share/webkitgtk-1.0, and
|
---|
[43aab5b9] | 294 | /usr/share/webkitgtk-3.0
|
---|
[c72f1ff] | 295 | </seg>
|
---|
| 296 | </seglistitem>
|
---|
| 297 | </segmentedlist>
|
---|
| 298 |
|
---|
| 299 | <variablelist>
|
---|
| 300 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 301 | <?dbfo list-presentation="list"?>
|
---|
| 302 | <?dbhtml list-presentation="table"?>
|
---|
| 303 |
|
---|
[5e11bc38] | 304 | <varlistentry id="jsc-1">
|
---|
| 305 | <term><command>jsc-1</command></term>
|
---|
| 306 | <listitem>
|
---|
| 307 | <para>
|
---|
| 308 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 309 | outside of the context of a web browser.
|
---|
| 310 | </para>
|
---|
| 311 | <indexterm zone="webkitgtk2 jsc-1">
|
---|
| 312 | <primary sortas="b-jsc-1">jsc-1</primary>
|
---|
| 313 | </indexterm>
|
---|
| 314 | </listitem>
|
---|
| 315 | </varlistentry>
|
---|
| 316 |
|
---|
[c72f1ff] | 317 | <varlistentry id="jsc-3">
|
---|
| 318 | <term><command>jsc-3</command></term>
|
---|
| 319 | <listitem>
|
---|
| 320 | <para>
|
---|
| 321 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 322 | outside of the context of a web browser.
|
---|
| 323 | </para>
|
---|
| 324 | <indexterm zone="webkitgtk2 jsc-3">
|
---|
| 325 | <primary sortas="b-jsc-3">jsc-3</primary>
|
---|
| 326 | </indexterm>
|
---|
| 327 | </listitem>
|
---|
| 328 | </varlistentry>
|
---|
| 329 |
|
---|
[5e11bc38] | 330 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
| 331 | <term><filename
|
---|
| 332 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
| 333 | <listitem>
|
---|
| 334 | <para>
|
---|
| 335 | contains core JavaScript API functions used by <command>jsc-1</command>
|
---|
| 336 | and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
| 337 | </para>
|
---|
| 338 | <indexterm zone="webkitgtk2 libjavascriptcoregtk-1">
|
---|
| 339 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
| 340 | </indexterm>
|
---|
| 341 | </listitem>
|
---|
| 342 | </varlistentry>
|
---|
| 343 |
|
---|
[c72f1ff] | 344 | <varlistentry id="libjavascriptcoregtk-3">
|
---|
| 345 | <term><filename
|
---|
| 346 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 347 | <listitem>
|
---|
| 348 | <para>
|
---|
| 349 | contains core JavaScript API functions used by <command>jsc-3</command>
|
---|
| 350 | and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
| 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>
|
---|