Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:
$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c
And manually removing the comment from pieusb.c. Everything still builds
fine.
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.
The __sane_unused__ symbol was used slightly more often then UNUSEDARG
and, more importantly, defined in include/sane/sanei_backend.h. That
makes it readily available to virtually all backends.
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).
* backend/sc240.c backend/dc240.h backend/dc240.conf
backend/dc240.desc backend/dll.conf doc/sane-dc240.man:
Added dc240 backend for the Kodak DC240 Digital camera (from
Peter Fales <peter@fales.com>).
* doc/Makefile.in: Added sane-dc240 in section 5.
* backend/Makefile.in: Added dc240.
* configure configure.in: If the jpeg libs are not available,
dc240 is also disabled.
* AUTHORS: Added entry for dc240 and updated email address of
Peter Fales.
* NEWS: First version of the news entry for 1.0.5.
* PROJECTS: Removed dc240. Added Microrec ScanMaker 3600.
* README: Added dc240.
* TODO: Removed dc240. Added entry about keep-alive mechanism in saned.
* sane-backends.lsm: Added dc240.
* testsuite/.cvsignore: New file. Added entry for Makefile.