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

330.13. kanagram-26.08.2

KDE anagram game — unscramble words from KVTML vocabulary lists, with spoken hints

26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-only · 1.6 SBU · 5.3 MiB, 53 files · 44_apps, 98 of 422 · ports/core/education/kanagram

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

Kanagram is KDE Education’s anagram game: it scrambles a word from a vocabulary list and the player puts the letters back in order, with a hint and a spoken pronunciation on request. The lists are KVTML documents read through libkeduvocdocument, and the player can write new ones in the game’s own editor.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtmultimedia, qt6-qtspeech, ki18n, kcrash, sonnet, kconfig, kconfigwidgets, kcoreaddons, kdoctools, kio, knewstuff, kxmlgui, libkeduvocdocument, kdeedu-data.

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

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

build.sh:

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

Programs: kanagram.

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

The word lists are not in this package. Kanagram reads the shared ones that kdeedu-data installs under /usr/share/apps/kvtml/<language>, and starts with no vocabulary without it, so that port is in depends for run time. The vocabulary settings page’s button for downloading more lists is knewstuff’s, which hides itself on KDOS, where KNewStuff is switched off ([KDE Action Restrictions][$i] ghns=false in /usr/share/kdos/xdg/kdeglobals); the lists kdeedu-data installs are the ones the game offers.

The game screen is QML that imports QtMultimedia for its sounds; CMake does not check for it, so qt6-qtmultimedia is named in depends.

Upstream’s CMakeLists.txt sets CMAKE_CXX_FLAGS_RELEASE to -Wall -Wno-switch -O2, replacing CMake’s default -O3 -DNDEBUG for the Release build. The tree’s CXXFLAGS still come first, so Kanagram builds at -O2 with assert() compiled in. A plain set() in the project overrides a cache value given with -D, so no flag changes this.

KAboutData gives the window the app_id org.kde.kanagram, the name of upstream’s entry.