[79cd5b6] | 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 midori-download-http
|
---|
[a096a6af] | 8 | "http://www.midori-browser.org/downloads/midori_&midori-version;_all_.tar.bz2">
|
---|
[79cd5b6] | 9 | <!ENTITY midori-download-ftp " ">
|
---|
[4532b2f] | 10 | <!ENTITY midori-md5sum "a0af659e0f1d6edb2c97aefdc8c0f097">
|
---|
[2884969f] | 11 | <!ENTITY midori-size "1.3 MB">
|
---|
[4532b2f] | 12 | <!ENTITY midori-buildsize "71 MB (additional 2 MB for the tests)">
|
---|
| 13 | <!ENTITY midori-time "0.7 SBU (additional less than 0.1 SBU for the tests)">
|
---|
[79cd5b6] | 14 | ]>
|
---|
| 15 |
|
---|
[c53e7e3] | 16 | <sect1 id="midori" xreflabel="Midori-&midori-version;">
|
---|
[79cd5b6] | 17 | <?dbhtml filename="midori.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[c53e7e3] | 24 | <title>Midori-&midori-version;</title>
|
---|
[79cd5b6] | 25 |
|
---|
| 26 | <indexterm zone="midori">
|
---|
[c53e7e3] | 27 | <primary sortas="a-Midori">Midori</primary>
|
---|
[79cd5b6] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Midori</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | <application>Midori</application> is a lightweight web browser that uses
|
---|
[c53e7e3] | 35 | <application>WebKitGTK+</application>.
|
---|
[79cd5b6] | 36 | </para>
|
---|
| 37 |
|
---|
[23b3dda5] | 38 | &lfs76_checked;
|
---|
[79cd5b6] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&midori-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&midori-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &midori-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &midori-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &midori-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &midori-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Midori Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
[5735e4b] | 78 | <xref linkend="cmake"/>,
|
---|
[3e95921] | 79 | <xref linkend="libnotify"/>,
|
---|
[c39babd] | 80 | <xref linkend="webkitgtk2"/> (see "Command Explanations"), and
|
---|
[c53e7e3] | 81 | <xref linkend="vala"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
[2727ac4] | 86 | <xref linkend="librsvg"/>
|
---|
[79cd5b6] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
[4532b2f] | 91 | <xref linkend="gcr"/>,
|
---|
[087af8c0] | 92 | <xref linkend="gtk-doc"/> and
|
---|
| 93 | <xref linkend="libzeitgeist"/>
|
---|
[79cd5b6] | 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <para condition="html" role="usernotes">
|
---|
| 97 | User Notes: <ulink url="&blfs-wiki;/midori"/>
|
---|
| 98 | </para>
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of Midori</title>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Install <application>Midori</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
[f56c241f] | 109 | <screen><userinput>mkdir -v build &&
|
---|
| 110 | cd build &&
|
---|
[4532b2f] | 111 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 112 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 113 | -DUSE_ZEITGEIST=OFF \
|
---|
[9d37710] | 114 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
|
---|
| 115 | .. &&
|
---|
[79cd5b6] | 116 | make</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
[087af8c0] | 119 | To test the results, issue: <command>make check</command> from an X
|
---|
[4532b2f] | 120 | terminal emulator. Test suite performance is poor: almost 1/3 fails.
|
---|
| 121 | Another simple test is to run <command>midori/midori</command> from the
|
---|
| 122 | <filename class="directory">build</filename> directory,
|
---|
| 123 | before installing.
|
---|
[79cd5b6] | 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="commands">
|
---|
| 134 | <title>Command Explanations</title>
|
---|
| 135 |
|
---|
[4532b2f] | 136 | <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
---|
[8c9a5b9] | 137 | used to apply a higher level of compiler optimizations.</para>
|
---|
[4532b2f] | 138 |
|
---|
[f56c241f] | 139 | <para>
|
---|
| 140 | <parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
|
---|
| 141 | <xref linkend="libzeitgeist"/> is installed.
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
[79cd5b6] | 144 | <para>
|
---|
[9d37710] | 145 | <option>-DUSE_GTK3=1</option>: Use this switch if you want to build
|
---|
[5e11bc38] | 146 | <application>Midori</application> with
|
---|
| 147 | <application>WebKitGTK+</application> built against <application>GTK+
|
---|
| 148 | 3</application>, because by default it chooses
|
---|
| 149 | <application>WebKitGTK+</application> built against <application>GTK+
|
---|
| 150 | 2</application>.
|
---|
[c53e7e3] | 151 | </para>
|
---|
| 152 |
|
---|
| 153 | <para>
|
---|
[9d37710] | 154 | <option>-DUSE_APIDOCS=1</option>: Use this switch if
|
---|
[c53e7e3] | 155 | <application>GTK-Doc</application> is installed and you
|
---|
| 156 | wish to build and install the API documentation.
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
[79cd5b6] | 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | <sect2 role="content">
|
---|
| 162 | <title>Contents</title>
|
---|
| 163 |
|
---|
| 164 | <segmentedlist>
|
---|
| 165 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 166 | <segtitle>Installed Libraries</segtitle>
|
---|
[79cd5b6] | 167 | <segtitle>Installed Directories</segtitle>
|
---|
| 168 |
|
---|
| 169 | <seglistitem>
|
---|
[c53e7e3] | 170 | <seg>
|
---|
| 171 | midori
|
---|
| 172 | </seg>
|
---|
| 173 | <seg>
|
---|
[4532b2f] | 174 | libmidori-core.so
|
---|
[c53e7e3] | 175 | </seg>
|
---|
[79cd5b6] | 176 | <seg>
|
---|
| 177 | /etc/xdg/midori,
|
---|
| 178 | /usr/lib/midori,
|
---|
[4532b2f] | 179 | /usr/share/doc/midori-&midori-version; and
|
---|
[c53e7e3] | 180 | /usr/share/midori
|
---|
[79cd5b6] | 181 | </seg>
|
---|
| 182 | </seglistitem>
|
---|
| 183 | </segmentedlist>
|
---|
| 184 |
|
---|
| 185 | <variablelist>
|
---|
| 186 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 187 | <?dbfo list-presentation="list"?>
|
---|
| 188 | <?dbhtml list-presentation="table"?>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="midori-prog">
|
---|
| 191 | <term><command>midori</command></term>
|
---|
| 192 | <listitem>
|
---|
| 193 | <para>
|
---|
[c53e7e3] | 194 | is a lightweight <application>WebKitGTK+</application> browser.
|
---|
[79cd5b6] | 195 | </para>
|
---|
| 196 | <indexterm zone="midori midori-prog">
|
---|
| 197 | <primary sortas="b-midori">midori</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
[c53e7e3] | 201 |
|
---|
[79cd5b6] | 202 | </variablelist>
|
---|
[c53e7e3] | 203 |
|
---|
[79cd5b6] | 204 | </sect2>
|
---|
[c53e7e3] | 205 |
|
---|
[79cd5b6] | 206 | </sect1>
|
---|