source: lxqt/apps/qupzilla.xml@ 8137b30

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 8137b30 was 8137b30, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • LXQt applications: More fixes, including some for building with Qt4.

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

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