Wykres commitów

425 Commity (brother_mfp_backend)

Autor SHA1 Wiadomość Data
Simon J Mudd 37bbbed3cb check-po.awk: Fix minor typos 2018-09-30 20:48:52 +02:00
Olaf Meeuwissen c6bfe88c31 Update mailing lists addresses to new location 2018-04-18 21:36:00 +09:00
Olaf Meeuwissen a78969384b autotools: Sync derived files
This was done by running

  libtoolize --copy
  autoreconf --force --install

on Debian GNU/Linux 9.3.
2018-03-17 10:35:57 +09:00
Olaf Meeuwissen 9b0db823ed Make absolute URLs in the sane-desc HTML output site-relative 2018-03-07 21:38:56 +09:00
Edward Betts e895ee55be sane-find-scanner: Recognize --help as a valid option 2017-12-05 22:07:26 +09:00
Olaf Meeuwissen bdba3cc073 tools/umax_pp: Fix [-Wunused-variable] compiler warning
The file descriptor is only used in code conditionalised on the
HAVE_LINUX_PPDEV_H preprocessor define.
2017-07-18 20:50:28 +09:00
Olaf Meeuwissen a06e9a4075 Script updating of upstream files 2017-06-12 20:53:53 +09:00
Olaf Meeuwissen baec9c4e26 autofoo: Sync with configure.ac, Makefile.am changes 2017-06-07 22:50:56 +09:00
Olaf Meeuwissen 828f1a3949 style-check: skip directories, sanitize file names
When generating lists of files with `find`, directories may get output
if you try to prune paths and it has a habit of prefixing paths with a
leading `./`.
2017-06-02 21:13:34 +09:00
Olaf Meeuwissen ba8e76d937 .editorconfig: add script to check and fix style issues
The various checks cover all settings in the `.editorconfig` file.
The `--fix` support, however, does not attempt to correct charset
issues because the encoding cannot be determined automatically.

Note that image files as well as generated files in the repository
are exempted from all style checks.
2017-05-31 21:34:59 +09:00
Olaf Meeuwissen 01c5dbc82b .editorconfig: Fix sane-desc tool to match cleaned up references
Changes to the test reference files should not, famous last words ;-),
have any effect on the use of the tool's actual outputs.

Note that the tests use a "concocted" `testfile.desc` as their input.
2017-05-30 22:39:30 +09:00
Olaf Meeuwissen f0f187f995 .editorconfig: trim trailing blank lines 2017-05-29 21:14:30 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Jörg Frings-Fürst e21bb28e50 Source code string typo fixes 2017-05-13 18:38:43 +09:00
Olaf Meeuwissen 490c4501c7 Sync autofoo 2016-09-25 17:04:23 +09:00
Olaf Meeuwissen da49686efe sane-find-scanner: disable USB if not supported
This fixes a [-Wpedantic] compiler warning about ISO C forbidding empty
translation units.  The check-usb-chip.c file reduces to such a file in
the case USB support was explicitly disabled or no usable library found.
2016-09-25 17:00:54 +09:00
Olaf Meeuwissen bfd1626c4b Sync autofoo 2016-07-13 23:44:26 +09:00
Olaf Meeuwissen 2481e1e98b Sync autofoo 2016-07-10 21:54:24 +09:00
Olaf Meeuwissen d62d0a2e45 check-po.awk: fix awk invocation
The awk utility has been moved to /usr/bin and the script relies on
features present in gawk but not in mawk.
2016-07-06 20:23:12 +09:00
Olaf Meeuwissen c962368626 Sync autofoo 2016-07-01 23:45:43 +09:00
Olaf Meeuwissen a9c813944e Make libusb-1.0 the default for USB support
When libusb-1.0 is not found, libusb-0.1 will be tried.  On BeOS and
OS2, nothing should have changed in terms of detection of USB support.

