source: xfce/apps/midori.xml@ 6b83cbe2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6b83cbe2 was 6b83cbe2, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

midori-0.5.9: fix build with glib-2.43 or newer.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15840 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 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 "a0af659e0f1d6edb2c97aefdc8c0f097">
11 <!ENTITY midori-size "1.3 MB">
12 <!ENTITY midori-buildsize "71 MB (additional 2 MB for the tests)">
13 <!ENTITY midori-time "0.7 SBU (additional less than 0.1 SBU for the tests)">
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;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
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="libnotify"/>,
80 <xref linkend="webkitgtk2"/> (see "Command Explanations"), and
81 <xref linkend="vala"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="librsvg"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="gcr"/>,
92 <xref linkend="gtk-doc"/> and
93 <xref linkend="libzeitgeist"/>
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 -i 's/ ListStore/ Gtk.ListStore/' extensions/history-list.vala &amp;&amp;
110
111mkdir build &amp;&amp;
112cd build &amp;&amp;
113
114cmake -DCMAKE_INSTALL_PREFIX=/usr \
115 -DCMAKE_BUILD_TYPE=Release \
116 -DUSE_ZEITGEIST=OFF \
117 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/midori-&midori-version; \
118 .. &amp;&amp;
119make</userinput></screen>
120
121 <para>
122 To test the results, issue: <command>make check</command> from an X
123 terminal emulator. Test suite performance is poor: almost 1/3 fails.
124 Another simple test is to run <command>midori/midori</command> from the
125 <filename class="directory">build</filename> directory,
126 before installing.
127 </para>
128
129 <para>
130 Now, as the <systemitem class="username">root</systemitem> user:
131 </para>
132
133<screen role="root"><userinput>make install</userinput></screen>
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para><command>sed -i ... extensions/history-list.vala</command>: This
140 command fixes build with glib-2.43 or newer.</para>
141
142 <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
143 used to apply a higher level of compiler optimizations.</para>
144
145 <para>
146 <parameter>-DUSE_ZEITGEIST=OFF</parameter>: Remove this switch if
147 <xref linkend="libzeitgeist"/> is installed.
148 </para>
149
150 <para>
151 <option>-DUSE_GTK3=1</option>: Use this switch if you want to build
152 <application>Midori</application> with
153 <application>WebKitGTK+</application> built against <application>GTK+
154 3</application>, because by default it chooses
155 <application>WebKitGTK+</application> built against <application>GTK+
156 2</application>.
157 </para>
158
159 <para>
160 <option>-DUSE_APIDOCS=1</option>: Use this switch if
161 <application>GTK-Doc</application> is installed and you
162 wish to build and install the API documentation.
163 </para>
164
165 </sect2>
166
167 <sect2 role="content">
168 <title>Contents</title>
169
170 <segmentedlist>
171 <segtitle>Installed Program</segtitle>
172 <segtitle>Installed Libraries</segtitle>
173 <segtitle>Installed Directories</segtitle>
174
175 <seglistitem>
176 <seg>
177 midori
178 </seg>
179 <seg>
180 libmidori-core.so
181 </seg>
182 <seg>
183 /etc/xdg/midori,
184 /usr/lib/midori,
185 /usr/share/doc/midori-&midori-version; and
186 /usr/share/midori
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="midori-prog">
197 <term><command>midori</command></term>
198 <listitem>
199 <para>
200 is a lightweight <application>WebKitGTK+</application> browser.
201 </para>
202 <indexterm zone="midori midori-prog">
203 <primary sortas="b-midori">midori</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 </variablelist>
209
210 </sect2>
211
212</sect1>
Note: See TracBrowser for help on using the repository browser.