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

269.10. kdepim-runtime-26.08.2

Akonadi resources and agents — IMAP, POP3, Maildir, mbox, CalDAV, CardDAV, Google, EWS and local files

26.08.2-1 · LGPL-2.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND (LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND AGPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 · 5.9 SBU · 13.8 MiB, 206 files · 43_toolkits, 226 of 344 · ports/core/pim/kdepim-runtime

Homepage: https://invent.kde.org/pim/kdepim-runtime

kdepim-runtime holds the Akonadi resources and agents, the programs the Akonadi server from akonadi starts to reach where mail, contacts and calendars actually are. The resources are IMAP, POP3, Maildir and mixed Maildir, mbox, local vCard and iCalendar files and folders, CalDAV and CardDAV through kdav, Google contacts and calendars through libkgapi, Microsoft Exchange (EWS), Open-Xchange and a birthdays calendar built from the address book. The agents send queued mail through kmailtransport (the mail dispatcher), announce new mail (the new-mail notifier) and migrate old settings. The port also installs the akonadi:/ KIO worker, the LDAP servers settings module, and the kmailtransport plugin that hands a message to a resource that sends it itself. Without this port kmail, korganizer, kaddressbook, merkuro and zanshin have no data source; each of them names it in depends.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtnetworkauth, qt6-qtwebengine, qt6-qtspeech, shared-mime-info, cyrus-sasl, qca, qtkeychain, kcmutils, kcodecs, kcompletion, kconfig, kconfigwidgets, kcontacts, kcalendarcore, kcoreaddons, kdav, ki18n, kio, kitemmodels, kmime, knotifications, knotifyconfig, kservice, kwidgetsaddons, kwindowsystem, kxmlgui, ktextaddons, akonadi, akonadi-calendar, akonadi-contacts, akonadi-mime, kcalutils, kidentitymanagement, kimap, kldap, kmailtransport, kmbox, libkgapi, pimcommon, plasma-activities.

Required by (8): kaddressbook, kalarm, kde-gear-pim, kmail, kmail-account-wizard, korganizer, merkuro, zanshin.

Sources: kdepim-runtime-26.08.2.tar.xz (2.3 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kdepim-runtime'

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 \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6WebEngineWidgets=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KPim6PimCommonAkonadi=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KPim6PimCommonActivities=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_PlasmaActivities=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_Etebase=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_vcard_resource, akonadi_vcarddir_resource, gidmigrator.

Libraries: libakonadi-filestore.so, libakonadi-singlefileresource-widget.so, libakonadi-singlefileresource.so, libfolderarchivesettings.so, libkmindexreader.so, libmaildir.so, libnewmailnotifier.so.

Directories: /usr/lib/qt6/plugins/pim6/kcms/common, /usr/share/akonadi/davgroupware-providers, /usr/share/akonadi/firstrun, /usr/share/licenses/kdepim-runtime.

Three packages need no flag, because upstream already stops the configure without them: qca is found with REQUIRED and gives the EWS resource its certificate-based (PKeyAuth) sign-in; cyrus-sasl, for POP3 authentication, and qtkeychain, through which every resource stores its password with the Secret Service, are marked TYPE REQUIRED for the feature summary. Qt’s NetworkAuth module, from qt6-qtnetworkauth, is a REQUIRED component and carries the EWS OAuth2 sign-in.

Every resource is a separate program that the Akonadi server starts when a resource of that type is configured, so nothing in this package runs until the user adds an account. No systemd unit and no autostart entry is installed; the server itself is started by the applications that need it.

The resources’ desktop entries under /usr/share/applications are all NoDisplay=true, so no resource is offered in a menu.

kdepim-mime.xml adds KDE PIM’s own MIME types to /usr/share/mime/packages, and installing the package regenerates the shared MIME database (see Shared indexes).