241.4. mimetreeparser-26.08.2
KDE PIM library that parses and renders signed and encrypted MIME messages
26.08.2-1 · LGPL-2.0-or-later AND GPL-2.0-or-later · 6.9 SBU · 2.6 MiB, 112 files · 43_toolkits, 206 of 344 · ports/core/mail/mimetreeparser
Homepage: https://invent.kde.org/pim/mimetreeparser
mimetreeparser parses a mail message into its tree of MIME parts, decrypts and verifies the OpenPGP and S/MIME parts through libkleo and gpgmepp, and renders the result. It builds three libraries: the core parser, a widgets viewer that kleopatra shows mail files in, and the QML module org.kde.pim.mimetreeparser, the mail view of Merkuro Mail.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, ki18n, kio, kservice, kirigami, kirigami-addons, kcalendarcore, kcolorscheme, kwidgetsaddons, kmime, kmbox, libkleo, gpgmepp.
Required by (2): kleopatra, merkuro.
Sources: mimetreeparser-26.08.2.tar.xz (692.6 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 mimetreeparser'
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 USE_UNITY_CMAKE_SUPPORT=OFF \
-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6Widgets=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6WidgetsAddons=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/; the image is English only (see Size and language policy).-D USE_UNITY_CMAKE_SUPPORT=OFF— Compiles each source file on its own instead of in CMake unity batches. Upstream’s default, named.-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick=ON— Requires Qt Quick from qt6-qtdeclarative for the QML module. Upstream builds it only when Qt Quick is found; with it, kio and kservice are required too.-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6Widgets=ON,-D CMAKE_REQUIRE_FIND_PACKAGE_KF6WidgetsAddons=ON— Require Qt Widgets and kwidgetsaddons for the widgets viewer, which upstream builds only when both are found and which Kleopatra requires.
Libraries: libKPim6MimeTreeParserCore.so, libKPim6MimeTreeParserWidgets.so.
Directories: /usr/include/KPim6/MimeTreeParserCore, /usr/include/KPim6/MimeTreeParserWidgets, /usr/lib/cmake/KPim6MimeTreeParserCore, /usr/lib/cmake/KPim6MimeTreeParserWidgets, /usr/lib/qt6/qml/org/kde/pim, /usr/share/licenses/mimetreeparser.
The QML module’s itinerary view loads kirigami and kirigami-addons at run time; the configure only lists them, which is why both are in depends.