[1a024c3c] | 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 |
|
---|
[264db1d] | 7 | <!-- This is the 2.8.x and later version of webkit -->
|
---|
[de4ed8e] | 8 | <!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
|
---|
| 9 | <!ENTITY webkitgtk-download-ftp " ">
|
---|
[69d2a66] | 10 | <!ENTITY webkitgtk-md5sum "41e018d651413fdbcd4b6480ab1fbd7b">
|
---|
| 11 | <!ENTITY webkitgtk-size "11.2 MB">
|
---|
| 12 | <!ENTITY webkitgtk-buildsize "925 MB (109 MB installed)">
|
---|
[db6b3391] | 13 | <!ENTITY webkitgtk-time "38 SBU (using parallelism=4, estimated 90+ SBU using 1 core)">
|
---|
[1a024c3c] | 14 | ]>
|
---|
| 15 |
|
---|
[de4ed8e] | 16 | <sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
---|
| 17 | <?dbhtml filename="webkitgtk.html"?>
|
---|
[1a024c3c] | 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[de4ed8e] | 24 | <title>WebKitGTK+-&webkitgtk-version;</title>
|
---|
[1a024c3c] | 25 |
|
---|
[de4ed8e] | 26 | <indexterm zone="webkitgtk">
|
---|
[1a024c3c] | 27 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to WebKitGTK+</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>WebKitGTK+</application> is the port of the portable web
|
---|
| 35 | rendering engine <application>WebKit</application> to the
|
---|
| 36 | <application>GTK+ 3</application> and <application>GTK+ 2</application>
|
---|
| 37 | platforms.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[6fe4f013] | 40 | &lfs79_checked;
|
---|
[1a024c3c] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
[de4ed8e] | 46 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
[1a024c3c] | 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
[de4ed8e] | 51 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
[1a024c3c] | 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
[de4ed8e] | 56 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
[1a024c3c] | 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
[de4ed8e] | 61 | Download size: &webkitgtk-size;
|
---|
[1a024c3c] | 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
[de4ed8e] | 66 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
[1a024c3c] | 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
[de4ed8e] | 71 | Estimated build time: &webkitgtk-time;
|
---|
[1a024c3c] | 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
| 80 | <xref linkend="cmake"/>,
|
---|
| 81 | <xref linkend="gst10-plugins-base"/>,
|
---|
| 82 | <xref linkend="gtk2"/>,
|
---|
| 83 | <xref linkend="gtk3"/>,
|
---|
| 84 | <xref linkend="icu"/>,
|
---|
[f175d6f6] | 85 | <xref linkend="libgudev"/>,
|
---|
[1a024c3c] | 86 | <xref linkend="libsecret"/>,
|
---|
| 87 | <xref linkend="libsoup"/>,
|
---|
| 88 | <xref linkend="libwebp"/>,
|
---|
[7a395d1] | 89 | <xref linkend="mesa"/>,
|
---|
[1a024c3c] | 90 | <xref linkend="ruby"/>,
|
---|
[f175d6f6] | 91 | <xref linkend="sqlite"/> and
|
---|
[1a024c3c] | 92 | <xref linkend="which"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 96 | <para role="recommended">
|
---|
| 97 | <xref linkend="enchant"/>,
|
---|
| 98 | <xref linkend="geoclue"/>,
|
---|
| 99 | <xref linkend="gobject-introspection"/>,
|
---|
| 100 | <xref linkend="hicolor-icon-theme"/>
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 104 | <para role="optional">
|
---|
| 105 | <xref linkend="gtk-doc"/>,
|
---|
| 106 | <xref linkend="harfbuzz"/>,
|
---|
[a78d8510] | 107 | <xref linkend="libnotify"/>,
|
---|
[1a024c3c] | 108 | <xref linkend="llvm"/>,
|
---|
[a78d8510] | 109 | <ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
[604bf744] | 110 | <ulink url="http://freedesktop.org/wiki/Software/GeoClue/">GeoClue2</ulink>, and
|
---|
[1a024c3c] | 111 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para condition="html" role="usernotes">
|
---|
| 115 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 116 | </para>
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="installation">
|
---|
| 120 | <title>Installation of WebKitGTK+</title>
|
---|
| 121 |
|
---|
| 122 | <bridgehead renderas="sect3">Installation of
|
---|
| 123 | <application>WebKitGTK+</application></bridgehead>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | Install <application>WebKitGTK+</application> by running the
|
---|
| 127 | following commands:
|
---|
| 128 | </para>
|
---|
[5fc4874d] | 129 | <!--Was getting in Firefox and in Seamnkey:
|
---|
| 130 | sed -i 's/â€/\"/g' ...
|
---|
| 131 | in Ocidental
|
---|
| 132 | or
|
---|
| 133 | in Unicode
|
---|
| 134 | sed -i 's/�€/\"/g' ...
|
---|
[24dfdcd] | 135 |
|
---|
| 136 | http://www.danshort.com/HTMLentities/
|
---|
| 137 | Open double quotes “ “ “ “
|
---|
| 138 | Close double quotes ” ” ” ”
|
---|
[5fc4874d] | 139 | -->
|
---|
[8da658ba] | 140 | <screen><userinput>sed -e 's/“/\"/' -e 's/”/\"/' \
|
---|
| 141 | -i Source/WebCore/xml/XMLViewer.{css,js} &&
|
---|
[075290e] | 142 | <!-- Fixed in 2.10.9
|
---|
| 143 | sed -i "s#isnan#std::&#g" Source/JavaScriptCore/runtime/Options.cpp &&-->
|
---|
[6fe4f013] | 144 |
|
---|
[1a024c3c] | 145 | mkdir -vp build &&
|
---|
[24dfdcd] | 146 | cd build &&
|
---|
[1a024c3c] | 147 |
|
---|
[42b7dab] | 148 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 149 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 150 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 151 | -DPORT=GTK \
|
---|
| 152 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
[a78d8510] | 153 | -DUSE_LIBHYPHEN=OFF \
|
---|
[7c4f32b] | 154 | -DENABLE_MINIBROWSER=ON \
|
---|
[42b7dab] | 155 | -Wno-dev .. &&
|
---|
[1a024c3c] | 156 | make</userinput></screen>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
[7c4f32b] | 159 | This package does not have a working testsuite. However, there is a
|
---|
| 160 | useable basic graphical web browser in the build directory,
|
---|
| 161 | <application>build/bin/MiniBrowser</application>. If launching it fails,
|
---|
| 162 | there is a problem with the build.
|
---|
[1a024c3c] | 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <note><para>
|
---|
| 166 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 167 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 168 | variables need to be defined for the root user. If using sudo to assume
|
---|
| 169 | root, use the -E option to pass your current environment variables for the
|
---|
| 170 | install process.
|
---|
| 171 | </para></note>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
| 174 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
| 177 | <screen role="root"><userinput>make install &&
|
---|
| 178 |
|
---|
[2c95b08] | 179 | install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &&
|
---|
[24dfdcd] | 180 | install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
|
---|
| 181 | /usr/share/gtk-doc/html/webkit2gtk-4.0 &&
|
---|
[de4ed8e] | 182 | install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
|
---|
[1a024c3c] | 183 | /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | <sect2 role="commands">
|
---|
| 188 | <title>Command Explanations</title>
|
---|
| 189 |
|
---|
| 190 | <para>
|
---|
[075290e] | 191 | <command>sed -i ...</command>: Fixes typos in two
|
---|
| 192 | source code files.
|
---|
[1a024c3c] | 193 | </para>
|
---|
| 194 |
|
---|
[a78d8510] | 195 | <para>
|
---|
| 196 | <parameter>-DUSE_LIBHYPHEN=OFF</parameter>: This switch disables
|
---|
| 197 | default automatic hyphenation implementation. You need to install
|
---|
| 198 | <ulink
|
---|
| 199 | url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
|
---|
| 200 | if you wish to enable it (replacing OFF with ON or just removing
|
---|
| 201 | the switch).
|
---|
| 202 | </para>
|
---|
| 203 |
|
---|
[7c4f32b] | 204 | <para>
|
---|
| 205 | <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
|
---|
| 206 | <application>Mini Browser</application> compilation and install.
|
---|
| 207 | </para>
|
---|
| 208 |
|
---|
[1a024c3c] | 209 | <para>
|
---|
| 210 | <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
| 211 | against the system installed <application>malloc</application>.
|
---|
| 212 | </para>
|
---|
| 213 |
|
---|
| 214 | <para>
|
---|
| 215 | <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
| 216 | want to install <xref linkend="geoclue"/> or
|
---|
[f0d9ee6] | 217 | <ulink url="http://freedesktop.org/wiki/Software/GeoClue/">GeoClue2</ulink>.
|
---|
[1a024c3c] | 218 | </para>
|
---|
| 219 |
|
---|
| 220 | <para>
|
---|
| 221 | <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
|
---|
| 222 | linkend="gtk-doc"/> is installed and you wish to rebuild and install the
|
---|
| 223 | API documentation.
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
| 226 | </sect2>
|
---|
| 227 |
|
---|
| 228 | <sect2 role="content">
|
---|
| 229 | <title>Contents</title>
|
---|
| 230 |
|
---|
| 231 | <segmentedlist>
|
---|
| 232 | <segtitle>Installed Program</segtitle>
|
---|
| 233 | <segtitle>Installed Libraries</segtitle>
|
---|
| 234 | <segtitle>Installed Directories</segtitle>
|
---|
| 235 |
|
---|
| 236 | <seglistitem>
|
---|
| 237 | <seg>
|
---|
[7c4f32b] | 238 | jsc and MiniBrowser
|
---|
[1a024c3c] | 239 | </seg>
|
---|
| 240 | <seg>
|
---|
| 241 | libjavascriptcoregtk-4.0.so and
|
---|
| 242 | libwebkit2gtk-4.0.so
|
---|
| 243 | </seg>
|
---|
| 244 | <seg>
|
---|
| 245 | /usr/include/webkitgtk-4.0,
|
---|
[f0d9ee6] | 246 | /usr/lib{,exec}/webkit2gtk-4.0 and
|
---|
[24dfdcd] | 247 | /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
|
---|
[1a024c3c] | 248 | </seg>
|
---|
| 249 | </seglistitem>
|
---|
| 250 | </segmentedlist>
|
---|
| 251 |
|
---|
| 252 | <variablelist>
|
---|
| 253 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 254 | <?dbfo list-presentation="list"?>
|
---|
| 255 | <?dbhtml list-presentation="table"?>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="jsc">
|
---|
| 258 | <term><command>jsc</command></term>
|
---|
| 259 | <listitem>
|
---|
| 260 | <para>
|
---|
| 261 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 262 | outside of the context of a web browser.
|
---|
| 263 | </para>
|
---|
[de4ed8e] | 264 | <indexterm zone="webkitgtk jsc">
|
---|
[1a024c3c] | 265 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 |
|
---|
[7c4f32b] | 270 | <varlistentry id="MiniBrowser">
|
---|
| 271 | <term><command>MiniBrowser</command></term>
|
---|
| 272 | <listitem>
|
---|
| 273 | <para>
|
---|
| 274 | is a very simple graphical browser.
|
---|
| 275 | </para>
|
---|
| 276 | <indexterm zone="webkitgtk MiniBrowser">
|
---|
| 277 | <primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
---|
| 278 | </indexterm>
|
---|
| 279 | </listitem>
|
---|
| 280 | </varlistentry>
|
---|
| 281 |
|
---|
[1a024c3c] | 282 | <varlistentry id="libjavascriptcoregtk-4.0">
|
---|
| 283 | <term><filename
|
---|
| 284 | class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
|
---|
| 285 | <listitem>
|
---|
| 286 | <para>
|
---|
| 287 | contains core JavaScript API functions used by
|
---|
| 288 | <command>jsc</command> and <filename
|
---|
| 289 | class="libraryfile">libwebkit2gtk-4.0</filename>.
|
---|
| 290 | </para>
|
---|
[de4ed8e] | 291 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
|
---|
[1a024c3c] | 292 | <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
|
---|
| 293 | </indexterm>
|
---|
| 294 | </listitem>
|
---|
| 295 | </varlistentry>
|
---|
| 296 |
|
---|
| 297 | <varlistentry id="libwebkit2gtk-4">
|
---|
| 298 | <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
|
---|
| 299 | <listitem>
|
---|
| 300 | <para>
|
---|
| 301 | contains the <application>WebKit2</application> API functions.
|
---|
| 302 | </para>
|
---|
[de4ed8e] | 303 | <indexterm zone="webkitgtk libwebkit2gtk-4">
|
---|
[1a024c3c] | 304 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
|
---|
| 305 | </indexterm>
|
---|
| 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
| 308 |
|
---|
| 309 | </variablelist>
|
---|
| 310 |
|
---|
| 311 | </sect2>
|
---|
| 312 |
|
---|
| 313 | </sect1>
|
---|