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

Bug 538196

Summary: [x11 overlay] dev-libs/orbital needs to pass -Duse_alsa
Product: Gentoo Linux Reporter: Chloe <chloe_shing>
Component: EclassesAssignee: Gentoo X packagers <x11>
Status: RESOLVED WONTFIX    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chloe 2015-01-29 20:38:08 UTC
Example: dev-libs/orbital:x11
The project expects full lowercase arguments, like use_logind, use_alsa etc.
However, Cmake-utils.eclass tries all cases except full lowercase.
In the case of orbital, manually adding -Duse_alsa=1 and similar worked.

Solution would be to modify Cmake-utils.eclass to make use of all capitalization levels.
Comment 1 Mike Gilbert gentoo-dev 2015-01-29 21:09:20 UTC
Or you could do $(cmake-utils_use alsa use_alsa).
Comment 2 Chloe 2015-01-29 21:25:52 UTC
True, but it seems that the x11 team, at least, expects utils_use to try all capitalizations, as seen in the example.
If you choose to WONTFIX, you could convert this bug to dev-libs/orbital:x11 needing a patch to force lowercase.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-01-25 15:55:45 UTC
The various helper functions have finally been deprecated so there is no point on working on them further. I'm therefore converting it to be about dev-libs/orbital as per your suggestion.
Comment 4 Matt Turner gentoo-dev 2017-01-29 02:02:15 UTC
The person who committed this has disappeared. I'm removing it from the overlay.