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

269.4. grantleetheme-26.08.2

KDE PIM library that loads and renders KTextTemplate themes for mail, contacts and feeds

26.08.2-1 · LGPL-2.1-or-later AND LGPL-2.0-or-later AND GPL-2.0-or-later AND BSD-3-Clause AND CC0-1.0 AND MIT · 0.4 SBU · 371.6 KiB, 36 files · 43_toolkits, 217 of 344 · ports/core/pim/grantleetheme

Homepage: https://invent.kde.org/pim/grantleetheme

GrantleeTheme loads and renders the HTML themes the KDE PIM programs draw with: KMail’s message header styles, KAddressBook’s contact view and Akregator’s article view are ktexttemplate templates packaged as themes, and this library finds them, fills them in and offers the theme menu. Its “Get New Themes” entry is a KNewStuff download.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kguiaddons, ki18n, kiconthemes, knewstuff, kxmlgui, kcolorscheme, ktexttemplate.

Required by (7): akonadi-contacts, akregator, grantlee-editor, kaddressbook, kdepim-addons, kontact, messagelib.

Sources: grantleetheme-26.08.2.tar.xz (68.4 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 grantleetheme'

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

Libraries: libKPim6GrantleeTheme.so.

Directories: /usr/include/KPim6/GrantleeTheme, /usr/lib/cmake/KPim6GrantleeTheme, /usr/share/licenses/grantleetheme.

knewstuff is required by the configure for the theme download dialog. The system-wide ghns=false restriction greys it out, so the themes a program offers are the ones installed with it (see Offline by construction).