REM cvs -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/sane login
REM Just hit enter
cvs -z3 -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/sane co sane-backends
cvs -z3 -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/sane co sane-frontends
REM.
sane-backends-1.0.14/sane-backends/sane-frontends-1.0.11/sane-frontends/| tools | available for example at |
|---|---|
| emx gcc compiler | www.os2site.com / Hobbes |
| gnudiff, gnufutils | Hobbes |
| preferable this version of sh.exe | http://math.berkeley.edu/~ilya/software/os2/pdksh-5.2.14-bin-2.zip |
| sed | the hompage of SAWATAISHI JUN |
| gettext 0.10.35 or later | http://www.os2site.com/sw/dev/gettext/index.html |
| latex (for parts of the documentation) | ftp://ftp.dante.de/pub/tex/systems/os2/emtex |
| libs | available for example at |
| socket | http://www.os2site.com/leo/gnu/emx+gcc/bsddev.zip |
| syslog | http://www.os2site.com/leo/tcpip/systools/syslog3.zip |
| jpeg | http://www.os2site.com/leo/devtools/libraries/jpeg6b.zip |
| pthreads | ftp://ftp.netlabs.org/pub/pthreads/pthread-bjs-bin.zip |
| If you want to compile xcam and xscanimage you need additionally | |
| Xprog.zip | http://www.os2site.com/leo/x11/xfree86/Xprog.zip |
| some gnome/gimp libs | Christoph's Pages |
| tell me what's missing | |
#warning <sys/socket.h> requires <sys/types.h>
SET CONFIG_SITE=g:/usr/share/config.site
CFLAGS='-D__EMX__ -DOS2 -Zmtd -D__ST_MT_ERRNO__ -O2'LDFLAGS='-Zexe -Zmtd -D__ST_MT_ERRNO__ -Zsysv-signals' (usr\share\locale\foo\LC_MESSAGES\sane-backends.mo) with X-frontends
you have to convert them from UTF-8 to iso-8859-1 for example,
because the available gtk (gimp-tool-kit) version 1.2 for OS/2 does not support UTF-8 PRELOADABLE_BACKENDS =net...\sane-backends directory:/* #undef HAVE_DLOPEN */#define HAVE_DLOPEN 1
I have scripts which do all steps from 2 to 8. You can get them by request.
The version build this way works perfect here with my EPSON GT-9500 and my Mustek 600S/600 II CD Scanner on OS/2 (eCS 1.0.1) with beta9 of aspirout.sys from Paul Ratcliffe.
Scanners that might work:
abaton agfafocus apple artec as6e avision bh canon
coolscan coolscan2 dc25 dmc epson fujitsu gt68xx
hp leo matsushita microtek microtek2 mustek mustek_pp
nec pie plustek plustek_pp ricoh s9036 sceptre sharp
sp15c st400 tamarack test teco1 teco2 teco3 umax
ma1509 ibm hp5400 snapscan dc210 dc240 qcam
You can also enter your scanner model into the SANE-Search-Engine and see whether your scanner is supported by the current version of SANE.
In general USB Scanners won't work on OS/2 because until now nobody has ported
libusb to OS/2.
I can't do this because I don't have time/USB-Scanner/USB-knowledge to do
this job. Volonteers? Have a look at netlabs for a start.
But there is an exeption for Epson-USB-Scanners.
Some are supported by a SANE-binary
compiled by Maeda Haruyuki! The binaries are
part of the latest TAME Package (0.98 or later).
Parallel-Port-Scanners: I have one positive feedback for a Medion (Mustek)-Parallelport-Scanner, so in theory some might work, but support for umax-pp scanners is not compiled in into this binary-package because it causes a nasty delay of some seconds for searching such a scanner for all other users and previous binaries with included umax-pp support never worked anyway.
Additional Information and some SANE-betas (especially useful for snapscan-scanners) can be found on the Homepage of Paul Floyd
For questions and suggestions there is the OS/2 SANE Mailing-List
SET GTK_CONFIG=G:/XFree86/bin/gtk12-config-lpthreads to the 'echo line' near the end of /XFree86/bin/gtk12-config
struct timespec definition from
pthread.h because this definition is allready in
sys/time.hLIBS = -lsyslog -lsocket -lm
../../sane-backends-1.0.14/backend/.libs/libsane.a
$(INSTALL_PROGRAM) $${program} \
$(bindir)/$${program}; \
to $(INSTALL_PROGRAM) $${program}.exe \
$(bindir)/$${program}.exe; \
I have scripts which do all steps from 1 to 4. You can get them by request.
xscanimage.exe and xcam.exe are working on my system, I don't have a
document-feeder so I can't tell ifscanadf.exe works, but it should.
If you configure with ... --enable-gimp
(and rename -lgimp to -lgimp121 in the Makefile)
you get a xscanimage.exe that works for me as gimp(1.2.2)-plugin.
sane-backends-1.0.14/ directory and modified one line:
../sanei/libsanei.a -ljpeg -lsyslog -lpthreads -ldl
archive_cmds='$echo "LIBRARY
Thanks to Henning Meier-Geinitz, Oliver Rauch, Stéphane Voltz and
Gerhard Jaeger who were very responsive in the
sane-devel mailinglist and included some changes to the sources
to make SANE 1.0.14 compile on OS/2
Thanks also to Paul Smedley and Zsolt Kadar who reported their experiences with this
receipe for building SANE and helped to improve this page.
Thanks also to Paul Ratcliffe for aspirout.sys and Klaus Staedtler for TAME and testing and
Thanks to all who reported if the binaries worked for them or not.
I hope I did not miss something important. Feel free to send me your comments.
Last modified 31 May 2007, Franz