[sane-devel] experimental CVS / GIT

Stef stef.dev at free.fr
Sat Mar 30 08:45:39 UTC 2013


On 27/03/2013 21:23, Stef wrote:
> On 27/03/2013 18:39, kazy82 at email.de wrote:
>> Hi,
>> I would like to build the cs3200f from the experimental backend.
>> I found an info, that the experimental CVS has not moved to the GIT. 
>> Did it move by now? The snapshot link from alioth.debian.org gives me 
>> only a 20 Byte tar.gz-file. And the snapshot from 
>> sane-project.org/snapshot does not seem to contain the needed files too.
>> Where can I access the experimental backends?
>>
>> Thanks in advance,
>> kazy
>>
>>
>     Hello,
>
>        here is an old backup from my archives. BTW, I have a cs3000 
> which is reported to be a gl660+gl646 scanner, what ASIC does 
> 'sane-find-scanner' find for your scanner ?
>
> Happy coding,
>     Stef
>
>
    Hello,

     here is a patch against latest git source tree to enable cs3200f 
compile. Copy all cs3200f source files in the backend sub-directory. 
Apply the patch, then run 'autoreconf -i' . Next run 'configure' and the 
cs3200f backend will be compiled.

Regards,
     Stef
-------------- next part --------------
diff --git a/backend/Makefile.am b/backend/Makefile.am
index f84d23e..a3c4444 100644
--- a/backend/Makefile.am
+++ b/backend/Makefile.am
@@ -191,7 +191,7 @@ be_convenience_libs = libabaton.la libagfafocus.la \
     libtamarack.la libtest.la libteco1.la \
     libteco2.la libteco3.la libu12.la libumax.la \
     libumax1220u.la libumax_pp.la libv4l.la \
-    libxerox_mfp.la
+    libxerox_mfp.la libcs3200f.la
 
 # Each stand alone backend thats possible to be built should be listed
 # here.  There are the libraries that are installed under $(libdir)/sane.
@@ -225,7 +225,7 @@ be_dlopen_libs = libsane-abaton.la libsane-agfafocus.la \
     libsane-tamarack.la libsane-test.la libsane-teco1.la \
     libsane-teco2.la libsane-teco3.la libsane-u12.la libsane-umax.la \
     libsane-umax1220u.la libsane-umax_pp.la libsane-v4l.la \
-    libsane-xerox_mfp.la
+    libsane-xerox_mfp.la libsane-cs3200f.la
 
 EXTRA_LTLIBRARIES = $(be_convenience_libs) $(be_dlopen_libs)
 
@@ -491,6 +491,16 @@ EXTRA_DIST += genesys.conf.in
 # TODO: Why are this distributed but not compiled?
 EXTRA_DIST += genesys_conv.c genesys_conv_hlp.c genesys_devices.c
 
+libcs3200f_la_SOURCES = cs3200f.c cs3200f-dev.h cs3200f-scan.h cs3200f-dat.h cs3200f-opt.h cs3200f-drv.h cs3200f-usb.h
+
+libcs3200f_la_CPPFLAGS = $(AM_CPPFLAGS) -DBACKEND_NAME=cs3200f
+
+nodist_libsane_cs3200f_la_SOURCES = cs3200f-s.c
+libsane_cs3200f_la_CPPFLAGS = $(AM_CPPFLAGS) -DBACKEND_NAME=cs3200f
+libsane_cs3200f_la_LDFLAGS = $(DIST_SANELIBS_LDFLAGS)
+libsane_cs3200f_la_LIBADD = $(COMMON_LIBS) libcs3200f.la ../sanei/sanei_thread.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo sane_strstatus.lo ../sanei/sanei_usb.lo ../sanei/sanei_access.lo ../lib/md5.lo $(MATH_LIB) $(USB_LIBS) $(PTHREAD_LIBS) $(RESMGR_LIBS)
+EXTRA_DIST += cs3200f-dat.c cs3200f-opt.c cs3200f-drv.c cs3200f-usb.c cs3200f-dev.c cs3200f-scan.c
+
 libgphoto2_i_la_SOURCES = gphoto2.c gphoto2.h
 libgphoto2_i_la_CPPFLAGS = $(AM_CPPFLAGS) @GPHOTO2_CPPFLAGS@ -DBACKEND_NAME=gphoto2
 
diff --git a/configure.in b/configure.in
index a9fc01c..ed0774b 100644
--- a/configure.in
+++ b/configure.in
@@ -613,7 +613,7 @@ ALL_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e \
         pixma plustek plustek_pp qcam ricoh rts8891 s9036 \
         sceptre sharp sm3600 sm3840 snapscan sp15c st400 \
         stv680 tamarack teco1 teco2 teco3 test u12 umax 
-        umax_pp umax1220u v4l xerox_mfp p5"
+        umax_pp umax1220u v4l xerox_mfp p5 cs3200f"
 
 # If user specifies backends manually then cause configure
 # to fail if its detected it can't be compiled.  If we


More information about the sane-devel mailing list