[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 " ">
|
---|
[ca8b143b] | 9 | <!ENTITY webkitgtk2-md5sum "49cc8fd065de72603776a494e41c1977">
|
---|
[43aab5b9] | 10 | <!ENTITY webkitgtk2-size "9.0 MB">
|
---|
[a48fd185] | 11 | <!ENTITY webkitgtk2-buildsize "855 MB">
|
---|
[ca8b143b] | 12 | <!ENTITY webkitgtk2-time "56 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 |
|
---|
[ec592a68] | 38 | &lfs74_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="gperf"/>,
|
---|
| 79 | <xref linkend="gst10-plugins-base"/>,
|
---|
| 80 | <xref linkend="gtk3"/>,
|
---|
| 81 | <xref linkend="icu"/>,
|
---|
| 82 | <xref linkend="libsecret"/>,
|
---|
| 83 | <xref linkend="libsoup"/>,
|
---|
| 84 | <xref linkend="libwebp"/>,
|
---|
| 85 | <xref linkend="mesalib"/>,
|
---|
| 86 | <xref linkend="ruby"/>,
|
---|
| 87 | <xref linkend="sqlite"/>,
|
---|
[43aab5b9] | 88 | <xref linkend="udev-extras"/> (for GUdev), and
|
---|
[c72f1ff] | 89 | <xref linkend="which"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 93 | <para role="recommended">
|
---|
| 94 | <xref linkend="enchant"/>,
|
---|
[43aab5b9] | 95 | <xref linkend="geoclue"/>, and
|
---|
[c72f1ff] | 96 | <xref linkend="gobject-introspection"/>
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
| 101 | <xref linkend="gtk-doc"/> and
|
---|
| 102 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <para condition="html" role="usernotes">
|
---|
| 106 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 107 | </para>
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
| 111 | <title>Installation of WebKitGTK+</title>
|
---|
| 112 |
|
---|
| 113 | <warning>
|
---|
| 114 | <para>
|
---|
| 115 | If you are building <application>WebKitGTK+</application>
|
---|
| 116 | with <command>make</command> 3.82, make sure that you have built
|
---|
| 117 | it with the following
|
---|
| 118 | <ulink url="&patch-downloads;/make/make-3.82-upstream_fixes-3.patch">
|
---|
| 119 | patch</ulink> applied or <application>WebKitGTK+</application>
|
---|
[43aab5b9] | 120 | build may fail.
|
---|
[c72f1ff] | 121 | </para>
|
---|
| 122 | </warning>
|
---|
| 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 |
|
---|
| 129 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | Install <application>WebKitGTK+</application> by running the
|
---|
| 133 | following commands:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
[43aab5b9] | 136 | <screen><userinput>./configure --prefix=/usr \
|
---|
[c72f1ff] | 137 | --libexecdir=/usr/lib/webkitgtk3 \
|
---|
| 138 | --enable-introspection &&
|
---|
| 139 | make</userinput></screen>
|
---|
| 140 |
|
---|
| 141 | <para>
|
---|
[a910bff] | 142 | This package does not have a working testsuite. However, there are two
|
---|
| 143 | useable basic graphical web browsers in the source directory,
|
---|
| 144 | <application>Programs/GtkLauncher</application> and
|
---|
| 145 | <application>Programs/MiniBrowser</application>. If launching any one
|
---|
| 146 | fails, there is a problem with the build.
|
---|
[c72f1ff] | 147 | </para>
|
---|
| 148 |
|
---|
[ec592a68] | 149 | <note><para>
|
---|
| 150 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 151 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 152 | variables need to be defined for the root user. If using sudo to assume
|
---|
[773db87] | 153 | root, use the -E option to pass your current environment variables for the
|
---|
[ec592a68] | 154 | install process.
|
---|
| 155 | </para></note>
|
---|
| 156 |
|
---|
[c72f1ff] | 157 | <para>
|
---|
| 158 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
| 161 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="commands">
|
---|
| 165 | <title>Command Explanations</title>
|
---|
| 166 |
|
---|
| 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 |
|
---|
| 184 | </sect2>
|
---|
| 185 |
|
---|
| 186 | <sect2 role="content">
|
---|
| 187 | <title>Contents</title>
|
---|
| 188 |
|
---|
| 189 | <segmentedlist>
|
---|
| 190 | <segtitle>Installed Program</segtitle>
|
---|
| 191 | <segtitle>Installed Libraries</segtitle>
|
---|
| 192 | <segtitle>Installed Directories</segtitle>
|
---|
| 193 |
|
---|
| 194 | <seglistitem>
|
---|
| 195 | <seg>
|
---|
| 196 | jsc-3
|
---|
| 197 | </seg>
|
---|
| 198 | <seg>
|
---|
[a48fd185] | 199 | libjavascriptcoregtk-3.0.so,
|
---|
| 200 | libwebkit2gtkinjectedbundle.so,
|
---|
[43aab5b9] | 201 | libwebkit2gtk-3.0.so, and
|
---|
| 202 | libwebkitgtk-3.0.so
|
---|
[c72f1ff] | 203 | </seg>
|
---|
| 204 | <seg>
|
---|
[43aab5b9] | 205 | /usr/include/webkitgtk-3.0,
|
---|
[a48fd185] | 206 | /usr/lib/webkitgtk3,
|
---|
| 207 | /usr/lib/webkit2gtk-3.0,
|
---|
| 208 | /usr/share/gtk-doc/html/webkitgtk,
|
---|
| 209 | /usr/share/gtk-doc/html/webkit2gtk, and
|
---|
[43aab5b9] | 210 | /usr/share/webkitgtk-3.0
|
---|
[c72f1ff] | 211 | </seg>
|
---|
| 212 | </seglistitem>
|
---|
| 213 | </segmentedlist>
|
---|
| 214 |
|
---|
| 215 | <variablelist>
|
---|
| 216 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 217 | <?dbfo list-presentation="list"?>
|
---|
| 218 | <?dbhtml list-presentation="table"?>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="jsc-3">
|
---|
| 221 | <term><command>jsc-3</command></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>
|
---|
| 224 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 225 | outside of the context of a web browser.
|
---|
| 226 | </para>
|
---|
| 227 | <indexterm zone="webkitgtk2 jsc-3">
|
---|
| 228 | <primary sortas="b-jsc-3">jsc-3</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | <varlistentry id="libjavascriptcoregtk-3">
|
---|
| 234 | <term><filename
|
---|
| 235 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>
|
---|
| 238 | contains core JavaScript API functions used by <command>jsc-3</command>
|
---|
| 239 | and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>.
|
---|
| 240 | </para>
|
---|
| 241 | <indexterm zone="webkitgtk libjavascriptcoregtk-3">
|
---|
| 242 | <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
[a48fd185] | 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | <varlistentry id="libwebkit2gtkinjectedbundle">
|
---|
| 248 | <term><filename class="libraryfile">libwebkit2gtkinjectedbundle.so</filename></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>
|
---|
| 251 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 252 | the Injected Bundle support.
|
---|
| 253 | </para>
|
---|
| 254 | <indexterm zone="webkitgtk libwebkit2gtkinjectedbundle">
|
---|
| 255 | <primary sortas="c-libwebkit2gtkinjectedbundle">libwebkit2gtkinjectedbundle.so</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
[c72f1ff] | 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="libwebkitgtk-3">
|
---|
| 261 | <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para>
|
---|
| 264 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 265 | <application>GTK+ 3</application>.
|
---|
| 266 | </para>
|
---|
| 267 | <indexterm zone="webkitgtk libwebkitgtk-3">
|
---|
| 268 | <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary>
|
---|
| 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
| 273 | <varlistentry id="libwebkit2gtk-3">
|
---|
| 274 | <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term>
|
---|
| 275 | <listitem>
|
---|
| 276 | <para>
|
---|
| 277 | contains the <application>WebKit2</application> API functions.
|
---|
| 278 | </para>
|
---|
| 279 | <indexterm zone="webkitgtk libwebkit2gtk-3">
|
---|
| 280 | <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary>
|
---|
| 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
| 285 | </variablelist>
|
---|
| 286 |
|
---|
| 287 | </sect2>
|
---|
| 288 |
|
---|
| 289 | </sect1>
|
---|