Updated 4 pre-existing SCSI models with commonly used
model names. This allows wider range of Epson SCSI scanners
to be correctly detected using auto-generated hal and udev
files. This benefits epkowa, epson2, and epson backends.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Traced source of conflicting connect() defines to p5
backend including libc.h header file. On OSX, this
includes socket.h. Since backend didn't really need
libc.h header and is not a networked backend, reverted
last fix and implement header based fix.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
socket.h is being included on OSX currently and P5's
static connect is conflicting with socket.h's connect().
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
cygwin and mingw is now hiding M_PI_2 defines with -ansi flag.
Remove to fix cygwin compile.
Mingw doesn't support fork() so default to pthreads.
Add u_short to complete definition of u_* types which helps out mingw
when we define _BSDTYPES_DEFINED.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Not quite ready to support pkg-config yet but go ahead and provide
basic support in configure to discourage distributions that are
patching pkg-config support in to no longer run "autoreconf -f"
and wiping out our custom libtool. sane-backends.pc will not
be installed currently.
Also, fixed a LDFLAGS bug in sane-config for GPHOTO2 support.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
resmgr library is only used (optionally) by
sanei_usb and sanei_scsi. So only need to
link it in for those backends. This was
a stray piece from initial cleanup of LIBS
in sane-backends 1.0.20.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Allow user to configure support for rpath compiler
option. Ported from Fedora's sane-backend patches.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Removed direct include of usb.h in backend since it
should be using sanei_usb. Completed prototype
of sane_exit(void) for some versions of gcc that are
strict about that.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
- add move to transparency adapter function to command set
- no warmup when using transparency adapter
- increase maximum warmup time to match HP3670 requirements
- tune HP3670's transparency adapter geometry
- handle calibration area geometry in gain calibration
- add simple move head function for gl646 based scanners