[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 |
|
---|
[de4ed8e] | 7 | <!ENTITY webkitgtk-download-http "http://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz">
|
---|
| 8 | <!ENTITY webkitgtk-download-ftp " ">
|
---|
[4760a584] | 9 | <!ENTITY webkitgtk-md5sum "29b92a0aacc819d0e5e5df03895fb98e">
|
---|
[24dfdcd] | 10 | <!ENTITY webkitgtk-size "10 MB">
|
---|
[097f629f] | 11 | <!ENTITY webkitgtk-buildsize "963 MB (100 MB installed)">
|
---|
[4760a584] | 12 | <!ENTITY webkitgtk-time "30 SBU (using parallelism=4, estimated 81 SBU using 1 core)">
|
---|
[1a024c3c] | 13 | ]>
|
---|
| 14 |
|
---|
[de4ed8e] | 15 | <sect1 id="webkitgtk" xreflabel="WebKitGTK+-&webkitgtk-version;">
|
---|
| 16 | <?dbhtml filename="webkitgtk.html"?>
|
---|
[1a024c3c] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[de4ed8e] | 23 | <title>WebKitGTK+-&webkitgtk-version;</title>
|
---|
[1a024c3c] | 24 |
|
---|
[de4ed8e] | 25 | <indexterm zone="webkitgtk">
|
---|
[1a024c3c] | 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 |
|
---|
[097f629f] | 39 | &lfs77_checked; &gcc5_checked;
|
---|
[1a024c3c] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
[de4ed8e] | 45 | Download (HTTP): <ulink url="&webkitgtk-download-http;"/>
|
---|
[1a024c3c] | 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
[de4ed8e] | 50 | Download (FTP): <ulink url="&webkitgtk-download-ftp;"/>
|
---|
[1a024c3c] | 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
[de4ed8e] | 55 | Download MD5 sum: &webkitgtk-md5sum;
|
---|
[1a024c3c] | 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
[de4ed8e] | 60 | Download size: &webkitgtk-size;
|
---|
[1a024c3c] | 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
[de4ed8e] | 65 | Estimated disk space required: &webkitgtk-buildsize;
|
---|
[1a024c3c] | 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
[de4ed8e] | 70 | Estimated build time: &webkitgtk-time;
|
---|
[1a024c3c] | 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>
|
---|
[5fc4874d] | 126 | <!--Was getting in Firefox and in Seamnkey:
|
---|
| 127 | sed -i 's/â€/\"/g' ...
|
---|
| 128 | in Ocidental
|
---|
| 129 | or
|
---|
| 130 | in Unicode
|
---|
| 131 | sed -i 's/�€/\"/g' ...
|
---|
[24dfdcd] | 132 |
|
---|
| 133 | http://www.danshort.com/HTMLentities/
|
---|
| 134 | Open double quotes “ “ “ “
|
---|
| 135 | Close double quotes ” ” ” ”
|
---|
[5fc4874d] | 136 | -->
|
---|
[24dfdcd] | 137 | <screen><userinput>sed -e 's/“/\"/' -e 's/”/\"/' -i Source/WebCore/xml/XMLViewer.{css,js} &&
|
---|
[1a024c3c] | 138 |
|
---|
| 139 | mkdir -vp build &&
|
---|
[24dfdcd] | 140 | cd build &&
|
---|
[1a024c3c] | 141 |
|
---|
[42b7dab9] | 142 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 143 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 144 | -DCMAKE_SKIP_RPATH=ON \
|
---|
| 145 | -DPORT=GTK \
|
---|
| 146 | -DLIB_INSTALL_DIR=/usr/lib \
|
---|
| 147 | -Wno-dev .. &&
|
---|
[1a024c3c] | 148 | make</userinput></screen>
|
---|
| 149 |
|
---|
| 150 | <para>
|
---|
| 151 | This package does not have a working testsuite.<!-- However, there are two
|
---|
| 152 | useable basic graphical web browsers in the build directory,
|
---|
| 153 | <application>Programs/GtkLauncher</application> and
|
---|
| 154 | <application>Programs/MiniBrowser</application>. If launching any one
|
---|
| 155 | fails, there is a problem with the build.-->
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <note><para>
|
---|
| 159 | When installing, the Makefile does some additional compiling and linking.
|
---|
| 160 | If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH
|
---|
| 161 | variables need to be defined for the root user. If using sudo to assume
|
---|
| 162 | root, use the -E option to pass your current environment variables for the
|
---|
| 163 | install process.
|
---|
| 164 | </para></note>
|
---|
| 165 |
|
---|
| 166 | <para>
|
---|
| 167 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 168 | </para>
|
---|
| 169 |
|
---|
| 170 | <screen role="root"><userinput>make install &&
|
---|
| 171 |
|
---|
[2c95b08] | 172 | install -vdm755 /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 &&
|
---|
[24dfdcd] | 173 | install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
|
---|
| 174 | /usr/share/gtk-doc/html/webkit2gtk-4.0 &&
|
---|
[de4ed8e] | 175 | install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
|
---|
[1a024c3c] | 176 | /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
|
---|
| 177 |
|
---|
| 178 | </sect2>
|
---|
| 179 |
|
---|
| 180 | <sect2 role="commands">
|
---|
| 181 | <title>Command Explanations</title>
|
---|
| 182 |
|
---|
| 183 | <para>
|
---|
| 184 | <command>sed -i ...</command>: Fixes typos in two source code files.
|
---|
| 185 | </para>
|
---|
| 186 |
|
---|
| 187 | <para>
|
---|
| 188 | <option>-DUSE_SYSTEM_MALLOC=ON</option>: This switch enables building
|
---|
| 189 | against the system installed <application>malloc</application>.
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
| 192 | <para>
|
---|
| 193 | <option>-DENABLE_GEOLOCATION=OFF</option>: Use this switch if you don't
|
---|
| 194 | want to install <xref linkend="geoclue"/> or
|
---|
| 195 | <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>.
|
---|
| 196 | </para>
|
---|
| 197 |
|
---|
| 198 | <para>
|
---|
| 199 | <option>-DENABLE_GTKDOC=ON</option>: Use this switch if <xref
|
---|
| 200 | linkend="gtk-doc"/> is installed and you wish to rebuild and install the
|
---|
| 201 | API documentation.
|
---|
| 202 | </para>
|
---|
| 203 |
|
---|
| 204 | </sect2>
|
---|
| 205 |
|
---|
| 206 | <sect2 role="content">
|
---|
| 207 | <title>Contents</title>
|
---|
| 208 |
|
---|
| 209 | <segmentedlist>
|
---|
| 210 | <segtitle>Installed Program</segtitle>
|
---|
| 211 | <segtitle>Installed Libraries</segtitle>
|
---|
| 212 | <segtitle>Installed Directories</segtitle>
|
---|
| 213 |
|
---|
| 214 | <seglistitem>
|
---|
| 215 | <seg>
|
---|
| 216 | jsc
|
---|
| 217 | </seg>
|
---|
| 218 | <seg>
|
---|
| 219 | libjavascriptcoregtk-4.0.so and
|
---|
| 220 | libwebkit2gtk-4.0.so
|
---|
| 221 | </seg>
|
---|
| 222 | <seg>
|
---|
| 223 | /usr/include/webkitgtk-4.0,
|
---|
| 224 | /usr/lib/webkit2gtk-4.0,
|
---|
[24dfdcd] | 225 | /usr/libexec/webkit2gtk-4.0, and
|
---|
| 226 | /usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
|
---|
[1a024c3c] | 227 | </seg>
|
---|
| 228 | </seglistitem>
|
---|
| 229 | </segmentedlist>
|
---|
| 230 |
|
---|
| 231 | <variablelist>
|
---|
| 232 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 233 | <?dbfo list-presentation="list"?>
|
---|
| 234 | <?dbhtml list-presentation="table"?>
|
---|
| 235 |
|
---|
| 236 | <varlistentry id="jsc">
|
---|
| 237 | <term><command>jsc</command></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>
|
---|
| 240 | is a command-line utility that allows you to run JavaScript programs
|
---|
| 241 | outside of the context of a web browser.
|
---|
| 242 | </para>
|
---|
[de4ed8e] | 243 | <indexterm zone="webkitgtk jsc">
|
---|
[1a024c3c] | 244 | <primary sortas="b-jsc">jsc</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 |
|
---|
| 249 | <varlistentry id="libjavascriptcoregtk-4.0">
|
---|
| 250 | <term><filename
|
---|
| 251 | class="libraryfile">libjavascriptcoregtk-4.0.so</filename></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>
|
---|
| 254 | contains core JavaScript API functions used by
|
---|
| 255 | <command>jsc</command> and <filename
|
---|
| 256 | class="libraryfile">libwebkit2gtk-4.0</filename>.
|
---|
| 257 | </para>
|
---|
[de4ed8e] | 258 | <indexterm zone="webkitgtk libjavascriptcoregtk-4.0">
|
---|
[1a024c3c] | 259 | <primary sortas="c-libjavascriptcoregtk-4.0">libjavascriptcoregtk-4.0.0.so</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="libwebkit2gtk-4">
|
---|
| 265 | <term><filename class="libraryfile">libwebkit2gtk-4.0.so</filename></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>
|
---|
| 268 | contains the <application>WebKit2</application> API functions.
|
---|
| 269 | </para>
|
---|
[de4ed8e] | 270 | <indexterm zone="webkitgtk libwebkit2gtk-4">
|
---|
[1a024c3c] | 271 | <primary sortas="c-libwebkit2gtk-4">libwebkit2gtk-4.0.so</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
| 276 | </variablelist>
|
---|
| 277 |
|
---|
| 278 | </sect2>
|
---|
| 279 |
|
---|
| 280 | </sect1>
|
---|