Wykres commitów

227 Commity (c5730be96b93b94c0364f66b380845602ddc014a)

Autor SHA1 Wiadomość Data
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
m. allan noah bc1a14518b Updates for recent genesys changes 2013-01-31 09:41:16 -05: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 ed7a5f227d use automake instead of autoreconf so libtoolize is not run 2012-11-28 21:51:12 -05: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
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
m. allan noah 1da5bcc2aa Updated Pixma backend from Gernot Hassenpflug. 2012-01-14 21:48:19 -05: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 db068dd6b1 complete preload linking fix.
dll.c is were optional preload behavior is implemented.
Since its linked in using a convienence library, we need
to libraries to have different behavior.
2011-11-08 20:06:30 -06:00
Chris Bagwell 0a6d41ff59 Add missing sanei_magic.lo to libsane backend.
At least Fujitsu backend uses it so needed to be able
to run "configure PRELOADABLE_BACKENDS=fujtsu".
2011-11-07 19:29:38 -06:00
Chris Bagwell 1dd768d534 Do not link in preload backends for libsane-dll
Current backend/Makefile.am states difference between libsane and
libsane-dll as:

> libsane.la and libsane-dll.la are the same thing except for
> the addition of backends listed by PRELOADABLE_BACKENDS that are
> statically linked in.

We were (mistakenly) linking in dll-preload.h and thus symbols
for all preload backends for both libraries but we were only
linking in those symbols for libsane.

This mistake became obvious on mingw which does not allow for
any unresolved symbols.  Resolve by forcing an empty preload
backend list for libsane-dll.
2011-11-06 16:39:06 -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
Stéphane Voltz 11d8819768 genesys code cleanup
- create an include file for genesys_gl841.c
- simplify includes
- cleanup warnings
2011-11-02 08:40:25 +01:00
m. allan noah e4f634d68e add support for sanei_magic to kvs1025 backend 2011-06-06 20:52:25 -04:00
m. allan noah 483b0dc488 adding new kvs40xx backend 2011-06-06 14:28:55 -04:00
Stéphane Voltz 1891efebfe add sanei_magic to libsane dependencies
- add sanei_magic to libsane dependencies to fix problems
  in cygwin static build
2011-03-15 06:16:18 +01:00
m. allan noah 40e40989d9 rebuild autofoo for magicolor and snmp support 2011-01-18 21:31:13 -05:00
Chris Bagwell e2463c9ca3 Add SOCKET_LIBS to xerox_mfp since it uses sanei_tcp
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2011-01-03 10:55:35 -06: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
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
Stéphane Voltz e084a04fcf working software cropping 2010-09-09 06:20:44 +02:00
Stéphane Voltz 5810169cde first gl843 steps
- clone gl847
- add KV-SS080 entry with provisional values
2010-08-02 06:36:26 +02: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 3e669884bb Various Makefile corrections for genesys_gl847, po files and Changelog 2010-06-09 09:17:40 -04:00
Stéphane Voltz 587cc576f4 add gl847 compilation 2010-05-13 07:12:00 +02: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 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 07cd144f72 Add new kvs1025 backend from Panasonic Russia, Ltd. 2010-02-12 22:06:36 -05:00
chris@cnpbagwell.com 073385cdc9 add new genesys_gl646.h to SOURCES
so that it will be distributed in tar file.
2009-09-29 20:31:13 -05:00
chris@cnpbagwell.com ed87a34f5b add missing sanei_pio to gcam backend library.
Fixes compile error on some embeded linux boxes.
2009-09-29 19:37:22 -05:00
m. allan noah 4c4ecb3bab Fujitsu backend v97 image processing functions
use sanei_magic to provide software deskew, autocrop and despeckle
2009-09-14 13:13:31 -04:00
m. allan noah 0ea4d7bc4b canon_dr backend version 33, brightness/contrast and despeckle support
- add software brightness/contrast for dumb scanners
- add blocking mode to allow full-page manipulation options to run
- add swdespeck option and support code
- add swdeskew and swcrop options (disabled)
2009-07-23 10:57:48 -04:00
m. allan noah 4a91ba9e8f Merge branch 'master' of ssh://kitno-guest@git.debian.org/git/sane/sane-backends 2009-06-22 23:10:35 -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
Alessandro Zummo 3730e34c91 epson2: added support for color correction profiles
Color correction profiles have been imported from the epkowa driver.
The user can specify his own or let the backend choice. The
feature is not enabled by default.

This feature is in beta stage, works only for color scans
and automatic mode.

Enable with --color-correction 'Automatic'
2009-06-22 22:43:07 +02:00
Alessandro Zummo 728e032a5a epson2 reorganization
Some subroutines have been moved from epson2.c to epson2-ops.c and
there's also a temporary fix for the networking code.
This is work in progress but should work.
2009-06-02 01:03:33 +02:00
Chris Bagwell 41a6a5d7cd Fix and cleanup PTHREAD linking.
Add in missing $PTHREAD_LIBS to all backends that can make use of it.
Rename --enable-fork-process to --enable-pthread to maatch internal
logic.  Also, stop linking in pthreads needlessly if its been
disabled.
2009-05-04 21:01:42 -05: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
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 135ac7d1ac * m4/byteorder.m4: Delete temporary file in all cases.
* backend/Makefile.am, japi/Makefile.am: Use BUILT_SOURCES
instead of dependency so that files are not compiled
during "dist" target.
2009-03-01 04:34:44 +00:00
Chris Bagwell df7839f587 * configure.in, m4/stdint.m4: Update to latest version to
get latest fixes and use logic to not recreate _stdint.h if
no changes (to prevent unneeded recompiles).
* m4/byteorder.m4: Added support to reuse existing byteorder.h if
no changes to prevent timestamp causing a recompile.
2009-02-25 03:55:33 +00:00
m. allan noah 597bdcd400 * backend/Makefile.am, backend/xerox_mfp.conf.in: should use conf.in 2009-02-24 17:49:02 +00:00
Chris Bagwell 37bdd088dc * backend/Makefile.am: Add back in deletion of $(sanelibdir)/libsane.*
for buggy libtools.  Add some minor documentation.
* doc/backend-writing.txt: Add minor document updates to reflect
conversions to automake.
2009-02-24 02:47:44 +00:00
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 be3f46204b * po/Makefile.am, configure.in: convert remaining directory,
po, to use automake.
2009-02-21 22:45:14 +00:00