This is a followup to bug #750116. Thanks for the fix. =:^) Turns out after that fix, the hplip USE=scanner depend on avahi can be dropped entirely, since the added patch/diff 019_hplip-3.20.9-fix-scan_build.diff adds an #ifdef HAVE_LIBNETSNMP, thus making the avahi header include conditional on USE=snmp, not USE=avahi. Since USE=snmp already depends on avahi, the USE=scanner avahi dep can just be dropped. Currently testing effectively that with an avahi null-package (recreated after the previous bugfix) in my overlay, and hplip, including the scanner, is working just fine. =:^) (FWIW, I had never actually merged hplip-plugins before, so while I had the scanner USE flag on I was just using the printer functionality from the computer (plus stand-alone without-the-computer copier functionality, naturally using the scanner hardware, so I knew the scanner /hardware/ worked). I hadn't had time to investigate why the scanner wasn't working tho I suspected it was because I didn't have the necessary plugins. But investigating the above bug meant I was already working on it so after that was fixed I went ahead and tried the plugins, faffed about figuring out the sane frontend I wanted to use (skanlite, but tried sane-frontends, xsane, and even a live kooka ebuild from the kde overlay), figured out /which/ plugin I needed so I could install-mask the others (proprietary after all and I want as little of that on the system as possible), and then when the scanner was working to my satisfaction, tried without avahi (both hplip build and run) again. So the hplip scanner functionality is now *well* tested and is *definitely* working without avahi. =:^) And I'd like to be able to kill that avahi null-package again, which of course means the hplip USE=scanner conditional depend on avahi, now demonstrated to with the fix for the above bug be a USE=snmp dep only, needs to be gone. Thus this bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad423d91bed7dc60a06432861002f294cf97b3b3 commit ad423d91bed7dc60a06432861002f294cf97b3b3 Author: Daniel Pielmeier <billie@gentoo.org> AuthorDate: 2020-10-23 14:49:24 +0000 Commit: Daniel Pielmeier <billie@gentoo.org> CommitDate: 2020-10-23 14:49:24 +0000 net-print/hplip: Revision bump to hplip-3.20.9-r3. Remove dependency on net-dns/avahi if USE="scanner". Thanks to Duncan for the report. Closes: https://bugs.gentoo.org/750824 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Daniel Pielmeier <billie@gentoo.org> net-print/hplip/hplip-3.20.9-r3.ebuild | 281 +++++++++++++++++++++++++++++++++ 1 file changed, 281 insertions(+)
FWIW I do not have USE=scanner set. Today portage wants to (newly) emerge net-dns/avahi-0.8-r2::gentoo : t44 ~ # emerge --update --newuse --changed-use --deep --verbose @world -a --changed-deps=y --exclude sys-devel/gcc --exclude dev-util/lldb --exclude sys-devel/clang --exclude sys-libs/compiler-rt-sanitizers --exclude sys-libs/compiler-rt --exclude sys-devel/llvm These are the packages that would be merged, in reverse order: Calculating dependencies ... . ...... done! [ebuild U ~] net-print/hplip-plugin-3.20.9::gentoo [3.20.6-r1::gentoo] USE="-orblite" 11,246 KiB [ebuild U ] net-print/hplip-3.20.9-r3::gentoo [3.20.6-r1::gentoo] USE="X hpcups libnotify libressl policykit qt5 snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport -scanner -static-ppds" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" 25,547 KiB [ebuild N ] net-dns/avahi-0.8-r2::gentoo USE="dbus introspection ipv6 nls qt5 -autoipd -bookmarks -doc -gdbm -gtk -gtk2 -howl-compat -mdnsresponder-compat -mono -python (-selinux) -systemd -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 931 KiB [ebuild N ] app-doc/xmltoman-0.4-r1::gentoo 15 KiB [ebuild N ] acct-group/netdev-0::gentoo 0 KiB [ebuild N ] acct-user/avahi-0::gentoo 0 KiB [ebuild N ] acct-group/avahi-0::gentoo 0 KiB
net-dns/avahi is still required with USE="snmp".