Checking: http://hplipopensource.com/hplip-web/install/manual/distros/other.html dev-python/dbus-python is not a required dep of net-print/hplip Changing the ebuild from dev-python/dbus-python to fax? ( dev-python/dbus-python ) Seems to fix the problem of dbus being pulled in. Although I am not sure what else you need it for Reproducible: Always Steps to Reproduce: 1. emerge -av net-print/hplip with minimal USE= -X -doc -fax -hpijs -kde -libnotify -libusb0 -parport -policykit -qt4 -scanner -snmp -static-ppds on a headless server without dbus 2. emerge wants to pull in dbus and other deps 3. change ebuild from dev-python/dbus-python to fax? ( dev-python/dbus-python ), digest and, emerge hplip works fine without dbus yay. Actual Results: hplip pulls in dbus via dev-python/dbus-python Expected Results: Just emerging hplip no dbus according to HP dev-python/dbus-python is only needed for fax support. REF http://hplipopensource.com/hplip-web/install/manual/distros/other.html Thanks for your time!
Take a look at the code and not at the incomplete installation docs. There are a few scripts which require dbus-python. If you can convince upstream to make everything there configurable I can make dbus-python optionally again. See also comment #12 and #13 on bug #431202.
Whoah wow! That was the fastest bug reply ever. OK here we go https://bugs.launchpad.net/hplip/+bug/1095783 Looking at configure I thought dbus-build=no would disable anything python-dbus. "Following values are determined at configure time and cannot be changed. [configure] <snip> fax-build=no dbus-build=no </snip>" OK that's cool either way. I edited the ebuild and am running it without dbus as I don't have anything else on the server that needs dbus. I am browsing the code just to see if I am going to cause a problem with a lazer jet by not having dbus. Do you recall what other files require (python-)dbus? I did just try emerging hplip with the minimal USE flag and I could still use the printer but the hp-foo scripts were not present. Thanks again Daniel
Can we at least have the already-existing USE=minimal to avoid the dependency on dbus-python? With USE=minimal the problematic scripts are not installed so there should be no issue, right?
(In reply to Nick Bowler from comment #3) > Can we at least have the already-existing USE=minimal to avoid the > dependency on dbus-python? With USE=minimal the problematic scripts are not > installed so there should be no issue, right? That works for me thanks.
+*hplip-3.14.1-r1 (05 Mar 2014) + + 05 Mar 2014; Daniel Pielmeier <billie@gentoo.org> +hplip-3.14.1-r1.ebuild: + Only depend on dev-python/dbus-python if USE=minimal. This fixes bug #449402. + Thanks to turtle for the report and Nick Bowler for the suggested dependency + change.