source: archive/midori.xml@ fa91d2e

11.0 ken/refactor-virt lazarus qt5new trunk
Last change on this file since fa91d2e was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 5 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 6.5 KB
Line 
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 <sect1info>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Midori-&midori-version;</title>
24
25 <indexterm zone="midori">
26 <primary sortas="a-Midori">Midori</primary>
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
34 <application>WebKitGTK+</application>.
35 </para>
36
37 &lfs82_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40
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">
78 <xref linkend="cmake"/>,
79 <xref linkend="gcr"/>,
80 <xref linkend="libnotify"/>,
81 <xref linkend="webkitgtk"/> (see "Command Explanations"), and
82 <xref linkend="vala"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="librsvg"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="gtk-doc"/>,
93 <!--<xref linkend="webkitgtk2"/>, and -->
94 <ulink url="http://webkitgtk.org/releases/">WebKitGTK+-2.4.11</ulink> , and
95 <phrase revision="sysv"><ulink url="https://launchpad.net/zeitgeist/0.9/">Zeitgeist</ulink></phrase>
96 <phrase revision="systemd"><xref linkend="libzeitgeist"/></phrase>
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>
106
107 <para>
108 Install <application>Midori</application> by running the following
109 commands:
110 </para>
111
112<screen><userinput>sed -e 's/protected Tally/public Tally/g' \
113 -i midori/midori-notebook.vala &amp;&amp;
114sed -e 's/%d other files/%u other files/g' \
115 -i extensions/transfers.vala &amp;&amp;
116
117for 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"
120done &amp;&amp;
121
122mkdir build &amp;&amp;
123cd build &amp;&amp;
124
125cmake -DCMAKE_INSTALL_PREFIX=/usr \
126 -DCMAKE_BUILD_TYPE=Release \
127 -DUSE_ZEITGEIST=OFF \
128 -DHALF_BRO_INCOM_WEBKIT2=ON \
129 -DUSE_GTK3=1 \
130 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
131 .. &amp;&amp;
132make</userinput></screen>
133
134 <para>
135 This package does not come with a working test suite.
136 </para>
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
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>
158
159 <para>
160 <parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
161 Zeitgeist is installed.
162 </para>
163
164 <para>
165 <parameter>-DHALF_BRO_INCOM_WEBKIT2=ON</parameter>: Links to <xref
166 linkend="webkitgtk"/> instead of WebKitGTK+-2.4.x. Strictly
167 speaking, <xref linkend="webkitgtk"/> is not required and Midori could
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.
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>.
176 </para>
177
178 <para>
179 <option>-DUSE_APIDOCS=1</option>: Use this switch if
180 <application>GTK-Doc</application> is installed and you
181 wish to build and install the API documentation.
182 </para>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Program</segtitle>
191 <segtitle>Installed Libraries</segtitle>
192 <segtitle>Installed Directories</segtitle>
193
194 <seglistitem>
195 <seg>
196 midori
197 </seg>
198 <seg>
199 libmidori-core.so
200 </seg>
201 <seg>
202 /{etc/xdg,/usr/{lib,share}}/midori and
203 /usr/share/doc/midori-&midori-version;
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>
217 is a lightweight <application>WebKitGTK+</application> browser.
218 </para>
219 <indexterm zone="midori midori-prog">
220 <primary sortas="b-midori">midori</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.