There is libksane present on my system but digikam-8.5.0 package states it will not compile support for flat scanners. CMake configure log: ---cut--- -- libsonnet found.......................... YES (optional) -- libksane found........................... NO (optional) -- digiKam will be compiled without flat scanners support. -- Please install the libksane (version >= 21.12.0) development package. ---cut--- List of files installed by the libksane package: kde-apps/libksane-24.12.0::gentoo was built with the following: USE="-debug -kwallet" equery f kde-apps/libksane * Searching for libksane in kde-apps ... * Contents of kde-apps/libksane-24.12.0: /usr /usr/include /usr/include/KSaneWidgets6 /usr/include/KSaneWidgets6/KSaneWidget /usr/include/KSaneWidgets6/ksane_export.h /usr/include/KSaneWidgets6/ksane_version.h /usr/include/KSaneWidgets6/ksanewidget.h /usr/lib /usr/lib/debug /usr/lib/debug/usr /usr/lib/debug/usr/lib64 /usr/lib/debug/usr/lib64/libKSaneWidgets6.so.24.12.0.debug /usr/lib64 /usr/lib64/cmake /usr/lib64/cmake/KSaneWidgets6 /usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6Config.cmake /usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6ConfigVersion.cmake /usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6Targets-relwithdebinfo.cmake /usr/lib64/cmake/KSaneWidgets6/KSaneWidgets6Targets.cmake /usr/lib64/libKSaneWidgets6.so -> libKSaneWidgets6.so.6 /usr/lib64/libKSaneWidgets6.so.24.12.0 /usr/lib64/libKSaneWidgets6.so.6 -> libKSaneWidgets6.so.24.12.0 /usr/share /usr/share/doc /usr/share/doc/libksane-24.12.0 /usr/share/doc/libksane-24.12.0/AUTHORS /usr/share/doc/libksane-24.12.0/README.md /usr/share/doc/libksane-24.12.0/TODO SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kernel-6.12.8 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 ADDITIONAL INFORMATION Gentoo fixed it in it's bug https://bugs.gentoo.org/947312 stating that HAVE_KSANE is not being set w/ KF6-based cmake module name.
Git commit 577913d0ab3db2a89c5717dce41b5f9d0c461950 by Gilles Caulier. Committed on 06/01/2025 at 09:42. Pushed by cgilles into branch 'master'. apply downstream patch from Gentoo to support ksanewidget from KF6 FIXED-IN: 8.6.0 M +22 -2 core/CMakeLists.txt https://invent.kde.org/graphics/digikam/-/commit/577913d0ab3db2a89c5717dce41b5f9d0c461950