Wykres commitów

313 Commity (d74d3bcd887d2a3d59ee96e04eb68f15c0a3b882)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen 0d7882e34b Change compile time warning policy
The -Wall flag is now always enabled (when using gcc).  The -Wextra
flag (previously known as -W) and -pedantic flags are, by default,
enabled during development but disabled for releases.

All other flags have been removed.
2015-12-26 16:51:44 +09:00
Volker Diels-Grabsch 58052a7ce6 Change GCC mode from ISO C90 to ISO C99
Add GCC flag "-std=c99".  Also remove GCC flag "-ansi" which is an
alias for "-std=c90" and would make the flag "-std=c99" ineffective.
This fixes all occurrences of the following GCC warning:

warning: ISO C90 does not support '__func__' predefined identifier
2015-12-20 15:27:45 +09:00
m. allan noah 5e1d45cad7 reopen sane-backends 1.0.26git 2015-10-04 21:13:39 -04:00
m. allan noah 60a772ca5d sane-backends 1.0.25 2015-10-04 09:24:46 -04:00
m. allan noah 19c5159378 autofoo for recent changes 2015-09-28 21:21:32 -04:00
m. allan noah 2a3f6f2bb5 autoconf after latest config.in changes
Only whitespace differences, since the removed
code was an expanded version of the macros that
replaced it.
2015-09-25 20:56:48 -04:00
m. allan noah 87bfd53512 Run autofoo for recent changes 2015-09-19 13:39:38 -04:00
Luiz Angelo Daros de Luca 8434ea9162 Define IO_SUPPORT_MISSING when inb() and outb() aren't in <sys/io.h>
Fixes link issues on OpenWRT w/ musl on MIPS.
2015-09-19 13:39:37 -04:00
m. allan noah a158339c57 disable epsonds if no libjpeg 2015-08-31 21:18:30 -04:00
m. allan noah 7566619e53 rebuild with automake 1.14.1 2015-08-31 20:58:30 -04:00
Stéphane Voltz 07d8b48097 don't harcode /usr/local/include
- fix for #315060
2015-08-08 21:41:04 +02:00
Alessandro Zummo ccd15dc966 Revert "epsonds: enable double feed detection"
This reverts commit 005c3928a5.
2015-04-26 23:09:08 +02:00
Alessandro Zummo 005c3928a5 epsonds: enable double feed detection 2015-04-26 22:44:01 +02:00
m. allan noah 682c418f63 starting 1.0.25git 2013-09-30 22:53:21 -04:00
m. allan noah ad6a17ad7c Changes to release 1.0.24 2013-09-30 21:25:18 -04:00
m. allan noah 6d219683fc rebuild configure with v4l flag 2013-09-17 22:33:31 -04:00
m. allan noah 98345c5dfe Enable pthread on linux by default
Also, Changlog entries for recent changes.
2013-08-27 21:52:17 -04:00
Chris Bagwell bc2dc68fa5 Improve snmp detection when cross compiling.
Improving here means do not set LIBS/CFLAGS if library is not detected.
This prevents some unknown options based to ld when host is Linux and
target is mingw32/64.  Further improvements are needed if one wants this
snmp support when cross compiling to really work.

Also, to make commit bisectable, updated all autofoo files using
'autoreconf -i -f' and repatching ltmain.sh.

Also, test-driver was missing from git repo but the Makefile.in
checked in expected it to exist.
2013-08-15 13:10:39 -05:00
Stéphane Voltz fdadecc509 add testsuite for sane-desc
- add a tools sudbir in testsuite
- add a desc test file
- record test references
- add check in Makefile to run and compare output
2013-08-02 22:16:33 +02:00
Stéphane Voltz 8b3674a516 add testsuite/sanei for sanei test programs
- add sanei_usb_test to test sanei_usb functions
 - update SUBDIRS so the check target is ran on testsuite/sanei
