[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 |
|
---|
[d356833] | 7 | <!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
|
---|
[099ebaf] | 8 | <!ENTITY webkitgtk-download-ftp " ">
|
---|
[ef9000a] | 9 | <!ENTITY webkitgtk-md5sum "7b1a652af1eb11bee5bf7209e9ff67e6">
|
---|
| 10 | <!ENTITY webkitgtk-size "8.3 MB">
|
---|
[c72f1ff] | 11 | <!ENTITY webkitgtk-buildsize "650 MB">
|
---|
[9db393f1] | 12 | <!ENTITY webkitgtk-time "55 SBU">
|
---|
[099ebaf] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
---|
| 16 | <?dbhtml filename="webkitgtk.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>WebKitGTK+-&webkitgtk-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="webkitgtk">
|
---|
| 26 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to WebKitGTK+</title>
|
---|
| 31 |
|
---|
[4f1a8e5] | 32 | <para>
|
---|
[c72f1ff] | 33 | The <application>WebKitGTK+</application> is the port of the portable
|
---|
| 34 | web rendering engine <application>WebKit</application> to the
|
---|
| 35 | <application>GTK+ 2</application> platform.
|
---|
[4f1a8e5] | 36 | </para>
|
---|
[099ebaf] | 37 |
|
---|
[911d9698] | 38 | &lfs74_checked;
|
---|
[18d8af99] | 39 |
|
---|
[099ebaf] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[4f1a8e5] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
| 45 | </para>
|
---|
[099ebaf] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[4f1a8e5] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[099ebaf] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[4f1a8e5] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
| 55 | </para>
|
---|
[099ebaf] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[4f1a8e5] | 58 | <para>
|
---|
| 59 | Download size: &webkitgtk-size;
|
---|
| 60 | </para>
|
---|
[099ebaf] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[4f1a8e5] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
| 65 | </para>
|
---|
[099ebaf] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[4f1a8e5] | 68 | <para>
|
---|
| 69 | Estimated build time: &webkitgtk-time;
|
---|
| 70 | </para>
|
---|
[099ebaf] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[87dfe6b] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Required patch:
|
---|
| 79 | <ulink url="&patch-root;/webkitgtk-&webkitgtk-version;-fix_librt_linking-1.patch"/>
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[099ebaf] | 84 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4f1a8e5] | 87 | <para role="required">
|
---|
| 88 | <xref linkend="gperf"/>,
|
---|
[45ada554] | 89 | <xref linkend="gst-plugins-base"/>,
|
---|
[d356833] | 90 | <xref linkend="gtk2"/>,
|
---|
[4f1a8e5] | 91 | <xref linkend="icu"/>,
|
---|
| 92 | <xref linkend="libsoup"/>,
|
---|
[d356833] | 93 | <xref linkend="mesalib"/>,
|
---|
| 94 | <xref linkend="ruby"/>,
|
---|
[45ada554] | 95 | <xref linkend="sqlite"/> and
|
---|
| 96 | <xref linkend="which"/>
|
---|
[4f1a8e5] | 97 | </para>
|
---|
[57aae596] | 98 |
|
---|
[45ada554] | 99 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 100 | <para role="recommended">
|
---|
[c72f1ff] | 101 | <xref linkend="enchant"/> and
|
---|
| 102 | <xref linkend="geoclue"/>
|
---|
[4c2be438] | 103 | </para>
|
---|
| 104 |
|
---|
[099ebaf] | 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4f1a8e5] | 106 | <para role="optional">
|
---|
| 107 | <xref linkend="curl"/>,
|
---|
[c72f1ff] | 108 | <xref linkend="gobject-introspection"/>,
|
---|
[4f1a8e5] | 109 | <xref linkend="gtk-doc"/> and
|
---|
[a2912ff] | 110 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
[4f1a8e5] | 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para condition="html" role="usernotes">
|
---|
| 114 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 115 | </para>
|
---|
[099ebaf] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of WebKitGTK+</title>
|
---|
| 120 |
|
---|
[d356833] | 121 | <warning>
|
---|
| 122 | <para>
|
---|
| 123 | If you are building <application>WebKitGTK+</application>
|
---|
| 124 | with <command>make</command> 3.82, make sure that you have built
|
---|
| 125 | it with the following
|
---|
| 126 | <ulink url="&patch-downloads;/make/make-3.82-upstream_fixes-3.patch">
|
---|
| 127 | patch</ulink> applied or <application>WebKitGTK+</application>
|
---|
| 128 | build will fail.
|
---|
| 129 | </para>
|
---|
| 130 | </warning>
|
---|
[eedd7058] | 131 |
|
---|
| 132 | <para>
|
---|
| 133 | If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
---|
| 134 | cause <command>make install</command> to fail:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
[1a86846] | 137 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
[eedd7058] | 138 |
|
---|
[4f1a8e5] | 139 | <para>
|
---|
[d356833] | 140 | Install <application>WebKitGTK+</application> by running the
|
---|
[50f6ac1] | 141 | following commands:
|
---|
[4ac4aea] | 142 | </para>
|
---|
| 143 |
|
---|
[1a86846] | 144 | <screen><userinput>sed -i '/parse-param/ a%lex-param {YYLEX_PARAM}' \
|
---|
| 145 | Source/ThirdParty/ANGLE/src/compiler/glslang.y</userinput> &&
|
---|
| 146 | <userinput>patch -Np1 -i ../webkitgtk-&webkitgtk-version;-fix_librt_linking-1.patch &&
|
---|
[87dfe6b] | 147 | ./configure --prefix=/usr \
|
---|
[c72f1ff] | 148 | --libexecdir=/usr/lib/webkitgtk2 \
|
---|
| 149 | --with-gtk=2.0 \
|
---|
| 150 | --disable-webkit2 &&
|
---|
[d356833] | 151 | make</userinput></screen>
|
---|
[4ac4aea] | 152 |
|
---|
| 153 | <para>
|
---|
| 154 | This package does not have a working testsuite.
|
---|
| 155 | </para>
|
---|
[099ebaf] | 156 |
|
---|
[4f1a8e5] | 157 | <para>
|
---|
| 158 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 159 | </para>
|
---|
[099ebaf] | 160 |
|
---|
| 161 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | <sect2 role="commands">
|
---|
| 165 | <title>Command Explanations</title>
|
---|
| 166 |
|
---|
[911d9698] | 167 | <para>
|
---|
| 168 | <command>sed ... Source/ThirdParty/ANGLE/src/compiler/glslang.y</command>:
|
---|
| 169 | This command corrects a problem caused by the most recent version of
|
---|
| 170 | Bison.
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
[4ac4aea] | 173 | <para>
|
---|
[c72f1ff] | 174 | <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These parameters
|
---|
| 175 | force <application>WebKitGTK+</application> to compile against
|
---|
| 176 | <application>GTK+ 2</application>, even if
|
---|
| 177 | <application>GTK+ 3</application> is also installed.
|
---|
[4ac4aea] | 178 | </para>
|
---|
| 179 |
|
---|
[4f1a8e5] | 180 | <para>
|
---|
[d356833] | 181 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
| 182 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
| 183 | fail.
|
---|
[45ada554] | 184 | </para>
|
---|
| 185 |
|
---|
[e05cd03f] | 186 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[45ada554] | 187 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 188 |
|
---|
[099ebaf] | 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | <sect2 role="content">
|
---|
| 192 | <title>Contents</title>
|
---|
| 193 |
|
---|
| 194 | <segmentedlist>
|
---|
| 195 | <segtitle>Installed Program</segtitle>
|
---|
[c72f1ff] | 196 | <segtitle>Installed Libraries</segtitle>
|
---|
[099ebaf] | 197 | <segtitle>Installed Directories</segtitle>
|
---|
| 198 |
|
---|
| 199 | <seglistitem>
|
---|
[4f1a8e5] | 200 | <seg>
|
---|
[c72f1ff] | 201 | jsc-1
|
---|
[4f1a8e5] | 202 | </seg>
|
---|
| 203 | <seg>
|
---|
[c72f1ff] | 204 | libjavascriptcoregtk-1.0.so and libwebkit-1.0.so
|
---|
[4f1a8e5] | 205 | </seg>
|
---|
| 206 | <seg>
|
---|
[c72f1ff] | 207 | /usr/include/webkit-1.0, /usr/share/webkit-1.0 and
|
---|
| 208 | /usr/lib/webkitgtk2
|
---|
[4f1a8e5] | 209 | </seg>
|
---|
[099ebaf] | 210 | </seglistitem>
|
---|
| 211 | </segmentedlist>
|
---|
| 212 |
|
---|
| 213 | <variablelist>
|
---|
| 214 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 215 | <?dbfo list-presentation="list"?>
|
---|
| 216 | <?dbhtml list-presentation="table"?>
|
---|
| 217 |
|
---|
[c72f1ff] | 218 | <varlistentry id="jsc-1">
|
---|
| 219 | <term><command>jsc-1</command></term>
|
---|
[099ebaf] | 220 | <listitem>
|
---|
[4f1a8e5] | 221 | <para>
|
---|
| 222 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 223 | outside of the context of a web browser.
|
---|
| 224 | </para>
|
---|
[c72f1ff] | 225 | <indexterm zone="webkitgtk jsc-1">
|
---|
| 226 | <primary sortas="b-jsc-1">jsc-1</primary>
|
---|
[099ebaf] | 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
[d356833] | 231 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
[45ada554] | 232 | <term><filename
|
---|
| 233 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
[099ebaf] | 234 | <listitem>
|
---|
[4f1a8e5] | 235 | <para>
|
---|
[45ada554] | 236 | contains core JavaScript API functions used by <command>jsc-1</command>
|
---|
| 237 | and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
[4f1a8e5] | 238 | </para>
|
---|
[d356833] | 239 | <indexterm zone="webkitgtk libjavascriptcoregtk-1">
|
---|
| 240 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
[099ebaf] | 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
[d356833] | 245 | <varlistentry id="libwebkitgtk-1">
|
---|
[45ada554] | 246 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
[d57804d] | 247 | <listitem>
|
---|
[4f1a8e5] | 248 | <para>
|
---|
[45ada554] | 249 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 250 | <application>GTK+ 2</application>.
|
---|
[4f1a8e5] | 251 | </para>
|
---|
[d356833] | 252 | <indexterm zone="webkitgtk libwebkitgtk-1">
|
---|
| 253 | <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
---|
[d57804d] | 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 |
|
---|
[099ebaf] | 258 | </variablelist>
|
---|
[a2912ff] | 259 |
|
---|
[099ebaf] | 260 | </sect2>
|
---|
[a2912ff] | 261 |
|
---|
[099ebaf] | 262 | </sect1>
|
---|