Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387537 - media-video/mjpegtools-2.0.0-r1: USE flags "X" and "sdl" are redundant with each other
Summary: media-video/mjpegtools-2.0.0-r1: USE flags "X" and "sdl" are redundant with e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 13:51 UTC by Ulrich Müller
Modified: 2011-10-23 18:02 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 Ulrich Müller gentoo-dev 2011-10-18 13:51:29 UTC
The ebuild defines:

REQUIRED_USE="!X? ( !gtk !sdl )
        X? ( sdl )
        sdlgfx? ( sdl )"

It follows that only the USE flag combinations "-X -sdl" and "X sdl" are allowed, whereas combinations "-X sdl" and "X -sdl" are forbidden.

Therefore, having two flags adds no additional choice for the user. Only one of "X" and "sdl" should be in IUSE.
Comment 1 Daniel Pielmeier gentoo-dev 2011-10-23 18:02:42 UTC
You are right, I just tried to use the same logic which is used in the Makefiles. I does not make really sense, especially for the user. I have removed USE="X" for now.