Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602506 - =net-print/hplip-3.16.11-r1 should be available without QT interface
Summary: =net-print/hplip-3.16.11-r1 should be available without QT interface
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-13 06:59 UTC by Xavier Miller (RETIRED)
Modified: 2016-12-16 17:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2016-12-13 06:59:05 UTC
the new net-print/hplip-3.16.11-r1 ebuild forces QT even if -qt4 and -qt5 are set.

Hplip can work on headless servers without the QT interface.

Please, add a conditional on qt4/qt5 and don't force qt4 if qt5 is unset.
Comment 1 Andreas Sturmlechner gentoo-dev 2016-12-13 07:45:53 UTC
You can switch on USE=minimal which gets rid of the GUI.
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2016-12-13 08:09:46 UTC
If I enable minimal, the scanner deps are not active...
Comment 3 Andreas Sturmlechner gentoo-dev 2016-12-13 09:47:05 UTC
The easiest solution here would be dropping USE=qt4. Qt4 is deprecated anyway (see also: https://wiki.gentoo.org/wiki/Project:Qt/Policies#Handling_different_versions_of_Qt), and then qt5 becomes the flag to enable or disable the GUI.

@Dennis: Permission to drop USE=qt4 in the ongoing PR?
Comment 4 Xavier Miller (RETIRED) gentoo-dev 2016-12-13 10:39:57 UTC
Yrah(In reply to Andreas Sturmlechner from comment #3)
> The easiest solution here would be dropping USE=qt4. Qt4 is deprecated
> anyway (see also:
> https://wiki.gentoo.org/wiki/Project:Qt/
> Policies#Handling_different_versions_of_Qt), and then qt5 becomes the flag
> to enable or disable the GUI.
> 
> @Dennis: Permission to drop USE=qt4 in the ongoing PR?

Yeah, qt4 USE flag is dropped, but if qt5 is disabled, it enables QT 4
Comment 5 Andreas Sturmlechner gentoo-dev 2016-12-13 10:44:08 UTC
Yes, what I actually meant of course is dropping !qt5 dependencies.
Comment 6 Andreas Sturmlechner gentoo-dev 2016-12-16 17:57:58 UTC
Thanks, fixed in git (commit 976770b8d4313eb15c99b1b68197870f0c1d9f37)