Wykres commitów

82 Commity (827c3a049db4391501dda81f2999df8e4d011403)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen f37326784d Merge branch 'ci-tweaks' into 'master'
CI tweaks

See merge request sane-project/backends!125
2019-08-12 09:16:37 +00:00
Olaf Meeuwissen 08bff060f8 CI: Fix make distclean target
Implicit compile dependencies prevent automake from adding dependency
tracking files to the list of files to clean up.
2019-08-11 17:20:47 +09:00
Povilas Kanapickas 6912400cf4 genesys: Move motor profile tables to a single file 2019-08-04 18:21:08 +03:00
Povilas Kanapickas aa4ee9c49e genesys: Split genesys_devices.cc file to separate files for each table 2019-08-04 18:21:07 +03:00
Povilas Kanapickas 6592692448 genesys: Compile genesys_devices.cc as a separate translation unit 2019-08-04 18:21:06 +03:00
Olaf Meeuwissen 6ef288855e Merge branch 'sanei-usb-capture-debug-msg' into 'master'
sanei_usb: Add a way to record debug messages to USB captures

See merge request sane-project/backends!93
2019-08-10 06:06:38 +00:00
Povilas Kanapickas d2653efbd9 sanei_usb: Add a way to record debug messages to USB captures 2019-08-08 20:52:23 +03:00
Povilas Kanapickas aa6bdba74d genesys: Add a way to record debug messages to USB captures 2019-08-08 20:33:49 +03:00
Olaf Meeuwissen 1be824f2c5 Merge branch 'sanei-usb-testing-mode' into 'master'
sanei: Support capture and replay of USB data for testing

See merge request sane-project/backends!55
2019-08-08 14:01:30 +00:00
Povilas Kanapickas 49b94dc09e genesys: Split genesys_low.h into several files 2019-08-02 22:35:16 +03:00
Povilas Kanapickas b9fb97e0f7 genesys: Make serialization of calibration data less error prone 2019-07-23 02:00:42 +03:00
Povilas Kanapickas 0454f42c36 genesys: Report USB errors via exceptions to reduce code duplication 2019-07-06 02:30:08 +03:00
Povilas Kanapickas 22b7fb5105 genesys: Move more error functionality to genesys_error.{h,cc} 2019-07-06 02:10:05 +03:00
Povilas Kanapickas a88b6241cd configure: Add option to enable USB record-replay 2019-06-16 20:46:39 +03:00
Povilas Kanapickas ca051cc227 genesys: Compile library as C++ code 2019-05-11 00:03:26 +03:00
Stanislav Yuzvinsky d62ba623b2 Add new backend ricoh2 2018-09-29 11:16:28 +03:00
Earle F. Philhower, III d90f9054c6 Add JPEG scanning, MB2100/2700 to PIXMA
The Maxify scanners seem to only be able to return JPEG data for ADF
sources.  Attempting to send a gamma LUT will result in an error on
sane_start when trying to use the ADF.  Flatbed scanning is unaffected
and runs fine with LUTs like prior models.

This patch adds support to the PIXMA backend for returned JPEG scans
and keys it off of the new capability, ADF_JPEG.

Tested on a Maxify MB2120 using the ADF and the flatbed scanner.

This may also fix other Maxify MB* models where it seems the ADF does
not with with the prior code, but I only have the MB2120 to test.
2018-05-10 19:11:35 -07:00
Olaf Meeuwissen 519ff57bed install: Make sure configuration files get created before install 2017-08-12 15:03:51 +09:00
Olaf Meeuwissen a2f1cc1c82 libsane: Only depend on and link in the kitchen sink if needed
There is no need to depend on and link in all the various dependencies
for whatever backends *might* be preloaded if none are.  Distributions
habitually rip these out, rightfully so, to reduce the list of package
dependencies.  This will achieve the same while still doing the "right
thing" for builds that do preload one or more backens.
2017-06-07 22:06:05 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Troy Rollo b1f3815014 Add missing math library to HP3500 backend link flags 2016-11-29 21:11:06 +11: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
Alessandro Zummo 9b389a61c5 epsonds: added support for network scanners 2016-06-21 00:44:29 +02:00
Olaf Meeuwissen 5695d01077 Silence overly verbose targets
This only takes effect with silent rules enabled.
2016-06-15 20:23:33 +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
Alex Belkin 926bfade54 Color scanning for Samsung models, which support JPEG Lossy compression.
Patch is submitted by Laxmeesh Onkar Markod <m.laxmeesh@samsung.com>

Patch to code is applied almost verbatim, except, insignificant
formatting fixes and making new functions static.

