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