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

257.54. kdnssd-6.31.0

KDE Frameworks: DNS-SD service discovery through Avahi

6.31.0-1 · LGPL-2.0-or-later · 1.2 SBU · 460.0 KiB, 28 files · 43_toolkits, 134 of 344 · ports/core/kf6/kdnssd

Homepage: https://api.kde.org/frameworks/kdnssd/html/

Why it is in KDOS. The comment above the 61 ports from karchive to kfilemetadata in script/phases/43_toolkits/packages.d/kf6.txt:

The libraries KDE applications are built on, without Plasma.

KDNSSD is the KDE Frameworks library for DNS-SD service discovery over multicast DNS (Zeroconf): it browses for services such as printers, file shares and game servers on the local network, and publishes a program’s own. It speaks to avahi-daemon over the system bus. The network games built on libkdegames find their opponents through it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, avahi.

Required by (8): kfourinline, kio-extras, kio-zeroconf, knavalbattle, krdc, krfb, ktorrent, libkdegames.

Sources: kdnssd-6.31.0.tar.xz (2.1 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kdnssd'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D BUILD_TESTING=OFF \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Avahi=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKF6DNSSD.so.

Directories: /usr/include/KF6/KDNSSD, /usr/lib/cmake/KF6DNSSD, /usr/share/licenses/kdnssd.

avahi is also a run-time dependency: without avahi-daemon running, browsing finds no service.