[sane-devel] Re: [PATCH] generate hal fdi file

Donald Straney burntfuse at gmail.com
Tue Mar 20 14:56:20 CET 2007

> What would be the impact in terms of:
>  - added code
>  - added library dependencies (and here I'm especially worried about
>    bringing in the infamous GLib for the DBus stuff in dll.c, so if we
>    could avoid it, that'd be nice)

Just my $0.02: D-BUS doesn't need GLib - it's got its own low-level C
API in libdbus, and it would take maybe 20 lines of code (if not less)
to get a D-BUS connection, call the appropriate method (a method would
be better than a signal so it can make sure that the add-on has
actually released the device, instead of having to wait and guess),
and disconnect again.  It could be even less if you linked to
something like liblazy (statically, of course).

Donald Straney

More information about the sane-devel mailing list