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

327.31. kolf-26.08.2

Miniature golf on top-down courses, with a course editor

26.08.2-1 · GPL-2.0-or-later AND LGPL-2.0-only AND Zlib AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.9 SBU · 2.5 MiB, 39 files · 44_apps, 177 of 422 · ports/core/games-board/kolf

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

Kolf is a miniature golf game: courses of holes seen from above, with slopes, sand, water, bridges and windmills, for up to ten players taking turns, and an editor for making courses. It is a Qt 6 and KDE Frameworks application built on libkdegames.

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

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

Sources: kolf-26.08.2.tar.xz (1.0 MiB). Every step kpkg takes applies to this port.

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

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

install -Dm644 src/3rdparty/COPYING "$PKG/usr/share/licenses/$name/Box2D-COPYING"

Programs: kolf.

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

The ball physics is a copy of Box2D in src/3rdparty, compiled into the program: revision 141 of Box2D’s tree, with qreal in place of its single-precision floats. It has no switch for an outside Box2D, and the current library’s interface is not the one this copy has. Its zlib licence sits in that directory, where kpkg’s licence copy does not look, so build.sh installs it as /usr/share/licenses/kolf/Box2D-COPYING. The rest of the program is GPL, the tagaro scene code LGPL 2.0 only.

The desktop entry opens course and saved-game files, application/x-kourse and application/x-kolf, two types the KDE MIME definitions of kcoreaddons declare.

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.kolf.desktop. KAboutData derives the window’s Wayland app id, org.kde.kolf, 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.