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