@ -9,12 +9,11 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := sane-backends
PKG_VERSION := 1.0.27
PKG_RELEASE := 4
PKG_VERSION := 1.0.28
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := http://fossies.org/linux/misc \
https://alioth.debian.org/frs/download.php/file/4146/
PKG_HASH := 293747bf37275c424ebb2c833f8588601a60b2f9653945d5a3194875355e36c9
PKG_SOURCE_URL := https://gitlab.com/sane-project/backends/uploads/9e718daff347826f4cfe21126c8d5091/
PKG_HASH := 31260f3f72d82ac1661c62c5a4468410b89fb2b4a811dabbfcc0350c1346de03
PKG_MAINTAINER := Luiz Angelo Daros de Luca <luizluca@gmail.com>
PKG_LICENSE := GPL-2.0 GPL-2.0-or-later
PKG_LICENSE_FILES := COPYING LICENSE
@ -137,7 +136,6 @@ define Package/libsane
$( call Package/sane-backends/Default)
SECTION:= libs
CATEGORY:= Libraries
DEPENDS:= +libusb-1.0
TITLE += ( libraries)
e n d e f
@ -159,16 +157,15 @@ $(call Package/sane-backends/Default/description)
T h i s p a c k a g e c o n t a i n s t h e S A N E f r o n t e n d s .
e n d e f
TARGET_LDFLAGS += \
-Wl,-rpath-link $( STAGING_DIR) /usr/lib \
-Wl,-rpath-link $( PKG_BUILD_DIR) /backend/.libs
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--without-gphoto2 \
--without-snmp
--disable-preload \
--without-snmp \
--disable-avahi \
--disable-locking \
# ./configure does not even try to detect mmap if crosscompiling
CONFIGURE_VARS += \
ac_cv_func_mmap_fixed_mapped = "yes" \
@ -183,6 +180,7 @@ define Package/libsane/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/sane/libsane-dll.so.* $( 1) /usr/lib/sane/
$( INSTALL_DIR) $( 1) /etc/sane.d/dll.d
$( INSTALL_CONF) $( PKG_INSTALL_DIR) /etc/sane.d/dll.conf $( 1) /etc/sane.d/
chmod 0755 $( 1) /etc/sane.d/dll.conf
e n d e f
d e f i n e P a c k a g e / l i b s a n e / c o n f f i l e s
@ -192,12 +190,13 @@ endef
d e f i n e P a c k a g e / s a n e - d a e m o n / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/sane.d
$( INSTALL_CONF) $( PKG_INSTALL_DIR) /etc/sane.d/saned.conf $( 1) /etc/sane.d/
chmod 0755 $( 1) /etc/sane.d/saned.conf
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_BIN) ./files/usr/sbin/ saned $( 1) /usr/sbin/saned
$( INSTALL_BIN) ./files/saned.sbin $( 1) /usr/sbin/saned
$( INSTALL_DIR) $( 1) /usr/lib/sane/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/saned $( 1) /usr/lib/sane/saned
$( INSTALL_DIR) $( 1) /etc/xinetd.d
$( CP) ./files/etc/xinetd.d/sane-port $( 1) /etc/xinetd.d/sane-port
$( INSTALL_CONF) ./files/saned.xinetd $( 1) /etc/xinetd.d/sane-port
e n d e f
d e f i n e P a c k a g e / s a n e - d a e m o n / c o n f f i l e s
@ -246,6 +245,7 @@ This package contains the SANE backend for $(2).
if [ -f " $( PKG_INSTALL_DIR) /etc/sane.d/ $( 1) .conf " ] ; then \
$( INSTALL_DIR) $$ ( 1) /etc/sane.d ; \
$( INSTALL_CONF) $( PKG_INSTALL_DIR) /etc/sane.d/$( 1) .conf $$ ( 1) /etc/sane.d/; \
chmod 0755 $$ ( 1) /etc/sane.d/$( 1) .conf ; \
fi
$( INSTALL_DIR) $$ ( 1) /usr/lib/sane
$( CP) $( PKG_INSTALL_DIR) /usr/lib/sane/libsane-$( 1) .so.* $$ ( 1) /usr/lib/sane/
@ -268,92 +268,97 @@ $(eval $(call SaneBackend,abaton,Abaton flatbed scanners))
$( eval $ ( call SaneBackend ,agfafocus ,AGFA Focus flatbed scanners ) )
$( eval $ ( call SaneBackend ,apple ,Apple flatbed scanners ) )
$( eval $ ( call SaneBackend ,artec ,Artec flatbed scanners ) )
$( eval $ ( call SaneBackend ,artec_eplus 48u ,Artec E + 48U and re -badged models ) )
$( eval $ ( call SaneBackend ,artec_eplus 48u ,Artec E + 48U and re -badged models ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,as 6e ,Artec AS 6E parallel port interface scanner ) )
$( eval $ ( call SaneBackend ,avision ,Avision and Avision OEM scanners and possibly more flatbed and film scanners ) )
$( eval $ ( call SaneBackend ,avision ,Avision and Avision OEM scanners and possibly more flatbed and film scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,bh ,Bell +Howell Copiscan II series document scanners ) )
$( eval $ ( call SaneBackend ,canon ,Canon SCSI scanners ) )
$( eval $ ( call SaneBackend ,canon 630u ,the Canon 630u USB flatbed scanner ) )
$( eval $ ( call SaneBackend ,canon_dr ,Canon DR -series scanners ) )
$( eval $ ( call SaneBackend ,canon ,Canon SCSI scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,canon 630u ,the Canon 630u USB flatbed scanner ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,canon_dr ,Canon DR -series scanners ,+libusb -1.0 ) )
# Depends on libieee1284
#$(eval $(call SaneBackend,canon_pp,Canon CanoScan Parallel Port flatbed scanners,+libieee1284))
$( eval $ ( call SaneBackend ,cardscan ,Corex CardScan usb scanners ) )
$( eval $ ( call SaneBackend ,coolscan ,Nikon film -scanners ) )
$( eval $ ( call SaneBackend ,coolscan 2,Nikon Coolscan film scanners ) )
$( eval $ ( call SaneBackend ,coolscan 3,Nikon Coolscan film scanners ) )
$( eval $ ( call SaneBackend ,cardscan ,Corex CardScan usb scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,coolscan ,Nikon film -scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,coolscan 2,Nikon Coolscan film scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,coolscan 3,Nikon Coolscan film scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,dc 210,Kodak DC 210 Digital Camera ,+libjpeg ) )
$( eval $ ( call SaneBackend ,dc 240,Kodak DC 240 Digital Camera ,+libjpeg ) )
$( eval $ ( call SaneBackend ,dc 25,Kodak DC 20/DC 25 Digital Cameras ) )
$( eval $ ( call SaneBackend ,dell 1600n_net ,Dell 1600n ,+libtiff ) )
$( eval $ ( call SaneBackend ,dell 1600n_net ,Dell 1600n ,+libtiff +libjpeg ) )
$( eval $ ( call SaneBackend ,dmc ,Polaroid Digital Microscope Camera ) )
$( eval $ ( call SaneBackend ,epjitsu ,Epson -based Fujitsu USB scanners ) )
$( eval $ ( call SaneBackend ,epson ,EPSON scanners ) )
$( eval $ ( call SaneBackend ,epsonds ,EPSON scanners ,+libjpeg ) ) ####
$( eval $ ( call SaneBackend ,epson 2,EPSON scanners ) )
$( eval $ ( call SaneBackend ,fujitsu ,Fujitsu flatbed and ADF scanners ) )
$( eval $ ( call SaneBackend ,genesys ,GL 646 GL 841 GL 843 GL 847 and GL 124 based USB flatbed scanners ) )
#$(eval $(call SaneBackend,gphoto2,digital cameras supported by gphoto2,+libjpeg))
$( eval $ ( call SaneBackend ,gt 68xx ,GT -68XX based USB flatbed scanners ) )
$( eval $ ( call SaneBackend ,hp ,HP ScanJet scanners ) )
$( eval $ ( call SaneBackend ,hp 3500,Hewlett -Packard ScanJet 3500 series scanners ) )
$( eval $ ( call SaneBackend ,hp 3900,RTS 8822 chipset based scanners ,+libtiff ) )
$( eval $ ( call SaneBackend ,hp 4200,Hewlett -Packard 4200 scanners ) )
$( eval $ ( call SaneBackend ,hp 5400,Hewlett -Packard 54XX scanners ) )
$( eval $ ( call SaneBackend ,hp 5590,Hewlett -Packard 4500C /4570C /5500C /5550C /5590/7650 Workgroup /Document scanners ) )
$( eval $ ( call SaneBackend ,hpljm 1005,Hewlett -Packard LaserJet M 1005 MFP Scanner ) )
$( eval $ ( call SaneBackend ,epjitsu ,Epson -based Fujitsu USB scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,epson ,EPSON scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,epsonds ,EPSON scanners ,+libjpeg +libusb -1.0 ) ) ####
$( eval $ ( call SaneBackend ,epson 2,EPSON scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,fujitsu ,Fujitsu flatbed and ADF scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,genesys ,GL 646 GL 841 GL 843 GL 847 and GL 124 based USB flatbed scanners ,+libstdcpp +libusb -1.0 ) )
$( eval $ ( call SaneBackend ,gphoto 2,digital cameras supported by gphoto 2,+libjpeg +libgphoto 2) )
$( eval $ ( call SaneBackend ,gt 68xx ,GT -68XX based USB flatbed scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,hp ,HP ScanJet scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,hp 3500,Hewlett -Packard ScanJet 3500 series scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,hp 3900,RTS 8822 chipset based scanners ,+libtiff +libusb -1.0 ) )
$( eval $ ( call SaneBackend ,hp 4200,Hewlett -Packard 4200 scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,hp 5400,Hewlett -Packard 54XX scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,hp 5590,Hewlett -Packard 4500C /4570C /5500C /5550C /5590/7650 Workgroup /Document scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,hpljm 1005,Hewlett -Packard LaserJet M 1005 MFP Scanner ,+libusb -1.0 ) )
# Depends on libieee1284
#$(eval $(call SaneBackend,hpsj5s,HP ScanJet 5S sheet-fed scanner,+libieee1284))
$( eval $ ( call SaneBackend ,hs 2p ,Ricoh SCSI flatbed /ADF scanners ) )
$( eval $ ( call SaneBackend ,ibm ,IBM and Ricoh SCSI flatbed scanners ) )
$( eval $ ( call SaneBackend ,kodak ,big Kodak flatbed and ADF scanners ) )
$( eval $ ( call SaneBackend ,kodakaio ,Kodak aio printer / scanners ) )
$( eval $ ( call SaneBackend ,kvs 20xx ,Panasonic KV -S 20xxC USB /SCSI ADF scanners ) )
$( eval $ ( call SaneBackend ,kvs 40xx ,Panasonic KV -S 40xxC USB /SCSI ADF scanners ) )
$( eval $ ( call SaneBackend ,kvs 1025,Panasonic KV -S 102xC USB ADF scanners ) )
$( eval $ ( call SaneBackend ,kodak ,big Kodak flatbed and ADF scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kodakaio ,Kodak aio printer / scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kvs 1025,Panasonic KV -S 102xC USB ADF scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kvs 20xx ,Panasonic KV -S 20xxC USB /SCSI ADF scanners ,+libusb -1.0) )
# https://gitlab.com/sane-project/backends/issues/153
#$(eval $(call SaneBackend,kvs40xx,Panasonic KV-S40xxC USB/SCSI ADF scanners,+libpthread +libusb-1.0))
$( eval $ ( call SaneBackend ,leo ,LEO Technologies scanners ) )
$( eval $ ( call SaneBackend ,lexmark ,Lexmark X 1100/X 1200 Series scanners ) )
$( eval $ ( call SaneBackend ,ma 1509,Mustek BearPaw 1200F USB scanner ) )
$( eval $ ( call SaneBackend ,magicolor ,KONICA MINOLTA magicolor scanners ) )
$( eval $ ( call SaneBackend ,lexmark ,Lexmark X 1100/X 1200 Series scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,ma 1509,Mustek BearPaw 1200F USB scanner ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,magicolor ,KONICA MINOLTA magicolor scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,matsushita ,Panasonic KV -SS high speed scanners ) )
$( eval $ ( call SaneBackend ,microtek ,Microtek scanners ) )
$( eval $ ( call SaneBackend ,microtek 2,Microtek scanners with SCSI -2 command set ) )
$( eval $ ( call SaneBackend ,mustek ,Mustek SCSI flatbed scanners and some other devices ) )
# Depends on libieee1284
#$(eval $(call SaneBackend,mustek_pp,Mustek parallel port flatbed scanners,+libieee1284))
$( eval $ ( call SaneBackend ,mustek_usb ,Mustek USB flatbed scanners ) )
$( eval $ ( call SaneBackend ,mustek_usb 2,SQ 113 based USB flatbed scanners ) )
$( eval $ ( call SaneBackend ,mustek_usb ,Mustek USB flatbed scanners ,+libusb -1.0) )
# https://gitlab.com/sane-project/backends/issues/153
#$(eval $(call SaneBackend,mustek_usb2,SQ113 based USB flatbed scanners,+libpthread +libusb-1.0))
$( eval $ ( call SaneBackend ,nec ,NEC scanners ) )
$( eval $ ( call SaneBackend ,net ,network backend ) )
$( eval $ ( call SaneBackend ,niash ,scanners based on the NIASH chipset ) )
$( eval $ ( call SaneBackend ,niash ,scanners based on the NIASH chipset ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,p 5,the Primax PagePartner ) )
$( eval $ ( call SaneBackend ,pie ,PIE Devcom and AdLib SCSI flatbed scanners ) )
$( eval $ ( call SaneBackend ,pieusb ,PIE Devcom and AdLib SCSI flatbed scanners ) ) #####
$( eval $ ( call SaneBackend ,pixma ,Canon Multi -Function Printers and CanoScan Scanners ) )
$( eval $ ( call SaneBackend ,plustek ,LM 983[1/2/3] based USB flatbed scanners ) )
$( eval $ ( call SaneBackend ,pieusb ,PIE Devcom and AdLib SCSI flatbed scanners ,+libusb -1.0) )
# requires sys/scanio.h
#$(eval $(call SaneBackend,pint,))
$( eval $ ( call SaneBackend ,pixma ,Canon Multi -Function Printers and CanoScan Scanners ,+libusb -1.0 +libjpeg ) )
$( eval $ ( call SaneBackend ,plustek ,LM 983[1/2/3] based USB flatbed scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,plustek_pp ,Plustek parallel port flatbed scanners ) )
$( eval $ ( call SaneBackend ,qcam ,Connectix QuickCam cameras ,@( TARGET_x 86||TARGET_x 86_ 64) ) )
$( eval $ ( call SaneBackend ,ricoh ,Ricoh flatbed scanners ) )
$( eval $ ( call SaneBackend ,rts 8891,rts 8891 based scanners ) )
$( eval $ ( call SaneBackend ,ricoh 2,Ricoh 2 flatbed scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,rts 8891,rts 8891 based scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,s 9036,Siemens 9036 flatbed scanners ) )
$( eval $ ( call SaneBackend ,sceptre ,SCEPTRE scanners ) )
$( eval $ ( call SaneBackend ,sharp ,SHARP scanners ) )
$( eval $ ( call SaneBackend ,sm 3600,Microtek scanners with M 011 USB chip ) )
$( eval $ ( call SaneBackend ,sm 3840,Microtek scanners with SCAN 08 USB chip ) )
$( eval $ ( call SaneBackend ,snapscan ,AGFA SnapScan flatbed scanners ) )
$( eval $ ( call SaneBackend ,sm 3600,Microtek scanners with M 011 USB chip ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,sm 3840,Microtek scanners with SCAN 08 USB chip ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,snapscan ,AGFA SnapScan flatbed scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,sp 15c ,Fujitsu ScanPartner 15C flatbed scanner ) )
$( eval $ ( call SaneBackend ,st 400,Siemens ST /Highscan flatbed scanners ) )
$( eval $ ( call SaneBackend ,stv 680,STV 680 cameras ) )
$( eval $ ( call SaneBackend ,stv 680,STV 680 cameras ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,tamarack ,Tamarack flatbed scanners ) )
$( eval $ ( call SaneBackend ,teco 1,TECO / RELISYS scanners ) )
$( eval $ ( call SaneBackend ,teco 2,TECO / RELISYS scanners ) )
$( eval $ ( call SaneBackend ,teco 3,TECO / RELISYS scanners ) )
$( eval $ ( call SaneBackend ,test ,testing frontends ) )
$( eval $ ( call SaneBackend ,u 12,Plustek USB flatbed scanners based on older parport designs ) )
$( eval $ ( call SaneBackend ,umax ,UMAX scanners ) )
$( eval $ ( call SaneBackend ,umax 1220u ,the UMAX Astra 1220U and similar scanners ) )
$( eval $ ( call SaneBackend ,u 12,Plustek USB flatbed scanners based on older parport designs ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,umax ,UMAX scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,umax 1220u ,the UMAX Astra 1220U and similar scanners ,+libusb -1.0 ) )
$( eval $ ( call SaneBackend ,umax_pp ,Umax Astra parallel port flatbed scanners ) )
$( eval $ ( call SaneBackend ,v 4l ,Video for Linux API ,+libv 4l +libjpeg ) )
$( eval $ ( call SaneBackend ,xerox_mfp ,Xerox Phaser 3200MFP device ,+libjpeg ) )
$( eval $ ( call SaneBackend ,v 4l ,Video for Linux API ,+libv 4l +libjpeg +libusb -1.0 ) )
$( eval $ ( call SaneBackend ,xerox_mfp ,Xerox Phaser 3200MFP device ,+libjpeg +libusb -1.0 ) )
$( eval $ ( call BuildPackage ,sane -backends ) )
$( eval $ ( call BuildPackage ,sane -backends -all ) )
$( eval $ ( call BuildPackage ,sane -frontends ) )