241.11. kimap-26.08.2
KDE PIM IMAP client library used by the Akonadi IMAP resource and KMail
26.08.2-1 · LGPL-2.0-or-later AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-3-Clause AND CC0-1.0 AND MIT · 2.9 SBU · 1.2 MiB, 140 files · 43_toolkits, 221 of 344 · ports/core/mail/kimap
Homepage: https://invent.kde.org/pim/kimap
KIMAP is the IMAP client library of KDE PIM: login, folder listing, fetch, search, append, IDLE, quotas, ACLs and the other commands of IMAP4rev1 and its common extensions, as asynchronous KJobs over a session. The Akonadi IMAP resource in kdepim-runtime and KMail’s server tests use it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcoreaddons, ki18n, kio, kmime, cyrus-sasl.
Required by (6): grantlee-editor, kdepim-addons, kdepim-runtime, libksieve, pim-sieve-editor, pimcommon.
Sources: kimap-26.08.2.tar.xz (143.5 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 kimap'
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_KF6Mime=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Mime=ON— Take KMime from its Frameworks package. The configure asks forKF6Mimefirst and falls back to the PIM-eraKPim6Mime; required, the fallback can never be taken. kmime installsKF6Mime.-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations, which kpkg’s English-only rule would remove from the package anyway (see Size and language policy).
Libraries: libKPim6IMAP.so.
Directories: /usr/include/KPim6/KIMAP, /usr/lib/cmake/KPim6IMAP, /usr/share/licenses/kimap.
Authentication goes through cyrus-sasl, which the configure requires. The mechanisms a login can use are the SASL plugins installed at run time; XOAUTH2, which Gmail and Outlook accounts need, is the plugin of cyrus-sasl-xoauth2 or the one libkgapi installs.