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

302.6. quassel-0.14.0

IRC client (Qt 5) — the monolithic client, the core that stays connected, and the client for it

Version 0.14.0, release 2
Shelf chat — Instant messaging, IRC, XMPP, Matrix, fediverse and voice clients, with their protocol and E2E libraries
Phase 44_apps (Applications), 33 of 422 in build order
Licence GPL-2.0-only OR GPL-3.0-only
Homepage https://quassel-irc.org/
Build time 4.5 SBU
Installed size 11.2 MiB in 1091 files
Recipe ports/core/chat/quassel/kpkgbuild

About

Quassel IRC is an IRC client split in two: a core that stays connected to the networks and keeps the backlog, and a client that attaches to the core from wherever the user is. The port builds all three programs upstream offers: quasselcore, the core on its own; quasselclient, which connects to a core; and quassel, the two in one process for a single machine. It is a Qt 5 application.

Sources

Dependencies

Depends on: cmake, ninja, pkgconf, qt5-qtbase, qt5-qttools, qt5-qtmultimedia, qt5-qtsvg, qt5-qtwayland, boost, zlib, qca-qt5, sonnet-qt5, libdbusmenu-qt5, hicolor-icon-theme.

Required by: no port names it.

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

What kpkg does

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

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/chat/quassel
echo 'bbd46ca429c1518480904c9e2b0ab3a0412fe197f3ce4879974e06ed3a0093a3  quassel-0.14.0.tar.bz2' | 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/quassel
SRC=$SRC_ROOT/quassel-0.14.0
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf quassel-0.14.0.tar.bz2 -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:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D CMAKE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D USE_CCACHE=OFF \
	-D WANT_CORE=ON \
	-D WANT_QTCLIENT=ON \
	-D WANT_MONO=ON \
	-D WITH_KDE=OFF \
	-D WITH_BUNDLED_ICONS=ON \
	-D WITH_OXYGEN_ICONS=OFF \
	-D WITH_WEBKIT=OFF \
	-D WITH_WEBENGINE=OFF \
	-D WITH_LDAP=OFF \
	-D EMBED_DATA=OFF \
	-D BUILD_TESTING=OFF \
	-D CMAKE_DISABLE_FIND_PACKAGE_LibsnoreQt5=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Qca-qt5=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Qt5Multimedia=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Qt5DBus=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF5Sonnet=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_dbusmenu-qt5=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
for _o in "$PKG"/usr/bin/quassel* "$PKG"/usr/lib/libquassel-*.so.$version; do
	case $(readelf -d "$_o") in *libldap*|*libssl.so.4*|*libcrypto.so.4*) exit 1 ;; esac
done

_apps="$PKG/usr/share/applications"
cat > "$_apps/quassel.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=Quassel IRC
GenericName=IRC Client
Comment=IRC client with its own core, in one program
Exec=quassel
Icon=quassel
Terminal=false
StartupWMClass=quassel
Categories=Qt;Network;Chat;IRCClient;
Keywords=irc;chat;channel;quassel;
DESKTOP
cat > "$_apps/quasselclient.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=Quassel IRC (Client only)
GenericName=IRC Client
Comment=Connect to a Quassel core that stays online
Exec=quasselclient
Icon=quassel
Terminal=false
StartupWMClass=quasselclient
Categories=Qt;Network;Chat;IRCClient;
Keywords=irc;chat;channel;quassel;core;
DESKTOP
chmod 644 "$_apps/quassel.desktop" "$_apps/quasselclient.desktop"

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/quassel, 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 quassel-0.14.0-2.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/quassel, and runs the triggers its paths call for.

Contents

Installed programs: quassel, quasselclient, quasselcore.

Installed libraries: libquassel-client.so, libquassel-common.so, libquassel-core.so, libquassel-qtui.so, libquassel-uisupport.so.

Installed directories: /usr/share/licenses/quassel, /usr/share/quassel.

Notes

After the install, build.sh reads the dynamic section of every program and of the libquassel-* libraries, and fails the build if any of them needs libldap or an OpenSSL 4 library (libssl.so.4, libcrypto.so.4). Qt 5 is built against the openssl3 slot, and musl’s loader has one symbol namespace, so with both libcrypto sonames in one process each would resolve the other’s calls; see A second version beside the first.

build.sh writes the two desktop entries upstream installs, quassel.desktop and quasselclient.desktop, over upstream’s, each with its own StartupWMClass.