Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496164 - x11-themes/qtcurve-1.18.7-r1.ebuild, REQUIRED_USE should allow gtk and qt4 or qt5 at the same time
Summary: x11-themes/qtcurve-1.18.7-r1.ebuild, REQUIRED_USE should allow gtk and qt4 or...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-27 13:48 UTC by Hubert Kromer
Modified: 2014-01-02 17:42 UTC (History)
1 user (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 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.