[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 " ">
|
---|
[58720a7b] | 9 | <!ENTITY webkitgtk2-md5sum "79edd28d32172abc17a8861622cc274f">
|
---|
[2f0f7a0] | 10 | <!ENTITY webkitgtk2-size "9.4 MB">
|
---|
[ab479cda] | 11 | <!ENTITY webkitgtk2-buildsize "938 MB">
|
---|
[58720a7b] | 12 | <!ENTITY webkitgtk2-time "77 SBU">
|
---|
[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>
|
---|
| 33 | The <application>WebKitGTK+</application> is the port of the portable
|
---|
| 34 | web rendering engine <application>WebKit</application> to the
|
---|
| 35 | <application>GTK+ 3</application> platform.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[682f45b2] | 38 | &lfs75_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"/>,
|
---|
| 79 | <xref linkend="gtk3"/>,
|
---|
| 80 | <xref linkend="icu"/>,
|
---|
| 81 | <xref linkend="libsecret"/>,
|
---|
| 82 | <xref linkend="libsoup"/>,
|
---|
| 83 | <xref linkend="libwebp"/>,
|
---|
| 84 | <xref linkend="mesalib"/>,
|
---|
| 85 | <xref linkend="ruby"/>,
|
---|
| 86 | <xref linkend="sqlite"/>,
|
---|
[7de9746] | 87 | <xref linkend="systemd"/> (for GUdev) and
|
---|
[c72f1ff] | 88 | <xref linkend="which"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 92 | <para role="recommended">
|
---|
| 93 | <xref linkend="enchant"/>,
|
---|
[e51a42b6] | 94 | <xref linkend="geoclue"/>,
|
---|
[c647e6d] | 95 | <xref linkend="gobject-introspection"/>,
|
---|
| 96 | <xref linkend="gtk2"/> and
|
---|
[e51a42b6] | 97 | <xref linkend="hicolor-icon-theme"/>
|
---|
[c72f1ff] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 101 | <para role="optional">
|
---|
[2f0f7a0] | 102 | <xref linkend="gtk-doc"/>,
|
---|
| 103 | <xref linkend="harfbuzz"/>,
|
---|
| 104 | <xref linkend="llvm"/>,
|
---|
| 105 | <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>, and
|
---|
[c72f1ff] | 106 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para condition="html" role="usernotes">
|
---|
| 110 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 111 | </para>
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="installation">
|
---|
| 115 | <title>Installation of WebKitGTK+</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
---|
| 119 | cause <command>make install</command> to fail:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | Install <application>WebKitGTK+</application> by running the
|
---|
| 126 | following commands:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[ab479cda] | 129 | <screen><userinput>./configure --prefix=/usr \
|
---|
[c72f1ff] | 130 | --enable-introspection &&
|
---|
| 131 | make</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
[a910bff] | 134 | This package does not have a working testsuite. However, there are two
|
---|
| 135 | useable basic graphical web browsers in the source directory,
|
---|
| 136 | <application>Programs/GtkLauncher</application> and
|
---|
| 137 | <application>Programs/MiniBrowser</application>. If launching any one
|
---|
| 138 | fails, there is a problem with the build.
|
---|
[c72f1ff] | 139 | </para>
|
---|
| 140 |
|
---|
[ec592a68] | 141 | <note><para>
|
---|
| 142 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 143 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 144 | variables need to be defined for the root user. If using sudo to assume
|
---|
[773db87] | 145 | root, use the -E option to pass your current environment variables for the
|
---|
[ec592a68] | 146 | install process.
|
---|
| 147 | </para></note>
|
---|
| 148 |
|
---|
[c72f1ff] | 149 | <para>
|
---|
| 150 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
[49d3336] | 153 | <screen role="root"><userinput>make install &&
|
---|
| 154 | rm -rf /usr/share/gtk-doc/html/webkitgtk-2.0 &&
|
---|
| 155 | mv -vi /usr/share/gtk-doc/html/webkitgtk{,-2.0}</userinput></screen>
|
---|
[c72f1ff] | 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | <sect2 role="commands">
|
---|
| 159 | <title>Command Explanations</title>
|
---|
| 160 |
|
---|
[49d3336] | 161 | <para>
|
---|
| 162 | <command>mv -vi /usr/share/gtk-doc/html/webkitgtk{,-2.0}</command>:
|
---|
| 163 | There is a conflict with the directory installed with same name by
|
---|
| 164 | <xref linkend="webkitgtk"/>.
|
---|
| 165 | </para>
|
---|
| 166 |
|
---|
[c72f1ff] | 167 | <para>
|
---|
| 168 | <option>--enable-introspection</option>: This switch enables support for
|
---|
| 169 | <application>Gobject Introspection</application> and is required for a
|
---|
| 170 | <application>GNOME</application> Desktop. Remove if you don't have
|
---|
| 171 | <application>Gobject Introspection</application> installed or you don't
|
---|
| 172 | want to install <application>GNOME</application>.
|
---|
| 173 | </para>
|
---|
| 174 |
|
---|
| 175 | <para>
|
---|
| 176 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
| 177 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
| 178 | fail.
|
---|
| 179 | </para>
|
---|
| 180 |
|
---|
| 181 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 182 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 183 |
|
---|
[663b79c2] | 184 | <para><option>--libexecdir=/usr/lib/webkitgtk3</option>: This option
|
---|
| 185 | puts the package's private programs into
|
---|
| 186 | <filename class="directory">/usr/lib/webkitgtk3</filename> instead of
|
---|
| 187 | <filename class="directory">/usr/libexec</filename> in accordance with
|
---|
| 188 | the old version of the FHS used before LFS-7.5.</para>
|
---|
| 189 |
|
---|
[c72f1ff] | 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | <sect2 role="content">
|
---|
| 193 | <title>Contents</title>
|
---|
| 194 |
|
---|
| 195 | <segmentedlist>
|
---|
| 196 | <segtitle>Installed Program</segtitle>
|
---|
| 197 | <segtitle>Installed Libraries</segtitle>
|
---|
| 198 | <segtitle>Installed Directories</segtitle>
|
---|
| 199 |
|
---|
| 200 | <seglistitem>
|
---|
| 201 | <seg>
|
---|
| 202 | jsc-3
|
---|
| 203 | </seg>
|
---|
| 204 | <seg>
|
---|
[a48fd185] | 205 | libjavascriptcoregtk-3.0.so,
|
---|
[263acbff] | 206 | libwebkit2gtk-3.0.so,
|
---|
| 207 | libwebkitgtk-3.0.so and
|
---|
| 208 | /usr/lib/webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.so
|
---|
[c72f1ff] | 209 | </seg>
|
---|
| 210 | <seg>
|
---|
[0cf41c97] | 211 | /usr/include/webkitgtk-3.0,
|
---|
| 212 | /usr/lib/webkit2gtk-3.0,
|
---|
[49d3336] | 213 | /usr/share/gtk-doc/html/webkitgtk-2.0,
|
---|
[2f0f7a0] | 214 | /usr/share/gtk-doc/html/webkitdomgtk,
|
---|
| 215 | /usr/share/gtk-doc/html/webkit2gtk, and
|
---|
[43aab5b9] | 216 | /usr/share/webkitgtk-3.0
|
---|
[c72f1ff] | 217 | </seg>
|
---|
| 218 | </seglistitem>
|
---|
| 219 | </segmentedlist>
|
---|
| 220 |
|
---|
| 221 | <variablelist>
|
---|
| 222 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 223 | <?dbfo list-presentation="list"?>
|
---|
| 224 | <?dbhtml list-presentation="table"?>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="jsc-3">
|
---|
| 227 | <term><command>jsc-3</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>
|
---|
| 230 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 231 | outside of the context of a web browser.
|
---|
| 232 | </para>
|
---|
| 233 | <indexterm zone="webkitgtk2 jsc-3">
|
---|
| 234 | <primary sortas="b-jsc-3">jsc-3</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="libjavascriptcoregtk-3">
|
---|
| 240 | <term><filename
|
---|
| 241 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>
|
---|
| 244 | contains core JavaScript API functions used by <command>jsc-3</command>
|
---|
| 245 | and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
| 246 | </para>
|
---|
| 247 | <indexterm zone="webkitgtk libjavascriptcoregtk-3">
|
---|
| 248 | <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
[a48fd185] | 251 | </varlistentry>
|
---|
[263acbff] | 252 | <!--
|
---|
[a48fd185] | 253 | <varlistentry id="libwebkit2gtkinjectedbundle">
|
---|
| 254 | <term><filename class="libraryfile">libwebkit2gtkinjectedbundle.so</filename></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>
|
---|
| 257 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 258 | the Injected Bundle support.
|
---|
| 259 | </para>
|
---|
| 260 | <indexterm zone="webkitgtk libwebkit2gtkinjectedbundle">
|
---|
| 261 | <primary sortas="c-libwebkit2gtkinjectedbundle">libwebkit2gtkinjectedbundle.so</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
[c72f1ff] | 264 | </varlistentry>
|
---|
[263acbff] | 265 | -->
|
---|
[c72f1ff] | 266 |
|
---|
| 267 | <varlistentry id="libwebkitgtk-3">
|
---|
| 268 | <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
---|
| 269 | <listitem>
|
---|
| 270 | <para>
|
---|
| 271 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 272 | <application>GTK+ 3</application>.
|
---|
| 273 | </para>
|
---|
| 274 | <indexterm zone="webkitgtk libwebkitgtk-3">
|
---|
| 275 | <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
---|
| 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
| 280 | <varlistentry id="libwebkit2gtk-3">
|
---|
| 281 | <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
---|
| 282 | <listitem>
|
---|
| 283 | <para>
|
---|
| 284 | contains the <application>WebKit2</application> API functions.
|
---|
| 285 | </para>
|
---|
| 286 | <indexterm zone="webkitgtk libwebkit2gtk-3">
|
---|
| 287 | <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
---|
| 288 | </indexterm>
|
---|
| 289 | </listitem>
|
---|
| 290 | </varlistentry>
|
---|
| 291 |
|
---|
| 292 | </variablelist>
|
---|
| 293 |
|
---|
| 294 | </sect2>
|
---|
| 295 |
|
---|
| 296 | </sect1>
|
---|