Wykres commitów

310 Commity (8c062e89f4ad8356ecdec86742110c27422793f7)

Autor SHA1 Wiadomość Data
Rolf Bensch 54a6c5cea8 scanner group access with and without acl support 2012-04-20 21:38:47 +02:00
Ruediger Meier 0e3d873624 build fix, use the right scsi header on win32
Now we are using either ddk/ntddscsi.h or ntddscsi.h and even don't
stop if we have none of them.
2012-01-21 22:16:50 -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 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
Nils Philippsen 26ea2a2569 use pkg-config in sane-config
As we require pkg-config anyway, simply let sane-config use it to make
it compatible with multilib systems. Previously, sane-config contained
paths which were different on e.g. x86_64 and i386 which made the 64 and
32 bit versions conflict if installed in parallel.
2011-09-16 13:11:32 +02:00
Julien BLACHE ed0d09f863 Add wildcard for some Epson scanners 2011-06-24 22:13:07 +02:00
Julien BLACHE a4643d888e Fix infinite loop in walking the SCSI scanners list 2011-06-24 22:10:55 +02:00
Julien BLACHE 9441b1cdfe Add udev+acl output mode, udev rules using ACLs
Use ACLs for the scanner group instead of making the device root:scanner
with permissions 0664; designed to help with MFPs and play nice with
ConsoleKit.
2011-06-02 11:05:30 +02:00
Julien BLACHE cd376be4af Use power/control instead of power/level if available 2011-03-19 17:51:10 +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
Stéphane Voltz 3d89a6f880 add new gl124 asic
create a place holder for low level commands

move low level functions to genesys_low.c

GL124 progresses

enable genesys_low debug and add DAC for LiDE 110

gl124 WIP
- gl847 cleanups
- genesys_low refactor
- gl124 starting version

GL124 WIP
- read scancnt/fedcnt,valid words coded
- memory layout coded

LiDE110 WIP

GL 124 WIP
- definition and use of get/set double/triple
- define register names

all mods done, ready to test

set fe OK

GL124 WIP : ready to test scans

GL124 WIP

GL124 WIP
- fixed analog fe issue: don't put afe regs in global set

GL124 : first light at 300 dpi

GL124 WIP
- 300 and 600 uncalibrated mostly ok (x coordinate rounding)
- 150 and 75 OK x-wise, y to be solved

solved rounding errors for gl124

re-add 400, 200 and 100 dpi modes

GL124 : tous x dpi OK

before adding line cropping

GL124 : line cropping almost finished

GL124 WIP : working line deletion

compute step rework

GL124 WIP : high speed table for dpi <= 300

move to scan area working

line skipping fix

new slope table for 600 dpi base

geometry and movement tuned

GL124 WIP : shading calibration almost working

working 600 dpi shading

GL124 : working shading calibration for all modes but 1200 dpi

working 1200 dpi shading

beta 1 of GL124 support

last tuning

update genesys.desc for LiDE 110

motor slope and start area tuning

shading coefficient computing clean up

add support for GL124 based CanoScan LiDE 110

feed almost OK up to 300 dpi

feeding is fixed

all issues fixed
2010-12-14 18:23:23 +01:00
Alessandro Zummo 2f3300b4d1 epson2: added tool to generate device list 2010-12-12 16:19:51 +01:00
Alex Belkin 842c98d204 Added Samsung SCX-4500W scan over network support for xerox_mfp backend (by Alexander Kuznetsov).
autoconf and automake reconfigure.
2010-09-30 15:11:56 +04:00
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