[sane-devel] [RFC] Improving sane-find-scanner

Julien BLACHE jb at jblache.org
Sun Aug 27 07:37:47 UTC 2006


I've got a patch (part of which I erroneously committed to CVS some
time ago...) that makes sane-find-scanner tell the user which backends
can be used with the USB scanners that it just detected.

It's based on a table generated by sane-desc from the description
files (really, 2 tables, one for backends included in sane-backends,
and the other for external backends when we have description files for
them). The tables eat up some space, so the sane-find-scanner binary
gets bigger with this patch.

I'm looking for feedback on that idea; I know it's basically a good
idea and it needed to be done, but the implementation is pretty
static, which may not please everyone. Probably having a directory
where external backends can drop a file would be better, so parsing
the desc files from sane-find-scanner looks like a better idea (would
just need to generate the tables at runtime from the desc files, which
would only duplicate some code from sane-desc).

Thoughts ?


Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169

More information about the sane-devel mailing list