Bug 498305 - digiKam states there is no libksane at configure phase.
Summary: digiKam states there is no libksane at configure phase.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-DigitalScanner (show other bugs)
Version: 8.5.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-06 08:01 UTC by David Kredba
Modified: 2025-01-06 09:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2025-01-06 08:01:24 UTC
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.
Comment 1 caulier.gilles 2025-01-06 09:43:21 UTC
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