2012-05-02 23:19:50 +08:00
|
|
|
<?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
|
2013-08-21 01:47:38 +08:00
|
|
|
"http://www.midori-browser.org/downloads/midori_&midori-version;_all_.tar.bz2">
|
2012-05-02 23:19:50 +08:00
|
|
|
<!ENTITY midori-download-ftp " ">
|
2014-11-12 23:35:37 +08:00
|
|
|
<!ENTITY midori-md5sum "a0af659e0f1d6edb2c97aefdc8c0f097">
|
2014-04-07 03:52:43 +08:00
|
|
|
<!ENTITY midori-size "1.3 MB">
|
2014-11-12 23:35:37 +08:00
|
|
|
<!ENTITY midori-buildsize "71 MB (additional 2 MB for the tests)">
|
|
|
|
<!ENTITY midori-time "0.7 SBU (additional less than 0.1 SBU for the tests)">
|
2012-05-02 23:19:50 +08:00
|
|
|
]>
|
|
|
|
|
2013-03-17 05:38:01 +08:00
|
|
|
<sect1 id="midori" xreflabel="Midori-&midori-version;">
|
2012-05-02 23:19:50 +08:00
|
|
|
<?dbhtml filename="midori.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2013-03-17 05:38:01 +08:00
|
|
|
<title>Midori-&midori-version;</title>
|
2012-05-02 23:19:50 +08:00
|
|
|
|
|
|
|
<indexterm zone="midori">
|
2013-03-17 05:38:01 +08:00
|
|
|
<primary sortas="a-Midori">Midori</primary>
|
2012-05-02 23:19:50 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Midori</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<application>Midori</application> is a lightweight web browser that uses
|
2013-03-17 05:38:01 +08:00
|
|
|
<application>WebKitGTK+</application>.
|
2012-05-02 23:19:50 +08:00
|
|
|
</para>
|
|
|
|
|
2015-02-27 05:54:24 +08:00
|
|
|
&lfs77_checked;
|
2012-05-02 23:19:50 +08:00
|
|
|
|
|
|
|
<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">
|
2013-11-20 23:56:51 +08:00
|
|
|
<xref linkend="cmake"/>,
|
2014-02-18 18:43:05 +08:00
|
|
|
<xref linkend="libnotify"/>,
|
2014-05-03 01:18:05 +08:00
|
|
|
<xref linkend="webkitgtk2"/> (see "Command Explanations"), and
|
2013-03-17 05:38:01 +08:00
|
|
|
<xref linkend="vala"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2014-01-15 11:38:24 +08:00
|
|
|
<xref linkend="librsvg"/>
|
2012-05-02 23:19:50 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2014-11-12 23:35:37 +08:00
|
|
|
<xref linkend="gcr"/>,
|
2014-01-16 23:24:12 +08:00
|
|
|
<xref linkend="gtk-doc"/> and
|
|
|
|
<xref linkend="libzeitgeist"/>
|
2012-05-02 23:19:50 +08:00
|
|
|
</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>
|
|
|
|
|
2014-10-24 12:15:52 +08:00
|
|
|
<screen><userinput>mkdir -v build &&
|
|
|
|
cd build &&
|
2014-11-12 23:35:37 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DUSE_ZEITGEIST=OFF \
|
2014-10-02 08:36:52 +08:00
|
|
|
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
|
|
|
|
.. &&
|
2012-05-02 23:19:50 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
2014-01-16 23:24:12 +08:00
|
|
|
To test the results, issue: <command>make check</command> from an X
|
2014-11-12 23:35:37 +08:00
|
|
|
terminal emulator. Test suite performance is poor: almost 1/3 fails.
|
|
|
|
Another simple test is to run <command>midori/midori</command> from the
|
|
|
|
<filename class="directory">build</filename> directory,
|
|
|
|
before installing.
|
2012-05-02 23:19:50 +08:00
|
|
|
</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>
|
|
|
|
|
2014-11-12 23:35:37 +08:00
|
|
|
<para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
2014-11-13 07:46:45 +08:00
|
|
|
used to apply a higher level of compiler optimizations.</para>
|
2014-11-12 23:35:37 +08:00
|
|
|
|
2014-10-24 12:15:52 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
|
|
|
|
<xref linkend="libzeitgeist"/> is installed.
|
|
|
|
</para>
|
|
|
|
|
2012-05-02 23:19:50 +08:00
|
|
|
<para>
|
2014-10-02 08:36:52 +08:00
|
|
|
<option>-DUSE_GTK3=1</option>: Use this switch if you want to build
|
2014-08-28 23:53:10 +08:00
|
|
|
<application>Midori</application> with
|
|
|
|
<application>WebKitGTK+</application> built against <application>GTK+
|
|
|
|
3</application>, because by default it chooses
|
|
|
|
<application>WebKitGTK+</application> built against <application>GTK+
|
|
|
|
2</application>.
|
2013-03-17 05:38:01 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2014-10-02 08:36:52 +08:00
|
|
|
<option>-DUSE_APIDOCS=1</option>: Use this switch if
|
2013-03-17 05:38:01 +08:00
|
|
|
<application>GTK-Doc</application> is installed and you
|
|
|
|
wish to build and install the API documentation.
|
|
|
|
</para>
|
|
|
|
|
2012-05-02 23:19:50 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2012-05-02 23:19:50 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2013-03-17 05:38:01 +08:00
|
|
|
<seg>
|
|
|
|
midori
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-11-12 23:35:37 +08:00
|
|
|
libmidori-core.so
|
2013-03-17 05:38:01 +08:00
|
|
|
</seg>
|
2012-05-02 23:19:50 +08:00
|
|
|
<seg>
|
|
|
|
/etc/xdg/midori,
|
|
|
|
/usr/lib/midori,
|
2014-11-12 23:35:37 +08:00
|
|
|
/usr/share/doc/midori-&midori-version; and
|
2013-03-17 05:38:01 +08:00
|
|
|
/usr/share/midori
|
2012-05-02 23:19:50 +08:00
|
|
|
</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>
|
2013-03-17 05:38:01 +08:00
|
|
|
is a lightweight <application>WebKitGTK+</application> browser.
|
2012-05-02 23:19:50 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="midori midori-prog">
|
|
|
|
<primary sortas="b-midori">midori</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2013-03-17 05:38:01 +08:00
|
|
|
|
2012-05-02 23:19:50 +08:00
|
|
|
</variablelist>
|
2013-03-17 05:38:01 +08:00
|
|
|
|
2012-05-02 23:19:50 +08:00
|
|
|
</sect2>
|
2013-03-17 05:38:01 +08:00
|
|
|
|
2012-05-02 23:19:50 +08:00
|
|
|
</sect1>
|