Wykres commitów

89 Commity (master)

Autor SHA1 Wiadomość Data
Ralph Little 8096f84a6f Merge branch 'lexmark_X2670_backend' into 'master'
Lexmark x2600 backend

See merge request sane-project/backends!769
2023-12-10 18:36:08 +00:00
Ralph Little bb8155804c configure.ac: Fixes to remove #define redefinitions from config.log
Involves a simple rearrange for some clauses to avoid #define
duplication in the config log.
2023-11-14 09:46:11 -08:00
Benoit Juin ba3fd1dc4c remove new line 2022-11-24 17:36:37 +01:00
Benoit Juin ccfc476a07 Prepare backend build files 2022-11-24 12:08:29 +01:00
Ralph Little c0e966b21e configure: corrected issue in Makefile.am and removed noinst build of umax_pp tool
Currently, there is no way to disable the build of the umax_pp low level
sources because the tool umax_pp is *always* built. Some platforms
cannot build the umax_pp low level code so this causes problems.
2022-07-22 09:10:46 -07:00
David Ward 9e1819c3f7 configure: Use PKG_CHECK_MODULES to detect Net-SNMP
The output of "net-snmp-config --cflags" can contain optimization flags.
These might not be applicable to the current compiler, causing warnings.

Use PKG_CHECK_MODULES to check for Net-SNMP and obtain the compiler and
linker flags instead, in the same way as for libcurl or poppler-glib.
2022-04-26 02:12:25 -04:00
David Ward 12560890a6 Fix header file used for poll()
POSIX specifies the header to include is <poll.h>, not <sys/poll.h>.
This results in a compiler warning with musl libc (on Alpine Linux).
2022-04-21 23:37:33 -04:00
Olaf Meeuwissen fea0ccca1e
Build genesys testsuite only when backend is build. Re #354 2021-02-07 16:25:30 +09:00
Olaf Meeuwissen c28c9843ed
Use git-version-gen to inject a version
This fixes builds from tarballs without a .git directory.

Fixes #248
2021-02-07 14:46:47 +09:00
Gerhard Jaeger b0655dc03e Fix issue with '--enable-locking': Do not require sub-directory for locking. 2021-01-07 12:34:34 +01:00
Your Name 924dcf0731 Lower minimum python version required to 2.7 2020-09-14 15:44:36 +01:00
Your Name 0f7ce3fe7a Do not use fixed python executable name and use AM_PROG_PYTHON
On many systems now python executable it is python3.
On my system it the case and by this muild failed with:

make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/backends-1.0.31/backend'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/backends-1.0.31/backend'
Generating pixma/pixma_sane_options.h from pixma/pixma.c
/bin/sh: python: command not found
make[2]: *** [Makefile:7317: pixma/pixma_sane_options.h] Error 127
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/backends-1.0.31/backend'
make[2]: *** Waiting for unfinished jobs....

Using AM_PROG_PYTHON() nmacro cllows avoide tha by hecks current version of the
python and allw to use custom python executable by execute configure by:

$ PYTHON=</some/python> ./configure <params>

AM_PROG_PYTHON aclocal macro propagates to automake files $(PYTHON) variable
which could be used on geberate instaleable scripts on duting build process like
it is now in backend/Makefile.am.

Currently minum version of required vesion of the python is python >= 3.
2020-09-13 20:17:43 +01:00
Olaf Meeuwissen 262e32ce59
configure.ac: Remove maintainer mode
Now that we no longer include generated files in our git repository
builds should always have maintainer mode enabled so checkouts pick
up on changes in Makefile.am, configure.ac, etc. between builds.

See #350.
2020-09-13 16:34:05 +09:00
Olaf Meeuwissen 30b7e31eac
configure.ac: Remove stale release versioning comment 2020-09-13 16:34:05 +09:00
Peter Marschall 2ad63d4e1e spelling fixes for sane core 2020-08-29 09:18:04 +02:00
Olaf Meeuwissen e18242108e v4l: Drop kernel interface from v4l.h
It has been included in libv4l1.h since 0.8.3.
2020-05-05 16:15:13 +09:00
Olaf Meeuwissen f8193494ad Merge branch 'newyearsbranch' into 'master'
canon_lide70-sequel

