[sane-devel] [hp5590] PATCH: enhance allowed ADF image height

Ilia Sotnikov hostcc at gmail.com
Fri Feb 25 12:37:16 UTC 2011


Juanito, Manuel,

thanks for your feedback.

Most easiest way is to get SANE backends snapshots from
http://www.sane-project.org/snapshots/, the file will be named
sane-backends-gitYYYYMMDD.tar.gz.

Next, to quickly experiment without touching system libraries, you
could use the following procedure installing SANE backends in a
temporary place:
- unpack them to any directory
- cd to that directory
- apply this patch using 'patch -p1 <  sane-backend-hp5590-adf-height.diff'
- configure && make
- make DESTDIR=<some dir> install. The backends will be installed into
<some dir> - that could be $HOME/tmp or anyhing you prefer
- prepend LD_LIBRARY_PATH to
scanimage/xsane/whatever_frontend_you_prefer to point to that
directory. Eg. (assuming you ran configure with --prefix=/usr/local
and that you installed backends into $HOME/tmp):
LD_LIBRARY_PATH=$HOME/tmp/usr/local/lib SANE_DEBUG_DLL=255
SANE_DEBUG_HP5590=255 scanimage <rest of command line>. SANE_DEBUG_DLL
will give you a chance to see how backends are loaded and you could
verify their locations (should be from $HOME/tmp/usr/local/lib in this
example)
- try to scan from ADF

--
 Ilia Sotnikov



More information about the sane-devel mailing list