[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 |
|
---|
[b178376] | 7 | <!ENTITY webkit2gtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkit2gtk-version;.tar.xz">
|
---|
| 8 | <!ENTITY webkit2gtk-download-ftp " ">
|
---|
| 9 | <!ENTITY webkit2gtk-md5sum "92ee7b2b15cda9580b842834d4db118a">
|
---|
| 10 | <!ENTITY webkit2gtk-size "9.6 MB">
|
---|
| 11 | <!ENTITY webkit2gtk-buildsize "905 MB">
|
---|
| 12 | <!ENTITY webkit2gtk-time "95 SBU">
|
---|
[1a024c3c] | 13 | ]>
|
---|
| 14 |
|
---|
[b178376] | 15 | <sect1 id="webkit2gtk" xreflabel="WebKitGTK+-&webkit2gtk-version;">
|
---|
| 16 | <?dbhtml filename="webkit2gtk.html"?>
|
---|
[1a024c3c] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[b178376] | 23 | <title>WebKitGTK+-&webkit2gtk-version;</title>
|
---|
[1a024c3c] | 24 |
|
---|
[b178376] | 25 | <indexterm zone="webkit2gtk">
|
---|
[1a024c3c] | 26 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to WebKitGTK+</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
[b178376] | 33 | The <application>WebKitGTK+</application> is the port of the portable
|
---|
| 34 | web rendering engine <application>WebKit</application> to the
|
---|
| 35 | <application>GTK+ 3</application> platform.
|
---|
[1a024c3c] | 36 | </para>
|
---|
| 37 |
|
---|
| 38 | &lfs76_checked;
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
[b178376] | 44 | Download (HTTP): <ulink url="&webkit2gtk-download-http;"/>
|
---|
[1a024c3c] | 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
[b178376] | 49 | Download (FTP): <ulink url="&webkit2gtk-download-ftp;"/>
|
---|
[1a024c3c] | 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
[b178376] | 54 | Download MD5 sum: &webkit2gtk-md5sum;
|
---|
[1a024c3c] | 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
[b178376] | 59 | Download size: &webkit2gtk-size;
|
---|
[1a024c3c] | 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
[b178376] | 64 | Estimated disk space required: &webkit2gtk-buildsize;
|
---|
[1a024c3c] | 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
[b178376] | 69 | Estimated build time: &webkit2gtk-time;
|
---|
[1a024c3c] | 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="cmake"/>,
|
---|
| 79 | <xref linkend="gst10-plugins-base"/>,
|
---|
| 80 | <xref linkend="gtk3"/>,
|
---|
| 81 | <xref linkend="icu"/>,
|
---|
| 82 | <xref linkend="libsecret"/>,
|
---|
| 83 | <xref linkend="libsoup"/>,
|
---|
| 84 | <xref linkend="libwebp"/>,
|
---|
| 85 | <xref linkend="mesalib"/>,
|
---|
| 86 | <xref linkend="ruby"/>,
|
---|
| 87 | <xref linkend="sqlite"/>,
|
---|
[05a9cde] | 88 | <xref linkend="systemd"/> (for GUdev) and
|
---|
[1a024c3c] | 89 | <xref linkend="which"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 93 | <para role="recommended">
|
---|
| 94 | <xref linkend="enchant"/>,
|
---|
[b178376] | 95 | <xref linkend="geoclue2"/> or
|
---|
[1a024c3c] | 96 | <xref linkend="geoclue"/>,
|
---|
[b178376] | 97 | <xref linkend="gobject-introspection"/> and
|
---|
| 98 | <xref linkend="gtk2"/>
|
---|
[1a024c3c] | 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 102 | <para role="optional">
|
---|
[b178376] | 103 | <xref linkend="gtk-doc"/> and
|
---|
[1a024c3c] | 104 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[b178376] | 107 | <note>
|
---|
| 108 | <para>
|
---|
| 109 | Note that <application>WebKitGTK+</application> links against
|
---|
| 110 | <application>GTK+ 2</application> in order to be able to use
|
---|
| 111 | NPAPI plugins such as Adobe Flash.
|
---|
| 112 | </para>
|
---|
| 113 | </note>
|
---|
| 114 |
|
---|
[1a024c3c] | 115 | <para condition="html" role="usernotes">
|
---|
| 116 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 117 | </para>
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="installation">
|
---|
| 121 | <title>Installation of WebKitGTK+</title>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
[b178376] | 124 | Install <application>WebKitGTK+</application> by running the following
|
---|
| 125 | commands:
|
---|
[1a024c3c] | 126 | </para>
|
---|
| 127 |
|
---|
[b178376] | 128 | <screen><userinput>mkdir build &&
|
---|
| 129 | cd build &&
|
---|
[1a024c3c] | 130 |
|
---|
[b178376] | 131 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 132 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 133 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 134 | -DPORT=GTK \
|
---|
| 135 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 136 | -Wno-dev ..
|
---|
[1a024c3c] | 137 | make</userinput></screen>
|
---|
| 138 |
|
---|
[b178376] | 139 |
|
---|
[1a024c3c] | 140 | <para>
|
---|
[b178376] | 141 | This package does not have a working testsuite.
|
---|
[1a024c3c] | 142 | </para>
|
---|
| 143 |
|
---|
| 144 | <para>
|
---|
| 145 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
[b178376] | 148 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[1a024c3c] | 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2 role="commands">
|
---|
| 153 | <title>Command Explanations</title>
|
---|
| 154 |
|
---|
| 155 | <para>
|
---|
[b178376] | 156 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 157 | to apply higher level of the compiler optimizations.
|
---|
[1a024c3c] | 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <para>
|
---|
[b178376] | 161 | <parameter>-DCMAKE_SKIP_RPATH=ON</parameter>: This switch is used to
|
---|
| 162 | prevent hardcoding a runtime path into the built executables.
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <para>
|
---|
| 166 | <parameter>-DLIB_INSTALL_DIR=/usr/lib</parameter>: This switch is used
|
---|
| 167 | to get libraries to install to <filename
|
---|
| 168 | class="directory">$KF5_PREFIX/lib</filename> instead of <filename
|
---|
| 169 | class="directory">$KF5_PREFIX/lib64</filename> on a 64 bit system.
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
| 172 | <para>
|
---|
| 173 | <option>-DENABLE_SPELLCHECK=OFF</option>: Use this switch if you don't
|
---|
| 174 | want to install <xref linkend="enchant"/> and don't need the spell
|
---|
| 175 | checking feature.
|
---|
[1a024c3c] | 176 | </para>
|
---|
| 177 |
|
---|
| 178 | <para>
|
---|
| 179 | <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
| 180 | want to install <xref linkend="geoclue"/> or
|
---|
[b178376] | 181 | <xref linkend="geoclue2"/> and don't need the geolocation feature.
|
---|
[1a024c3c] | 182 | </para>
|
---|
| 183 |
|
---|
| 184 | <para>
|
---|
[b178376] | 185 | <option>-DENABLE_GTKDOC=ON</option>: Use this switch if you have
|
---|
| 186 | installed <xref linkend="gtk-doc"/> and wish to build the API
|
---|
| 187 | manuals.
|
---|
[1a024c3c] | 188 | </para>
|
---|
| 189 |
|
---|
[b178376] | 190 |
|
---|
[1a024c3c] | 191 | </sect2>
|
---|
| 192 |
|
---|
| 193 | <sect2 role="content">
|
---|
| 194 | <title>Contents</title>
|
---|
| 195 |
|
---|
| 196 | <segmentedlist>
|
---|
[b178376] | 197 | <segtitle>Installed Programs</segtitle>
|
---|
[1a024c3c] | 198 | <segtitle>Installed Libraries</segtitle>
|
---|
| 199 | <segtitle>Installed Directories</segtitle>
|
---|
| 200 |
|
---|
| 201 | <seglistitem>
|
---|
| 202 | <seg>
|
---|
| 203 | jsc
|
---|
| 204 | </seg>
|
---|
| 205 | <seg>
|
---|
| 206 | libjavascriptcoregtk-4.0.so and
|
---|
| 207 | libwebkit2gtk-4.0.so
|
---|
| 208 | </seg>
|
---|
| 209 | <seg>
|
---|
| 210 | /usr/include/webkitgtk-4.0,
|
---|
| 211 | /usr/lib/webkit2gtk-4.0,
|
---|
| 212 | /usr/libexec/webkit2gtk-4.0,
|
---|
[b178376] | 213 | /usr/share/gtk-doc/html/webkit2gtk-4.0 and
|
---|
[1a024c3c] | 214 | /usr/share/gtk-doc/html/webkitdomgtk-4.0
|
---|
| 215 | </seg>
|
---|
| 216 | </seglistitem>
|
---|
| 217 | </segmentedlist>
|
---|
| 218 |
|
---|
| 219 | <variablelist>
|
---|
| 220 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 221 | <?dbfo list-presentation="list"?>
|
---|
| 222 | <?dbhtml list-presentation="table"?>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="jsc">
|
---|
| 225 | <term><command>jsc</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>
|
---|
| 228 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 229 | outside of the context of a web browser.
|
---|
| 230 | </para>
|
---|
[b178376] | 231 | <indexterm zone="webkit2gtk jsc">
|
---|
[1a024c3c] | 232 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="libjavascriptcoregtk-4.0">
|
---|
| 238 | <term><filename
|
---|
| 239 | class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>
|
---|
[b178376] | 242 | contains core JavaScript API functions used by <command>jsc</command>
|
---|
| 243 | and <filename class="libraryfile">libwebkit2gtk-4.0.so</filename>.
|
---|
[1a024c3c] | 244 | </para>
|
---|
[b178376] | 245 | <indexterm zone="webkit2gtk libjavascriptcoregtk-4.0">
|
---|
| 246 | <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.so</primary>
|
---|
[1a024c3c] | 247 | </indexterm>
|
---|
| 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
| 250 |
|
---|
[b178376] | 251 | <varlistentry id="libwebkit2gtk-4.0">
|
---|
[1a024c3c] | 252 | <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
|
---|
| 253 | <listitem>
|
---|
| 254 | <para>
|
---|
| 255 | contains the <application>WebKit2</application> API functions.
|
---|
| 256 | </para>
|
---|
[b178376] | 257 | <indexterm zone="webkit2gtk libwebkit2gtk-4.0">
|
---|
| 258 | <primary sortas="c-libwebkit2gtk-4.0">libwebkit2gtk-4.0.so</primary>
|
---|
[1a024c3c] | 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | </variablelist>
|
---|
| 264 |
|
---|
| 265 | </sect2>
|
---|
| 266 |
|
---|
| 267 | </sect1>
|
---|