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

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

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.