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