The current ebuild of media-gfx/sane-backends supports the "pie" backend but not the "pieusb" backend. It seems to work when just adding it to the list of backends in the ebuild but I didn't check the dependency on the "usb" USE-flag. At least, the resulting file /usr/lib64/sane/libsane-pieusb.so links against libusb: ldd /usr/lib64/sane/libsane-pieusb.so linux-vdso.so.1 (0x00007ffe582f7000) libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f2ad2cec000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2ad2ccc000) libusb-1.0.so.0 => /lib64/libusb-1.0.so.0 (0x00007f2ad2cb0000) Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcbeb65befc813a87bc9f0d45adefb5fa954f196 commit dcbeb65befc813a87bc9f0d45adefb5fa954f196 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-01-13 01:19:43 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-13 01:21:34 +0000 media-gfx/sane-backends: Bump to version 1.0.31 - Fixed build with autoconf-2.70 (#750374) - Added support for pieusb backend (#744703) - Added python-any-r1 eclass because the auto-generated gitlab tarballs we use require to generate some files with a shipped python script - Removed user LDFLAGS from pkgconfig files - Converted some variables into arrays - Minor ebuild overhaul Closes: https://bugs.gentoo.org/744703 Closes: https://bugs.gentoo.org/750374 Closes: https://bugs.gentoo.org/759982 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> media-gfx/sane-backends/Manifest | 1 + .../files/sane-backends-1.0.31-autoconf-2.70.patch | 93 ++++++ .../sane-backends-1.0.31-backend_pot_input.patch | 33 ++ .../sane-backends-1.0.31-udev_rules_update.patch | 55 ++++ .../sane-backends/sane-backends-1.0.31.ebuild | 362 +++++++++++++++++++++ profiles/desc/sane_backends.desc | 1 + 6 files changed, 545 insertions(+)