2013-03-24 14:50:17 +01:00
Stéphane Voltz 7e4095d30d change HAVE_USBCALL define back to HAVE_USBCALLS 2013-03-07 07:24:33 +01:00
Louis Lagendijk 3276babdec Added optional support in saned for systemd socket activation. This will allow for
using backend debugging using SANE_DEBUG_xxx to be used for saned controlled
scanning when using socket activation. When only the socket is received we
use the existing code path.
2013-01-10 20:59:26 +01:00
m. allan noah 9b142567fa Revert "forgot to do autoreconf"
This reverts commit aa6f185452.
2012-11-28 21:51:12 -05:00
Paul Newall aa6f185452 forgot to do autoreconf 2012-11-28 22:11:04 +00:00
Stéphane Voltz e5b886cb76 add optional doxygen documentation generation for the genesys backend 2012-11-02 21:46:44 +01:00
Mattias Ellert 67efea5d4f Minor clean-up 2012-10-25 06:39:22 +02:00
Mattias Ellert c6e8e2ab53 Unset VERSION during the SCSI header check 2012-10-24 17:30:05 +02:00
m. allan noah 0662fceeb0 Fix busted comment 2012-08-26 13:40:02 -04:00
m. allan noah 879f281487 Starting sane-backends 1.0.24git 2012-08-26 11:47:56 -04:00
m. allan noah d353a1c5f2 Release of sane-backends 1.0.23 2012-08-26 11:00:21 -04:00
m. allan noah 206e6ed094 Adding new kodakaio backend 2012-06-30 21:28:14 -04:00
Ruediger Meier f3a8705525 add checks for ntddscsi.h and ddk/ntddscsi.h (to be used for win32) 2012-01-21 22:10:10 -06:00
Chris Bagwell 8ac464a47d add support for libusb-win32
It is API compatible with libusb-0.1 that is already supported
but uses different header file name to prevent conflict with
Window's own usb.h.
2011-12-27 17:35:35 -06:00
Chris Bagwell 9c4f8d51d0 Add replacement sleep(); mostly for mingw usage. 2011-11-10 19:21:13 -06:00
Chris Bagwell 05c2825f17 Default enable_dynamic to yes/no based on librarys
My previous try was always defaulting to "yes" and user
and to manually specify --disable-dynamic to work correctly
on platforms that didn't support dynamic loading.
2011-11-09 21:46:12 -06:00
Chris Bagwell e7f01c3b36 Add --disable-dynamic/--disable-preload and update docs
Options were in README but removed at some point.  They
are useful so add them back.

Document BACKENDS and PRELOADABLE_BACKENDS variables in
README as well as in configure --help output.
2011-11-08 21:28:30 -06:00
Chris Bagwell 5061c2d5b2 More mingw portability updates.
Add check for winsock2.h for socket.h replancement. Also, use this
check to add ws2_32 library. Also, switch all winsock.h references
to winsock2.h.

Add check for getuid and getpass; which are not on mingw.

Add a syslog() replacement that is basically a print(). This
is also used by vsyslog() replacement.

Comment out parts of replacement sigprocmask.c on mingw.

To support these configure.in changes, I need to rebuild all
related files with autoconf 2.68 and libtool 2.4. Hand ported
our sane-backend specific changes to newer ltmain.sh.
2011-11-06 12:40:00 -06:00
m. allan noah 483b0dc488 adding new kvs40xx backend 2011-06-06 14:28:55 -04:00
m. allan noah 8331c288d6 setup for development of 1.0.23 2011-02-13 21:40:17 -05:00
m. allan noah 2b8f01e859 Tweaks for sane-backends 1.0.22 release 2011-02-13 20:29:31 -05:00
Reinhold Kainhofer beb0aaef5b magicolor: backend needs net-snmp 5.6 for snmp auto-detection
In net-snmp 5.5 the UDP transport does not provide a public-API way to extract the originating IP of the
response to the SNMP auto-detection broadcast request... The structure that stores that information
was moved to the public include/library/snmp_transport.h header only in 5.6 :(
2011-01-31 14:26:46 +01:00
m. allan noah 40e40989d9 rebuild autofoo for magicolor and snmp support 2011-01-18 21:31:13 -05:00
Chris Bagwell 650ea7cf8a update generate files using latest autoconf tools.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2011-01-02 13:07:31 -06:00
m. allan noah e7efa77aa5 Add new kvs20xx backend from Panasonic, for KV-S202xC and KV-S204xC 2010-06-09 16:31:00 -04:00
m. allan noah db465ae08b reopen development with v1.0.22git 2010-04-25 23:48:14 -04:00
m. allan noah ceb03e36c7 setup for release 1.0.21 2010-04-25 23:28:52 -04:00
Chris Bagwell 3c21ae5f70 Fix cygwin compile. Initial mingw cleanup.
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>
2010-04-07 20:43:32 -05:00
Chris Bagwell 15572c9cd9 Add stub for future pkg-config support
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>
2010-04-06 11:54:03 -05:00
Chris Bagwell 0109113ea3 Don't include -lresmgr in all backends
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>
2010-04-06 09:49:58 -05:00
Chris Bagwell cc75fa5dc2 add --enable-rpath option to configure
Allow user to configure support for rpath compiler
option.  Ported from Fedora's sane-backend patches.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-05 15:54:39 -05:00