Wykres commitów

6130 Commity (652da9a378c2dbc850b1f0d216ba0e3dbac82274)

Autor SHA1 Wiadomość Data
Chris Bagwell 975aed198c * japi/Makefile.am: Add back -version-number to java library but
also add V_REV.
* backend/Makefile.am: Use variables to add libraries to backends
instead of direct substitution. Easier to touch up variables on
problem platforms then substitution.  Also, add back in creating
dll.d directory; missed during conversion.
* backend/genesys_gl841.c: Portablity fixes for strict
C compilers.
2009-02-23 04:44:55 +00:00
Chris Bagwell 55434f8a75 Fix disabling getopt compile again. 2009-02-22 05:08:56 +00:00
Chris Bagwell 7d06da3be7 * doc/Makefile.am: Get rid of unneeded gnu extensions to quieten
down autotools warnings.
2009-02-22 02:05:05 +00:00
Chris Bagwell be3f46204b * po/Makefile.am, configure.in: convert remaining directory,
po, to use automake.
2009-02-21 22:45:14 +00:00
m. allan noah 8f82d9f60b * backend/avision.c: backend v290, fix reader_pid and NVRAM option
issues, by Mattias Ellert.
* backend/fujitsu.c: backend v89, fi-4750 has no serial number support
* doc/descriptions/fujitsu.desc: backend v89, remove 'MAC/TWAIN' text
* doc/sane-fujitsu.man: backend v89
* backend/.cvsignore: ignore *.loT
2009-02-20 19:57:21 +00:00
Mattias Ellert 18e9d6c358 Restore alloca include order 2009-02-20 17:56:54 +00:00
Mattias Ellert 0827226249 Adding missing liblib dependencies 2009-02-20 16:51:09 +00:00
Chris Bagwell 4e2fe5c06d Convert japi to automake. 2009-02-20 03:17:54 +00:00
Chris Bagwell cb4fb37eca Have configure define configdir so all makefiles can use
it (fixes bug introduce with sanei converted to automake).
Enable running testsuite during distcheck.
2009-02-19 18:10:12 +00:00
Julien BLACHE 53e8821bd5 Fixup build. 2009-02-19 15:06:29 +00:00
Julien BLACHE ad1a44d92a Add support for libusb-1.0. 2009-02-19 13:57:45 +00:00
Chris Bagwell f2261efaa5 * Makefile.am, testsuite: Convert testsuite to automake. Waiting
for test backend bugfix before enabling this to run during "distcheck".
2009-02-19 04:23:25 +00:00
Chris Bagwell 54d462f461 Add missing clean-local. 2009-02-19 02:44:53 +00:00
Chris Bagwell e380729334 * configure.in, tools/Makefile.am: convert tools to automake.
Add tools/openbsd to distribution package.
* include/Makefile.am: include files should have been installed
under sane/ directory when converted to automake.
* doc/Makefile.am: Cleanup. Use automake's built in support to
install docs within subdirectories.
2009-02-19 02:17:45 +00:00
Julien BLACHE 042656a002 Raise avahi-client dependency to 0.6.24. 2009-02-18 13:25:44 +00:00
Julien BLACHE 25818023c6 Fix handling of Avahi server restart. 2009-02-18 13:19:51 +00:00
Julien BLACHE 6733db0ec1 Do not lock the Avahi thread before stopping it. Leads to a deadlock,
so it seems it's actually not necessary anymore.
2009-02-18 11:07:38 +00:00
Chris Bagwell aef46252cc convert frontend, include, and sanei directories to use
automake.  Only reference libsanei.la now. Use am_conditional
to compile sanei_jpeg.lo.  distcheck now runs sanei/wire_test.
2009-02-15 03:31:36 +00:00
Chris Bagwell 79086e770e * Makefile.am, configure.in, doc/Makefile.am: Convert
doc/Makefile to use automake. Main difference is that
no longer installs man pages for backends that are not
compiled.  Moved install ownership of $top_srcdir docs
to $top_srcdir's Makefile.
2009-02-14 05:54:01 +00:00
Chris Bagwell 848b2e2175 * configure.in, backend/Makefile.am: Add back change to
use -version-number even though its known not to work on
some platforms (OS/2). -version-info results in a variety of
version numbers in soname based on platform and would not
be easily mappable back to values currently return by
each backend's sane_init().  ltmain.sh will need to be
hand patched for any known issues.
2009-02-12 03:43:18 +00:00
Pierre Willenbrock d167519e76 Remove "init device" usb request, add some support for Visioneer Strobe XP300.
Add support for uncalibrated scans in all modes for Visioneer Strobe XP300.
Front- and backside are	side-by-side, backside mirrored horizontally.
2009-02-08 18:59:59 +00:00
Chris Bagwell 144b1a3cfb * configure.in, backend/Makefile.am: Add back in support for
optionally linking in sanei_jpeg.lo under backend directory;
but using configure and not with GNU make extensions.
Move back to libtool's -version-info instead of -version-number
because the later has known bugs on platforms such as OS/2.
2009-02-07 02:00:51 +00:00
Chris Bagwell caba90c552 * configure.in, acinclude.ac: Cleanup autoconf 2.63 warnings.
add cv_ prefix to cached variable.  Remove AC_ARG_PROGRAM as
automake already invokes this. When prefered AC_USE_SYSTEM_EXTENSIONS
exists, use that instead of AC_GNU_SOURCE/AC_AIX/AC_MINUX.
Cleanup socket detection more by creating only a single
SOCKET_LIBS that contains list of all optional libraries
for any socket related funciton.  Make sure that checks
for socket related functions use SOCKET_LIBS when searching.
Check for getopt_long() and getopt.h.  Make OS/2 use
-no-undefined (same as windows).
* ltmain.sh, m4/libtool.m4: Upgrade to libtool 1.5.26.
* Makefile.am: Cleanups to match configure updates.
* frontend/scanimage.c, include/Makefile.in, lib/getopt.c
lib/getopt1.c, toosl/sane-desc.c, include/lgetopt.h:
Rename internal getopt.h to lgetopt.h to allow using
external getopt.h when it exists.  This allows to go
back to optionally compiling getopt()/getopt_long() and its
prototypes and not have conflicts with external headers/symbols.
2009-02-06 03:10:44 +00:00
Nicolas Martin c7d8b3e21c Added ImageClass MF4120 support in pixma backend docs. 2009-02-04 21:51:49 +00:00
Julien BLACHE be690a3d4e Remove debug code. 2009-02-03 12:07:20 +00:00
Julien BLACHE 9056460913 Filter out unsupported/unknown models from output (udev/hal). 2009-02-03 11:08:31 +00:00
Nicolas Martin fc758d23e7 ALIGN macro name change due to MACOS X issue and cosmetic code enhancements 2009-02-02 21:16:44 +00:00
Alex Belkin f4fbdcbfa9 fix threshold value 2009-02-02 20:04:18 +00:00
Alex Belkin 57e61b4c59 version update 2009-02-02 18:49:10 +00:00
Alex Belkin 133d37e4e4 Proper handling of parameters (to fix xsane crash) 2009-02-02 18:29:08 +00:00
Alex Belkin 6909a32587 :mfg for Dell 2009-02-02 09:50:44 +00:00
Alex Belkin ed39661eab reference to Samsung 2009-02-02 09:46:25 +00:00
Alex Belkin 59d1cd9539 Added Dell MFP 1815dn 2009-02-02 09:39:30 +00:00
Chris Bagwell 0330a4d416 * aclocalm4: fix prototype of internal strcasestr and usleep.
* configure.in: Group all USB logic together and all SCSI
logic together to aid understanding of whats no longer
valid.  Allow sharing enable/disable options between all
USB drivers on multiple platforms.  Combined CAM_LIBS and
SCSI_LIBS since they are mutually exclusive.
Skip some USB/SCSI checks when previous tests show it will always fail.
* backend/Makefile.am, tools/Makefile.in: Combine CAM_LIBS and
SCSI_LIBS. Add missing SOCKET_LIBS to epson2.  Add USB_LIB.
* saned.c: Add limits.h for PATH_MAX.
2009-02-02 03:17:32 +00:00
Mattias Ellert 7e6153827f format fixes. 2009-02-01 21:58:04 +00:00
Mattias Ellert f5af24221f avoid redefinition warning 2009-02-01 19:20:41 +00:00
Mattias Ellert 120806fa38 format fix and fix missing return 2009-02-01 18:50:24 +00:00
Mattias Ellert 1d21f36d9f Don't compile sanei_jpeg if libjpeg is unavailable. 2009-02-01 15:21:46 +00:00
Mattias Ellert 7d909bb234 cut and paste error correction. 2009-02-01 14:37:46 +00:00
Mattias Ellert 4dab269c71 Restore the removed DYNAMIC_FLAG configuration. 2009-02-01 13:43:26 +00:00
Chris Bagwell 674b884f29 * acinclude.m4, configure.in: Define JPEG objects based on
existence of JPEG library and not on the dc* backends alone
since more backends then that use JPEG support.
* backend/Makefile.am: whitespace fixes.
2009-01-31 20:40:42 +00:00
Chris Bagwell 51860ae62c Add missing math library to coolscan2 backend. Add few new directories
for cvs to ignore.
2009-01-31 16:20:03 +00:00
Chris Bagwell 23ff26f9a5 * acinclude.m4, configure.in: Put all libraries into their
own *_LIB variables instead of $LIB so that we do not have to
link in the world to all executables. Modified SANE_CHECK_U_TYPES
to be a little more portable to platforms that use #define
for u_* types. Create SANE_CHECK_BACKENDS macro so that
PRELOADABLE_BACKENDS can also be valided.  Auto-populated
PRELAODABLE_BACKENDS when detect dlopen() won't work.
Various protability cleanups.
* backend/dll.c: Make dll-preload.c a .h since its an include and
not compilable byitself.
* frontend/Makefile.in, frontend/scanimage.c, include/laaloca.h,
  lib/Makefile.am, lib/alloca.c, strcasestr.c, tools/Makefile.in,
  tools/sane-desc.c: Convert lib/ to automake.  Create a liblib.la
  for everyone to use and a libfelib.la for only frontend programs.
  Make all internal programs be prefixed with sanei_ as not to conflict
  with other programs libsane is linked in with that will also most
  likely create similar internal utils on problem platforms.
  * include/getopt.h, lib/getopt.c, lib/getopt1.c: Always compile
  and link in getopt_long() but prefix it with sanei_.  Its
  easier to always use internal version then try to figure out what
  platforms support getopt_long() and what header files to use.
  * backend/Makefile.am: Convert backend makefile to automake.
  Initial version that is feature parity with original but uses
  specific rules instead of wildcards and only links in libraries/objs
  really required. Room for more cleanup of whats linked in once
  all makefiles have been converted to automake.
