source: xsoft/graphweb/falkon.xml@ 4eb513e

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 4eb513e was 4eb513e, checked in by Ken Moffat <ken@…>, 3 years ago

Update qtwebengine to 5.15.3 from git.

This is a lot bigger and slower to build.

Downgrade the 'Caution's in qtwebengien and falkon to 'Warning's.
I am not yet suggesting we should deprecate those two packages,
but users should start to ask themselves whether the want to use
a package where the upstreams are happy to stick with python2
and have no interest in running on current glibc.

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

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