Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 467226

Summary: net-print/cups: please provide a way not to install lp-compat executables
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=496922
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-25 14:54:28 UTC
My laptop just broke and I had to move my work to the machine I used as a print server. I'm using lprng there for proper Windows client support and PostScript printer emulation (yay, no more drivers!).

However, lpr support in Linux apps in very poor compared to CUPS support. Therefore, I basically need to install and use CUPS as a print server for local tasks, using 'remote' lprng printer.

At the moment, the lprng ebuild blocks cups due to file collisions. I have tested that removing the lot of 'lp*' executables installed by CUPS and using --nodep allows me to use CUPS successfully with lprng server on the same machine.

I would really appreciate being given an USE flag to disable installing the compatibility lp utilities.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2013-05-03 20:03:54 UTC
done (see useflag lprng-compat in newest cups)
Comment 2 Andreas Sturmlechner gentoo-dev 2021-04-20 12:52:34 UTC
>2 years after net-print/lprng last-rites we can drop the workaround again in the next cups version bump.
Comment 3 Larry the Git Cow gentoo-dev 2021-04-20 12:59:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dedc3d9f5ad07bfbc56b5b4e42564548ab35d2f

commit 2dedc3d9f5ad07bfbc56b5b4e42564548ab35d2f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-04-20 12:56:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-04-20 12:58:47 +0000

    net-print/cups: Drop obsolete IUSE=lprng-compat
    
    net-print/lprng was last-rited more than 2 years ago.
    
    Bug: https://bugs.gentoo.org/467226
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 net-print/cups/cups-2.3.3_p2.ebuild | 14 +-------------
 net-print/cups/cups-9999.ebuild     | 14 +-------------
 2 files changed, 2 insertions(+), 26 deletions(-)