333.8. merkuro-26.08.2
Kirigami calendar, contacts and mail applications on Akonadi, with a Plasma contacts widget
26.08.2-1 · LGPL-2.1-or-later AND LGPL-2.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND GPL-3.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-3.0-only AND GPL-2.0-or-later WITH LicenseRef-Qt-Commercial-exception-1.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 · 5.3 SBU · 14.1 MiB, 99 files · 44_apps, 330 of 422 · ports/core/pim/merkuro
Homepage: https://apps.kde.org/merkuro/
Merkuro is KDE’s convergent personal information suite: three Kirigami applications, Merkuro Calendar, Merkuro Contacts and Merkuro Mail, over the same Akonadi calendars, address books and mail folders that korganizer, kaddressbook and kmail use, and a Plasma widget that lists contacts and shows a contact’s details and QR code. Mail is read with mimetreeparser and written with messagelib’s composer; calendar maps come from qt6-qtlocation.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, qt6-qtlocation, qt6-qt5compat, kcalendarcore, kcodecs, kconfig, kconfigwidgets, kcontacts, kcoreaddons, kcrash, kdbusaddons, kdeclarative, kholidays, ki18n, kiconthemes, kio, kirigami, kirigami-addons, kitemmodels, kmime, knotifications, kwindowsystem, kxmlgui, prison, qqc2-desktop-style, ksvg, gpgmepp, libkleo, akonadi, akonadi-calendar, akonadi-contacts, akonadi-mime, akonadi-search, kcalutils, kidentitymanagement, kmailtransport, kmbox, libkdepim, mailcommon, messagelib, mimetreeparser, pimcommon, libplasma, kdepim-runtime.
Required by (1): kde-gear-pim.
Sources: merkuro-26.08.2.tar.xz (832.7 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 merkuro'
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_Plasma=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_Plasma=ON— the contacts widget for the Plasma panel and desktop.src/contacts/appletbuilds it only when it finds libplasma, with noREQUIREDand no message when it does not; required, a missing libplasma stops the configure.
Programs: merkuro-calendar, merkuro-contact, merkuro-mail.
Libraries: libMerkuroComponents.so, libmerkuro_contact.so.
Directories: /usr/lib/qt6/qml/org/kde/merkuro, /usr/share/licenses/merkuro.
Upstream asks for every KDE PIM package at 6.8.2 or newer, the PIM version of Gear 26.08.2, so libkleo, kmbox and mimetreeparser must be at 26.08.2 like the rest of the PIM set, or the configure stops on the version check.
The QML the three applications load at run time imports modules the configure never checks: org.kde.kirigami, org.kde.kirigamiaddons.*, org.kde.kitemmodels, org.kde.prison (the QR codes), org.kde.contacts from kcontacts, org.kde.kquickcontrolsaddons from kdeclarative, Qt5Compat.GraphicalEffects from qt6-qt5compat, QtLocation and QtPositioning, and the org.kde.desktop style from qqc2-desktop-style. Each is in depends, QtPositioning through qt6-qtlocation’s own. Four come from PIM libraries: org.kde.akonadi from akonadi and org.kde.akonadi.mime from akonadi-mime, which both always build their QML modules; org.kde.kidentitymanagement from kidentitymanagement, whose KPim6IdentityManagementQuick the configure requires; and org.kde.pim.mimetreeparser from mimetreeparser, which builds its QML module only when it finds Qt Quick, something no configure here checks. Merkuro Mail’s message view does not load when mimetreeparser is built without it.
The widget is a Plasma applet, org.kde.merkuro.contact.applet, and imports org.kde.plasma.* and org.kde.ksvg (ksvg); it runs in the Plasma shell, which loads it, and not in any of the three applications. Its metadata turns it on by default in the system tray, and loading it starts Akonadi, so every KDOS desk’s layout script leaves it out of the tray (see Plasma shell); it is built and installed, and a user who adds it in the tray’s settings gets it as upstream ships it, Akonadi with it.
kdepim-runtime is in depends for run time only: without its resources Akonadi has no calendar, address book or mail folder to show.
Each application’s Wayland app id is the desktop file name KAboutData derives from its component name (merkuro.calendar, merkuro.contact, merkuro.mail), which is the name of its entry: org.kde.merkuro.calendar, org.kde.merkuro.contact and org.kde.merkuro.mail. None of the entries carries a StartupWMClass, so the task manager matches each window with no change. A fourth entry, org.kde.merkuro.desktop, starts Merkuro Calendar and is NoDisplay=true, because MERKURO_FLATPAK, which would make it a visible launcher for all three, is not set. The calendar’s entry claims text/calendar, as Thunderbird’s and KOrganizer’s do; the default is chosen in mimeapps.list.