See merge request sane-project/backends!315
2020-04-04 04:35:45 +00:00
Olaf Meeuwissen 00a7fd8f00 Add linker flags for JPEG library when checking for functions 2020-03-23 21:59:41 +09:00
Olaf Meeuwissen f5af34e75f Add checks for newer JPEG API used by the escl backend. Fixes #243
The backend is excluded from the build if this API is not available by
SANE_CHECK_BACKENDS.
2020-03-17 20:44:40 +09:00
Olaf Meeuwissen 82515511a6 Merge branch 'master' into '224-enable-avahi-support-by-default'
# Conflicts:
#   .gitlab-ci.yml
2020-03-14 09:03:31 +00:00
Ordissimo 5dcd770e5e .gitlab-ci.yml: Revert poppler related changes
The Docker images used by CI have been updated to include the required
packages.
2020-03-14 09:01:17 +00:00
Olaf Meeuwissen f4b7e22bc0 Enable Avahi support by default if possible. Re #224
This eases building of the escl backend and aligns configure time
behaviour with other --with-* options.
2020-03-14 14:59:39 +09:00
pimvantend 04fc970b2e Merge branch 'master' of https://gitlab.com/sane-project/backends into newyearsbranch
resolve po/POTFILES.in
2020-03-10 20:09:49 +01:00
Olaf Meeuwissen 2db06a272e Remove SANE Standard build support 2020-03-02 20:19:07 +09:00
pimvantend ebd45d4cf8 canon_lide70
adding/modifying twelve files to provide the new canon_lide70 backend
2020-01-04 16:18:57 +01:00
Touboul Nathane 7c34046a39 Add escl backend 2019-12-14 08:13:54 +00: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 a8a5f58f21 genesys: Add tests for serialization of calibration data 2019-07-23 02:00:44 +03:00
Povilas Kanapickas f8f90f8b98 configure: Make --with-usb-record-replay opt-in rather than opt-out 2019-06-30 22:31:14 +03:00
Olaf Meeuwissen bf00b9f49c Use git to put a version in configure
CI has been using this for a long time.  Now that generated files are
no longer in the repository, new clones require autotools already and
adding a git requirement doesn't seem like a big burden.
2019-06-25 21:54:37 +09:00
Olaf Meeuwissen f901462f99 Fix AS_CASE clause matching
See https://alioth-lists.debian.net/pipermail/sane-devel/2019-June/036809.html
2019-06-19 21:12:51 +09:00
Povilas Kanapickas a88b6241cd configure: Add option to enable USB record-replay 2019-06-16 20:46:39 +03:00
Olaf Meeuwissen 6d95bc191f Drop unneeded C++ compiler flag additions to AM_CXXFLAGS. Re #92
The AX_CXX_COMPILE_STDCXX_11 macro takes care of doing so if needed
already.
2019-06-16 21:43:18 +09:00
Olaf Meeuwissen e2d89c1ab3 Expand AM_CXXFLAGS in our Makefiles. Fixes #84 2019-05-21 22:14:46 +09:00
Povilas Kanapickas b93340b862 Enable C++ in autoconf 2019-05-11 00:03:26 +03:00
Stanislav Yuzvinsky d62ba623b2 Add new backend ricoh2 2018-09-29 11:16:28 +03:00
Olaf Meeuwissen c6bfe88c31 Update mailing lists addresses to new location 2018-04-18 21:36:00 +09:00
Olaf Meeuwissen c8d8f05256 Bump autofoo dependencies to match those present in Debian 9
This gets rid of the warning that AM_PROG_MKDIR_P is deprecated and
should be replaced with AC_PROG_MKDIR_P warning.
2018-03-17 10:35:57 +09:00
Olaf Meeuwissen f18ab2e2a2 plustek-pp: Replace sys/signal.h include with signal.h
All other backends already `#include <signal.h>` directly, without any
configure time checking or problems.

Fixes [-Wcc] compiler warning on Alpine.
2017-07-15 22:48:29 +09:00
Olaf Meeuwissen 54627bdeac lib/isfdtype.c: Remove badly broken substitute
The substitute completely ignores the fdtype argument and only works
correctly for S_IFSOCK values.  This happened to be the only way the
function was invoked but for safety's sake this has been replaced by
a local implementation that does pretty much the same thing, without
the misleading bit.

Found courtesy of a [-Wunused-parameter] compiler warning on Alpine.
2017-07-15 21:58:51 +09:00
Olaf Meeuwissen e7d9779dfc CI: Build `git describe` versioned snapshot tarballs
This:
 - modifies `configure.ac` to get a version number courtesy of `git`
   when `autoconf` is run
 - runs a `make dist` when all compilation targets succeed
 - makes the resulting tarball available as a build artifact
 - renames the various pipeline stages
2017-06-17 12:38:21 +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
m. allan noah 35dc4426d2 Open repo for 1.0.28 development 2017-05-22 21:08:33 -04:00
m. allan noah 82cd8f245c SANE-backends release 1.0.27
Moved old changelogs to new directory, and excluded them from
release tarball.

Improved release docs.

Updated config.* files

Bumped version numbers.

Wrote release notes.
2017-05-22 11:16:40 -04:00
Olaf Meeuwissen 09cf70563a configure.ac: Fix condition 2017-05-13 16:34:38 +09:00
Olaf Meeuwissen 6ffeb90973 Fix test for API specification generation
If none of the formats can be generated but API specs are requested,
bomb.  The original test aimed to do so but was testing against "no",
a value that was never assigned.
2017-05-06 20:40:25 +09:00
Paul Newall e0741f71e2 deleted a line in configure.ac. This was a commented out line left from when the backend kodakaio used CUPS to autodetect printers. 2017-04-30 18:09:59 +01:00
Olaf Meeuwissen 078435eaf1 Fix typo 2016-12-17 17:06:25 +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