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

330.14. kbruch-26.08.2

KDE fraction trainer — exercises on fractions, ratios, percentages and factorisation

26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-only AND CC0-1.0 · 0.6 SBU · 1.3 MiB, 42 files · 44_apps, 99 of 422 · ports/core/education/kbruch

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

KBruch is KDE Education’s fraction trainer. It sets exercises on adding, subtracting, multiplying and dividing fractions, comparing them, converting between fractions and decimals, mixed numbers, percentages and factorising numbers, checks each answer and keeps a score. It is a plain Qt Widgets program.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kcoreaddons, kcrash, ki18n, kwidgetsaddons, kxmlgui, kdoctools.

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

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

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

Programs: kbruch.

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

KAboutData gives the window the app_id org.kde.kbruch, the name of upstream’s entry. The entry’s Exec passes -qwindowtitle %c -qwindowicon kbruch, Qt’s own options, which set the title and the icon the window starts with.