[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 " ">
|
---|
[604bf744] | 10 | <!ENTITY webkitgtk-md5sum "df79991848a5096d3a75289ebce547ae">
|
---|
[24dfdcd] | 11 | <!ENTITY webkitgtk-size "10 MB">
|
---|
[604bf744] | 12 | <!ENTITY webkitgtk-buildsize "973 MB (100 MB installed)">
|
---|
| 13 | <!ENTITY webkitgtk-time "31 SBU (using parallelism=4, estimated 80+ 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 |
|
---|
[097f629f] | 40 | &lfs77_checked; &gcc5_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"/>,
|
---|
| 89 | <xref linkend="mesalib"/>,
|
---|
| 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"/>,
|
---|
| 107 | <xref linkend="llvm"/>,
|
---|
[604bf744] | 108 | <ulink url="http://freedesktop.org/wiki/Software/GeoClue/">GeoClue2</ulink>, and
|
---|
[1a024c3c] | 109 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <para condition="html" role="usernotes">
|
---|
| 113 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 114 | </para>
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="installation">
|
---|
| 118 | <title>Installation of WebKitGTK+</title>
|
---|
| 119 |
|
---|
| 120 | <bridgehead renderas="sect3">Installation of
|
---|
| 121 | <application>WebKitGTK+</application></bridgehead>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | Install <application>WebKitGTK+</application> by running the
|
---|
| 125 | following commands:
|
---|
| 126 | </para>
|
---|
[5fc4874d] | 127 | <!--Was getting in Firefox and in Seamnkey:
|
---|
| 128 | sed -i 's/â€/\"/g' ...
|
---|
| 129 | in Ocidental
|
---|
| 130 | or
|
---|
| 131 | in Unicode
|
---|
| 132 | sed -i 's/�€/\"/g' ...
|
---|
[24dfdcd] | 133 |
|
---|
| 134 | http://www.danshort.com/HTMLentities/
|
---|
| 135 | Open double quotes “ “ “ “
|
---|
| 136 | Close double quotes ” ” ” ”
|
---|
[5fc4874d] | 137 | -->
|
---|
[8da658ba] | 138 | <screen><userinput>sed -e 's/“/\"/' -e 's/”/\"/' \
|
---|
| 139 | -i Source/WebCore/xml/XMLViewer.{css,js} &&
|
---|
[1a024c3c] | 140 |
|
---|
| 141 | mkdir -vp build &&
|
---|
[24dfdcd] | 142 | cd build &&
|
---|
[1a024c3c] | 143 |
|
---|
[42b7dab] | 144 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 145 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 146 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 147 | -DPORT=GTK \
|
---|
| 148 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
[7c4f32b] | 149 | -DENABLE_MINIBROWSER=ON \
|
---|
[42b7dab] | 150 | -Wno-dev .. &&
|
---|
[1a024c3c] | 151 | make</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | <para>
|
---|
[7c4f32b] | 154 | This package does not have a working testsuite. However, there is a
|
---|
| 155 | useable basic graphical web browser in the build directory,
|
---|
| 156 | <application>build/bin/MiniBrowser</application>. If launching it fails,
|
---|
| 157 | there is a problem with the build.
|
---|
[1a024c3c] | 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <note><para>
|
---|
| 161 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 162 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 163 | variables need to be defined for the root user. If using sudo to assume
|
---|
| 164 | root, use the -E option to pass your current environment variables for the
|
---|
| 165 | install process.
|
---|
| 166 | </para></note>
|
---|
| 167 |
|
---|
| 168 | <para>
|
---|
| 169 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
| 172 | <screen role="root"><userinput>make install &&
|
---|
| 173 |
|
---|
[2c95b08] | 174 | install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &&
|
---|
[24dfdcd] | 175 | install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
|
---|
| 176 | /usr/share/gtk-doc/html/webkit2gtk-4.0 &&
|
---|
[de4ed8e] | 177 | install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
|
---|
[1a024c3c] | 178 | /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | <sect2 role="commands">
|
---|
| 183 | <title>Command Explanations</title>
|
---|
| 184 |
|
---|
| 185 | <para>
|
---|
| 186 | <command>sed -i ...</command>: Fixes typos in two source code files.
|
---|
| 187 | </para>
|
---|
| 188 |
|
---|
[7c4f32b] | 189 | <para>
|
---|
| 190 | <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables the
|
---|
| 191 | <application>Mini Browser</application> compilation and install.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
[1a024c3c] | 194 | <para>
|
---|
| 195 | <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
| 196 | against the system installed <application>malloc</application>.
|
---|
| 197 | </para>
|
---|
| 198 |
|
---|
| 199 | <para>
|
---|
| 200 | <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
| 201 | want to install <xref linkend="geoclue"/> or
|
---|
| 202 | <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>.
|
---|
| 203 | </para>
|
---|
| 204 |
|
---|
| 205 | <para>
|
---|
| 206 | <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
|
---|
| 207 | linkend="gtk-doc"/> is installed and you wish to rebuild and install the
|
---|
| 208 | API documentation.
|
---|
| 209 | </para>
|
---|
| 210 |
|
---|
| 211 | </sect2>
|
---|
| 212 |
|
---|
| 213 | <sect2 role="content">
|
---|
| 214 | <title>Contents</title>
|
---|
| 215 |
|
---|
| 216 | <segmentedlist>
|
---|
| 217 | <segtitle>Installed Program</segtitle>
|
---|
| 218 | <segtitle>Installed Libraries</segtitle>
|
---|
| 219 | <segtitle>Installed Directories</segtitle>
|
---|
| 220 |
|
---|
| 221 | <seglistitem>
|
---|
| 222 | <seg>
|
---|
[7c4f32b] | 223 | jsc and MiniBrowser
|
---|
[1a024c3c] | 224 | </seg>
|
---|
| 225 | <seg>
|
---|
| 226 | libjavascriptcoregtk-4.0.so and
|
---|
| 227 | libwebkit2gtk-4.0.so
|
---|
| 228 | </seg>
|
---|
| 229 | <seg>
|
---|
| 230 | /usr/include/webkitgtk-4.0,
|
---|
| 231 | /usr/lib/webkit2gtk-4.0,
|
---|
[24dfdcd] | 232 | /usr/libexec/webkit2gtk-4.0, and
|
---|
| 233 | /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
|
---|
[1a024c3c] | 234 | </seg>
|
---|
| 235 | </seglistitem>
|
---|
| 236 | </segmentedlist>
|
---|
| 237 |
|
---|
| 238 | <variablelist>
|
---|
| 239 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 240 | <?dbfo list-presentation="list"?>
|
---|
| 241 | <?dbhtml list-presentation="table"?>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="jsc">
|
---|
| 244 | <term><command>jsc</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>
|
---|
| 247 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 248 | outside of the context of a web browser.
|
---|
| 249 | </para>
|
---|
[de4ed8e] | 250 | <indexterm zone="webkitgtk jsc">
|
---|
[1a024c3c] | 251 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
[7c4f32b] | 256 | <varlistentry id="MiniBrowser">
|
---|
| 257 | <term><command>MiniBrowser</command></term>
|
---|
| 258 | <listitem>
|
---|
| 259 | <para>
|
---|
| 260 | is a very simple graphical browser.
|
---|
| 261 | </para>
|
---|
| 262 | <indexterm zone="webkitgtk MiniBrowser">
|
---|
| 263 | <primary sortas="b-MiniBrowser">MiniBrowser</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
| 267 |
|
---|
[1a024c3c] | 268 | <varlistentry id="libjavascriptcoregtk-4.0">
|
---|
| 269 | <term><filename
|
---|
| 270 | class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
|
---|
| 271 | <listitem>
|
---|
| 272 | <para>
|
---|
| 273 | contains core JavaScript API functions used by
|
---|
| 274 | <command>jsc</command> and <filename
|
---|
| 275 | class="libraryfile">libwebkit2gtk-4.0</filename>.
|
---|
| 276 | </para>
|
---|
[de4ed8e] | 277 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
|
---|
[1a024c3c] | 278 | <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
| 282 |
|
---|
| 283 | <varlistentry id="libwebkit2gtk-4">
|
---|
| 284 | <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
|
---|
| 285 | <listitem>
|
---|
| 286 | <para>
|
---|
| 287 | contains the <application>WebKit2</application> API functions.
|
---|
| 288 | </para>
|
---|
[de4ed8e] | 289 | <indexterm zone="webkitgtk libwebkit2gtk-4">
|
---|
[1a024c3c] | 290 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
| 295 | </variablelist>
|
---|
| 296 |
|
---|
| 297 | </sect2>
|
---|
| 298 |
|
---|
| 299 | </sect1>
|
---|