241.14. ktnef-26.08.2
KDE PIM library that reads and writes Outlook TNEF (winmail.dat) attachments
26.08.2-1 · LGPL-2.0-or-later AND BSD-3-Clause AND MIT AND CC0-1.0 · 0.3 SBU · 285.8 KiB, 31 files · 43_toolkits, 228 of 344 · ports/core/mail/ktnef
Homepage: https://invent.kde.org/pim/ktnef
KTnef parses and writes TNEF, the winmail.dat attachment Outlook sends in place of ordinary MIME parts. It lists the files packed inside, extracts them, reads the message properties, and turns a meeting request carried in TNEF into an iCalendar invitation. KMail’s TNEF viewer and the calendar plugins in kdepim-addons use it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcalendarcore, kcalutils, kcontacts, ki18n.
Required by (2): kdepim-addons, kmail.
Sources: ktnef-26.08.2.tar.xz (315.9 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 ktnef'
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 \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the translation catalogues underpo/, which the package-wide English-only rule would remove anyway (see Size and language policy).
Libraries: libKPim6Tnef.so.
Directories: /usr/include/KPim6/KTNEF, /usr/lib/cmake/KPim6Tnef, /usr/share/licenses/ktnef.
The configure requires KPim6CalendarUtils 6.8.2 or newer, the PIM library version of Gear 26.08.2’s kcalutils; an older kcalutils stops it.