glfs/archive/midori.xml

230 lines
6.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY midori-download-http
"http://www.midori-browser.org/downloads/midori_&midori-version;_all_.tar.bz2">
<!ENTITY midori-download-ftp " ">
<!ENTITY midori-md5sum "fcc03ef759fce4fe9f2446d9da4a065e">
<!ENTITY midori-size "1.4 MB">
<!ENTITY midori-buildsize "91 MB">
<!ENTITY midori-time "0.8 SBU">
]>
<sect1 id="midori" xreflabel="Midori-&midori-version;">
<?dbhtml filename="midori.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>Midori-&midori-version;</title>
<indexterm zone="midori">
<primary sortas="a-Midori">Midori</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Midori</title>
<para>
<application>Midori</application> is a lightweight web browser that uses
<application>WebKitGTK+</application>.
</para>
&lfs82_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&midori-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&midori-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &midori-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &midori-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &midori-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &midori-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Midori Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>,
<xref linkend="gcr"/>,
<xref linkend="libnotify"/>,
<xref linkend="webkitgtk"/> (see "Command Explanations"), and
<xref linkend="vala"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="librsvg"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/>,
<!--<xref linkend="webkitgtk2"/>, and -->
<ulink url="http://webkitgtk.org/releases/">WebKitGTK+-2.4.11</ulink> , and
<phrase revision="sysv"><ulink url="https://launchpad.net/zeitgeist/0.9/">Zeitgeist</ulink></phrase>
<phrase revision="systemd"><xref linkend="libzeitgeist"/></phrase>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/midori"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Midori</title>
<para>
Install <application>Midori</application> by running the following
commands:
</para>
<screen><userinput>sed -e 's/protected Tally/public Tally/g' \
-i midori/midori-notebook.vala &amp;&amp;
sed -e 's/%d other files/%u other files/g' \
-i extensions/transfers.vala &amp;&amp;
for f in transfers adblock/widgets apps history-list notes; do
sed -e 's/.remove (iter/.remove (ref iter/g' \
-i "extensions/$f.vala"
done &amp;&amp;
mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_ZEITGEIST=OFF \
-DHALF_BRO_INCOM_WEBKIT2=ON \
-DUSE_GTK3=1 \
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
.. &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a working test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed ...</command>: The recent release of vala generates errors
for some constructs that were accepted before. The <command>sed</command>
commands fix those errors.
</para>
<para>
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
used to apply a higher level of compiler optimizations.
</para>
<para>
<parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
Zeitgeist is installed.
</para>
<para>
<parameter>-DHALF_BRO_INCOM_WEBKIT2=ON</parameter>: Links to <xref
linkend="webkitgtk"/> instead of WebKitGTK+-2.4.x. Strictly
speaking, <xref linkend="webkitgtk"/> is not required and Midori could
be linked to WebKitGTK+-2.4.x. The former used to be considered <quote>
experimental</quote> by upstream, but now is considered stable. However
the syntax has not yet been updated.
</para>
<para>
<parameter>-DUSE_GTK3=1</parameter>: Using this switch allows linking to
WebkitGTK+ built against <application>GTK+ 3</application>.
</para>
<para>
<option>-DUSE_APIDOCS=1</option>: Use this switch if
<application>GTK-Doc</application> is installed and you
wish to build and install the API documentation.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
midori
</seg>
<seg>
libmidori-core.so
</seg>
<seg>
/{etc/xdg,/usr/{lib,share}}/midori and
/usr/share/doc/midori-&midori-version;
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="midori-prog">
<term><command>midori</command></term>
<listitem>
<para>
is a lightweight <application>WebKitGTK+</application> browser.
</para>
<indexterm zone="midori midori-prog">
<primary sortas="b-midori">midori</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>