Wykres commitów

64 Commity (7c34046a396045c8e042d80674c6ef1ea880d97d)

Autor SHA1 Wiadomość Data
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
Olaf Meeuwissen 2b973d75fe Add fig2dev as prerequisite for API HTML docs
The target for sane-html depends on sane.dvi which requires fig2dev.

Thanks to:
 - https://lists.debian.org/debian-user/2016/08/msg00484.html
 - http://superuser.com/questions/1101439/error-building-sane-backend-on-debian
2016-09-18 21:31:34 +09:00
Olaf Meeuwissen db22a031d1 Fix typo introduced in fa41b180. Fixes 315435 2016-09-18 21:19:12 +09:00
Olaf Meeuwissen 63b55e2b59 Drop check for sys/bitypes.h
It was obsoleted in 70f3fdf on 2009-02-26.
2016-08-03 22:05:03 +09:00
Olaf Meeuwissen d263f25911 Fix typo
Appears to have been introduced in 0330a4d on 2009-02-02.  There is no
evidence that a scdds.h file has ever existed.
2016-08-03 21:48:54 +09:00
Olaf Meeuwissen 970464f733 Drop unused CPP define
The last reference to it was removed in 5dcf165 on 2007-06-21.
2016-08-03 20:53:06 +09:00
Olaf Meeuwissen 00bc3e9b45 Generate EPS figures too
It's good to know how this is done so that we can modify any original
figure if need be.
2016-07-13 23:40:19 +09:00
Olaf Meeuwissen cc8f99b900 Generate PDF figures explicitly with fig2dev
This utility has less dependencies and supports conversion to a pile of
other formats that may come in handy as well.

Clean up of generated PDF figures has been moved to the clean target as
well.
2016-07-13 23:24:29 +09:00
Olaf Meeuwissen fa41b18001 Refactor API spec conversion support
Unless explicitly asked to do without, all formats for which required
tools are found will be built.  Checks cover PostScript, PDF and HTML.

All logic and files involved are now collected in a single "section"
and grouped in such a way that their function should be clearer.

fixup! Refactor API spec conversion support
2016-07-10 21:53:32 +09:00
Olaf Meeuwissen d7c69d141f Add test for the TeX to HTML converter 2016-07-10 20:53:23 +09:00
Olaf Meeuwissen f322cbc7f9 Add support for PDF API spec output
Note that pdflatex internally uses epstopdf which in turn requires a
working ghostscript.
2016-07-10 15:41:08 +09:00
Olaf Meeuwissen ddbdfd6206 Fix configure time test 2016-07-03 21:11:22 +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 602182931d Improve test shell builtin invocation portability
Looks like I missed this when committing 309a8140.
2016-06-30 21:49:25 +09:00
Olaf Meeuwissen 828cd013e9 Compile getopt replacement functions only if needed
This ought to get rid of the last empty compilation unit warnings.  This
merges libfelib.la with liblib.la.  The former was always used together
with the latter.  The latter was only ever used without the former when
linking backends and tools.

Tools might want to use the getopt functions, backends might just want
to use MD5.
2016-06-30 21:38:04 +09:00
Olaf Meeuwissen a298bfe5a8 Fix AS_IF condition 2016-06-29 22:20:51 +09:00
Olaf Meeuwissen 1c946f7c19 Compile replacement functions only if needed
This ought to get rid of most empty compilation warnings.
2016-06-29 22:14:08 +09:00
Olaf Meeuwissen 61f3fec68e Remove references to SANE CVS
The references in in-file changelogs and the ChangeLog files have not
been modified.  Only those references that refer to current practices
or locations.
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 ec4fe7ec72 Prefer gettext's --disable-nls option 2016-06-26 10:24:29 +09:00
Olaf Meeuwissen c676acbe47 Switch to using the gettext build machinery
This adds two automatically maintained English variants that handle
quote substitution in onrder to provide smart quotes.
2016-06-26 10:24:29 +09:00
Olaf Meeuwissen 43cdc1056a Do not duplicate Warning on output 2016-06-15 20:18:25 +09:00
Olaf Meeuwissen 17d78ab7c3 Fix warnings of "newer" automake versions 2016-06-14 06:06:27 +09:00
Olaf Meeuwissen 7bfa818c57 Set up compiler and linker early and in one place 2016-06-14 06:01:52 +09:00
Olaf Meeuwissen f80cf1dbbd Remove unused SANE_LINKER_RPATH macro 2016-06-14 06:01:17 +09:00
Olaf Meeuwissen e4ad1f58f3 Enable ISO C99 support for more compilers 2016-06-14 05:58:50 +09:00