[099ebaf] | 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 |
|
---|
[4f1a8e5] | 7 | <!ENTITY webkitgtk-download-http
|
---|
[9ce0afc2] | 8 | "http://webkitgtk.org/releases/webkit-&webkitgtk-version;.tar.xz">
|
---|
[099ebaf] | 9 | <!ENTITY webkitgtk-download-ftp " ">
|
---|
[26047b6e] | 10 | <!ENTITY webkitgtk-md5sum "52b2feb0fae01e68432b547bd85e8d74">
|
---|
| 11 | <!ENTITY webkitgtk-size "7.6 MB">
|
---|
[d57804d] | 12 | <!ENTITY webkitgtk-buildsize "500 MB (38 MB installed)">
|
---|
| 13 | <!ENTITY webkitgtk-time "28 SBU">
|
---|
[099ebaf] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
---|
| 17 | <?dbhtml filename="webkitgtk.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>WebKitGTK+-&webkitgtk-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="webkitgtk">
|
---|
| 27 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to WebKitGTK+</title>
|
---|
| 32 |
|
---|
[4f1a8e5] | 33 | <para>
|
---|
| 34 | The <application>WebKitGTK+</application> package is the port of the
|
---|
| 35 | portable web rendering engine <application>WebKit</application> to the
|
---|
| 36 | <application>GTK+</application> platform.
|
---|
| 37 | </para>
|
---|
[099ebaf] | 38 |
|
---|
[4c77a949] | 39 | &lfs71_checked;
|
---|
[18d8af99] | 40 |
|
---|
[099ebaf] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[4f1a8e5] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
| 46 | </para>
|
---|
[099ebaf] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[4f1a8e5] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[099ebaf] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[4f1a8e5] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
| 56 | </para>
|
---|
[099ebaf] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[4f1a8e5] | 59 | <para>
|
---|
| 60 | Download size: &webkitgtk-size;
|
---|
| 61 | </para>
|
---|
[099ebaf] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[4f1a8e5] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
| 66 | </para>
|
---|
[099ebaf] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[4f1a8e5] | 69 | <para>
|
---|
| 70 | Estimated build time: &webkitgtk-time;
|
---|
| 71 | </para>
|
---|
[099ebaf] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4f1a8e5] | 78 | <para role="required">
|
---|
| 79 | <xref linkend="gperf"/>,
|
---|
| 80 | <xref linkend="libjpeg"/>,
|
---|
| 81 | <xref linkend="libpng"/>,
|
---|
| 82 | <xref linkend="icu"/>,
|
---|
| 83 | <xref linkend="libxslt"/>,
|
---|
[4ac4aea] | 84 | <xref linkend="gtk2"/> or <xref linkend="gtk3"/>
|
---|
| 85 | (<command>configure</command> defaults to using gtk+-3),
|
---|
[4f1a8e5] | 86 | <xref linkend="libsoup"/>,
|
---|
| 87 | <xref linkend="gst-plugins-base"/>,
|
---|
[11daca34] | 88 | <xref linkend="geoclue"/>,
|
---|
[4f1a8e5] | 89 | <xref linkend="which"/> and
|
---|
| 90 | <xref linkend="sqlite"/>.
|
---|
| 91 | </para>
|
---|
[57aae596] | 92 |
|
---|
[099ebaf] | 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4f1a8e5] | 94 | <para role="optional">
|
---|
| 95 | <xref linkend="curl"/>,
|
---|
| 96 | <xref linkend="enchant"/>,
|
---|
| 97 | <xref linkend="gobject-introspection"/> (required if building
|
---|
| 98 | <application>epiphany</application>),
|
---|
| 99 | <xref linkend="gtk-doc"/> and
|
---|
| 100 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>.
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para condition="html" role="usernotes">
|
---|
| 104 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 105 | </para>
|
---|
[099ebaf] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of WebKitGTK+</title>
|
---|
| 110 |
|
---|
[4f1a8e5] | 111 | <para>
|
---|
[4ac4aea] | 112 | <application>WebKit</application> takes a long time to compile, so if you
|
---|
| 113 | have a multicore CPU it can be useful to speed up the build by running
|
---|
| 114 | make with multiple jobs.
|
---|
[4f1a8e5] | 115 | </para>
|
---|
[39ed0a6e] | 116 |
|
---|
[4f1a8e5] | 117 | <para>
|
---|
[4ac4aea] | 118 | If you want to run make with just one job, install
|
---|
| 119 | <application>WebKit</application> by running the following commands:
|
---|
[4f1a8e5] | 120 | </para>
|
---|
[099ebaf] | 121 |
|
---|
[4ac4aea] | 122 | <screen><userinput>./configure --prefix=/usr --enable-introspection &&
|
---|
[099ebaf] | 123 | make</userinput></screen>
|
---|
| 124 |
|
---|
[4ac4aea] | 125 | <para>
|
---|
| 126 | If you have a multicore CPU and want to run make with multiple jobs,
|
---|
| 127 | install <application>WebKit</application> by running the following
|
---|
| 128 | commands:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <screen><userinput>./configure --prefix=/usr --enable-introspection &&
|
---|
| 132 | until make -j$(getconf _NPROCESSORS_ONLN)
|
---|
| 133 | do echo "Let's try that again..."
|
---|
| 134 | done</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | This package does not have a working testsuite.
|
---|
| 138 | </para>
|
---|
| 139 | <!--
|
---|
[4f1a8e5] | 140 | <para>
|
---|
| 141 | To test the results, issue: <command>make check</command> (you must be in
|
---|
| 142 | an xterm or similar to do this, because it launches some windows).
|
---|
[4ac4aea] | 143 | Requires <xref linkend="pygobject2"/>.
|
---|
[4f1a8e5] | 144 | </para>
|
---|
[4ac4aea] | 145 | -->
|
---|
[099ebaf] | 146 |
|
---|
[4f1a8e5] | 147 | <para>
|
---|
| 148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[099ebaf] | 150 |
|
---|
| 151 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="commands">
|
---|
| 155 | <title>Command Explanations</title>
|
---|
| 156 |
|
---|
[4ac4aea] | 157 | <para>
|
---|
| 158 | <option>--enable-introspection</option>: This option enables support for
|
---|
| 159 | <application>Gobject-Introspection</application> and is required for a
|
---|
| 160 | <application>GNOME</application> desktop.
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <para>
|
---|
| 164 | <command>until make -j$(getconf _NPROCESSORS_ONLN)</command>). Sadly
|
---|
| 165 | there are race conditions in the makefiles that will cause the build to
|
---|
| 166 | fail if you run make with multiple jobs. This simple hack works around
|
---|
| 167 | that, <command>until</command> will keep running <command>make</command>
|
---|
| 168 | until it succeeds. <command>$(getconf _NPROCESSORS_ONLN)</command> prints
|
---|
| 169 | the number of cores your computer seems to have.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
[4f1a8e5] | 172 | <para>
|
---|
| 173 | <option>--with-gtk=2.0</option>: This option forces
|
---|
| 174 | <application>Webkit</application> to compile against
|
---|
| 175 | <application>Gtk+-2</application>, even if
|
---|
| 176 | <application>Gtk+-3</application> is also installed. With
|
---|
| 177 | <application>Gtk+-2</application>, everything
|
---|
| 178 | <application>Webkit</application> installs is suffixed with 1.0. When it
|
---|
| 179 | is compiled against <application>Gtk+-3</application> everything it
|
---|
| 180 | installs is suffixed with 3.0. Both versions can be installed alongside
|
---|
| 181 | one another with no namespace conflicts.
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
[e05cd03f] | 184 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[099ebaf] | 185 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | <sect2 role="content">
|
---|
| 189 | <title>Contents</title>
|
---|
| 190 |
|
---|
| 191 | <segmentedlist>
|
---|
| 192 | <segtitle>Installed Program</segtitle>
|
---|
| 193 | <segtitle>Installed Library</segtitle>
|
---|
| 194 | <segtitle>Installed Directories</segtitle>
|
---|
| 195 |
|
---|
| 196 | <seglistitem>
|
---|
[4f1a8e5] | 197 | <seg>
|
---|
[4ac4aea] | 198 | jsc-1 or jsc-3 (depending on whether you installed the
|
---|
| 199 | <application>Gtk+-2</application> or <application>Gtk+-3</application>
|
---|
| 200 | version of <application>WebKit</application>).
|
---|
[4f1a8e5] | 201 | </seg>
|
---|
| 202 | <seg>
|
---|
| 203 | libwebkit-1.0.so and libjavascriptcoregtk-1.0.so or libwebkit-3.0.so
|
---|
| 204 | and libjavascriptcoregtk-3.0.so (depending on whether you installed
|
---|
[4ac4aea] | 205 | the <application>Gtk+-2</application> or
|
---|
| 206 | <application>Gtk+-3</application> version of
|
---|
| 207 | <application>WebKit</application>).
|
---|
[4f1a8e5] | 208 | </seg>
|
---|
| 209 | <seg>
|
---|
| 210 | /usr/include/webkit-1.0 and /usr/share/webkit-1.0 or
|
---|
| 211 | /usr/include/webkit-3.0 and /usr/share/webkit-3.0 (depending on
|
---|
[4ac4aea] | 212 | whether you installed the <application>Gtk+-2</application> or
|
---|
| 213 | <application>Gtk+-3</application> version of
|
---|
| 214 | <application>WebKit</application>).
|
---|
[4f1a8e5] | 215 | </seg>
|
---|
[099ebaf] | 216 | </seglistitem>
|
---|
| 217 | </segmentedlist>
|
---|
| 218 |
|
---|
| 219 | <variablelist>
|
---|
| 220 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 221 | <?dbfo list-presentation="list"?>
|
---|
| 222 | <?dbhtml list-presentation="table"?>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="jsc">
|
---|
[d57804d] | 225 | <term><command>jsc-1</command> or <command>jsc-3</command></term>
|
---|
[099ebaf] | 226 | <listitem>
|
---|
[4f1a8e5] | 227 | <para>
|
---|
| 228 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 229 | outside of the context of a web browser.
|
---|
| 230 | </para>
|
---|
[099ebaf] | 231 | <indexterm zone="webkitgtk jsc">
|
---|
| 232 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="libwebkit-1.0">
|
---|
[d57804d] | 238 | <term><filename class="libraryfile">libwebkit-1.0.so</filename></term>
|
---|
[099ebaf] | 239 | <listitem>
|
---|
[4f1a8e5] | 240 | <para>
|
---|
[4ac4aea] | 241 | contains the <application>WebKit</application> API functions for
|
---|
[4f1a8e5] | 242 | <application>gtk+-2</application>.
|
---|
| 243 | </para>
|
---|
[099ebaf] | 244 | <indexterm zone="webkitgtk libwebkit-1.0">
|
---|
| 245 | <primary sortas="c-libwebkit-1.0">libwebkit-1.0.so</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
[d57804d] | 250 | <varlistentry id="libwebkit-3.0">
|
---|
| 251 | <term><filename class="libraryfile">libwebkit-3.0.so</filename></term>
|
---|
| 252 | <listitem>
|
---|
[4f1a8e5] | 253 | <para>
|
---|
[4ac4aea] | 254 | contains the <application>WebKit</application> API functions for
|
---|
[4f1a8e5] | 255 | <application>gtk+-3</application>.
|
---|
| 256 | </para>
|
---|
[d57804d] | 257 | <indexterm zone="webkitgtk libwebkit-3.0">
|
---|
| 258 | <primary sortas="c-libwebkit-3.0">libwebkit-3.0.so</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="libjavascriptcoregtk-1.0">
|
---|
| 264 | <term><filename
|
---|
| 265 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
| 266 | <listitem>
|
---|
[4f1a8e5] | 267 | <para>
|
---|
| 268 | contains functions that are used by <command>jsc-1</command>.
|
---|
| 269 | </para>
|
---|
[d57804d] | 270 | <indexterm zone="webkitgtk libjavascriptcoregtk-1.0">
|
---|
[4ac4aea] | 271 | <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary>
|
---|
[d57804d] | 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | <varlistentry id="libjavascriptcoregtk-3.0">
|
---|
| 277 | <term><filename
|
---|
| 278 | class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term>
|
---|
| 279 | <listitem>
|
---|
[4f1a8e5] | 280 | <para>
|
---|
| 281 | contains functions that are used by <command>jsc-3</command>.
|
---|
| 282 | </para>
|
---|
[d57804d] | 283 | <indexterm zone="webkitgtk libjavascriptcoregtk-3.0">
|
---|
[4ac4aea] | 284 | <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary>
|
---|
[d57804d] | 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
[099ebaf] | 288 | </variablelist>
|
---|
| 289 | </sect2>
|
---|
| 290 | </sect1>
|
---|