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 qupzilla-download-http "https://github.com/QupZilla/qupzilla/archive/v&qupzilla-version;.tar.gz">
|
---|
8 | <!ENTITY qupzilla-download-ftp " ">
|
---|
9 | <!ENTITY qupzilla-md5sum "e80ad1b6e26212f3d43908c2ad87ba4d">
|
---|
10 | <!ENTITY qupzilla-size "4.5 MB">
|
---|
11 | <!ENTITY qupzilla-buildsize "79 MB">
|
---|
12 | <!ENTITY qupzilla-time "3.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="qupzilla" xreflabel="QupZilla-&qupzilla-version;">
|
---|
16 | <?dbhtml filename="qupzilla.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>QupZilla-&qupzilla-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="qupzilla">
|
---|
26 | <primary sortas="a-QupZilla">QupZilla</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to QupZilla</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>QupZilla</application> is a fast
|
---|
34 | <application>QtWebKit</application> browser. It aims to be a lightweight
|
---|
35 | web browser available through all major platforms. It has been
|
---|
36 | originally started only for educational purposes. But from its start,
|
---|
37 | <application>QupZilla</application> has grown into a feature-rich
|
---|
38 | browser.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs77_checked; &gcc5_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 |
|
---|
45 |
|
---|
46 | <note>
|
---|
47 | <para>
|
---|
48 | Notice that v&qupzilla-version;.tar.gz is the downloaded file name.
|
---|
49 | This was obtained by compressing a directory named <filename
|
---|
50 | class="directory">qupzilla-&qupzilla-version;</filename>. This is not
|
---|
51 | convenient. It is better to rename the file to
|
---|
52 | <filename>qupzilla-&qupzilla-version;.tar.gz</filename>.
|
---|
53 | Alternatively, you can do it automatically, downloading with the
|
---|
54 | command <command>wget ... -O
|
---|
55 | <filename>qupzilla-&qupzilla-version;.tar.gz</filename></command>.
|
---|
56 | </para>
|
---|
57 | </note>
|
---|
58 |
|
---|
59 | <itemizedlist spacing="compact">
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download (HTTP): <ulink url="&qupzilla-download-http;"/>
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Download (FTP): <ulink url="&qupzilla-download-ftp;"/>
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Download MD5 sum: &qupzilla-md5sum;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Download size: &qupzilla-size;
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | <listitem>
|
---|
81 | <para>
|
---|
82 | Estimated disk space required: &qupzilla-buildsize;
|
---|
83 | </para>
|
---|
84 | </listitem>
|
---|
85 | <listitem>
|
---|
86 | <para>
|
---|
87 | Estimated build time: &qupzilla-time;
|
---|
88 | </para>
|
---|
89 | </listitem>
|
---|
90 | </itemizedlist>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect3">QupZilla Dependencies</bridgehead>
|
---|
93 |
|
---|
94 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
95 | <para role="required">
|
---|
96 | <xref linkend="cmake"/>
|
---|
97 | <xref linkend="openssl"/>, and
|
---|
98 | <xref linkend="qt5"/> or
|
---|
99 | <xref linkend="qt4"/>
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
103 | <para role="optional">
|
---|
104 | <xref linkend="gdb"/>,
|
---|
105 | <xref linkend="kdelibs"/> (KWallet plugin),
|
---|
106 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, and
|
---|
107 | <ulink url="&gnome-download-ftp;/libgnome-keyring/">libgnome-keyring</ulink> (Gnome-Keyring plugin)
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <para condition="html" role="usernotes">
|
---|
111 | User Notes: <ulink url="&blfs-wiki;/qupzilla"/>
|
---|
112 | </para>
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="installation">
|
---|
116 | <title>Installation of QupZilla</title>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | The following fixes are needed, if building with <application>Qt5</application>:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen><userinput>sed -e '/qtlocalpeer/ i #include <QDataStream>' \
|
---|
123 | -i src/lib/3rdparty/qtsingleapplication/qtlocalpeer.cpp &&
|
---|
124 |
|
---|
125 | sed -e '/QHash/ i #include <QObject>' \
|
---|
126 | -i src/plugins/TabManager/tldextractor/tldextractor.h</userinput></screen>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | If <application>Qt4</application> and <application>Qt5</application> are
|
---|
130 | installed, choose which one you prefer, by running <command>source
|
---|
131 | setqt4</command> or <command>source setqt5</command>, respectivelly.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | The next commands are used for the build configuration and for fixing
|
---|
136 | the submenu in the Desktop Environment. Alternatively, you can add each
|
---|
137 | environmet variable, one at a line, to
|
---|
138 | <filename>src/defines.pri</filename>.
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <screen><userinput>export QUPZILLA_PREFIX=/usr \
|
---|
142 | USE_WEBGL=true &&
|
---|
143 |
|
---|
144 | sed -e 's/^TargetEnvironment/#&/' \
|
---|
145 | -e 's/Categories=/&Application;Internet;/' \
|
---|
146 | -i linux/applications/qupzilla.desktop</userinput></screen>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | The choice of <filename class="directory">/usr</filename> for prefix is
|
---|
150 | due to the general characteristics of this program, which can be used
|
---|
151 | without <application>LXQt</application>.
|
---|
152 | </para>
|
---|
153 |
|
---|
154 | <para>
|
---|
155 | Install <application>QupZilla</application> by running the following
|
---|
156 | commands:
|
---|
157 | </para>
|
---|
158 |
|
---|
159 | <screen><userinput>qmake</userinput></screen>
|
---|
160 |
|
---|
161 | <para>
|
---|
162 | This package does not come with a test suite.
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
167 | </para>
|
---|
168 |
|
---|
169 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | If <xref linkend="desktop-file-utils"/> and <xref linkend="xdg-utils"/>
|
---|
173 | are installed, run as, the <systemitem
|
---|
174 | class="username">root</systemitem> user:
|
---|
175 | </para>
|
---|
176 |
|
---|
177 | <screen role="root"><userinput>xdg-icon-resource forceupdate --theme hicolor &&
|
---|
178 | update-desktop-database -q</userinput></screen>
|
---|
179 |
|
---|
180 | </sect2>
|
---|
181 |
|
---|
182 | <sect2 role="commands">
|
---|
183 | <title>Command Explanations</title>
|
---|
184 |
|
---|
185 | <para>
|
---|
186 | <command>sed ... -i linux/applications/qupzilla.desktop</command>:
|
---|
187 | Fixes location in some Desktop Environment submenu.
|
---|
188 | </para>
|
---|
189 |
|
---|
190 | <note>
|
---|
191 | <para>
|
---|
192 | Following variables need to be exported. You can add them to the
|
---|
193 | <command>export</command> block in the main instructions.
|
---|
194 | Alternatively, instead of exporting, they can be added, one at a line,
|
---|
195 | to <filename>src/defines.pri</filename>.
|
---|
196 | </para>
|
---|
197 | </note>
|
---|
198 |
|
---|
199 | <para>
|
---|
200 | <envar>CONFIG += debug</envar>: Use if you want to build QupZilla with
|
---|
201 | debugging symbols.
|
---|
202 | </para>
|
---|
203 |
|
---|
204 | <para>
|
---|
205 | <envar>GNOME_INTEGRATION=true</envar>: Enable Gnome integration, this
|
---|
206 | meaning the build of Gnome-Keyring Password plugin, which provides
|
---|
207 | support for storing passwords in Gnome-Keyring.
|
---|
208 | </para>
|
---|
209 |
|
---|
210 | <para>
|
---|
211 | <envar>KDE_INTEGRATION=true</envar>: Enable KDE integration, this
|
---|
212 | meaning the build of KWallet Password plugin, which provides support for
|
---|
213 | storing passwords in KWallet.
|
---|
214 | </para>
|
---|
215 |
|
---|
216 | </sect2>
|
---|
217 |
|
---|
218 | <sect2 role="content">
|
---|
219 | <title>Contents</title>
|
---|
220 |
|
---|
221 | <segmentedlist>
|
---|
222 | <segtitle>Installed Program</segtitle>
|
---|
223 | <segtitle>Installed Libraries</segtitle>
|
---|
224 | <segtitle>Installed Directory</segtitle>
|
---|
225 |
|
---|
226 | <seglistitem>
|
---|
227 | <seg>
|
---|
228 | qupzilla
|
---|
229 | </seg>
|
---|
230 | <seg>
|
---|
231 | libQupZilla.so and plugins under /usr/lib/qupzilla/
|
---|
232 | </seg>
|
---|
233 | <seg>
|
---|
234 | /usr/{lib,share}/qupzilla
|
---|
235 | </seg>
|
---|
236 | </seglistitem>
|
---|
237 | </segmentedlist>
|
---|
238 |
|
---|
239 | <variablelist>
|
---|
240 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
241 | <?dbfo list-presentation="list"?>
|
---|
242 | <?dbhtml list-presentation="table"?>
|
---|
243 |
|
---|
244 | <varlistentry id="qupzilla-prog">
|
---|
245 | <term><command>qupzilla</command></term>
|
---|
246 | <listitem>
|
---|
247 | <para>
|
---|
248 | is a lightweight <application>QtWebKit</application> web browser.
|
---|
249 | </para>
|
---|
250 | <indexterm zone="qupzilla qupzilla-prog">
|
---|
251 | <primary sortas="b-qupzilla">qupzilla</primary>
|
---|
252 | </indexterm>
|
---|
253 | </listitem>
|
---|
254 | </varlistentry>
|
---|
255 |
|
---|
256 | <varlistentry id="libQupZilla">
|
---|
257 | <term><filename class="libraryfile">libQupZilla.so</filename></term>
|
---|
258 | <listitem>
|
---|
259 | <para>
|
---|
260 | contains the <application>libQupZilla</application> API functions.
|
---|
261 | </para>
|
---|
262 | <indexterm zone="qupzilla libQupZilla">
|
---|
263 | <primary sortas="c-libQupZilla">libQupZilla.so</primary>
|
---|
264 | </indexterm>
|
---|
265 | </listitem>
|
---|
266 | </varlistentry>
|
---|
267 |
|
---|
268 | </variablelist>
|
---|
269 |
|
---|
270 | </sect2>
|
---|
271 |
|
---|
272 | </sect1>
|
---|