[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 |
|
---|
[b379ac51] | 38 | &lfs77_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 |
|
---|
[6b83cbe2] | 109 | <screen><userinput>sed -i 's/ ListStore/ Gtk.ListStore/' extensions/history-list.vala &&
|
---|
| 110 |
|
---|
| 111 | mkdir build &&
|
---|
[71fcd95e] | 112 | cd build &&
|
---|
| 113 |
|
---|
[4532b2f] | 114 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 115 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 116 | -DUSE_ZEITGEIST=OFF \
|
---|
[9d37710] | 117 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
|
---|
| 118 | .. &&
|
---|
[79cd5b6] | 119 | make</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
[087af8c0] | 122 | To test the results, issue: <command>make check</command> from an X
|
---|
[4532b2f] | 123 | terminal emulator. Test suite performance is poor: almost 1/3 fails.
|
---|
| 124 | Another simple test is to run <command>midori/midori</command> from the
|
---|
| 125 | <filename class="directory">build</filename> directory,
|
---|
| 126 | before installing.
|
---|
[79cd5b6] | 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="commands">
|
---|
| 137 | <title>Command Explanations</title>
|
---|
| 138 |
|
---|
[6b83cbe2] | 139 | <para><command>sed -i ... extensions/history-list.vala</command>: This
|
---|
| 140 | command fixes build with glib-2.43 or newer.</para>
|
---|
| 141 |
|
---|
[4532b2f] | 142 | <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
---|
[8c9a5b9] | 143 | used to apply a higher level of compiler optimizations.</para>
|
---|
[4532b2f] | 144 |
|
---|
[f56c241f] | 145 | <para>
|
---|
| 146 | <parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
|
---|
| 147 | <xref linkend="libzeitgeist"/> is installed.
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
[79cd5b6] | 150 | <para>
|
---|
[9d37710] | 151 | <option>-DUSE_GTK3=1</option>: Use this switch if you want to build
|
---|
[5e11bc38] | 152 | <application>Midori</application> with
|
---|
| 153 | <application>WebKitGTK+</application> built against <application>GTK+
|
---|
| 154 | 3</application>, because by default it chooses
|
---|
| 155 | <application>WebKitGTK+</application> built against <application>GTK+
|
---|
| 156 | 2</application>.
|
---|
[c53e7e3] | 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
[9d37710] | 160 | <option>-DUSE_APIDOCS=1</option>: Use this switch if
|
---|
[c53e7e3] | 161 | <application>GTK-Doc</application> is installed and you
|
---|
| 162 | wish to build and install the API documentation.
|
---|
| 163 | </para>
|
---|
| 164 |
|
---|
[79cd5b6] | 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
| 171 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 172 | <segtitle>Installed Libraries</segtitle>
|
---|
[79cd5b6] | 173 | <segtitle>Installed Directories</segtitle>
|
---|
| 174 |
|
---|
| 175 | <seglistitem>
|
---|
[c53e7e3] | 176 | <seg>
|
---|
| 177 | midori
|
---|
| 178 | </seg>
|
---|
| 179 | <seg>
|
---|
[4532b2f] | 180 | libmidori-core.so
|
---|
[c53e7e3] | 181 | </seg>
|
---|
[79cd5b6] | 182 | <seg>
|
---|
| 183 | /etc/xdg/midori,
|
---|
| 184 | /usr/lib/midori,
|
---|
[4532b2f] | 185 | /usr/share/doc/midori-&midori-version; and
|
---|
[c53e7e3] | 186 | /usr/share/midori
|
---|
[79cd5b6] | 187 | </seg>
|
---|
| 188 | </seglistitem>
|
---|
| 189 | </segmentedlist>
|
---|
| 190 |
|
---|
| 191 | <variablelist>
|
---|
| 192 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 193 | <?dbfo list-presentation="list"?>
|
---|
| 194 | <?dbhtml list-presentation="table"?>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="midori-prog">
|
---|
| 197 | <term><command>midori</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>
|
---|
[c53e7e3] | 200 | is a lightweight <application>WebKitGTK+</application> browser.
|
---|
[79cd5b6] | 201 | </para>
|
---|
| 202 | <indexterm zone="midori midori-prog">
|
---|
| 203 | <primary sortas="b-midori">midori</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
[c53e7e3] | 207 |
|
---|
[79cd5b6] | 208 | </variablelist>
|
---|
[c53e7e3] | 209 |
|
---|
[79cd5b6] | 210 | </sect2>
|
---|
[c53e7e3] | 211 |
|
---|
[79cd5b6] | 212 | </sect1>
|
---|