mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
998a0e06c9
Update to LVM2.2.02.164. Tags fo r all lof xfce and various other packages git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17689 af4574ff-66df-0310-9fd7-8a98e5e911e0
212 lines
5.9 KiB
XML
212 lines
5.9 KiB
XML
<?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>
|
|
<othername>$LastChangedBy$</othername>
|
|
<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>
|
|
|
|
&lfs7a_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
|
|
<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>mkdir build &&
|
|
cd build &&
|
|
|
|
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; \
|
|
.. &&
|
|
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><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 is deemed <quote>
|
|
experimental</quote> by upstream, but seems to work well. The latter is
|
|
an older API and less secure.
|
|
</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>
|