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

327.35. ksquares-26.08.2

Dots and Boxes: draw lines and complete squares, against the computer or friends

26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.4 SBU · 476.7 KiB, 19 files · 44_apps, 181 of 422 · ports/core/games-board/ksquares

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

KSquares is Dots and Boxes: players take turns drawing a line between two neighbouring dots, and whoever closes a square scores it and draws again. Up to four players share the board, people or computer players of three strengths. 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, kwidgetsaddons, kxmlgui, libkdegames.

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

Sources: ksquares-26.08.2.tar.xz (318.9 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 ksquares'

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

Programs: ksquares.

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

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