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

270.7. libksane-26.08.2

Qt 6 scanner widget over ksanecore, used by Skanlite and KolourPaint

26.08.2-1 · LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL · 0.3 SBU · 474.3 KiB, 19 files · 43_toolkits, 258 of 344 · ports/core/printing/libksane

Homepage: https://invent.kde.org/graphics/libksane

libksane is the Qt 6 scanner widget over ksanecore: the device selector, the option panels, the preview and the scan button. skanlite is that widget in a window, and kolourpaint and digikam acquire pictures through it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, ki18n, kwidgetsaddons, ktextwidgets, kwallet, ksanecore, sane-backends.

Required by (3): digikam, kolourpaint, skanlite.

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

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 KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Wallet=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKSaneWidgets6.so.

Directories: /usr/include/KSaneWidgets6, /usr/lib/cmake/KSaneWidgets6, /usr/share/licenses/libksane.