Using SANE?

Andrew Lutomirski amluto at gmail.com
Tue Feb 9 15:15:28 UTC 2010


On Tue, Feb 9, 2010 at 9:21 AM, Richard Hughes <hughsient at gmail.com> wrote:
> On 9 February 2010 14:01, Frederic Crozat <fred at crozat.net> wrote:
>> 2010/2/9 Richard Hughes <hughsient at gmail.com>:
>>> I'm thinking of using SANE (rather than udev like we do now) to get
>>> the list of scanners, and hopefully to be able to change settings on
>>> the device. It also allows us to change remote devices, not just
>>> locally plugged in USB ones. Is sane-backends-libs a problem for you
>>> distro guys? I'm not sure if it's installed by default on most
>>> distros, but it does pull in a few deps.
>>
>> How about using PackageKit to install it "on demand" ? ;)
>
> Heh, this would be a library dep, not a tool dep.

Is it safe to assume that anyone who wants to profile a scanner
already has sane-backends-libs installed?  If so, you could dlopen it
and if that fails assume that there aren't any scanners.

--Andy



More information about the gnome-color-manager-list mailing list