Bug 193671 - net-print/hplip dependency fixes
Bug#: 193671 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: printing@gentoo.org Reported By: danost@gmail.com
Component: Printing
URL: 
Summary: net-print/hplip dependency fixes
Keywords:  
Status Whiteboard: 
Opened: 2007-09-24 18:56 0000
Description:   Opened: 2007-09-24 18:56 0000
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 From Jakub Moc (RETIRED) 2007-09-24 19:05:57 0000 -------
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 From Jakub Moc (RETIRED) 2007-09-24 21:20:09 0000 -------
Created an attachment (id=131805) [details]
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 From Jakub Moc (RETIRED) 2007-09-24 21:22:11 0000 -------
Reopen.

------- Comment #4 From Jakub Moc (RETIRED) 2007-09-24 21:27:30 0000 -------
Created an attachment (id=131806) [details]
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 From Dan Ost 2007-09-26 14:57:50 0000 -------
Your ebuild with USE=minimal has, so far, been working great. Thank you.

------- Comment #6 From Denis Dupeyron 2007-09-30 14:25:22 0000 -------
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 From Jakub Moc (RETIRED) 2007-09-30 18:19:12 0000 -------
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 From Stefan Schweizer 2007-10-10 18:18:16 0000 -------
thanks, done in the latest ebuild.

------- Comment #9 From Denis Dupeyron 2007-11-18 16:06:00 0000 -------
(In reply to comment #7)
> - xsane stuff is actually checked by configure script, it can't be RDEPEND

Wrong. Fixed again.

Denis.