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