On all systems the --enable-libusb* flags are now ignored.  Instead, the
--with-usb and --without-usb flags now control support.  When neither is
given USB support will be enable if possible and disabled otherwise.  If
--with-usb is requested but not possible, ./configure will fail.  There
is no support to prefer libusb-0.1 over libusb-1.0.
2016-07-01 23:44:37 +09:00
Olaf Meeuwissen f03f1f66d4 Sync autofoo files 2016-06-29 22:15:06 +09:00
Olaf Meeuwissen 0c2b86ac0b Fix distcheck issues in tools/
Automake is smart enough these days to compile the *.lo files that are
used when linking.

The umax_pp_CPPFLAGS are useless because backend/umax_pp_low.c undefines
BACKEND_NAME unconditionally and sets it to what was passed here ;-)
2016-06-27 22:40:20 +09:00
Olaf Meeuwissen 81f9557966 Clean up .gitignore file content
Removes empty lines and duplicates (note that .gitignore patterns are
recursive unless anchored with a leading /).
2016-06-27 22:40:20 +09:00
Olaf Meeuwissen cb4924f210 Stop distclean from removing files willy-nilly
The distclean target should only remove files that make creates.  If
there are any that need taking care of, they should be added in on a
per file basis in the Makefile.am that creates it.
2016-06-26 10:24:30 +09:00
Olaf Meeuwissen 8274a52eec Sort .gitignore files 2016-06-26 10:24:30 +09:00
Olaf Meeuwissen bdade6bb07 Sync derived files with previous changes 2016-06-26 10:24:29 +09:00
Olaf Meeuwissen d853463ef1 Sync derived files
This was done with

  AUTOMAKE="automake --add-missing --copy" autoreconf --force

on Debian GNU/Linux 8.5.
2016-06-14 06:30:48 +09:00
Olaf Meeuwissen 16497dc138 Replace convenience variable by its expansion 2016-06-14 05:54:08 +09:00
Olaf Meeuwissen 87e12bbf2e Sync derived files with autoreconf --force
For the record, this was done on Debian GNU/Linux 8.5.
2016-06-13 22:24:21 +09:00
Olaf Meeuwissen 2d6fad58b4 Respect GNU Standards user variables
Several variables are considered "user variables" by the GNU Standards.
This means that the user can pass these to their ./configure and make
invocations as they see fit.  These variables include CPPFLAGS, CFLAGS
and LDFLAGS.

This changeset pushes our use of these variables to the automake shadow
variables, AM_CPPFLAGS, AM_CFLAGS and AM_LDFLAGS, so that user variables
will no longer clobber flags required in order to build.
2016-06-13 22:03:14 +09:00
Olaf Meeuwissen 7a2b112d20 Prefer make variables over literal substitutions
The AC_SUBST and PKG_CHECK_MODULE invocations in configure.ac as well as
acinclude.m4 are sufficient to trigger automake to insert initialization
logic for the variables these introduce.  There is no need to do this by
hand.  Wherever these values are needed, it is better to use a variable.
This allows for one-off overrides on the make command-line (without the
need to run ./configure) for one thing.
2016-06-13 21:50:36 +09:00
Olaf Meeuwissen 2745528b60 Fix non-POSIX automake file variable warning
This addresses warnings about the use of the $(wildcard) function.
It has been replaced by a plain shell glob.  There is one case where
this will result in an error, when there are no matches, but that is
when the targets that use it make no sense.  It is probably good to
get an error in that case.
2016-06-13 21:49:24 +09:00
Volker Diels-Grabsch 6aced758f4 Fix typos in comments
While reading through the SANE sources I noticed some annoying typos
in the comments.  This patch is my contribution to make the SANE
sources slightly more pleasant to read.
2015-12-20 14:43:56 +09:00
m. allan noah 497d591806 automake for recent changes
updates to mustek_usb2, canon_dr and umax_pp require automake run
2015-11-08 17:17:37 -05:00
Thomas Klausner a4cc05f677 Add DragonFly BSD support to sane-find-scanner (fixes 315206) 2015-11-08 18:56:49 +09:00
Olaf Meeuwissen 32c25b8b82 Fix duplicate automake file variable initialization issue
This was introduced in 74c00494.
2015-10-27 21:37:04 +09:00
m. allan noah 2ecf18f6fb autoheader and automake
After recent PNG and SNMP changes, need to run autoheader and automake
2015-10-02 21:53:14 -04:00
m. allan noah 87bfd53512 Run autofoo for recent changes 2015-09-19 13:39:38 -04:00
Olaf Meeuwissen 74c00494b6 Install umax_pp backend tools if the backend is built 2015-09-19 12:02:57 -04:00
m. allan noah 7566619e53 rebuild with automake 1.14.1 2015-08-31 20:58:30 -04:00
Yuri Chornoivan 648d933c56 Fix minor typos in messages and comments 2015-08-31 20:31:54 -04: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
Gerhard Jaeger ec4675d4c1 Add LM983x usb chip detection when compiled for libusb-1.0. 2014-01-09 10:59:13 +01:00
Nils Philippsen 758731489d sane-desc: fix faulty udev logic for SCSI devices
SUBSYSTEMS!="..." seems to always match, i.e. skip the SCSI-specific
rules.
2013-11-20 21:49:58 +01:00
Nils Philippsen 66cb9b55c2 remove code which is never reached 2013-11-05 14:47:27 +01:00
Nils Philippsen 3b96baef65 sane-desc: fix udev hwdb generation
Generated hwdb files listed the vendor ID instead of the product ID
which made udevd not recognizing scanner devices as such. Thanks to
Fabrice Bellet who spotted the problem.
2013-10-24 14:22:17 +02: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 77a7cc4443 changelog entry for hwdb patch, minor cleanups, copyright notice 2013-08-02 22:51:58 +02:00
Tom Gundersen 3087a5efb5 sane-desc: add support for udev's hwdb
udev now comes with a hardware database (hwdb) which is meant to replace large
rule files as the one typically shipped with sane. This should significantly
speed up the processing of usb add events.

