241.5. kpimtextedit-26.08.2
KDE PIM library of rich-text editor widgets for the mail composer
26.08.2-1 · LGPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.0-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 BSD-3-Clause AND CC0-1.0 AND MIT · 1.8 SBU · 860.0 KiB, 45 files · 43_toolkits, 209 of 344 · ports/core/mail/kpimtextedit
Homepage: https://invent.kde.org/pim/kpimtextedit
KPimTextEdit is the KDE PIM library behind KMail’s message composer: the rich-text composer widget with its formatting actions, quoted-text highlighting, inline images, links, tables and nested lists, the dialogs that insert them, and the step that turns a composed message into HTML or plain text. Spelling comes from sonnet, and the emoticon picker and the plain text editor underneath come from ktextaddons. messagelib’s composer, kmail and the other PIM editors link it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kcoreaddons, ki18n, kiconthemes, kio, sonnet, syntax-highlighting, kwidgetsaddons, kxmlgui, kcodecs, ktextaddons.
Required by (5): incidenceeditor, kdepim-addons, kidentitymanagement, kmail, messagelib.
Sources: kpimtextedit-26.08.2.tar.xz (189.0 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 kpimtextedit'
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— 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.
Libraries: libKPim6TextEdit.so.
Directories: /usr/include/KPim6/KPIMTextEdit, /usr/lib/cmake/KPim6TextEdit, /usr/share/licenses/kpimtextedit.
The configure requires ktextaddons 2.0.2 or newer for three of its libraries, TextEmoticonsWidgets, TextCustomEditor and TextAddonsWidgets; ktextaddons is released on its own schedule from invent.kde.org/libraries, not with KDE Gear, so a ktextaddons bump is checked against this port’s minimum.