316.9. kdesdk-thumbnailers-26.08.2
Thumbnailer for gettext PO files — Dolphin shows each catalogue's translation progress
26.08.2-1 · LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 · 0.3 SBU · 82.7 KiB, 5 files · 44_apps, 267 of 422 · ports/core/kde/kdesdk-thumbnailers
Homepage: https://invent.kde.org/sdk/kdesdk-thumbnailers
kdesdk-thumbnailers holds one KIO thumbnail plugin, pothumbnail, which draws a gettext .po catalogue’s preview as a chart of its translated, fuzzy and untranslated messages. Dolphin and every other KIO file view show it in place of a generic text icon.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcoreaddons, kio, gettext.
Required by (1): kde-gear-core.
Sources: kdesdk-thumbnailers-26.08.2.tar.xz (20.5 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kdesdk-thumbnailers'
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 CMAKE_REQUIRE_FIND_PACKAGE_GettextPO=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_GettextPO=ON— Makelibgettextpoa requirement. Upstream looks for it quietly and leaves outpo_thumbnailer/, the module’s only plugin, when it is missing, so the package would install nothing. The library andgettext-po.hcome from gettext.-D KF_SKIP_PO_PROCESSING=ON— Passed as every KDE recipe passes it. This module has nopo/directory and calls noki18n_install(), so CMake reports the variable as unused.-Wno-dev— Silences CMake’s warnings meant for the project’s own developers.
Directories: /usr/share/licenses/kdesdk-thumbnailers.
BUILD_FUZZERS stays at its default, off: the fuzzers need static libraries and stop the configure in a shared build.