[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 " ">
|
---|
[8763a1da] | 10 | <!ENTITY midori-md5sum "fcc03ef759fce4fe9f2446d9da4a065e">
|
---|
[a1f30d5] | 11 | <!ENTITY midori-size "1.4 MB">
|
---|
[8763a1da] | 12 | <!ENTITY midori-buildsize "91 MB">
|
---|
| 13 | <!ENTITY midori-time "0.8 SBU">
|
---|
[79cd5b6] | 14 | ]>
|
---|
| 15 |
|
---|
[c53e7e3] | 16 | <sect1 id="midori" xreflabel="Midori-&midori-version;">
|
---|
[79cd5b6] | 17 | <?dbhtml filename="midori.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[c53e7e3] | 23 | <title>Midori-&midori-version;</title>
|
---|
[79cd5b6] | 24 |
|
---|
| 25 | <indexterm zone="midori">
|
---|
[c53e7e3] | 26 | <primary sortas="a-Midori">Midori</primary>
|
---|
[79cd5b6] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Midori</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>Midori</application> is a lightweight web browser that uses
|
---|
[c53e7e3] | 34 | <application>WebKitGTK+</application>.
|
---|
[79cd5b6] | 35 | </para>
|
---|
| 36 |
|
---|
[b282e39] | 37 | &lfs82_checked;
|
---|
[79cd5b6] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[a1f30d5] | 40 |
|
---|
[79cd5b6] | 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"/>,
|
---|
[a1f30d5] | 79 | <xref linkend="gcr"/>,
|
---|
[3e95921] | 80 | <xref linkend="libnotify"/>,
|
---|
[fb04cfdd] | 81 | <xref linkend="webkitgtk"/> (see "Command Explanations"), and
|
---|
[c53e7e3] | 82 | <xref linkend="vala"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
[2727ac4] | 87 | <xref linkend="librsvg"/>
|
---|
[79cd5b6] | 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
[fb04cfdd] | 92 | <xref linkend="gtk-doc"/>,
|
---|
[4af9931] | 93 | <!--<xref linkend="webkitgtk2"/>, and -->
|
---|
| 94 | <ulink url="http://webkitgtk.org/releases/">WebKitGTK+-2.4.11</ulink> , and
|
---|
[3e30e1b] | 95 | <phrase revision="sysv"><ulink url="https://launchpad.net/zeitgeist/0.9/">Zeitgeist</ulink></phrase>
|
---|
| 96 | <phrase revision="systemd"><xref linkend="libzeitgeist"/></phrase>
|
---|
[79cd5b6] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <para condition="html" role="usernotes">
|
---|
| 100 | User Notes: <ulink url="&blfs-wiki;/midori"/>
|
---|
| 101 | </para>
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
| 105 | <title>Installation of Midori</title>
|
---|
[a1f30d5] | 106 |
|
---|
[79cd5b6] | 107 | <para>
|
---|
| 108 | Install <application>Midori</application> by running the following
|
---|
| 109 | commands:
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
[820d6822] | 112 | <screen><userinput>sed -e 's/protected Tally/public Tally/g' \
|
---|
| 113 | -i midori/midori-notebook.vala &&
|
---|
| 114 | sed -e 's/%d other files/%u other files/g' \
|
---|
| 115 | -i extensions/transfers.vala &&
|
---|
| 116 |
|
---|
| 117 | for f in transfers adblock/widgets apps history-list notes; do
|
---|
| 118 | sed -e 's/.remove (iter/.remove (ref iter/g' \
|
---|
| 119 | -i "extensions/$f.vala"
|
---|
| 120 | done &&
|
---|
| 121 |
|
---|
| 122 | mkdir build &&
|
---|
[71fcd95e] | 123 | cd build &&
|
---|
| 124 |
|
---|
[4532b2f] | 125 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 126 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 127 | -DUSE_ZEITGEIST=OFF \
|
---|
[fb04cfdd] | 128 | -DHALF_BRO_INCOM_WEBKIT2=ON \
|
---|
[c18b8f23] | 129 | -DUSE_GTK3=1 \
|
---|
[9d37710] | 130 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
|
---|
| 131 | .. &&
|
---|
[79cd5b6] | 132 | make</userinput></screen>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
[a1f30d5] | 135 | This package does not come with a working test suite.
|
---|
| 136 | </para>
|
---|
[79cd5b6] | 137 |
|
---|
| 138 | <para>
|
---|
| 139 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="commands">
|
---|
| 146 | <title>Command Explanations</title>
|
---|
| 147 |
|
---|
[820d6822] | 148 | <para>
|
---|
| 149 | <command>sed ...</command>: The recent release of vala generates errors
|
---|
| 150 | for some constructs that were accepted before. The <command>sed</command>
|
---|
| 151 | commands fix those errors.
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
| 154 | <para>
|
---|
| 155 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
---|
| 156 | used to apply a higher level of compiler optimizations.
|
---|
| 157 | </para>
|
---|
[4532b2f] | 158 |
|
---|
[f56c241f] | 159 | <para>
|
---|
| 160 | <parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
|
---|
[46db8b5] | 161 | Zeitgeist is installed.
|
---|
[f56c241f] | 162 | </para>
|
---|
| 163 |
|
---|
[79cd5b6] | 164 | <para>
|
---|
[fb04cfdd] | 165 | <parameter>-DHALF_BRO_INCOM_WEBKIT2=ON</parameter>: Links to <xref
|
---|
[4af9931] | 166 | linkend="webkitgtk"/> instead of WebKitGTK+-2.4.x. Strictly
|
---|
[fb04cfdd] | 167 | speaking, <xref linkend="webkitgtk"/> is not required and Midori could
|
---|
[4af9931] | 168 | be linked to WebKitGTK+-2.4.x. The former used to be considered <quote>
|
---|
| 169 | experimental</quote> by upstream, but now is considered stable. However
|
---|
| 170 | the syntax has not yet been updated.
|
---|
[fb04cfdd] | 171 | </para>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
| 174 | <parameter>-DUSE_GTK3=1</parameter>: Using this switch allows linking to
|
---|
| 175 | WebkitGTK+ built against <application>GTK+ 3</application>.
|
---|
[c53e7e3] | 176 | </para>
|
---|
| 177 |
|
---|
| 178 | <para>
|
---|
[9d37710] | 179 | <option>-DUSE_APIDOCS=1</option>: Use this switch if
|
---|
[c53e7e3] | 180 | <application>GTK-Doc</application> is installed and you
|
---|
[8763a1da] | 181 | wish to build and install the API documentation.
|
---|
[c53e7e3] | 182 | </para>
|
---|
| 183 |
|
---|
[79cd5b6] | 184 | </sect2>
|
---|
| 185 |
|
---|
| 186 | <sect2 role="content">
|
---|
| 187 | <title>Contents</title>
|
---|
| 188 |
|
---|
| 189 | <segmentedlist>
|
---|
| 190 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 191 | <segtitle>Installed Libraries</segtitle>
|
---|
[79cd5b6] | 192 | <segtitle>Installed Directories</segtitle>
|
---|
| 193 |
|
---|
| 194 | <seglistitem>
|
---|
[c53e7e3] | 195 | <seg>
|
---|
| 196 | midori
|
---|
| 197 | </seg>
|
---|
| 198 | <seg>
|
---|
[4532b2f] | 199 | libmidori-core.so
|
---|
[c53e7e3] | 200 | </seg>
|
---|
[79cd5b6] | 201 | <seg>
|
---|
[8763a1da] | 202 | /{etc/xdg,/usr/{lib,share}}/midori and
|
---|
| 203 | /usr/share/doc/midori-&midori-version;
|
---|
[79cd5b6] | 204 | </seg>
|
---|
| 205 | </seglistitem>
|
---|
| 206 | </segmentedlist>
|
---|
| 207 |
|
---|
| 208 | <variablelist>
|
---|
| 209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 210 | <?dbfo list-presentation="list"?>
|
---|
| 211 | <?dbhtml list-presentation="table"?>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="midori-prog">
|
---|
| 214 | <term><command>midori</command></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>
|
---|
[c53e7e3] | 217 | is a lightweight <application>WebKitGTK+</application> browser.
|
---|
[79cd5b6] | 218 | </para>
|
---|
| 219 | <indexterm zone="midori midori-prog">
|
---|
| 220 | <primary sortas="b-midori">midori</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
[c53e7e3] | 224 |
|
---|
[79cd5b6] | 225 | </variablelist>
|
---|
[c53e7e3] | 226 |
|
---|
[79cd5b6] | 227 | </sect2>
|
---|
[c53e7e3] | 228 |
|
---|
[79cd5b6] | 229 | </sect1>
|
---|