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