Re: Using SANE?



On Tue, Feb 9, 2010 at 9:21 AM, Richard Hughes <hughsient gmail com> wrote:
> On 9 February 2010 14:01, Frederic Crozat <fred crozat net> wrote:
>> 2010/2/9 Richard Hughes <hughsient 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]