104 Commits

Author SHA1 Message Date
Olaf Meeuwissen 8ef4a858ae Use URL to refer users to copies of the GPL and LGPL
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.

Re #320.
2021-02-12 17:41:38 +09:00
Olaf Meeuwissen 952023abd4 Drop use of obsoleted autoconf AC_HEADER_STDC macro. Fixes #409
Use of the STDC_HEADER pre-processor macro that the autoconf macro
used to define has been removed.  Conditionalized code is now used
unconditionally.  This should be fine as the macro checks for ANSI
C, i.e. C89 (ISO C90), compliant headers.  We already require C99.
2021-01-01 16:02:52 +09:00
Peter Marschall 59252e1ca5 spelling fixes for sane core 2020-08-29 09:18:04 +02:00
Povilas Kanapickas 5a90f3509c autotools: Remove files generated by autotools from version control 2019-06-01 14:38:36 +03:00
Olaf Meeuwissen 1b406a338a autofoo: Sync generated files
The AX_CXX_COMPILE_STDCXX* macros that were embedded in aclocal.m4
have been replaced with the versions found in the autoconf-archive
package from Debian 9.
2019-05-21 22:14:46 +09:00
Povilas Kanapickas 99def7fdd5 Update generated files 2019-05-11 00:03:26 +03:00
Povilas Kanapickas 924d3a5daf Run autoreconf and automake 2019-03-20 23:09:07 +02:00
Olaf Meeuwissen 3321a50847 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 b5aabfd0e6 Fix array indexing
This fixes a glaring oversight in cedfb2c4.  Thanks to James Ring for
reporting this.
2018-01-04 20:49:26 +09:00
Olaf Meeuwissen be92e7aa12 autofoo: Sync generated files 2017-07-15 22:06:05 +09:00
Olaf Meeuwissen 92a1a29e47 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 5511f3fb8f autofoo: Sync with configure.ac, Makefile.am changes 2017-06-07 22:50:56 +09:00
Olaf Meeuwissen 9faf64b6c8 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
m. allan noah b7fde013c1 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 5407b1d603 autotools: Sync derived files
This was done by running

  autoreconf --force --install

on Debian GNU/Linux 8.8 and reverting the removal of SANE specific
tweaks to ltmain.sh.
2017-05-14 19:48:41 +09:00
Olaf Meeuwissen cedfb2c434 md5: fix [-Wstrict-aliasing] compiler warnings 2016-09-07 21:03:30 +09:00
Olaf Meeuwissen edbce225ce Prefer *our* include/ files
This fixes discrepancies in build results for VPATH builds.
2016-09-07 21:01:26 +09:00
Olaf Meeuwissen d6110847ae md5: fix [-Wpointer-arith] compiler warnings
This reverts commits 62eb94e8ba and
c018e595e6 which fixed a different
compiler warning that seems to have disappeared (at least on the
debian-8-full builds).
2016-08-28 11:59:49 +09:00
Olaf Meeuwissen e417723b82 Sync autofoo 2016-08-03 22:43:06 +09:00
Olaf Meeuwissen 54e0790cb3 Sync autofoo 2016-07-13 23:44:26 +09:00
Olaf Meeuwissen 462a327ab2 Sync autofoo 2016-07-10 21:54:24 +09:00
Olaf Meeuwissen 5ad96e0140 Sync autofoo 2016-07-01 23:45:43 +09:00
Olaf Meeuwissen dcd9b49cd2 Sync autofoo, once again ... 2016-06-30 21:50:33 +09:00
Olaf Meeuwissen ac66d089ce 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 8f44daf18a Sync autofoo
Looks like the sorting of the DIST_COMMON file list is not stable.
2016-06-29 22:21:10 +09:00
Olaf Meeuwissen e807125f91 Sync autofoo files 2016-06-29 22:15:06 +09:00
Olaf Meeuwissen 2f5b8bb65a 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 35303cd8ec 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 bd6f6e8dbc 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 fe720a8bb8 Sync derived files with previous changes 2016-06-26 10:24:29 +09:00
Olaf Meeuwissen 66417cc7a3 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 cb9860f1f5 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 b61bec8aea 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 62eb94e8ba md5: Avoid the need for casting
This also modifies the code slightly to follow the original array
access more closely.
2016-01-08 21:26:31 +09:00
Volker Diels-Grabsch c018e595e6 Introduce md5_set_uint32
This fixes the following GCC warning:

warning: dereferencing type-punned pointer will break strict-aliasing rules
2016-01-08 21:21:30 +09:00
Olaf Meeuwissen 101626e5e8 Drop execute permission
Source code, description files and configuration templates should never
need to be executed.
2015-11-27 21:28:09 +09:00
m. allan noah ab7eea7566 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 d8a27a7b00 Run autofoo for recent changes 2015-09-19 13:39:38 -04:00
m. allan noah 8e6481722b rebuild with automake 1.14.1 2015-08-31 20:58:30 -04:00
Alessandro Zummo 1a7db43c0f Revert "epsonds: enable double feed detection"
This reverts commit 733d41eb05.
2015-04-26 23:09:08 +02:00
Alessandro Zummo 733d41eb05 epsonds: enable double feed detection 2015-04-26 22:44:01 +02:00
Tom Callaway 47c37d6301 update lib/snprintf.c to newer version from LPRng
The old version is licensed under the Artistic License 1.0 which isn't
compatible with the GPL and arguably non-free.

Signed-off-by: Nils Philippsen <nils@redhat.com>
 * fix trailing whitespace
2014-06-05 15:47:57 +02:00
Chris Bagwell 048fe74c55 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
Louis Lagendijk f0f58722fb 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 9632b45d29 Revert "forgot to do autoreconf"
This reverts commit b6c6f7658c.
2012-11-28 21:51:12 -05:00
Paul Newall b6c6f7658c forgot to do autoreconf 2012-11-28 22:11:04 +00:00
Chris Bagwell a8edfc25a8 Add replacement sleep(); mostly for mingw usage. 2011-11-10 19:21:13 -06:00
Chris Bagwell 7f5ca00ad6 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 584dbdbecf 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
Chris Bagwell 390420d250 mingw32 compile fixes
The following updates were made to all directories but backends.
That still needs work. There are also still some pthread issues
and syslog is missing.

 Windows doesn't support SIGHUP or SIGPIPE so make that optional.
 Only include socket header files when sys/socket.h is detected.
 Use winsock.h on windows.
 Only include syslog.h when vsyslog() was detect by configure.
 Skip FD_CLOEXEC when not supported by OS (not defined).
 Only include sys/ioctl.h on platforms that define it.
2011-11-05 11:19:34 -05:00