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

258.13. kdegraphics-thumbnailers-26.08.2

KIO thumbnailers for PostScript, PDF, Blender and camera raw files

26.08.2-1 · GPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND LGPL-2.0-or-later · 0.5 SBU · 339.5 KiB, 13 files · 43_toolkits, 184 of 344 · ports/core/kde/kdegraphics-thumbnailers

Homepage: https://invent.kde.org/graphics/kdegraphics-thumbnailers

Why it is in KDOS. The comment above ffmpegthumbs and kdegraphics-thumbnailers in script/phases/43_toolkits/packages.d/kde.txt:

The thumbnailers Dolphin and Gwenview draw previews with.

kdegraphics-thumbnailers is a set of KIO thumbnailers: PostScript, PDF and DVI pages through ghostscript, Blender files from the preview they carry, camera raw files through libkdcraw and libkexiv2, and Mobipocket e-book covers through kdegraphics-mobipocket.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, karchive, kio, libkexiv2, libkdcraw, ghostscript, kdegraphics-mobipocket.

Required by (1): kde-gear-core.

Sources: kdegraphics-thumbnailers-26.08.2.tar.xz (126.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 kdegraphics-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 BUILD_TESTING=OFF \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D DISABLE_BLENDER=OFF \
	-D BUILD_FUZZERS=OFF \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KExiv2Qt6=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KDcrawQt6=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Directories: /usr/share/licenses/kdegraphics-thumbnailers.

DISABLE_MOBIPOCKET is left at its default, off, under which upstream requires QMobipocket6, so a missing kdegraphics-mobipocket stops the configure. The PostScript thumbnailer runs gs at run time, and for a DVI file first converts it with dvips.

The tarball has no po/ directory, so the recipe does without the KF_SKIP_PO_PROCESSING switch the other KDE recipes pass.