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