2009-01-31 03:12:18 +00:00
Chris Bagwell 907cbe7ac6 Replace usage of getgrouplist() with
getgrent() and friends.  getgrouplist is not posix and not
on several platforms including cygwin.
2009-01-31 02:18:41 +00:00
Chris Bagwell b52b0c0c14 * backend/epson2.c backend/pixma_bjnp.c, include/sane/sanei_backend.h,
sanei/sanei_tcp.c, sanie/sanei_udp.c: Improve portablity by
  removing usage of MSG_WAITALL since not all platforms support
  that (cygwin).  Default is to be blocking anyways.  Changed
  usage of MSG_NOTWAIT to use fcntl() function as needed as well.
  * configure.in, lib/Makefile.in, lib/strcasestr.c: Add internal
  strcasestr() for platforms missing it (cygwin).
  * pixma_common.c: My source match header prototype for picky
  compilers (cygwin).
  * backend/umax_pp_mid.c: Allow BACKEND_NAME to be filename
  yet debug to be SANE_DEBUG_UMAX_PP to match man page.
2009-01-29 15:10:19 +00:00
Julien BLACHE 4e58745ed9 Add :scsi data for 2 scanners. 2009-01-28 08:14:11 +00:00
Louis Lagendijk 9d7a8353b6 2009-01-27 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c: fixed bug that caused scanner discovery to
        fail when it encountered a point to point link (check data returned
        by getifaddrs()
2009-01-27 20:13:11 +00:00
Chris Bagwell f7b7cd9171 Add AM_MAINTAINER_MODE to prevent regenerating configure script with
possibly broken user autotools.
2009-01-27 01:10:24 +00:00
Pierre Willenbrock d46ce99e7b Change status code for locked head to SANE_STATUS_HW_LOCKED 2009-01-25 22:03:26 +00:00
m. allan noah 35d11ed32e Corrected syntax for backend status 2009-01-25 01:40:36 +00:00