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
-D KF_SKIP_PO_PROCESSING=ON— compile none of the translation catalogues inpo/. kpkg removes every non-English catalogue from the package anyway (see size and language policy), so this only saves build time.-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6TextToSpeech=ON— the new-mail notifier can speak a line naming a new message’s sender and subject, through qt6-qtspeech, which upstream looks for withoutREQUIRED.-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6WebEngineWidgets=ON— the EWS resource for Microsoft Exchange is built only when qt6-qtwebengine is found, which shows the Microsoft 365 OAuth2 sign-in page; without the requirement a missing Qt WebEngine drops the resource with no error.-D CMAKE_REQUIRE_FIND_PACKAGE_KPim6PimCommonAkonadi=ON— the IMAP resource links pimcommon’sPimCommonAkonadilibrary for its folder access-control attributes. Upstream finds it withoutREQUIREDbut links it unconditionally, so a missing one fails the generate step instead of the search; required, the configure names it.-D CMAKE_REQUIRE_FIND_PACKAGE_KPim6PimCommonActivities=ON— with-D CMAKE_REQUIRE_FIND_PACKAGE_PlasmaActivities=ON: the configuration dialogs of the IMAP, POP3, Maildir, mbox, vCard, iCalendar and contacts resources can tie the resource to Plasma activities. Upstream searches for pimcommon’sPimCommonActivitiesquietly, and for plasma-activities only once that library is found; both are required, and the configure stops when pimcommon is built without activities.-D CMAKE_DISABLE_FIND_PACKAGE_Etebase=ON— no EteSync resource. It needs libetebase, a Rust library that is not a port; refusing the search keeps the resource off whatever the build root holds, so a later libetebase port changes this build only through this recipe.
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).