327.22. kigo-26.08.2
Go board game, played against GNU Go or any engine that speaks GTP
26.08.2-1 · (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.8 SBU · 1.8 MiB, 37 files · 44_apps, 168 of 422 · ports/core/games-board/kigo
Homepage: https://apps.kde.org/kigo/
Kigo is KDE’s Go board game. It draws the board and stones and speaks the Go Text Protocol (GTP) to a separate engine process, which plays the computer’s moves, scores the game and gives hints; gnugo is that engine by default.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kiconthemes, kio, knewstuff, ktextwidgets, kwidgetsaddons, kxmlgui, libkdegames, gzip, gnugo.
Required by (1): kde-gear-games.
Sources: kigo-26.08.2.tar.xz (4.6 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 kigo'
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_DISABLE_FIND_PACKAGE_7Zip=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).kdoctools_install()still builds the handbook in every translated language, and kpkg’s language rule removes/usr/share/doc/HTML/<lang>/from the package.-D CMAKE_DISABLE_FIND_PACKAGE_7Zip=ON— Compresses the theme SVGs to SVGZ with gzip. Upstream’scmake/InternalMacros.cmakeuses 7-Zip’s7zzwhenever it finds one and otherwise requires gzip; 7zip is built in an earlier phase, so without the switch the package would follow whatever the build root holds. gzip runs with-n, which writes no file name or time stamp into the SVGZ files.
Programs: kigo.
Directories: /usr/share/doc/HTML/en/kigo, /usr/share/kigo, /usr/share/licenses/kigo.
The engine is a run-time dependency only. The configure looks for gnugo quietly and builds the same program whether it finds one or not; the default engine command, gnugo --mode gtp, is resolved on PATH when Kigo first reads its configuration, and without an engine Kigo cannot start a game. gnugo is in depends for that reason, and any other GTP engine can be named in the settings instead.
Get More Games, through knewstuff, downloads game records from the KDE store only when the player asks; KNewStuff is a requirement of the configure with no switch.
The window’s Wayland app_id is org.kde.kigo: main.cpp sets that desktop file name itself. It is the desktop entry’s file name too, and upstream’s entry sets no StartupWMClass, so the task manager pairs the window with its entry without a patch.