Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538196 - [x11 overlay] dev-libs/orbital needs to pass -Duse_alsa
Summary: [x11 overlay] dev-libs/orbital needs to pass -Duse_alsa
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 20:38 UTC by Chloe
Modified: 2017-01-29 02:02 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 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.