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

303.9. angelfish-26.08.2

KDE web browser for phone and desktop — QtWebEngine tabs, a built-in ad blocker and web-app launchers

Version 26.08.2, release 1
Shelf browsers — Web, Gemini and text-mode browsers
Phase 44_apps (Applications), 20 of 422 in build order
Licence GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.0-only AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND BSD-2-Clause AND BSD-3-Clause AND MIT AND CC0-1.0 AND MPL-2.0 AND (MIT OR Apache-2.0) AND Apache-2.0 AND Unicode-3.0 AND Zlib
Homepage https://apps.kde.org/angelfish/
Build time 11.1 SBU
Installed size 8.3 MiB in 19 files
Recipe ports/core/browsers/angelfish/kpkgbuild

About

Angelfish is KDE’s web browser for Plasma Mobile and the desktop: a Kirigami interface over qt6-qtwebengine, with tabs, bookmarks, history, a private mode, an ad blocker and web apps. A page can be installed as a web app, which angelfish-webapp then opens in a window of its own from a desktop entry Angelfish writes into the user’s ~/.local/share/applications. History and bookmarks live in SQLite, reached through futuresql and qcoro.

The ad blocker is a Rust static library, angelfish-adblock, built on Brave’s adblock crate and bridged to C++ with cxx. CMake builds it through corrosion, so the port carries a Rust vendor bundle.

Sources

Dependencies

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, qt6-qtwebengine, qt6-qt5compat, kirigami, kirigami-addons, purpose, ki18n, kconfig, kcoreaddons, kdbusaddons, kwindowsystem, knotifications, kcrash, qqc2-desktop-style, futuresql, qcoro, corrosion, rust.

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

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 angelfish'

What kpkg does

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

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/angelfish
echo '0ba812724148200a738e063989467412082285f08c93178288cc447a6c64027a  angelfish-26.08.2.tar.xz' | sha256sum -c -
echo '18f87b26969b293a77bc84ac52d3bba69ba06f7455f019d6267502fbee72e0d3  angelfish-vendor-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/angelfish
SRC=$SRC_ROOT/angelfish-26.08.2
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf angelfish-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:

tar xf $PORT_SRC/${name}-vendor-${version}.tar.xz
export CARGO_HOME="$SRC_ROOT/.cargo"
export RUSTFLAGS="-C target-feature=-crt-static"
export CARGO_NET_OFFLINE=true

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 KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Corrosion=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6QQC2DesktopStyle=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_Qt6Feedback=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/angelfish, 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 angelfish-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/angelfish, and runs the triggers its paths call for.

Contents

Installed programs: angelfish, angelfish-webapp.

Installed directories: /usr/share/licenses/angelfish.

Notes

The vendor bundle holds the 86 crates of the workspace Cargo.lock at the top of the tarball, whose only member is src/rs/adblock; ports/fetch makes it with cargo vendor. The crates are linked into the program, so license names theirs too: adblock is MPL-2.0, the rest MIT, Apache-2.0, Unicode-3.0 or Zlib. Upstream’s Cargo.toml builds the crate with lto = true and panic = 'abort' in its release profile, and the recipe leaves both as upstream chose them.

The ad blocker starts without filter lists. On first use the browser asks before downloading them (uBlock Origin’s, EasyList, EasyPrivacy and AdGuard’s, the defaults in angelfishsettings.kcfg), and the question also offers to turn the ad blocker off.

The desktop entry claims text/html and the http and https schemes, so Angelfish is offered under Open With for them; which browser opens them by default is set in KDOS’s shipped kde-mimeapps.list (firefox-esr), not by the entry. main.cpp sets the desktop file name org.kde.angelfish, so the Wayland app_id is the entry’s own name. qt6-qt5compat provides the Qt5Compat.GraphicalEffects QML module the interface imports, and purpose its share menu.