Also, new USB ids added and scanner support is changed as reported.
2016-05-07 22:33:03 +03:00
m. allan noah e6a249e042 revert mustek_usb2 backend upgrade
Instead of 100+ revert commits, I've lumped everything into a
single commit. This removes all of dedf0ac30 through db7f038f1,
plus the parts of 497d59180 which were specific to mustek_usb2
2015-11-12 21:10:49 -05:00
Jan Hauffa da64a1fc1e First hack to build mustek_usb2* source files separately. 2015-11-08 16:54:45 -05:00
m. allan noah b4bc0eb518 canon_dr backend v53
replace image processing methods with sanei_magic
2015-11-06 11:46:17 -05:00
m. allan noah 56e69f0998 added kvs1025.conf.in and utsushi.desc 2015-10-05 08:21:39 -04:00
Olaf Meeuwissen e8586d8364 Use SNMP compiler flags and libraries only where needed
The compiler flags would take effect for every single compilation unit
and the libraries would be linked to every single backend/executable.
2015-09-28 21:16:07 -04:00
Olaf Meeuwissen 20a0ed547e [epson/epson2] Use separate lists of supported USB devices
The epson and epson2 backends shared a list of supported USB devices
generated from the epson2.desc file.  The epson backend doesn't even
claim to support a large number of the devices listed there.   This
change makes the backends use their own lists, generated from their
own *.desc files.
2015-09-19 13:39:37 -04:00
Niels Ole Salscheider e47cb8d2b4 Do not use STRINGIFY for LIBDIR but pass "LIBDIR" from build system 2015-08-31 20:31:54 -04:00
Klaus Kämpf 5337625f3a New backend pieusb
This commit adds support for (slide) scanners based
on Pacific Image Electronics (PIE) oem scan hardware.

It is known to match the following USB scanners

  PIE PowerSlide 3600       Untested
  PIE PowerSlide 3650       Untested
  PIE PowerSlide 4000       Untested
  PIE PowerSlide 5000       Untested
  Reflecta CrystalScan 7200 Untested
  Reflecta ProScan 7200     Untested
  Reflecta DigitDia 4000    Untested
  Reflecta DigitDia 5000    Untested
  Reflecta DigitDia 6000    Ok

The backend is based on work by Jan Vleeshouwers and Michael Rickmann.

Special thanks to Stéphane Voltz for the code review.

Add pieusb to backend/Makefile.am
Add pieusb to doc/Makefile.am
Add missing sanei/sanei_ir.c, sanei/sanei_ir.h, adapt Makefile.am
configure.ac: Add 'pieusb' to ALL_BACKENDS
ChangeLog: Add pieusb as new backend
Mark infrared functions as internal: sane_ir_* -> sanei_ir_*
sanei/sanei_ir.c: fix memory leaks
pieusb: rename cmdGetMode and cmdSetScanHead
	... to their sanei_pieusb_cmd_... equivalent
pieusb: rename definition_list_head to pieusb_definition_list_head
Add pieusb to AUTHORS
pieusb: copyright 2012-2015
pieusb: don't include sanei_thread.h
2015-08-31 21:07:12 +02:00
Alessandro Zummo d72f4663c0 epsonds: driver for Epson ESC/I-2 scanners 2015-04-07 00:20:43 +02:00
Stéphane Voltz 0897a60c60 genesys backend update
- groundwork for gl846 support
- asic init rework
- several refactors
2013-01-28 22:04:37 +01:00
Paul Newall f31002ed06 kodakaio changed to use avahi for net discovery 2012-11-28 21:35:36 +00:00
m. allan noah 206e6ed094 Adding new kodakaio backend 2012-06-30 21:28:14 -04:00
Nils Philippsen 4911e3e1a0 fix install-lockpath target
Actually, current mkinstalldirs can't set users or groups anymore. Don't
attempt to do so.
2012-02-11 19:44:53 +01:00
Nils Philippsen 7de900d057 improve install-lockpath target
Make install process robust against problems with setting group on the
sane lock directory. This can e.g. happen if packaging sane-backends and
building as a user other than root.
2012-02-11 19:06:44 +01:00
m. allan noah 1da5bcc2aa Updated Pixma backend from Gernot Hassenpflug. 2012-01-14 21:48:19 -05: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
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
Reinhold Kainhofer 6a7888ef26 New backend: magicolor (for KONICA MINOLTA magicolor devices)
-) LAN and USB communication
-) SNMP LAN auto-detection (using libsnmp, added configure check!)
-) Based on the epson2 backend, with many structural changes
-) B/W, Gray, Color scanning works in 150/300/600dpi (full-page
   color scan only possible with <=300dpi)

-) The timeouts (SNMP, scan data, other data) are configurable in the
   magicolor.conf file

-) Keeps list of known scanners in sane_get_devices, does not destroy
   existing handles; Also correctly calls sanei_usb_init.
2011-01-15 22:10:34 +01: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