Package: libsane
Version: 1.0.25-4.1
Severity: normal

Instead of having a huge udev rules file, sane-backends can generate a
hwdb file [1] to tag scanner devices. This provides much better
performance. As hwdb is more limited then udev rules files, there are a
few entries that can't be expressed via hwdb. For those, a udev rule is
still required. sane-backends can generate such a hwdb+udev combo when
using 
$(CURDIR)/tools/sane-desc -s $(CURDIR)/doc/descriptions -m udev+hdwb
→ generates the udev rules file
$(CURDIR)/tools/sane-desc -s $(CURDIR)/doc/descriptions -m hwdb
→ generates the hwdb file

The make sure to install the rules file in /lib/udev/rules.d and the
hwdb file in /lib/udev/hwdb.d/

This make file rule can be dropped then
$(CURDIR)/tools/sane-desc -s $(CURDIR)/doc/descriptions -m udev+acl

Thanks for considering,
Michael

[1] https://www.freedesktop.org/software/systemd/man/hwdb.html


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), 
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libsane depends on:
ii  acl                2.2.52-3+b1
ii  adduser            3.115
ii  libavahi-client3   0.6.32-2
ii  libavahi-common3   0.6.32-2
ii  libc6              2.24-12
ii  libgphoto2-6       2.5.14-1
ii  libgphoto2-port12  2.5.14-1
ii  libieee1284-3      0.2.11-13
ii  libjpeg62-turbo    1:1.5.1-2
ii  libsane-common     1.0.25-4.1
ii  libtiff5           4.0.8-4
ii  libusb-1.0-0       2:1.0.21-2
ii  makedev            2.3.1-93
ii  udev               234-2

Versions of packages libsane recommends:
ii  libsane-extras  1.0.22.4
ii  sane-utils      1.0.25-4.1

Versions of packages libsane suggests:
ii  avahi-daemon  0.6.32-2
pn  hplip         <none>

-- no debconf information

Reply via email to