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
|
---|
8 | "http://www.midori-browser.org/downloads/midori_&midori-version;_all_.tar.bz2">
|
---|
9 | <!ENTITY midori-download-ftp " ">
|
---|
10 | <!ENTITY midori-md5sum "fcc03ef759fce4fe9f2446d9da4a065e">
|
---|
11 | <!ENTITY midori-size "1.4 MB">
|
---|
12 | <!ENTITY midori-buildsize "91 MB">
|
---|
13 | <!ENTITY midori-time "0.8 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="midori" xreflabel="Midori-&midori-version;">
|
---|
17 | <?dbhtml filename="midori.html"?>
|
---|
18 |
|
---|
19 |
|
---|
20 | <title>Midori-&midori-version;</title>
|
---|
21 |
|
---|
22 | <indexterm zone="midori">
|
---|
23 | <primary sortas="a-Midori">Midori</primary>
|
---|
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
|
---|
31 | <application>WebKitGTK+</application>.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs82_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 |
|
---|
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">
|
---|
75 | <xref linkend="cmake"/>,
|
---|
76 | <xref linkend="gcr"/>,
|
---|
77 | <xref linkend="libnotify"/>,
|
---|
78 | <xref linkend="webkitgtk"/> (see "Command Explanations"), and
|
---|
79 | <xref linkend="vala"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
83 | <para role="recommended">
|
---|
84 | <xref linkend="librsvg"/>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="gtk-doc"/>,
|
---|
90 | <!--<xref linkend="webkitgtk2"/>, and -->
|
---|
91 | <ulink url="http://webkitgtk.org/releases/">WebKitGTK+-2.4.11</ulink> , and
|
---|
92 | <phrase revision="sysv"><ulink url="https://launchpad.net/zeitgeist/0.9/">Zeitgeist</ulink></phrase>
|
---|
93 | <phrase revision="systemd"><xref linkend="libzeitgeist"/></phrase>
|
---|
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 |
|
---|
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 &&
|
---|
120 | cd build &&
|
---|
121 |
|
---|
122 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
123 | -DCMAKE_BUILD_TYPE=Release \
|
---|
124 | -DUSE_ZEITGEIST=OFF \
|
---|
125 | -DHALF_BRO_INCOM_WEBKIT2=ON \
|
---|
126 | -DUSE_GTK3=1 \
|
---|
127 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
|
---|
128 | .. &&
|
---|
129 | make</userinput></screen>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | This package does not come with a working test suite.
|
---|
133 | </para>
|
---|
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 |
|
---|
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>
|
---|
155 |
|
---|
156 | <para>
|
---|
157 | <parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
|
---|
158 | Zeitgeist is installed.
|
---|
159 | </para>
|
---|
160 |
|
---|
161 | <para>
|
---|
162 | <parameter>-DHALF_BRO_INCOM_WEBKIT2=ON</parameter>: Links to <xref
|
---|
163 | linkend="webkitgtk"/> instead of WebKitGTK+-2.4.x. Strictly
|
---|
164 | speaking, <xref linkend="webkitgtk"/> is not required and Midori could
|
---|
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.
|
---|
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>.
|
---|
173 | </para>
|
---|
174 |
|
---|
175 | <para>
|
---|
176 | <option>-DUSE_APIDOCS=1</option>: Use this switch if
|
---|
177 | <application>GTK-Doc</application> is installed and you
|
---|
178 | wish to build and install the API documentation.
|
---|
179 | </para>
|
---|
180 |
|
---|
181 | </sect2>
|
---|
182 |
|
---|
183 | <sect2 role="content">
|
---|
184 | <title>Contents</title>
|
---|
185 |
|
---|
186 | <segmentedlist>
|
---|
187 | <segtitle>Installed Program</segtitle>
|
---|
188 | <segtitle>Installed Libraries</segtitle>
|
---|
189 | <segtitle>Installed Directories</segtitle>
|
---|
190 |
|
---|
191 | <seglistitem>
|
---|
192 | <seg>
|
---|
193 | midori
|
---|
194 | </seg>
|
---|
195 | <seg>
|
---|
196 | libmidori-core.so
|
---|
197 | </seg>
|
---|
198 | <seg>
|
---|
199 | /{etc/xdg,/usr/{lib,share}}/midori and
|
---|
200 | /usr/share/doc/midori-&midori-version;
|
---|
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>
|
---|
214 | is a lightweight <application>WebKitGTK+</application> browser.
|
---|
215 | </para>
|
---|
216 | <indexterm zone="midori midori-prog">
|
---|
217 | <primary sortas="b-midori">midori</primary>
|
---|
218 | </indexterm>
|
---|
219 | </listitem>
|
---|
220 | </varlistentry>
|
---|
221 |
|
---|
222 | </variablelist>
|
---|
223 |
|
---|
224 | </sect2>
|
---|
225 |
|
---|
226 | </sect1>
|
---|