[ba0ff42b] | 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 |
|
---|
[4b64c31] | 7 | <!ENTITY falkon-download-http "https://download.kde.org/stable/falkon/&falkon-major-version;/falkon-&falkon-version;.tar.xz">
|
---|
[ba0ff42b] | 8 | <!ENTITY falkon-download-ftp " ">
|
---|
[c61fb430] | 9 | <!ENTITY falkon-md5sum "9255fb335d3ba361dea44b7b297ddf7d">
|
---|
[83dd6130] | 10 | <!ENTITY falkon-size "2.2 MB">
|
---|
| 11 | <!ENTITY falkon-buildsize "60 MB (without optional dependencies)">
|
---|
[4b64c31] | 12 | <!ENTITY falkon-time "2.2 SBU (Using parallelism=4)">
|
---|
[ba0ff42b] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="falkon" xreflabel="falkon-&falkon-version;">
|
---|
| 16 | <?dbhtml filename="falkon.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Falkon-&falkon-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="falkon">
|
---|
| 25 | <primary sortas="a-falkon">falkon</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to falkon</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>Falkon</application> is a KDE web browser using the QtWebEngine
|
---|
| 33 | rendering engine. It was previously known as <application>QupZilla</application>.
|
---|
| 34 | It aims to be a lightweight web browser available through all major platforms.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
| 37 | <para>
|
---|
| 38 | Although <application>falkon</application> is now part of KDE, it can be
|
---|
| 39 | installed without KDE (with the loss of <application>kwallet</application>
|
---|
[4b64c31] | 40 | functionality).
|
---|
[ba0ff42b] | 41 | </para>
|
---|
| 42 |
|
---|
[4eb513e] | 43 | <warning>
|
---|
[fc0828f] | 44 | <para>
|
---|
[4eb513e] | 45 | Falkon relies on QtWebEngine. That uses a forked copy of chromium, and
|
---|
[fc0828f] | 46 | is therefore vulnerable to many issues found there. The Qt developers
|
---|
| 47 | have always preferred to make releases at the same time as the rest of Qt
|
---|
| 48 | (rather than adding emergency fixes). Now that they are keen to move to
|
---|
| 49 | Qt6, the 5.15.3 and later Qt-5.15 releases are initially only available
|
---|
| 50 | to paying customers. QtWebEngine is something of an exception because of
|
---|
[4eb513e] | 51 | its LGPL licence, but getting the git sources (with the forked chromium
|
---|
| 52 | submodule) to a point where they will successfully build on a current
|
---|
| 53 | BLFS system can take a lot of effort. Be aware that future fixes for
|
---|
| 54 | vulnerabilities might be very delayed, to the extent that you might wish
|
---|
| 55 | to consider using a different browser.
|
---|
[fc0828f] | 56 | </para>
|
---|
[4eb513e] | 57 | </warning>
|
---|
[fc0828f] | 58 |
|
---|
[33f44cf] | 59 | &lfs101_checked;
|
---|
[ba0ff42b] | 60 |
|
---|
| 61 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 62 | <itemizedlist spacing="compact">
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Download (HTTP): <ulink url="&falkon-download-http;"/>
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Download (FTP): <ulink url="&falkon-download-ftp;"/>
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Download MD5 sum: &falkon-md5sum;
|
---|
| 76 | </para>
|
---|
| 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Download size: &falkon-size;
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>
|
---|
| 85 | Estimated disk space required: &falkon-buildsize;
|
---|
| 86 | </para>
|
---|
| 87 | </listitem>
|
---|
| 88 | <listitem>
|
---|
| 89 | <para>
|
---|
| 90 | Estimated build time: &falkon-time;
|
---|
| 91 | </para>
|
---|
| 92 | </listitem>
|
---|
| 93 | </itemizedlist>
|
---|
| 94 |
|
---|
| 95 | <bridgehead renderas="sect3">falkon Dependencies</bridgehead>
|
---|
| 96 |
|
---|
| 97 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 98 | <para role="required">
|
---|
[a2e21ee] | 99 | <xref linkend="extra-cmake-modules"/> and
|
---|
[ba0ff42b] | 100 | <xref linkend="qtwebengine"/>
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 104 | <para role="optional">
|
---|
| 105 | <xref linkend="gnome-keyring"/>,
|
---|
[4b64c31] | 106 | <xref linkend="kf5-frameworks"/> and
|
---|
[ba0ff42b] | 107 | <ulink
|
---|
| 108 | url="http://download.qt.io/official_releases/QtForPython/pyside2/">PySide2</ulink>
|
---|
| 109 | for experimental <application>Python</application> plugins (compiling this from
|
---|
| 110 | source is very slow).
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para condition="html" role="usernotes">
|
---|
| 114 | User Notes: <ulink url="&blfs-wiki;/falkon"/>
|
---|
| 115 | </para>
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of falkon</title>
|
---|
[cd3335ad] | 120 | <!--
|
---|
[ba0ff42b] | 121 | <para>
|
---|
| 122 | To set the prefix to match KDE (if that has been installed), or
|
---|
| 123 | else to install in <filename class="directory">/usr</filename>
|
---|
| 124 | run:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen><userinput>test -n "${KF5_PREFIX}" && export FALKON_PREFIX=${KF5_PREFIX} ||
|
---|
| 128 | export FALKON_PREFIX=/usr</userinput></screen>
|
---|
[cd3335ad] | 129 | -->
|
---|
[ba0ff42b] | 130 | <para>
|
---|
| 131 | Install <application>falkon</application> by running the following
|
---|
| 132 | commands:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
[bfe6163] | 136 | Unless you have installed both PySide2 and ki18n, remove the translations
|
---|
| 137 | for the sample <command>hellopython.py</command> script:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen><userinput>rm -rf po/</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | Fix a missing include in Qt-5.14:
|
---|
[ba0ff42b] | 144 | </para>
|
---|
| 145 |
|
---|
[4b64c31] | 146 | <screen><userinput>sed -i '/#include <QSettings>/a#include <QFile>' \
|
---|
[21552cf] | 147 | src/plugins/VerticalTabs/verticaltabsplugin.cpp</userinput></screen>
|
---|
| 148 |
|
---|
| 149 | <para>
|
---|
| 150 | Fix a build problem introduced in Qt-5.15:
|
---|
| 151 | </para>
|
---|
| 152 | <screen><userinput remap="pre">sed -i '/#include <QPainter>/a #include <QPainterPath>' \
|
---|
| 153 | src/lib/tools/qztools.cpp</userinput></screen>
|
---|
[ba0ff42b] | 154 |
|
---|
| 155 | <para>
|
---|
| 156 | Now build the program:
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
[cd3335ad] | 159 | <screen><userinput>mkdir build &&
|
---|
| 160 | cd build &&
|
---|
| 161 |
|
---|
| 162 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 163 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 164 | .. &&
|
---|
| 165 |
|
---|
[ba0ff42b] | 166 | make</userinput></screen>
|
---|
| 167 |
|
---|
| 168 | <para>
|
---|
| 169 | To test the results, issue: <command>make test</command>. All
|
---|
| 170 | tests should pass. If any fail, the full results will be in
|
---|
| 171 | <filename>Testing/Temporary/LastTest.log</filename>.
|
---|
| 172 | </para>
|
---|
| 173 |
|
---|
| 174 | <para>
|
---|
| 175 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 176 | </para>
|
---|
| 177 |
|
---|
| 178 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 179 |
|
---|
| 180 | <para>
|
---|
| 181 | If you have installed <application>Pyside2</application> you will want to
|
---|
| 182 | examine the <command>hellopython.py</command> which is in the <filename
|
---|
| 183 | class="directory">scripts/</filename> directory, and perhaps copy it to
|
---|
| 184 | your home directory.
|
---|
| 185 | </para>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | <sect2 role="commands">
|
---|
| 190 | <title>Command Explanations</title>
|
---|
| 191 |
|
---|
[91e1961f] | 192 | <para>
|
---|
[55a55f1] | 193 | <option>-DBUILD_TESTING=OFF</option>: This will save a little time and space by
|
---|
[91e1961f] | 194 | not building the test programs, use this if you do not wish to run the test.
|
---|
| 195 | </para>
|
---|
| 196 |
|
---|
[ba0ff42b] | 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | <sect2 role="content">
|
---|
| 200 | <title>Contents</title>
|
---|
| 201 |
|
---|
| 202 | <segmentedlist>
|
---|
| 203 | <segtitle>Installed Programs</segtitle>
|
---|
| 204 | <segtitle>Installed Library</segtitle>
|
---|
| 205 | <segtitle>Installed Directory</segtitle>
|
---|
| 206 |
|
---|
| 207 | <seglistitem>
|
---|
| 208 | <seg>
|
---|
| 209 | falkon
|
---|
| 210 | </seg>
|
---|
| 211 | <seg>
|
---|
| 212 | libFalkonPrivate.so.3
|
---|
| 213 | </seg>
|
---|
| 214 | <seg>
|
---|
| 215 | ${FALKON_PREFIX}/lib/plugins, ${FALKON_PREFIX}/share/falkon.
|
---|
| 216 | </seg>
|
---|
| 217 | </seglistitem>
|
---|
| 218 | </segmentedlist>
|
---|
| 219 |
|
---|
| 220 | <variablelist>
|
---|
| 221 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 222 | <?dbfo list-presentation="list"?>
|
---|
| 223 | <?dbhtml list-presentation="table"?>
|
---|
| 224 |
|
---|
| 225 | <varlistentry id="falkon-prog">
|
---|
| 226 | <term><command>falkon</command></term>
|
---|
| 227 | <listitem>
|
---|
| 228 | <para>
|
---|
[4c24eb0a] | 229 | is a web browser which uses qtwebengine
|
---|
[ba0ff42b] | 230 | </para>
|
---|
| 231 | <indexterm zone="falkon falkon-prog">
|
---|
| 232 | <primary sortas="b-falkon">falkon</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | <varlistentry id="libFalkonPrivate.so.3">
|
---|
| 238 | <term><filename class="libraryfile">libFalkonPrivate.so.3</filename></term>
|
---|
| 239 | <listitem>
|
---|
| 240 | <para>
|
---|
[4c24eb0a] | 241 | contains functions used by falkon
|
---|
[ba0ff42b] | 242 | </para>
|
---|
| 243 | <indexterm zone="falkon libFalkonPrivate.so.3">
|
---|
| 244 | <primary sortas="c-libFalkonPrivate.so.3">libFalkonPrivate.so.3</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 | </variablelist>
|
---|
| 249 | </sect2>
|
---|
[4c24eb0a] | 250 |
|
---|
[ba0ff42b] | 251 | </sect1>
|
---|