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

334.8. skanpage-26.08.2

Document scanner — scan pages through SANE, reorder and edit them, recognise the text and save searchable PDFs

26.08.2-1 · (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 · 1.7 SBU · 784.1 KiB, 12 files · 44_apps, 350 of 422 · ports/core/printing/skanpage

Homepage: https://apps.kde.org/skanpage/

Skanpage scans documents: it drives a scanner through SANE by way of ksanecore, collects the pages, lets them be reordered, rotated and cropped with kquickimageeditor, recognises their text with tesseract over leptonica, and saves them as images or as a multi-page PDF with a text layer, which can be shared through purpose. It is a Kirigami application.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtwebengine, kcoreaddons, ki18n, kirigami, kcrash, kconfig, purpose, kxmlgui, kio, ksanecore, kquickimageeditor, tesseract, leptonica, tessdata-eng.

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

Sources: skanpage-26.08.2.tar.xz (1.3 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install skanpage'

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

Programs: skanpage.

Directories: /usr/share/licenses/skanpage.

Qt PDF, which shows the saved PDF, is part of qt6-qtwebengine and upstream requires it. The configure works out the release branch it belongs to, 26.07 for any 26.08 release, and requires ksanecore at that version or newer, so the two ports move together. Recognition runs in the languages whose tessdata files are installed, which in this tree is English alone (tessdata-eng).