Wykres commitów

295 Commity (efd59b15356b1f161e0fc369c00b14ccfd4ced77)

Autor SHA1 Wiadomość Data
Julien BLACHE 91854aadc5 umax_pp: define _XOPEN_SOURCE for putenv() 2010-06-23 18:21:38 +02:00
Julien BLACHE 323ed013e6 udev rules: set libsane_matched=yes for SCSI scanners too
Used later on by udev-acl to handle scanners.
2010-06-21 19:01:51 +02:00
Julien BLACHE 5ed097b553 Fix pkg-config file syntax 2010-04-26 21:13:44 +02:00
Chris Bagwell ce61e88f86 fix typo in tools/sane-config.in. REGMGR=RESMGR. 2010-04-25 15:49:27 -05:00
m. allan noah 6b8fc40c23 updated ukranian translation from Yuri Chornoivan 2010-04-21 08:36:12 -04:00
m. allan noah 0340d25366 Update the sane-devel contact suggestion 2010-04-18 20:37:15 -04: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 1903d646b2 align autoconf/automake output to common version.
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-02-27 23:27:32 -06:00
m. allan noah 5d080dc17c Condense warnings about half-baked .desc files 2010-02-27 21:09:45 -05:00
m. allan noah 54a84f2053 Use standard gettext infrastructure, from Adi Roiban 2010-02-27 20:51:31 -05:00
Stéphane Voltz b37621d86a addition of the p5 backend to the distribution 2010-02-15 22:15:43 +01:00
m. allan noah 2df3c10817 * doc/.gitignore, doc/Makefile.am, doc/Makefile.in:
- added new targets for scanner search engine db
* doc/releases.txt: improved doc
* doc/saned.man: clean typos
* tools/sane-desc.c: removed NAME= from udev rules (deprecated)
2010-02-10 14:27:27 -05:00
Mattias Ellert ec738ed266 Updated Swedish translation, fix libusb warning. 2009-09-11 05:11:31 +02:00
m. allan noah 645bde0b8b add closedir call to fix bug #311880, patch from Johannes Meixner 2009-08-13 14:15:57 -04:00
m. allan noah 7f45993f26 Added better checks for GL84x chips 2009-08-01 10:16:02 -04:00
m. allan noah 163f5fa345 New kodak backend, and all the autofoo changes required to build it
- remove some Kodak machines from unsupported list
- add sane-kodak manpage
- add kodak.desc
2009-06-22 23:06:22 -04:00
chris@cnpbagwell.com 07c5723cab Merge branch 'master' of ssh://cbagwell-guest@git.debian.org/git/sane/sane-backends 2009-05-09 21:40:55 -05:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
Ilia Sotnikov bee067e930 * Updated HP ScanJet model names displayed during the check_hp5590() 2009-05-06 20:33:05 +03:00
Julien BLACHE 79e6e5c420 Unbreak udev rules
We switched from SYSFS{} to ATTR{} and that should really be ATTRS{}.
Slightly different behaviour and all hell breaks loose.
2009-05-06 11:13:44 +02:00
m. allan noah 764aa7c6e1 add more generated files to .gitignore 2009-05-05 15:56:54 -04:00
Julien BLACHE 6e4ed52293 Add basic .gitignore files 2009-05-04 14:45:17 +02:00
Chris Bagwell 6b5973313c * Makefile.in, aclocal.m4, configure, */Makefile.in: Regenerated
with newer automake.
* backend/Makefile.am, tools/sane-config.in: Add missing
$GPHOTO2_LDFLAGS so library can be found.
* tools/Makefile.am: Add mising $SCSI_LIBS to sane-find-scanner.
2009-05-03 22:01:23 +00:00
m. allan noah 18e88c02a7 double counting untested scanners bug 2009-04-14 03:54:01 +00:00
m. allan noah 5718d5a4ed * tools/sane-desc.c: remove 8859-1 chars from string cleaner,
enforce only printable ASCII on output (bug 311539)
2009-03-13 13:48:44 +00:00
Chris Bagwell 191cde3dbd Add space mistakenly removed in last CVS update. 2009-03-04 01:22:01 +00:00
Chris Bagwell 9d1375fd7e * acinclude.m4, tools/sane-config.in: Add in missing libraries
to sane-config missed during fix to stop using LIBS to link everything.
Add back in code to move LDFLAGS out of $GPHOTO2_LIBS and into
GPHOTO2_LDFLAGS.
2009-03-03 02:53:42 +00:00
Chris Bagwell 70f3fdfba4 * acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
Global replace of u_int??_t with C9x standard based uintxx_t
 in order to remove some tricky and overlapping portability logic
 from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +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
Mattias Ellert 0827226249 Adding missing liblib dependencies 2009-02-20 16:51:09 +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 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
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 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
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
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
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 c90e23a6d2 Updates to Makefiles to prepare for transition to automake.
Fix a few bugs with "all" and "uninstall" targets to work when
$(builddir) != $(srcdir).  Added $(DESTDIR) to uninstall target.
Made $(distdir) related to current directory to match automake.
2009-01-16 23:39:48 +00:00
Julien BLACHE acc2b0fccf Add a new :scsi keyword for SCSI devices, add support for SCSI devices
in the udev and HAL FDI outputs.
2009-01-13 21:17:16 +00:00
Julien BLACHE e91b604df7 Replace the obsolete SYSFS{} key by the newer ATTR{} key in the udev output. 2009-01-13 21:14:17 +00:00
Julien BLACHE 4cb1d28a35 Group USB devices by vendor in the HAL FDI output. 2009-01-13 21:11:28 +00:00
Julien BLACHE 59f6298630 Replace opencoded device permissions and ownership by proper definitions. 2009-01-13 20:58:55 +00:00
Julien BLACHE 95f01b7244 HAL 0.5.11-rc2 does not support the info.bus property anymore; superseded by
info.subsystem. Unfortunately, this is not backward-compatible, so add a new
"hal-new" mode to sane-desc.
2008-03-28 20:57:59 +00:00
Mattias Ellert 22efa538b7 Fix warnings about ignored --datarootdir 2008-02-03 06:59:36 +00:00
m. allan noah ba5639151d second try committing these 2008-01-18 01:47:47 +00:00