You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

399 lines
15 KiB

sabe-backends: update to 1.0.31 * adds the canon_lide70 backend * avision: adds support for the KODAK i1120, fixes thread cancellation issues, disables exposure option for non-filmscanners * canon_dr: improves error reporting * dmc: fixes compiler warnings on the scan area options * epsonds: rewrites the network I/O following changes made to the * epson2 backend in 1.0.30 to fix security issues. Network support is still unsupported. * fujitsu: adds support for the fi-800R and a card scanning slot, fixes a bug when reading hardware sensors on the first invocation. Adds USB IDs for fi-7800 and fi-7900. * genesys: adds support for the Canon 5600F, Canon LiDE 90, Plustek OpticFilm 7200 and 7200 (v2), 7400, 7600i, 8100 and 8200i. Fixes several issues with the Canon 8600F. Adds 4800dpi support for the Canon LiDE 210 and fixes 3200dpi flatbed support on the Canon 8400F. Adds an option to fill dark calibration with a constant. Adds transparency support for gl847 chipset based devices. Fixes CIS scanner support for gl842 chipset based devices. Removes lineart and image enhancement emulation support. * gphoto: supports the PLANon DocuPen RC800 (with a recent enough version of gphoto2) * gt68xx: modifies scan cancellation behaviour * hp5400: adds button support, fixes a scan cancellation crash issue * pixma: add supports for the i-SENSYS MF440 Series and untested support for the PIXMMA G7000 Series and GM4000 Series as well as the i-SENSYS MF720 Series. * plustek: fixes a potential buffer overrun * test: adds gamma options Patches: - ADD: 102-pixma_Restore_old_behaviour_in_case_XML_support_is_missing.patch: pixma was failing to detect libxml2, even when it exists (https://gitlab.com/sane-project/backends/-/issues/345) - DROP: 100-fix-bigendian.patch: fix in release Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
4 years ago
sabe-backends: update to 1.0.31 * adds the canon_lide70 backend * avision: adds support for the KODAK i1120, fixes thread cancellation issues, disables exposure option for non-filmscanners * canon_dr: improves error reporting * dmc: fixes compiler warnings on the scan area options * epsonds: rewrites the network I/O following changes made to the * epson2 backend in 1.0.30 to fix security issues. Network support is still unsupported. * fujitsu: adds support for the fi-800R and a card scanning slot, fixes a bug when reading hardware sensors on the first invocation. Adds USB IDs for fi-7800 and fi-7900. * genesys: adds support for the Canon 5600F, Canon LiDE 90, Plustek OpticFilm 7200 and 7200 (v2), 7400, 7600i, 8100 and 8200i. Fixes several issues with the Canon 8600F. Adds 4800dpi support for the Canon LiDE 210 and fixes 3200dpi flatbed support on the Canon 8400F. Adds an option to fill dark calibration with a constant. Adds transparency support for gl847 chipset based devices. Fixes CIS scanner support for gl842 chipset based devices. Removes lineart and image enhancement emulation support. * gphoto: supports the PLANon DocuPen RC800 (with a recent enough version of gphoto2) * gt68xx: modifies scan cancellation behaviour * hp5400: adds button support, fixes a scan cancellation crash issue * pixma: add supports for the i-SENSYS MF440 Series and untested support for the PIXMMA G7000 Series and GM4000 Series as well as the i-SENSYS MF720 Series. * plustek: fixes a potential buffer overrun * test: adds gamma options Patches: - ADD: 102-pixma_Restore_old_behaviour_in_case_XML_support_is_missing.patch: pixma was failing to detect libxml2, even when it exists (https://gitlab.com/sane-project/backends/-/issues/345) - DROP: 100-fix-bigendian.patch: fix in release Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
4 years ago
sabe-backends: update to 1.0.31 * adds the canon_lide70 backend * avision: adds support for the KODAK i1120, fixes thread cancellation issues, disables exposure option for non-filmscanners * canon_dr: improves error reporting * dmc: fixes compiler warnings on the scan area options * epsonds: rewrites the network I/O following changes made to the * epson2 backend in 1.0.30 to fix security issues. Network support is still unsupported. * fujitsu: adds support for the fi-800R and a card scanning slot, fixes a bug when reading hardware sensors on the first invocation. Adds USB IDs for fi-7800 and fi-7900. * genesys: adds support for the Canon 5600F, Canon LiDE 90, Plustek OpticFilm 7200 and 7200 (v2), 7400, 7600i, 8100 and 8200i. Fixes several issues with the Canon 8600F. Adds 4800dpi support for the Canon LiDE 210 and fixes 3200dpi flatbed support on the Canon 8400F. Adds an option to fill dark calibration with a constant. Adds transparency support for gl847 chipset based devices. Fixes CIS scanner support for gl842 chipset based devices. Removes lineart and image enhancement emulation support. * gphoto: supports the PLANon DocuPen RC800 (with a recent enough version of gphoto2) * gt68xx: modifies scan cancellation behaviour * hp5400: adds button support, fixes a scan cancellation crash issue * pixma: add supports for the i-SENSYS MF440 Series and untested support for the PIXMMA G7000 Series and GM4000 Series as well as the i-SENSYS MF720 Series. * plustek: fixes a potential buffer overrun * test: adds gamma options Patches: - ADD: 102-pixma_Restore_old_behaviour_in_case_XML_support_is_missing.patch: pixma was failing to detect libxml2, even when it exists (https://gitlab.com/sane-project/backends/-/issues/345) - DROP: 100-fix-bigendian.patch: fix in release Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
4 years ago
sabe-backends: update to 1.0.31 * adds the canon_lide70 backend * avision: adds support for the KODAK i1120, fixes thread cancellation issues, disables exposure option for non-filmscanners * canon_dr: improves error reporting * dmc: fixes compiler warnings on the scan area options * epsonds: rewrites the network I/O following changes made to the * epson2 backend in 1.0.30 to fix security issues. Network support is still unsupported. * fujitsu: adds support for the fi-800R and a card scanning slot, fixes a bug when reading hardware sensors on the first invocation. Adds USB IDs for fi-7800 and fi-7900. * genesys: adds support for the Canon 5600F, Canon LiDE 90, Plustek OpticFilm 7200 and 7200 (v2), 7400, 7600i, 8100 and 8200i. Fixes several issues with the Canon 8600F. Adds 4800dpi support for the Canon LiDE 210 and fixes 3200dpi flatbed support on the Canon 8400F. Adds an option to fill dark calibration with a constant. Adds transparency support for gl847 chipset based devices. Fixes CIS scanner support for gl842 chipset based devices. Removes lineart and image enhancement emulation support. * gphoto: supports the PLANon DocuPen RC800 (with a recent enough version of gphoto2) * gt68xx: modifies scan cancellation behaviour * hp5400: adds button support, fixes a scan cancellation crash issue * pixma: add supports for the i-SENSYS MF440 Series and untested support for the PIXMMA G7000 Series and GM4000 Series as well as the i-SENSYS MF720 Series. * plustek: fixes a potential buffer overrun * test: adds gamma options Patches: - ADD: 102-pixma_Restore_old_behaviour_in_case_XML_support_is_missing.patch: pixma was failing to detect libxml2, even when it exists (https://gitlab.com/sane-project/backends/-/issues/345) - DROP: 100-fix-bigendian.patch: fix in release Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
4 years ago
sabe-backends: update to 1.0.31 * adds the canon_lide70 backend * avision: adds support for the KODAK i1120, fixes thread cancellation issues, disables exposure option for non-filmscanners * canon_dr: improves error reporting * dmc: fixes compiler warnings on the scan area options * epsonds: rewrites the network I/O following changes made to the * epson2 backend in 1.0.30 to fix security issues. Network support is still unsupported. * fujitsu: adds support for the fi-800R and a card scanning slot, fixes a bug when reading hardware sensors on the first invocation. Adds USB IDs for fi-7800 and fi-7900. * genesys: adds support for the Canon 5600F, Canon LiDE 90, Plustek OpticFilm 7200 and 7200 (v2), 7400, 7600i, 8100 and 8200i. Fixes several issues with the Canon 8600F. Adds 4800dpi support for the Canon LiDE 210 and fixes 3200dpi flatbed support on the Canon 8400F. Adds an option to fill dark calibration with a constant. Adds transparency support for gl847 chipset based devices. Fixes CIS scanner support for gl842 chipset based devices. Removes lineart and image enhancement emulation support. * gphoto: supports the PLANon DocuPen RC800 (with a recent enough version of gphoto2) * gt68xx: modifies scan cancellation behaviour * hp5400: adds button support, fixes a scan cancellation crash issue * pixma: add supports for the i-SENSYS MF440 Series and untested support for the PIXMMA G7000 Series and GM4000 Series as well as the i-SENSYS MF720 Series. * plustek: fixes a potential buffer overrun * test: adds gamma options Patches: - ADD: 102-pixma_Restore_old_behaviour_in_case_XML_support_is_missing.patch: pixma was failing to detect libxml2, even when it exists (https://gitlab.com/sane-project/backends/-/issues/345) - DROP: 100-fix-bigendian.patch: fix in release Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
4 years ago
  1. #
  2. # Copyright (C) 2006-2016 OpenWrt.org
  3. # Copyright (C) 2017-2020 Luiz Angelo Daros de Luca <luizluca@gmail.com>
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=sane-backends
  10. PKG_VERSION:=1.0.31
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://gitlab.com/sane-project/backends/uploads/8bf1cae2e1803aefab9e5331550e5d5d/
  14. PKG_HASH:=4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa
  15. PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
  16. PKG_LICENSE:=GPL-2.0 GPL-2.0-or-later
  17. PKG_LICENSE_FILES:=COPYING LICENSE
  18. PKG_CPE_ID:=cpe:/a:sane-backends_project:sane-backends
  19. PKG_INSTALL:=1
  20. PKG_BUILD_PARALLEL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. SANE_BACKENDS:=
  23. define Package/sane-backends/Default
  24. TITLE:=Scanner Access Now Easy
  25. URL:=http://www.sane-project.org/
  26. endef
  27. define Package/sane-backends/Default/description
  28. SANE (Scanner Access Now Easy) is a universal scanner interface.
  29. endef
  30. define Package/sane-backends
  31. $(call Package/sane-backends/Default)
  32. SECTION:=utils
  33. CATEGORY:=Utilities
  34. TITLE+= (drivers)
  35. DEPENDS:=+ALL:sane-backends-all
  36. BUILDONLY:=1
  37. endef
  38. define Package/sane-backends/description
  39. $(call Package/sane-backends/Default/description)
  40. .
  41. This
  42. endef
  43. define Package/sane-backends/config
  44. menu "Select SANE backends"
  45. depends on PACKAGE_sane-backends
  46. config PACKAGE_sane-backends-all
  47. depends on PACKAGE_sane-backends
  48. tristate "Include all SANE backends (sane-backends-all)"
  49. comment "Backends"
  50. $(foreach backend,$(SANE_BACKENDS), \
  51. $(eval \
  52. $(call Package/Default)
  53. $(call Package/sane-$(backend))
  54. )\
  55. config PACKAGE_sane-$(backend)
  56. tristate "$(TITLE)"
  57. $(foreach config_dep,\
  58. $(filter @%,
  59. $(foreach v, $(DEPENDS), $(if $(findstring :,$v),,$v))
  60. ),\
  61. depends on $(strip $(subst @,,$(config_dep)))
  62. )
  63. )
  64. endmenu
  65. endef
  66. # returns conditional dependency on sane backend
  67. # 1: backend name
  68. #
  69. # If there is no config deps on $(1), returns +sane-$(1).
  70. # Otherwise, +(CONFIG1&&CONFIG2&&..):sane-$(1)
  71. define SaneBackendDependency
  72. $(eval \
  73. $(call Package/Default)
  74. $(call Package/sane-$(1))
  75. FILTER_CONFIG:=$$(strip \
  76. $$(foreach config_dep, \
  77. $$(filter @%, \
  78. $$(foreach v, \
  79. $$(DEPENDS), \
  80. $$(if $$(findstring :,$$v),,$$v) \
  81. ) \
  82. ), \
  83. $$(subst @,,$$(config_dep)) \
  84. ) \
  85. )
  86. ifneq (,$$(FILTER_CONFIG))
  87. FILTER_CONFIG:=($$(subst $$(space),&&,$$(FILTER_CONFIG))):
  88. endif
  89. ) \
  90. +$(FILTER_CONFIG)sane-$(1)
  91. endef
  92. define Package/sane-backends-all
  93. $(call Package/sane-backends/Default)
  94. SECTION:=utils
  95. CATEGORY:=Utilities
  96. TITLE+= (all backends)
  97. DEPENDS:=$(foreach backend,$(SANE_BACKENDS),$(strip $(call SaneBackendDependency,$(backend))))
  98. HIDDEN:=1
  99. endef
  100. define Package/sane-backends-all/description
  101. $(call Package/sane-backends/Default/description)
  102. .
  103. Metapackage for selecting all SANE Backends
  104. endef
  105. define Package/sane-daemon
  106. $(call Package/sane-backends/Default)
  107. SECTION:=utils
  108. CATEGORY:=Utilities
  109. DEPENDS:=+libsane
  110. TITLE+= (network daemon)
  111. USERID:=saned:scanner
  112. endef
  113. define Package/sane-daemon/description
  114. $(call Package/sane-backends/Default/description)
  115. This package contains the SANE daemon.
  116. endef
  117. # Run hotplug to grant access to existing scanners
  118. define Package/sane-daemon/postinst
  119. #!/bin/sh
  120. # We only need udevtrigger to have the magic work without
  121. # rebooting on a real system. In ImageBuilder or
  122. # the like, the boot process will call udevtrigger.
  123. if [ -z "$${IPKG_INSTROOT}" ]; then
  124. udevtrigger
  125. fi
  126. endef
  127. define Package/libsane
  128. $(call Package/sane-backends/Default)
  129. SECTION:=libs
  130. CATEGORY:=Libraries
  131. DEPENDS+=+libusb-1.0
  132. TITLE+= (libraries)
  133. endef
  134. define Package/libsane/description
  135. $(call Package/sane-backends/Default/description)
  136. This package contains the SANE shared libraries.
  137. endef
  138. define Package/sane-frontends
  139. $(call Package/sane-backends/Default)
  140. SECTION:=utils
  141. CATEGORY:=Utilities
  142. DEPENDS:=+libsane +libjpeg +libpng
  143. TITLE+= (frontends)
  144. endef
  145. define Package/sane-frontends/description
  146. $(call Package/sane-backends/Default/description)
  147. This package contains the SANE frontends.
  148. endef
  149. CONFIGURE_ARGS += \
  150. --enable-shared \
  151. --enable-static \
  152. --disable-preload \
  153. --without-snmp \
  154. --without-avahi \
  155. --disable-locking \
  156. --without-usb-record-replay \
  157. # ./configure does not even try to detect mmap if crosscompiling
  158. CONFIGURE_VARS += \
  159. ac_cv_func_mmap_fixed_mapped="yes"
  160. define Build/Configure
  161. mkdir -p $(PKG_BUILD_DIR)/backend/.libs
  162. $(Build/Configure/Default)
  163. endef
  164. define Build/Install
  165. $(call Build/Install/Default)
  166. mkdir -p $(PKG_INSTALL_DIR)/usr/share/sane
  167. $(foreach file, $(filter-out %/unsupported.desc ,$(wildcard $(PKG_BUILD_DIR)/doc/descriptions/*.desc)),
  168. sed -rn -e '/^:usbid[[:blank:]]+"?0x(....)"?[[:blank:]]+"?0x(....)"?.*/{s//\1 \2/;p}' $(file) | \
  169. sort -u > $(PKG_INSTALL_DIR)/usr/share/sane/$(basename $(notdir $(file))).usbid; \
  170. awk '{ print $$$$2 > "$(PKG_INSTALL_DIR)/usr/share/sane/"$$$$1"-$(basename $(notdir $(file))).usbid" }' \
  171. $(PKG_INSTALL_DIR)/usr/share/sane/$(basename $(notdir $(file))).usbid ;
  172. )
  173. endef
  174. define Package/libsane/install
  175. $(INSTALL_DIR) $(1)/usr/lib/sane/
  176. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsane.so.* $(1)/usr/lib/
  177. $(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-dll.so.* $(1)/usr/lib/sane/
  178. $(INSTALL_DIR) $(1)/etc/sane.d/dll.d
  179. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/sane.d/dll.conf $(1)/etc/sane.d/
  180. chmod 0644 $(1)/etc/sane.d/dll.conf
  181. endef
  182. define Package/libsane/conffiles
  183. /etc/sane.d/dll.conf
  184. endef
  185. define Package/sane-daemon/install
  186. $(INSTALL_DIR) $(1)/etc/sane.d
  187. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/sane.d/saned.conf $(1)/etc/sane.d/
  188. chmod 0644 $(1)/etc/sane.d/saned.conf
  189. $(INSTALL_DIR) $(1)/usr/sbin
  190. $(INSTALL_BIN) ./files/saned.sbin $(1)/usr/sbin/saned
  191. $(INSTALL_DIR) $(1)/usr/lib/sane/
  192. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/saned $(1)/usr/lib/sane/saned
  193. $(INSTALL_DIR) $(1)/etc/xinetd.d
  194. $(INSTALL_CONF) ./files/saned.xinetd $(1)/etc/xinetd.d/sane-port
  195. $(INSTALL_DIR) $(1)/etc/hotplug.d/usb/
  196. $(INSTALL_BIN) ./files/saned.hotplug $(1)/etc/hotplug.d/usb/20-saned
  197. endef
  198. define Package/sane-daemon/conffiles
  199. /etc/sane.d/saned.conf
  200. /etc/xinetd.d/sane-port
  201. endef
  202. define Package/sane-frontends/install
  203. $(INSTALL_DIR) $(1)/usr/bin
  204. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  205. endef
  206. define Package/sane-backends-all/install
  207. /bin/true
  208. endef
  209. define Build/InstallDev
  210. $(INSTALL_DIR) $(1)/usr/include
  211. $(CP) $(PKG_INSTALL_DIR)/usr/include/sane $(1)/usr/include/
  212. $(INSTALL_DIR) $(1)/usr/lib
  213. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsane.{a,so*} $(1)/usr/lib/
  214. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  215. $(CP) $(PKG_BUILD_DIR)/tools/sane-backends.pc $(1)/usr/lib/pkgconfig/
  216. endef
  217. # 1: short name
  218. # 2: description
  219. # 3: dependencies on other packages
  220. define SaneBackend
  221. SANE_BACKENDS+= $(1)
  222. define Package/sane-$(1)
  223. $(call Package/sane-backends/Default)
  224. TITLE:=SANE backend (sane-$(1)) for $(2)
  225. DEPENDS+= +libsane $(3)
  226. HIDDEN:=1
  227. endef
  228. define Package/sane-$(1)/description
  229. $(call Package/sane-backends/Default/description)
  230. .
  231. This package contains the SANE backend for $(2).
  232. endef
  233. define Package/sane-$(1)/install
  234. if [ -f "$(PKG_INSTALL_DIR)/etc/sane.d/$(1).conf" ]; then \
  235. $(INSTALL_DIR) $$(1)/etc/sane.d ; \
  236. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/sane.d/$(1).conf $$(1)/etc/sane.d/ ; \
  237. chmod 0644 $$(1)/etc/sane.d/$(1).conf ; \
  238. fi ; \
  239. $(INSTALL_DIR) $$(1)/usr/lib/sane ; \
  240. $(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-$(1).so.* $$(1)/usr/lib/sane/ ; \
  241. if [ -d "$(PKG_INSTALL_DIR)/usr/share/sane/$(1)" ]; then \
  242. $(INSTALL_DIR) $$(1)/usr/share/sane/ ; \
  243. $(CP) -a $(PKG_INSTALL_DIR)/usr/share/sane/$(1) $$(1)/usr/share/sane/ ; \
  244. fi ; \
  245. if [ -s "$(PKG_INSTALL_DIR)/usr/share/sane/$(1).usbid" ]; then \
  246. $(INSTALL_DIR) $$(1)/usr/share/sane/ ; \
  247. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/sane/????-$(1).usbid $$(1)/usr/share/sane/ ; \
  248. fi
  249. endef
  250. define Package/sane-$(1)/conffiles
  251. /etc/sane.d/$(1).conf
  252. endef
  253. $$(eval $$(call BuildPackage,sane-$(1)))
  254. endef
  255. $(eval $(call BuildPackage,libsane))
  256. $(eval $(call BuildPackage,sane-daemon))
  257. $(eval $(call SaneBackend,abaton,Abaton flatbed scanners))
  258. $(eval $(call SaneBackend,agfafocus,AGFA Focus flatbed scanners))
  259. $(eval $(call SaneBackend,apple,Apple flatbed scanners))
  260. $(eval $(call SaneBackend,artec,Artec flatbed scanners))
  261. $(eval $(call SaneBackend,artec_eplus48u,Artec E+ 48U and re-badged models,+libusb-1.0))
  262. $(eval $(call SaneBackend,as6e,Artec AS6E parallel port interface scanner))
  263. $(eval $(call SaneBackend,avision,Avision and Avision OEM scanners and possibly more flatbed and film scanners,+libusb-1.0))
  264. $(eval $(call SaneBackend,bh,Bell+Howell Copiscan II series document scanners))
  265. $(eval $(call SaneBackend,canon,Canon SCSI scanners,+libusb-1.0))
  266. $(eval $(call SaneBackend,canon630u,the Canon 630u USB flatbed scanner,+libusb-1.0))
  267. $(eval $(call SaneBackend,canon_dr,Canon DR-series scanners,+libusb-1.0))
  268. # Depends on libieee1284
  269. #$(eval $(call SaneBackend,canon_pp,Canon CanoScan Parallel Port flatbed scanners,+libieee1284))
  270. $(eval $(call SaneBackend,canon_lide70,Canon LiDE 70 USB flatbed scanner,))
  271. $(eval $(call SaneBackend,cardscan,Corex CardScan usb scanners,+libusb-1.0))
  272. $(eval $(call SaneBackend,coolscan,Nikon film-scanners,+libusb-1.0))
  273. $(eval $(call SaneBackend,coolscan2,Nikon Coolscan film scanners,+libusb-1.0))
  274. $(eval $(call SaneBackend,coolscan3,Nikon Coolscan film scanners,+libusb-1.0))
  275. $(eval $(call SaneBackend,dc210,Kodak DC210 Digital Camera,+libjpeg))
  276. $(eval $(call SaneBackend,dc240,Kodak DC240 Digital Camera,+libjpeg))
  277. $(eval $(call SaneBackend,dc25,Kodak DC20/DC25 Digital Cameras))
  278. $(eval $(call SaneBackend,dell1600n_net,Dell 1600n,+libtiff +libjpeg))
  279. $(eval $(call SaneBackend,dmc,Polaroid Digital Microscope Camera))
  280. $(eval $(call SaneBackend,epjitsu,Epson-based Fujitsu USB scanners,+libusb-1.0))
  281. $(eval $(call SaneBackend,epson,EPSON scanners,+libusb-1.0))
  282. $(eval $(call SaneBackend,epsonds,EPSON scanners,+libjpeg +libusb-1.0)) ####
  283. $(eval $(call SaneBackend,epson2,EPSON scanners,+libusb-1.0))
  284. #$(eval $(call SaneBackend,escl,AirScan/eSCL devices,+libcurl +libxml2 +libnetsnmp +libavahi))
  285. $(eval $(call SaneBackend,fujitsu,Fujitsu flatbed and ADF scanners,+libusb-1.0))
  286. $(eval $(call SaneBackend,genesys,GL646 GL841 GL843 GL847 and GL124 based USB flatbed scanners,+libstdcpp +libusb-1.0 +libtiff))
  287. $(eval $(call SaneBackend,gphoto2,digital cameras supported by gphoto2,+libjpeg +libgphoto2))
  288. $(eval $(call SaneBackend,gt68xx,GT-68XX based USB flatbed scanners,+libusb-1.0))
  289. $(eval $(call SaneBackend,hp,HP ScanJet scanners,+libusb-1.0))
  290. $(eval $(call SaneBackend,hp3500,Hewlett-Packard ScanJet 3500 series scanners,+libusb-1.0))
  291. $(eval $(call SaneBackend,hp3900,RTS8822 chipset based scanners,+libtiff +libusb-1.0))
  292. $(eval $(call SaneBackend,hp4200,Hewlett-Packard 4200 scanners,+libusb-1.0))
  293. $(eval $(call SaneBackend,hp5400,Hewlett-Packard 54XX scanners,+libusb-1.0))
  294. $(eval $(call SaneBackend,hp5590,Hewlett-Packard 4500C/4570C/5500C/5550C/5590/7650 Workgroup/Document scanners,+libusb-1.0))
  295. $(eval $(call SaneBackend,hpljm1005,Hewlett-Packard LaserJet M1005 MFP Scanner,+libusb-1.0))
  296. # Depends on libieee1284
  297. #$(eval $(call SaneBackend,hpsj5s,HP ScanJet 5S sheet-fed scanner,+libieee1284))
  298. $(eval $(call SaneBackend,hs2p,Ricoh SCSI flatbed/ADF scanners))
  299. $(eval $(call SaneBackend,ibm,IBM and Ricoh SCSI flatbed scanners))
  300. $(eval $(call SaneBackend,kodak,big Kodak flatbed and ADF scanners,+libusb-1.0))
  301. $(eval $(call SaneBackend,kodakaio,Kodak aio printer / scanners,+libusb-1.0))
  302. $(eval $(call SaneBackend,kvs1025,Panasonic KV-S102xC USB ADF scanners,+libusb-1.0))
  303. $(eval $(call SaneBackend,kvs20xx,Panasonic KV-S20xxC USB/SCSI ADF scanners,+libusb-1.0))
  304. $(eval $(call SaneBackend,kvs40xx,Panasonic KV-S40xxC USB/SCSI ADF scanners,+libpthread +libusb-1.0))
  305. $(eval $(call SaneBackend,leo,LEO Technologies scanners))
  306. $(eval $(call SaneBackend,lexmark,Lexmark X1100/X1200 Series scanners,+libusb-1.0))
  307. $(eval $(call SaneBackend,ma1509,Mustek BearPaw 1200F USB scanner,+libusb-1.0))
  308. $(eval $(call SaneBackend,magicolor,KONICA MINOLTA magicolor scanners,+libusb-1.0))
  309. $(eval $(call SaneBackend,matsushita,Panasonic KV-SS high speed scanners))
  310. $(eval $(call SaneBackend,microtek,Microtek scanners))
  311. $(eval $(call SaneBackend,microtek2,Microtek scanners with SCSI-2 command set))
  312. $(eval $(call SaneBackend,mustek,Mustek SCSI flatbed scanners and some other devices))
  313. # Depends on libieee1284
  314. #$(eval $(call SaneBackend,mustek_pp,Mustek parallel port flatbed scanners,+libieee1284))
  315. $(eval $(call SaneBackend,mustek_usb,Mustek USB flatbed scanners,+libusb-1.0))
  316. $(eval $(call SaneBackend,mustek_usb2,SQ113 based USB flatbed scanners,+libpthread +libusb-1.0))
  317. $(eval $(call SaneBackend,nec,NEC scanners))
  318. $(eval $(call SaneBackend,net,network backend))
  319. $(eval $(call SaneBackend,niash,scanners based on the NIASH chipset,+libusb-1.0))
  320. $(eval $(call SaneBackend,p5,the Primax PagePartner))
  321. $(eval $(call SaneBackend,pie,PIE Devcom and AdLib SCSI flatbed scanners))
  322. $(eval $(call SaneBackend,pieusb,PIE Devcom and AdLib SCSI flatbed scanners,+libusb-1.0))
  323. # requires sys/scanio.h
  324. #$(eval $(call SaneBackend,pint,))
  325. $(eval $(call SaneBackend,pixma,Canon Multi-Function Printers and CanoScan Scanners,+libusb-1.0 +libjpeg))
  326. $(eval $(call SaneBackend,plustek,LM983[1/2/3] based USB flatbed scanners,+libusb-1.0))
  327. $(eval $(call SaneBackend,plustek_pp,Plustek parallel port flatbed scanners))
  328. $(eval $(call SaneBackend,qcam,Connectix QuickCam cameras,@(TARGET_x86||TARGET_x86_64)))
  329. $(eval $(call SaneBackend,ricoh,Ricoh flatbed scanners))
  330. $(eval $(call SaneBackend,ricoh2,Ricoh2 flatbed scanners,+libusb-1.0))
  331. $(eval $(call SaneBackend,rts8891,rts8891 based scanners,+libusb-1.0))
  332. $(eval $(call SaneBackend,s9036,Siemens 9036 flatbed scanners))
  333. $(eval $(call SaneBackend,sceptre,SCEPTRE scanners))
  334. $(eval $(call SaneBackend,sharp,SHARP scanners))
  335. $(eval $(call SaneBackend,sm3600,Microtek scanners with M011 USB chip,+libusb-1.0))
  336. $(eval $(call SaneBackend,sm3840,Microtek scanners with SCAN08 USB chip,+libusb-1.0))
  337. $(eval $(call SaneBackend,snapscan,AGFA SnapScan flatbed scanners,+libusb-1.0))
  338. $(eval $(call SaneBackend,sp15c,Fujitsu ScanPartner 15C flatbed scanner))
  339. $(eval $(call SaneBackend,st400,Siemens ST/Highscan flatbed scanners))
  340. $(eval $(call SaneBackend,stv680,STV680 cameras,+libusb-1.0))
  341. $(eval $(call SaneBackend,tamarack,Tamarack flatbed scanners))
  342. $(eval $(call SaneBackend,teco1,TECO / RELISYS scanners))
  343. $(eval $(call SaneBackend,teco2,TECO / RELISYS scanners))
  344. $(eval $(call SaneBackend,teco3,TECO / RELISYS scanners))
  345. $(eval $(call SaneBackend,test,testing frontends))
  346. $(eval $(call SaneBackend,u12,Plustek USB flatbed scanners based on older parport designs,+libusb-1.0))
  347. $(eval $(call SaneBackend,umax,UMAX scanners,+libusb-1.0))
  348. $(eval $(call SaneBackend,umax1220u,the UMAX Astra 1220U and similar scanners,+libusb-1.0))
  349. $(eval $(call SaneBackend,umax_pp,Umax Astra parallel port flatbed scanners))
  350. $(eval $(call SaneBackend,v4l,Video for Linux API,+libv4l +libjpeg +libusb-1.0))
  351. $(eval $(call SaneBackend,xerox_mfp,Xerox Phaser 3200MFP device,+libjpeg +libusb-1.0))
  352. $(eval $(call BuildPackage,sane-backends))
  353. $(eval $(call BuildPackage,sane-backends-all))
  354. $(eval $(call BuildPackage,sane-frontends))