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 "2f250a5015923b6eeca606629e7bf042">
|
---|
11 | <!ENTITY midori-size "1.4 MB">
|
---|
12 | <!ENTITY midori-buildsize "87 MB">
|
---|
13 | <!ENTITY midori-time "0.6">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="midori" xreflabel="Midori-&midori-version;">
|
---|
17 | <?dbhtml filename="midori.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Midori-&midori-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="midori">
|
---|
27 | <primary sortas="a-Midori">Midori</primary>
|
---|
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
|
---|
35 | <application>WebKitGTK+</application>.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs77_checked; &gcc5_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 |
|
---|
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">
|
---|
79 | <xref linkend="cmake"/>,
|
---|
80 | <xref linkend="gcr"/>,
|
---|
81 | <xref linkend="libnotify"/>,
|
---|
82 | <xref linkend="webkitgtk2"/> (see "Command Explanations"), and
|
---|
83 | <xref linkend="vala"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
87 | <para role="recommended">
|
---|
88 | <xref linkend="librsvg"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
92 | <para role="optional">
|
---|
93 | <xref linkend="gtk-doc"/> and
|
---|
94 | <xref linkend="libzeitgeist"/>
|
---|
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 |
|
---|
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 |
|
---|
114 | <para>
|
---|
115 | Install <application>Midori</application> by running the following
|
---|
116 | commands:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen><userinput>mkdir build &&
|
---|
120 | cd build &&
|
---|
121 |
|
---|
122 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
123 | -DCMAKE_BUILD_TYPE=Release \
|
---|
124 | -DUSE_ZEITGEIST=OFF \
|
---|
125 | -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
|
---|
126 | .. &&
|
---|
127 | make</userinput></screen>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | This package does not come with a working test suite.
|
---|
131 | </para>
|
---|
132 | <!-- <para>
|
---|
133 | To test the results, issue: <command>make check</command> from an X
|
---|
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.
|
---|
138 | </para>-->
|
---|
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 |
|
---|
150 | <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
---|
151 | used to apply a higher level of compiler optimizations.</para>
|
---|
152 |
|
---|
153 | <para>
|
---|
154 | <parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
|
---|
155 | <xref linkend="libzeitgeist"/> is installed.
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <para>
|
---|
159 | <option>-DUSE_GTK3=1</option>: Use this switch if you want to build
|
---|
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>.
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | <para>
|
---|
168 | <option>-DUSE_APIDOCS=1</option>: Use this switch if
|
---|
169 | <application>GTK-Doc</application> is installed and you
|
---|
170 | wish to build and install the API documentation.
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | </sect2>
|
---|
174 |
|
---|
175 | <sect2 role="content">
|
---|
176 | <title>Contents</title>
|
---|
177 |
|
---|
178 | <segmentedlist>
|
---|
179 | <segtitle>Installed Program</segtitle>
|
---|
180 | <segtitle>Installed Libraries</segtitle>
|
---|
181 | <segtitle>Installed Directories</segtitle>
|
---|
182 |
|
---|
183 | <seglistitem>
|
---|
184 | <seg>
|
---|
185 | midori
|
---|
186 | </seg>
|
---|
187 | <seg>
|
---|
188 | libmidori-core.so
|
---|
189 | </seg>
|
---|
190 | <seg>
|
---|
191 | /etc/xdg/midori,
|
---|
192 | /usr/lib/midori,
|
---|
193 | /usr/share/doc/midori-&midori-version; and
|
---|
194 | /usr/share/midori
|
---|
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>
|
---|
208 | is a lightweight <application>WebKitGTK+</application> browser.
|
---|
209 | </para>
|
---|
210 | <indexterm zone="midori midori-prog">
|
---|
211 | <primary sortas="b-midori">midori</primary>
|
---|
212 | </indexterm>
|
---|
213 | </listitem>
|
---|
214 | </varlistentry>
|
---|
215 |
|
---|
216 | </variablelist>
|
---|
217 |
|
---|
218 | </sect2>
|
---|
219 |
|
---|
220 | </sect1>
|
---|