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

333.5. kalarm-26.08.2

Personal alarm scheduler — message, sound, command and email reminders

26.08.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 6.8 SBU · 5.7 MiB, 47 files · 44_apps, 327 of 422 · ports/core/pim/kalarm

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

KAlarm is KDE’s personal alarm scheduler. An alarm shows a message, plays a sound, speaks its text, runs a command or sends an email, once or on a recurrence, with reminders before it and snoozing after it. Alarms live in KAlarm’s own calendar files; its Akonadi plugin adds birthday alarms from the address book, email alarms sent through kmailtransport, and the address book for email recipients. It can keep an icon in the system tray, through kstatusnotifieritem, to show and pause the pending alarms.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kauth, kcalendarcore, kcodecs, kcompletion, kconfig, kconfigwidgets, kcontacts, kcoreaddons, kcrash, kdbusaddons, kdoctools, kglobalaccel, kguiaddons, kholidays, ki18n, kiconthemes, kio, kitemmodels, kjobwidgets, kmime, knotifications, knotifyconfig, kservice, kstatusnotifieritem, ktextwidgets, kwidgetsaddons, kwindowsystem, kxmlgui, ktextaddons, akonadi, akonadi-contacts, akonadi-mime, kcalutils, kidentitymanagement, kmailtransport, mpv, vlc, kdepim-runtime.

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

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

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_KF6Auth=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6GlobalAccel=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6IconThemes=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6TextEditTextToSpeech=ON \
	-D WITHOUT_X11=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: kalarm, kalarmautostart.

Libraries: libkalarmcalendar.so, libkalarmplugin.so.

Directories: /usr/lib/qt6/plugins/pim6/kalarm, /usr/share/doc/HTML/en/kalarm, /usr/share/kalarm, /usr/share/licenses/kalarm.

Sound alarms play through a plugin, and upstream builds two: one on vlc and one on mpv. ENABLE_LIBVLC and ENABLE_LIBMPV are both on by default, each finds its library with REQUIRED, and the configure stops if both are off, so both libraries are in depends and the build has no optional sound backend.

The RTC helper is a KAuth helper, kalarm_helper, run as root by D-Bus activation for the action org.kde.kalarm.rtcwake.settimer. The action’s polkit default is auth_admin, so setting a wake-up time asks for an administrator’s password.

Global shortcuts are registered with the session’s kglobalacceld, which is installed with the Plasma session rather than named in this port’s depends; the shortcuts do nothing in a session without it.

Upstream installs kalarm.autostart.desktop into /etc/xdg/autostart with X-KDE-autostart-condition=kalarmrc:General:AutoStart:false, so KAlarm starts at login only once the user has turned on its own start-at-login setting.

kdepim-runtime is in depends for run time only: the Akonadi plugin reads birthdays from its address-book resources and sends email alarms through its mail dispatcher agent.

The Wayland app id is org.kde.kalarm, which main.cpp sets as the desktop file name; it is the name of the entry upstream installs, which carries no StartupWMClass, so the task manager matches the window to it with no change.

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.