Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

303.3. falkon-26.08.2

Qt WebEngine web browser from KDE, with KWallet and KIO integration

Version 26.08.2, release 1
Shelf browsers — Web, Gemini and text-mode browsers
Phase 44_apps (Applications), 14 of 422 in build order
Licence GPL-3.0-or-later
Homepage https://www.falkon.org/
Build time 16.8 SBU
Installed size 11.7 MiB in 187 files
Recipe ports/core/browsers/falkon/kpkgbuild

About

Falkon is KDE’s web browser, built on Qt WebEngine (qt6-qtwebengine), the Chromium engine packaged as a Qt module. On KDOS it carries its KDE Frameworks integration plugin, which keeps passwords in KWallet, opens KIO’s URL schemes, reports downloads as KDE jobs and adds a Share page menu through Purpose, and its Python plugin support through PySide6.

Sources

Dependencies

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtwebchannel, qt6-qtwebengine, qt6-qtwayland, qt6-qttools, karchive, ki18n, kwallet, kio, kcrash, kcoreaddons, purpose, kjobwidgets, openssl, libxcb, xcb-util, python3, python3-pyside6.

Required by (1): kde-gear-utilities.

Patches

build.sh applies these; kpkg applies nothing by itself.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install falkon'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/browsers/falkon.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/browsers/falkon
echo 'f59ed0b6fb12aee5a3ed310e489104b815e35a19278bd7e80f9c5ef444616f07  falkon-26.08.2.tar.xz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/falkon
SRC=$SRC_ROOT/falkon-26.08.2
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf falkon-26.08.2.tar.xz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

patch -p1 -i "$PORT_SRC/app-id.patch"

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D BUILD_TESTING_ONLINE=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D BUILD_KEYRING=OFF \
	-D BUILD_PYTHON_SUPPORT=ON \
	-D NO_X11=OFF \
	-D DISABLE_DBUS=OFF \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Wallet=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6KIO=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Crash=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6CoreAddons=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Purpose=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6JobWidgets=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_PySide6=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Shiboken6=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Shiboken6Tools=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

The switches, and why each is set:

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/falkon, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf falkon-26.08.2-1.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/falkon, and runs the triggers its paths call for.

Contents

Installed programs: falkon.

Installed libraries: libFalkonPrivate.so.

Installed directories: /usr/lib/qt6/plugins/falkon, /usr/share/falkon, /usr/share/licenses/falkon.