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

Bug 496164

Summary: x11-themes/qtcurve-1.18.7-r1.ebuild, REQUIRED_USE should allow gtk and qt4 or qt5 at the same time
Product: Gentoo Linux Reporter: Hubert Kromer <hubert.kromer>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED NEEDINFO    
Severity: minor CC: qt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hubert Kromer 2013-12-27 13:48:49 UTC
New QtCurve ebuild (1.17 and up) covers building the QtCurve engine for both Qt and GTK.

The following section in file x11-themes/qtcurve/qtcurve-1.8.17-r1.ebuild:

REQUIRED_USE="gtk? ( X )
    windeco? ( kde X )
    || ( gtk qt4 qt5 )"

blocks building the theme engine for Qt and GTK simultaneously. Tests show that both USE flags can be used at the same time and both themes will be built and will work just fine. Please consider changing the last line in REQUIRED_USE to:

    || ( qt4 qt5 )"

Thanks.
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2013-12-30 10:35:29 UTC
@Hubert, please dont assign maintainer by yourself.
Comment 2 Sergey Popov (RETIRED) gentoo-dev 2014-01-02 17:42:33 UTC
quote from Gentoo Development Guide[1]:

to state "at least one of foo, bar, or baz must be set": 

REQUIRED_USE="|| ( foo bar baz )"
		
[1] - http://devmanual.gentoo.org/ebuild-writing/eapi/

So, ebuild for qtcurve allows to set some or all of USE flags from subset 'gtk qt4 qt5', but at least one should be set.

If you can not build it, then maybe something is broken on your system. Please provide a build.log with failures.