[sane-devel] Last call for new backends

Julien BLACHE jb at jblache.org
Tue Apr 15 11:53:06 BST 2003


Martijn van Oosterhout <kleptog at svana.org> wrote:

Hi,

>> > If someone would have time to integrate it into sane, it would be nice. 
>> > Integration would consist in :
>> > * port hp5400 Makefile into SANE compilation structure
>> > * verify hp5400 API is correct for SANE
>> > * support of others transport protocol 
>> 
>> FYI I integrated your backend into the libsane-extras Debian package a
>> week ago.
>
> Very cool. Thanks for that.

You're welcome.

[...]

> Good. We'll accept any patches that make it easier. Hey, maybe that's
> another user it worked for! :)

Yep, the scanner was an HP5470c USB.

You can fetch the source package I use to build libsane-extras on
<ftp://ftp.debian.org/debian/pool/main/s/sane-backends-extras/sane-backends-extras_1.0.10.3.tar.gz>

Basically, you need to add hp5400 to the list of backends in
backend/Makefile.in, and add a dependency for libsane-hp5400.la on
sanei_config2.lo.

With that done, the file backend/hp5400.c will be picked up and built
(that's why I had to rename hp5400-sane.c).

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org> 



More information about the sane-devel mailing list