Summary: | net-print/hplip-3.11.10 should depend on libusb unconditionally | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francisco J. Vazquez <dv> |
Component: | [OLD] Printing | Assignee: | Daniel Pielmeier <billie> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | calchan, printing |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Francisco J. Vazquez
2012-02-08 16:20:36 UTC
emerge --unmerge dev-libs/libusb USE="minimal" emerge -av =hplip-3.11.10 Works fine here. Please attach the full build log of your failing install. Created attachment 301301 [details]
build.log
I think I found the problem. I guess hplip builds fine if you enable the hpijs use flag. Yep, with hpijs enabled I don't need libusb to emerge hplip, it compiles fine. (In reply to comment #4) > Yep, with hpijs enabled I don't need libusb to emerge hplip, it compiles fine. Thanks for your feedback. I am thinking about removing the minimal use flag. It has never done what it should. There is also no such configure option, just some others I used for the minimal build. These configure options are intransparent and probably wrong. So I think it is better to drop the flag completely. I hope you add a new USE for pygobject, then. I used "minimal" because I just need the hpcups/hpijs driver and the ppds (it's a minimal server). It works great that way. (In reply to comment #6) > I hope you add a new USE for pygobject, then. I used "minimal" because I just > need the hpcups/hpijs driver and the ppds (it's a minimal server). It works > great that way. Maybe I keep the minimal flag. Which use flags do you enable/disable for hplip to build only drivers and ppds? Right now I have it emerged with: [ebuild R ] net-print/hplip-3.11.10 USE="X acl hpcups minimal snmp -doc -fax -hpijs -kde -libnotify -parport -policykit -qt4 -scanner -static-ppds" (the X use flag is ignored, since scanner is not set). Since I don't need hpijs I decided to emerge libusb:0 by hand, emerge hplip and then unmerge libusb. Maybe minimal is a bit redundant, since you can disable most other things anyway (scanner, fax, qt4, etc). The only thing that can be disabled only by setting USE=minimal is pygobject, which pulls several other packages. +*hplip-3.12.2-r1 (16 Feb 2012) + + 16 Feb 2012; Daniel Pielmeier <billie@gentoo.org> +hplip-3.12.2-r1.ebuild, + +files/hplip-3.12.2-minimal.patch: + Add a patch to fix minimal build with hpijs disabled and hpcups enabled. This + should fix bug #402727. Thanks to Francisco Vazquez for the report. Correct + other USE="minmal" related issues. I have added a patch to hplip-3.12.2-r1 which should enable a minimal build with hpijs disabled and hpcups enabled. The patch fixes the configure script to behave the same for a hpijs driver only build and a hpcups driver only build. I think if only the driver is built it should make no difference if it is hpijs or hpcups. Please test if everything works correct now. Yep, everything works well and there's no need to have libusb:0 installed to emerge anymore. Thanks! |