Add the required output format and add a special udev output mode which is
produces the udev file to be used with hwdb.

Sample hwdb file: <https://dev.archlinux.org/~tomegun/20-sane.hwdb>.
Sample udev+hwdb rules file:
                       <https://dev.archlinux.org/~tomegun/53-sane.rules>.

Similar support was recently added to gphoto2:
                            <http://sourceforge.net/p/gphoto/code/14490/>.

The new udev rules file does not support old udev/kernels as these anyway
don't support hwdb.

Moreover, it does not come with GROUP=/MODE= or ACL support as this can easily
be done externally by hooking into the libsane_matched envvar. In particular
systemd-logind uses this to do its own ACL handling.
2013-08-02 22:18:11 +02:00
Stéphane Voltz de75a1b9c0 add GL128 detection 2013-06-10 21:57:40 +02:00
Stéphane Voltz f462ab59d1 add GT-6801/6816 chip detection 2013-06-10 21:57:40 +02:00
Stéphane Voltz 4bc8ce9b8b cleanups and final version 2013-06-03 20:59:43 +02:00
Stéphane Voltz 3af775de44 make GL646 detection work again
- add GL646 detection
- don't close USB handle before probing chip so we avoid opening it again
2013-06-03 20:59:43 +02:00
Stéphane Voltz 2f4a54809d gl646 detection 2013-06-03 20:59:43 +02:00
Stéphane Voltz ede1d1083d add USB chip probe in libusb-1.0 case
- added check_usb_chip()
- add genesys usb chip check
2013-06-03 20:59:43 +02:00
Stéphane Voltz ac5f65e7b1 add GL845 detection 2013-06-03 20:59:43 +02:00
Gerhard Jaeger 69a2ec6801 Fix another bug in the libusb1 part of functioin check_libusb_device()
that prevents sanner detection for certain devices.
2013-02-22 09:07:32 +01:00
Gerhard Jaeger 74eb71fa19 Setup libusb1 debugging after initialization
otherwise a segfault appears in triple -v mode.
2013-02-20 08:24:52 +01:00
Stéphane Voltz e7804700f6 minor fixes to sane-desc.c
- memleaks on error paths
- whitspaces at end of line
2013-02-11 07:55:43 +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
m. allan noah 77c4ea1a7a Various cleanups for release 2012-07-24 21:17:15 -04:00
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