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

333.4. akonadi-calendar-tools-26.08.2

Command-line tools for Akonadi calendars — konsolekalendar and calendarjanitor

26.08.2-1 · GPL-2.0-or-later WITH LicenseRef-Qt-Commercial-exception-1.0 AND GPL-2.0-or-later AND BSD-3-Clause AND CC0-1.0 · 0.4 SBU · 489.6 KiB, 16 files · 44_apps, 326 of 422 · ports/core/pim/akonadi-calendar-tools

Homepage: https://invent.kde.org/pim/akonadi-calendar-tools

Two command-line programs for the calendars Akonadi holds. konsolekalendar prints, adds, changes and deletes events, and prints a calendar as text, short text or CSV; calendarjanitor scans calendars for incidences with broken fields and reports them, and can fix them, delete old alarms or back a calendar up to an iCalendar file. Both talk to the Akonadi server from akonadi and read the same calendars as korganizer and merkuro.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, ki18n, kcalendarcore, kdoctools, akonadi, akonadi-calendar, calendarsupport.

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

Sources: akonadi-calendar-tools-26.08.2.tar.xz (272.1 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 akonadi-calendar-tools'

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: calendarjanitor, konsolekalendar.

Directories: /usr/share/doc/HTML/en/konsolekalendar, /usr/share/licenses/akonadi-calendar-tools.

Neither program starts a calendar of its own: with no Akonadi calendar resource configured, both find nothing. The resources (a local iCalendar file or folder, CalDAV, Google) are agents in kdepim-runtime, which this port does not name; the kde-gear-pim meta installs it.

Upstream installs konsolekalendar.desktop with NoDisplay=true and an Exec= that runs kdialog to say the program is command-line only. The entry is hidden from every menu and claims no MIME type, so nothing launches it, and kdialog is not in depends.

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.