[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 |
|
---|
[0eda55a9] | 38 | &lfs75_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">
|
---|
[45ada554] | 88 | <xref linkend="gst-plugins-base"/>,
|
---|
[d356833] | 89 | <xref linkend="gtk2"/>,
|
---|
[4f1a8e5] | 90 | <xref linkend="icu"/>,
|
---|
| 91 | <xref linkend="libsoup"/>,
|
---|
[d356833] | 92 | <xref linkend="mesalib"/>,
|
---|
| 93 | <xref linkend="ruby"/>,
|
---|
[45ada554] | 94 | <xref linkend="sqlite"/> and
|
---|
| 95 | <xref linkend="which"/>
|
---|
[4f1a8e5] | 96 | </para>
|
---|
[57aae596] | 97 |
|
---|
[45ada554] | 98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 99 | <para role="recommended">
|
---|
[e51a42b6] | 100 | <xref linkend="enchant"/>,
|
---|
| 101 | <xref linkend="geoclue"/> and
|
---|
| 102 | <xref linkend="hicolor-icon-theme"/>
|
---|
[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 |
|
---|
[eedd7058] | 121 | <para>
|
---|
| 122 | If you have not installed <xref linkend="gtk-doc"/>, fix a bug that will
|
---|
| 123 | cause <command>make install</command> to fail:
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
[1a86846] | 126 | <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen>
|
---|
[eedd7058] | 127 |
|
---|
[4f1a8e5] | 128 | <para>
|
---|
[d356833] | 129 | Install <application>WebKitGTK+</application> by running the
|
---|
[50f6ac1] | 130 | following commands:
|
---|
[4ac4aea] | 131 | </para>
|
---|
| 132 |
|
---|
[1a86846] | 133 | <screen><userinput>sed -i '/parse-param/ a%lex-param {YYLEX_PARAM}' \
|
---|
[c612fc3] | 134 | Source/ThirdParty/ANGLE/src/compiler/glslang.y &&
|
---|
| 135 | patch -Np1 -i ../webkitgtk-&webkitgtk-version;-fix_librt_linking-1.patch &&
|
---|
| 136 | ./configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 &&
|
---|
[d356833] | 137 | make</userinput></screen>
|
---|
[4ac4aea] | 138 |
|
---|
| 139 | <para>
|
---|
[a910bff] | 140 | This package does not have a working testsuite. However, there is a
|
---|
| 141 | useable basic graphical web browser in the source directory,
|
---|
| 142 | <application>Programs/GtkLauncher</application>. If it fails, there is a
|
---|
| 143 | problem with the build.
|
---|
[4ac4aea] | 144 | </para>
|
---|
[099ebaf] | 145 |
|
---|
[4f1a8e5] | 146 | <para>
|
---|
| 147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
[099ebaf] | 149 |
|
---|
[49d3336] | 150 | <screen role="root"><userinput>make install &&
|
---|
| 151 | rm -rf /usr/share/gtk-doc/html/webkitgtk-1.0 &&
|
---|
| 152 | mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}</userinput></screen>
|
---|
[099ebaf] | 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="commands">
|
---|
| 156 | <title>Command Explanations</title>
|
---|
| 157 |
|
---|
[49d3336] | 158 | <para>
|
---|
| 159 | <command>mv -vi /usr/share/gtk-doc/html/webkitgtk{,-1.0}</command>:
|
---|
| 160 | There is a conflict with the directory installed with same name by
|
---|
| 161 | <xref linkend="webkitgtk2"/>.
|
---|
| 162 | </para>
|
---|
| 163 |
|
---|
[911d9698] | 164 | <para>
|
---|
| 165 | <command>sed ... Source/ThirdParty/ANGLE/src/compiler/glslang.y</command>:
|
---|
| 166 | This command corrects a problem caused by the most recent version of
|
---|
| 167 | Bison.
|
---|
| 168 | </para>
|
---|
| 169 |
|
---|
[4ac4aea] | 170 | <para>
|
---|
[c72f1ff] | 171 | <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These parameters
|
---|
| 172 | force <application>WebKitGTK+</application> to compile against
|
---|
| 173 | <application>GTK+ 2</application>, even if
|
---|
| 174 | <application>GTK+ 3</application> is also installed.
|
---|
[4ac4aea] | 175 | </para>
|
---|
| 176 |
|
---|
[4f1a8e5] | 177 | <para>
|
---|
[d356833] | 178 | <option>--disable-geolocation</option>: Use this option if you did not
|
---|
| 179 | install <xref linkend="geoclue"/> or <command>configure</command> will
|
---|
| 180 | fail.
|
---|
[45ada554] | 181 | </para>
|
---|
| 182 |
|
---|
[e05cd03f] | 183 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[45ada554] | 184 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 185 |
|
---|
[099ebaf] | 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | <sect2 role="content">
|
---|
| 189 | <title>Contents</title>
|
---|
| 190 |
|
---|
| 191 | <segmentedlist>
|
---|
| 192 | <segtitle>Installed Program</segtitle>
|
---|
[c72f1ff] | 193 | <segtitle>Installed Libraries</segtitle>
|
---|
[099ebaf] | 194 | <segtitle>Installed Directories</segtitle>
|
---|
| 195 |
|
---|
| 196 | <seglistitem>
|
---|
[4f1a8e5] | 197 | <seg>
|
---|
[c72f1ff] | 198 | jsc-1
|
---|
[4f1a8e5] | 199 | </seg>
|
---|
| 200 | <seg>
|
---|
[49d3336] | 201 | libjavascriptcoregtk-1.0.so and libwebkitgtk-1.0.so
|
---|
[4f1a8e5] | 202 | </seg>
|
---|
| 203 | <seg>
|
---|
[49d3336] | 204 | /usr/include/webkit-1.0,
|
---|
| 205 | /usr/share/gtk-doc/html/webkitgtk-1.0 and
|
---|
[79d191ee] | 206 | /usr/share/webkit-1.0
|
---|
[4f1a8e5] | 207 | </seg>
|
---|
[099ebaf] | 208 | </seglistitem>
|
---|
| 209 | </segmentedlist>
|
---|
| 210 |
|
---|
| 211 | <variablelist>
|
---|
| 212 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 213 | <?dbfo list-presentation="list"?>
|
---|
| 214 | <?dbhtml list-presentation="table"?>
|
---|
| 215 |
|
---|
[c72f1ff] | 216 | <varlistentry id="jsc-1">
|
---|
| 217 | <term><command>jsc-1</command></term>
|
---|
[099ebaf] | 218 | <listitem>
|
---|
[4f1a8e5] | 219 | <para>
|
---|
| 220 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 221 | outside of the context of a web browser.
|
---|
| 222 | </para>
|
---|
[c72f1ff] | 223 | <indexterm zone="webkitgtk jsc-1">
|
---|
| 224 | <primary sortas="b-jsc-1">jsc-1</primary>
|
---|
[099ebaf] | 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
[d356833] | 229 | <varlistentry id="libjavascriptcoregtk-1">
|
---|
[45ada554] | 230 | <term><filename
|
---|
| 231 | class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term>
|
---|
[099ebaf] | 232 | <listitem>
|
---|
[4f1a8e5] | 233 | <para>
|
---|
[45ada554] | 234 | contains core JavaScript API functions used by <command>jsc-1</command>
|
---|
| 235 | and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>.
|
---|
[4f1a8e5] | 236 | </para>
|
---|
[d356833] | 237 | <indexterm zone="webkitgtk libjavascriptcoregtk-1">
|
---|
| 238 | <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary>
|
---|
[099ebaf] | 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
[d356833] | 243 | <varlistentry id="libwebkitgtk-1">
|
---|
[45ada554] | 244 | <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term>
|
---|
[d57804d] | 245 | <listitem>
|
---|
[4f1a8e5] | 246 | <para>
|
---|
[45ada554] | 247 | contains the <application>WebKitGTK+</application> API functions for
|
---|
| 248 | <application>GTK+ 2</application>.
|
---|
[4f1a8e5] | 249 | </para>
|
---|
[d356833] | 250 | <indexterm zone="webkitgtk libwebkitgtk-1">
|
---|
| 251 | <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary>
|
---|
[d57804d] | 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
[099ebaf] | 256 | </variablelist>
|
---|
[a2912ff] | 257 |
|
---|
[099ebaf] | 258 | </sect2>
|
---|
[a2912ff] | 259 |
|
---|
[099ebaf] | 260 | </sect1>
|
---|