skanpage: depend on sane-airscan
"Driverless" (WSD) network scanning is not functional in Skanpage unless sane-airscan is installed. This package provides critical functionality to Skanpage and should be included as a dependency.
Currently there are no revdeps for sane-airscan, so the only way to get this package is to troubleshoot Skanpage until you realize it's required, and then install it manually.
The Flatpak distribution of Skanpage is capable of WSD scanning out of the box, but Void's version is missing features comparatively without this change!
Testing the changes
- I tested the changes in this PR: YES
Shouldn't sane depend on it, if at all? I imagine people use different apps to access their wireless scaners, don't they?
That's highly probable! If we give the dependency to libsane instead, that would affect these packages:
$ xbps-query -RX libsane
colord-1.4.6_2
hplip-3.24.4_2
ksanecore-24.08.1_1
ksanecore6-25.04.0_1
perl-Image-Sane-5_6
sane-1.3.1_2
sane-devel-1.3.1_2
simple-scan-46.0_1
wine-10.9_1
xsane-0.999_6
ksanecore6 will fix Skanpage and we get simple-scan for free. However I am unsure about the other packages, and any packages which depend on them. sane-airscan might not be necessary for those. We could add the dependency to the scanner apps only, but this seems fragile and not future-proof.
Arch Linux has sane-airscan as an optional dependency of libsane which is essentially equivalent to Void's current behavior, minus pacman's advertisement of optional dependencies. ArchWiki also mentions sane-airscan several times in the opening paragraphs.
So now I am thinking we could set up a documentation page on scanning and add an INSTALL.msg to the libsane package to improve discoverability without touching dependencies.