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