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

327.29. knetwalk-26.08.2

Turn the cable pieces until every terminal is connected to the server

26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 1.1 SBU · 1.0 MiB, 31 files · 44_apps, 175 of 422 · ports/core/games-board/knetwalk

Homepage: https://apps.kde.org/knetwalk/

KNetWalk is a puzzle for system administrators: every cable piece on the board is turned until each terminal is connected to the server, in as few turns as possible. The board is drawn in Qt Quick inside a Qt Widgets window, from the QML types libkdegames installs as org.kde.games.core.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kiconthemes, ktextwidgets, kwidgetsaddons, kxmlgui, libkdegames, gzip.

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

Sources: knetwalk-26.08.2.tar.xz (990.6 KiB). Every step kpkg takes applies to this port.

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

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_DISABLE_FIND_PACKAGE_7Zip=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: knetwalk.

Directories: /usr/share/doc/HTML/en/knetwalk, /usr/share/knetwalk, /usr/share/licenses/knetwalk.

The configure requires Qt Test even with BUILD_TESTING=OFF; qt6-qtbase builds it.

KF_SKIP_PO_PROCESSING stops only ki18n_install(): kdoctools_install() still builds the handbook in every translated language, and kpkg’s language rule removes /usr/share/doc/HTML/<lang>/ from the package.

The desktop entry is upstream’s org.kde.knetwalk.desktop. KAboutData derives the window’s Wayland app id, org.kde.knetwalk, from the component name and the apps.kde.org home page, so it is the entry’s file name and Plasma pairs the window with the entry without a StartupWMClass.