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