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

269.8. pimcommon-26.08.2

KDE PIM shared library: autocorrection, address completion, Akonadi folder widgets and plugin interfaces

26.08.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT AND CC0-1.0 · 5.1 SBU · 2.0 MiB, 129 files · 43_toolkits, 223 of 344 · ports/core/pim/pimcommon

Homepage: https://invent.kde.org/pim/pimcommon

PimCommon is the shared layer under KDE’s PIM applications. KPim6PimCommon carries the plugin interfaces KMail, the composer and the sieve editor load their extensions through, the custom-tools and share menus, the template lists, and the autocorrection settings; KPim6PimCommonAkonadi adds what needs Akonadi: recipient completion from address books, LDAP and recent addresses, and the folder and ACL dialogs; KPim6PimCommonActivities ties identities and transports to Plasma activities. KMail, Akregator, KAddressBook, the sieve editor and the import and export tools all link it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, karchive, kcodecs, kconfig, kcontacts, kcoreaddons, ki18n, kitemmodels, kjobwidgets, kcmutils, kio, knewstuff, purpose, kservice, kwidgetsaddons, kxmlgui, kcolorscheme, akonadi, akonadi-contacts, akonadi-search, kimap, kldap, libkdepim, ktextaddons, plasma-activities.

Required by (17): akonadi-import-wizard, akregator, grantlee-editor, incidenceeditor, kaddressbook, kdepim-addons, kdepim-runtime, kmail, kontact, korganizer, libksieve, mailcommon, mailimporter, merkuro, messagelib, pim-data-exporter, pim-sieve-editor.

Sources: pimcommon-26.08.2.tar.xz (371.8 KiB). Every step kpkg takes applies to this port.

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

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 BUILD_DESIGNERPLUGIN=OFF \
	-D OPTION_USE_PLASMA_ACTIVITIES=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_PlasmaActivities=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKPim6PimCommon.so, libKPim6PimCommonActivities.so, libKPim6PimCommonAkonadi.so.

Directories: /usr/include/KPim6/PimCommon, /usr/include/KPim6/PimCommonActivities, /usr/include/KPim6/PimCommonAkonadi, /usr/lib/cmake/KPim6PimCommon, /usr/lib/cmake/KPim6PimCommonActivities, /usr/lib/cmake/KPim6PimCommonAkonadi, /usr/share/licenses/pimcommon.

On Linux the configure requires KPim6AkonadiSearch from akonadi-search unless FORCE_DISABLE_AKONADI_SEARCH is set, which this recipe leaves off: the search-backed address completion is what the composer’s recipient field uses. Every KPim library it finds, akonadi, akonadi-contacts, kimap, kldap and libkdepim, must be at least PIM 6.8.2, the version of Gear 26.08.2, so the PIM ports move together.

The text editors, autocorrection and their widgets come from ktextaddons, a KDE library released outside Gear; the configure requires 2.0.2 or newer.

purpose provides the share menu, and knewstuff the download of shared templates in the template lists.