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.
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).
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
Removed references to sharp backend (grep for "JX"). Check for
HAVE_SYS_SHM_H before including sys/shm.h and disable shared
memory support if necessary. Free devlist allocated in
sane_get_devices() in sane_exit() resolution setting bug fixed
(PC-IN500/4C 10dpi step). Removed resolution list.
* AUTHORS: Added FUKUDA Kazuya for the nec Backend. Used spaces instead
of tabs.
* PROJECTS: Removed entry about NEC. Added/updated entries about Mustek
USB scanners.
* README: Added link to sane-nec(5).
* TODO: Removed entries about sanei_authorize and plain text passwords.
* backend/Makefile.in backend/dll.conf backend/nec.conf backend/nec.c
backend/nec.desc backend/nec.h doc/Makefile.in doc/sane-nec.man:
Added nec backend for the NEC scanners PC-IN500/4C (from Kazuya Fukuda
<fukuda@pjs.nevt.nec.co.jp>)