aboutsummaryrefslogtreecommitdiff
path: root/utils/sane-backends/files
Commit message (Collapse)AuthorAge
* sane-backends: update to 1.0.29Luiz Angelo Daros de Luca2020-02-03
| | | | | | | | | | | | | | | | | | - Migrate libusb dependency back to libsane (virtually all useful backends for OpenWrt would need it anyway) - Disabled new usb-record-replay feature (avoid libxml2 dep) - Disabled new escl backend (network-only backend are not too useful for OpenWrt and it requires libcurl, libnetsnmp, libavahi and libxml2) - Workaround sane-daemon/postinst installation on Imagebuild - Enabled backends kvs40xx and mustek_usb2 (fixed upstream) - Fix bigendian compilation (https://gitlab.com/sane-project/backends/-/merge_requests/329) - Fix missing std::round() for uclibc (https://gitlab.com/sane-project/backends/issues/237) - Fixes FS#2685: coldplug was running before usblp was loaded. Now it grants access do usblp when a device using it is plugged. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* sane-backends: run (xinetd) saned as non-rootLuiz Angelo Daros de Luca2019-12-21
| | | | | | | | | | | | | | | | | | | | | | | saned requires write access scanner USB bus for its process and to usblp/bind in order to rebind multifunctional printers back to usblp (for printing with p910nd). A hotplug script monitor new USB devices for scanners. Scanners are detected by searching /usr/share/sane/<vendor>-<backend>.usbid for the device product_id. The package saned creates user saned:scanners. Access is granted to group scanners. The default xinetd conf was updated to run as saned:scanner. sane-daemon pkg now has a postinst trigger that runs udevtrigger for granting perms where there are connected scanners during installation. Existing hotplug scripts from hplip were removed. They were mostly useless. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* sane-backends: update to 1.0.28 (WIP)Luiz Angelo Daros de Luca2019-11-01
| | | | | | | | | | | | | | | | | | Just Need runtime tests * libsane dependency on libusb moved to those drivers that requires it * clean up some ./configure args * added saned-ricoh2 for new backend * enabled saned-gphoto2 (after c8fbe26c532aced97ab8a4d42f1289db2a3e6d65) * disabled kvs40xx and mustek_usb2 that requires pthread while the issue is not solved (https://gitlab.com/sane-project/backends/issues/153) * patches refreshed: - 002-remove-uneeded.patch * patches dropped: - 031-fix_uclibc.patch - 050-remove_linked_libs_for_unused_preload.patch (with --disable-preload) Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* sane-backends: rebind printers to usblp after scanLuiz Angelo Daros de Luca2019-05-02
| | | | | | | | | | | | | | | | While scanning, sane unbinds usb device from usblp module. This patch creates a saned wrapper that keep track of all usb devices binded to usblp before saned is launched and rebind them back if not still bound after saned exits. This workaround is only effective if saned is launched by a super daemon like xinetd as it needs to exit after scan job finish. If not, printing will not be available while saned service is running. Write access to /sys/bus/usb/drivers/usblp/bind is required. So, normally it would require root access. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* sane-backends: import from oldpackages and updateLuiz Angelo Daros de Luca2015-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | Changes since oldpackages: - updated to 1.0.25 * most of openwrt patches are upstreamed now - cups dependency was completely removed - small musl patch - small uclibc patch - removed link to extra libraries in libsane (used only for preload backends) - sane-libs and sane-backends merged and exploded into individual packages for each backend: * libsane for sane library (which backends should dep on) * sane-daemon for saned daemon * sane-xxx for sane backend for xxx ** each backend has its own custom dep libraries * sane-backends-all (with no files) that deps on all backends * sane-qcam is only available for x86/x86_64 ** other archs does not implement inb/outb (at least in musl) Now it is possible to use SANE with much less FS space (KB instead of MB). Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* Revert "sane-backends: import from oldpackages"Luiz Angelo Daros de Luca2015-09-15
|
* sane-backends: import from oldpackagesLuiz Angelo Daros de Luca2015-09-10
Changes since oldpackages: - cups dependency was completely removed * This also happened in sane trunk version - small musl patch - added detection of inb,outb (link error with musl) * this also removes hack 020-non-i386-qcam.patch - fix for segfault when using sane-test backend - removed link to extra libraries in libsane (used only for preload backends) - added format-security fix - sane-libs and sane-backends merged and exploded into individual packages for each backend: * libsane for sane library (which backends should dep on) * sane-daemon for saned daemon * sane-xxx for sane backend for xxx ** each backend has its own custom dep libraries * sane-backends-all (with no files) that deps on all backends * sane-qcam is only available for x86/x86_64 ** other archs does not implement inb/outb (at least in musl) Now it is possible to use SANE with much less FS space (KB instead of MB). Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>