[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 |
|
---|
| 7 | <!ENTITY webkitgtk26-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk26-version;.tar.xz">
|
---|
| 8 | <!ENTITY webkitgtk26-download-ftp " ">
|
---|
[dcf9201] | 9 | <!ENTITY webkitgtk26-md5sum "1de090e3c263565c07796e5e98f8b73d">
|
---|
[ffed5a79] | 10 | <!ENTITY webkitgtk26-size "9.6 MB">
|
---|
[dcf9201] | 11 | <!ENTITY webkitgtk26-buildsize "876 MB (94 MB installed)">
|
---|
| 12 | <!ENTITY webkitgtk26-time "28 SBU (using parallelism=4)">
|
---|
[1a024c3c] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="webkitgtk26" xreflabel="WebKitGTK+-&webkitgtk26-version;">
|
---|
| 16 | <?dbhtml filename="webkitgtk26.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>WebKitGTK+-&webkitgtk26-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="webkitgtk26">
|
---|
| 26 | <primary sortas="a-WebKitGTK+">WebKitGTK+</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to WebKitGTK+</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>WebKitGTK+</application> is the port of the portable web
|
---|
| 34 | rendering engine <application>WebKit</application> to the
|
---|
| 35 | <application>GTK+ 3</application> and <application>GTK+ 2</application>
|
---|
| 36 | platforms.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
| 39 | &lfs76_checked;
|
---|
| 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&webkitgtk26-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&webkitgtk26-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &webkitgtk26-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &webkitgtk26-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &webkitgtk26-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &webkitgtk26-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">WebKitGTK+ Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref linkend="cmake"/>,
|
---|
| 80 | <xref linkend="gst10-plugins-base"/>,
|
---|
| 81 | <xref linkend="gtk2"/>,
|
---|
| 82 | <xref linkend="gtk3"/>,
|
---|
| 83 | <xref linkend="icu"/>,
|
---|
| 84 | <xref linkend="libsecret"/>,
|
---|
| 85 | <xref linkend="libsoup"/>,
|
---|
| 86 | <xref linkend="libwebp"/>,
|
---|
| 87 | <xref linkend="mesalib"/>,
|
---|
| 88 | <xref linkend="ruby"/>,
|
---|
| 89 | <xref linkend="sqlite"/>,
|
---|
| 90 | <xref linkend="udev-extras"/> (for GUdev) and
|
---|
| 91 | <xref linkend="which"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 95 | <para role="recommended">
|
---|
| 96 | <xref linkend="enchant"/>,
|
---|
| 97 | <xref linkend="geoclue"/>,
|
---|
| 98 | <xref linkend="gobject-introspection"/>,
|
---|
| 99 | <xref linkend="hicolor-icon-theme"/>
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 103 | <para role="optional">
|
---|
| 104 | <xref linkend="gtk-doc"/>,
|
---|
| 105 | <xref linkend="harfbuzz"/>,
|
---|
| 106 | <xref linkend="llvm"/>,
|
---|
| 107 | <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>, and
|
---|
| 108 | <ulink url="http://xsltml.sourceforge.net/">MathML</ulink>
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para condition="html" role="usernotes">
|
---|
| 112 | User Notes: <ulink url="&blfs-wiki;/webkitgtk"/>
|
---|
| 113 | </para>
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="installation">
|
---|
| 117 | <title>Installation of WebKitGTK+</title>
|
---|
| 118 |
|
---|
| 119 | <bridgehead renderas="sect3">Installation of
|
---|
| 120 | <application>WebKitGTK+</application></bridgehead>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | Install <application>WebKitGTK+</application> by running the
|
---|
| 124 | following commands:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput>sed -i 's/”/\"/g' Source/WebCore/xml/XMLViewer.{css,js} &&
|
---|
| 128 |
|
---|
| 129 | mkdir -vp build &&
|
---|
| 130 | cd build &&
|
---|
| 131 |
|
---|
[42b7dab9] | 132 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 133 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 134 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 135 | -DPORT=GTK \
|
---|
| 136 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 137 | -Wno-dev .. &&
|
---|
[1a024c3c] | 138 | make</userinput></screen>
|
---|
| 139 |
|
---|
| 140 | <para>
|
---|
| 141 | This package does not have a working testsuite.<!-- However, there are two
|
---|
| 142 | useable basic graphical web browsers in the build directory,
|
---|
| 143 | <application>Programs/GtkLauncher</application> and
|
---|
| 144 | <application>Programs/MiniBrowser</application>. If launching any one
|
---|
| 145 | fails, there is a problem with the build.-->
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <note><para>
|
---|
| 149 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 150 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 151 | variables need to be defined for the root user. If using sudo to assume
|
---|
| 152 | root, use the -E option to pass your current environment variables for the
|
---|
| 153 | install process.
|
---|
| 154 | </para></note>
|
---|
| 155 |
|
---|
| 156 | <para>
|
---|
| 157 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
| 160 | <screen role="root"><userinput>make install &&
|
---|
| 161 |
|
---|
| 162 | install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0, &&
|
---|
| 163 | install -vm644 ../Documentation/webkit2gtk/html/* \
|
---|
| 164 | /usr/share/gtk-doc/html/webkit2gtk-4.0 &&
|
---|
| 165 | install -vm644 ../Documentation/webkitdomgtk/html/* \
|
---|
| 166 | /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
|
---|
| 167 |
|
---|
| 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="commands">
|
---|
| 171 | <title>Command Explanations</title>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
| 174 | <command>sed -i ...</command>: Fixes typos in two source code files.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
| 177 | <para>
|
---|
| 178 | <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
| 179 | against the system installed <application>malloc</application>.
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
| 182 | <para>
|
---|
| 183 | <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
| 184 | want to install <xref linkend="geoclue"/> or
|
---|
| 185 | <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>.
|
---|
| 186 | </para>
|
---|
| 187 |
|
---|
| 188 | <para>
|
---|
| 189 | <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
|
---|
| 190 | linkend="gtk-doc"/> is installed and you wish to rebuild and install the
|
---|
| 191 | API documentation.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | <sect2 role="content">
|
---|
| 197 | <title>Contents</title>
|
---|
| 198 |
|
---|
| 199 | <segmentedlist>
|
---|
| 200 | <segtitle>Installed Program</segtitle>
|
---|
| 201 | <segtitle>Installed Libraries</segtitle>
|
---|
| 202 | <segtitle>Installed Directories</segtitle>
|
---|
| 203 |
|
---|
| 204 | <seglistitem>
|
---|
| 205 | <seg>
|
---|
| 206 | jsc
|
---|
| 207 | </seg>
|
---|
| 208 | <seg>
|
---|
| 209 | libjavascriptcoregtk-4.0.so and
|
---|
| 210 | libwebkit2gtk-4.0.so
|
---|
| 211 | </seg>
|
---|
| 212 | <seg>
|
---|
| 213 | /usr/include/webkitgtk-4.0,
|
---|
| 214 | /usr/lib/webkit2gtk-4.0,
|
---|
| 215 | /usr/libexec/webkit2gtk-4.0,
|
---|
| 216 | /usr/share/gtk-doc/html/webkit2gtk-4.0, and
|
---|
| 217 | /usr/share/gtk-doc/html/webkitdomgtk-4.0
|
---|
| 218 | </seg>
|
---|
| 219 | </seglistitem>
|
---|
| 220 | </segmentedlist>
|
---|
| 221 |
|
---|
| 222 | <variablelist>
|
---|
| 223 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 224 | <?dbfo list-presentation="list"?>
|
---|
| 225 | <?dbhtml list-presentation="table"?>
|
---|
| 226 |
|
---|
| 227 | <varlistentry id="jsc">
|
---|
| 228 | <term><command>jsc</command></term>
|
---|
| 229 | <listitem>
|
---|
| 230 | <para>
|
---|
| 231 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 232 | outside of the context of a web browser.
|
---|
| 233 | </para>
|
---|
| 234 | <indexterm zone="webkitgtk26 jsc">
|
---|
| 235 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="libjavascriptcoregtk-4.0">
|
---|
| 241 | <term><filename
|
---|
| 242 | class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
|
---|
| 243 | <listitem>
|
---|
| 244 | <para>
|
---|
| 245 | contains core JavaScript API functions used by
|
---|
| 246 | <command>jsc</command> and <filename
|
---|
| 247 | class="libraryfile">libwebkit2gtk-4.0</filename>.
|
---|
| 248 | </para>
|
---|
| 249 | <indexterm zone="webkitgtk26 libjavascriptcoregtk-4.0">
|
---|
| 250 | <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="libwebkit2gtk-4">
|
---|
| 256 | <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>
|
---|
| 259 | contains the <application>WebKit2</application> API functions.
|
---|
| 260 | </para>
|
---|
| 261 | <indexterm zone="webkitgtk26 libwebkit2gtk-4">
|
---|
| 262 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | </variablelist>
|
---|
| 268 |
|
---|
| 269 | </sect2>
|
---|
| 270 |
|
---|
| 271 | </sect1>
|
---|