Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193671 - net-print/hplip dependency fixes
Summary: net-print/hplip dependency fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 18:56 UTC by Dan Ost
Modified: 2007-11-18 16:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hplip-2.7.7-r2.ebuild.diff (hplip-2.7.7-r2.ebuild.diff,1.04 KB, patch)
2007-09-24 21:20 UTC, Jakub Moc (RETIRED)
Details | Diff
hplip-2.7.7-r2.ebuild.diff (hplip-2.7.7-r2.ebuild.diff,1.31 KB, patch)
2007-09-24 21:27 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Ost 2007-09-24 18:56:14 UTC
Since hplip depends on cups (>=net-print/cups-1.2), it can't be used with any other printing system (e.g. net-print/lprng). Cups was not a dependency of net-print/hpijs. If the hpijs package is going to be replaced/subsumed by hplip, then hplip needs to play nicely with non-cups print subsystems.

If hplip is legitimately dependent on cups to build, is it possible to create a package that contains the required cups libraries but doesn't block lprng?

Reproducible: Always

Steps to Reproduce:
1. emerge lprng
2. emerge hplip
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-24 19:05:57 UTC
You need to ask upstream to make it work with something else than cups, not here.

<snip>
Question: Can HPLIP be used in CUPS?

Answer: Yes, HPLIP requires CUPS. 
</snip>

http://hplip.sourceforge.net/faqs.html
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-24 21:20:09 UTC
Created attachment 131805 [details, diff]
hplip-2.7.7-r2.ebuild.diff

After wading through the configure stuff for quite a while, this should give you hpijs-only install with USE=minimal, without cups dependency. If it breaks, don't complain. :P
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-24 21:22:11 UTC
Reopen.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-24 21:27:30 UTC
Created attachment 131806 [details, diff]
hplip-2.7.7-r2.ebuild.diff

USE=parport has no effect with hpijs-only-build, no need for the kernel check there either.
Comment 5 Dan Ost 2007-09-26 14:57:50 UTC
Your ebuild with USE=minimal has, so far, been working great. Thank you.
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2007-09-30 14:25:22 UTC
Fixed in hplip-2.7.9. I have changed quite a few things compared to the previous ebuild and what Jakub Proposed, so please test and reopen if it doesn't work.

Thanks to both of you.
Denis.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-09-30 18:19:12 UTC
Well, this is still wrong:

- openssl is only needed with USE=snmp
- xsane stuff is actually checked by configure script, it can't be RDEPEND
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-10 18:18:16 UTC
thanks, done in the latest ebuild.
Comment 9 Denis Dupeyron (RETIRED) gentoo-dev 2007-11-18 16:06:00 UTC
(In reply to comment #7)
> - xsane stuff is actually checked by configure script, it can't be RDEPEND

Wrong. Fixed again.

Denis.