Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473206 - "real" USE flag: confusing masks in profiles
Summary: "real" USE flag: confusing masks in profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 16:19 UTC by Ulrich Müller
Modified: 2013-06-13 18:24 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 2013-06-13 16:19:42 UTC
This is a spillover from bug 468406.

The "real" USE flag is used by two packages, media-video/mplayer and media-video/mplayer2. IIUC, the flag nowadays enables the internal real decoder.

Masking rules in profiles are exceedingly complicated:

   base/use.mask:real
   base/package.use.mask:>=media-video/mplayer-1.0_rc2_p20090226 -real
   prefix/darwin/package.use.mask:media-video/mplayer dvb lirc svga jack joystick matrox real
   prefix/darwin/macos/10.4/x86/use.mask:-real
   prefix/darwin/macos/10.5/ppc/package.use.mask:media-video/mplayer gtk sdl libcaca dv nas musepack bidi enca real cdparanoia samba xanim live openal
   prefix/darwin/macos/10.5/x64/use.mask:-real
   prefix/darwin/macos/10.5/x86/use.mask:-real
   prefix/darwin/macos/10.6/x64/use.mask:-real
   prefix/darwin/macos/10.6/x86/use.mask:-real
   prefix/darwin/macos/10.7/x64/use.mask:-real
   prefix/darwin/macos/10.7/x86/use.mask:-real
   prefix/darwin/macos/10.8/x64/use.mask:-real
   prefix/darwin/macos/10.8/x86/use.mask:-real

Is anything of this still needed?
Comment 1 Nikoli 2013-06-13 16:30:57 UTC
I asked mplayer2 dev, seems now it is safe to disable bin codecs and "real":
<Nikoli> uau, what can you say about this https://bugs.gentoo.org/show_bug.cgi?id=468406#c1 ?
<Nikoli> should i disable 'real' in packages?
<Nikoli> what is status of bin codecs, are they still required?
<uau> Nikoli: binary codecs are only needed to play some rare kinds of files, should not matter for most users
<Nikoli> uau, do you plan to remove support for them or will keep?
<uau> Nikoli: i don't plan to remove binary codec support, as they can be useful for some special cases, and can be useful for developing replacements in libav
<uau> but it's not something that distros should enable by default
<uau> especially as the binary codecs can contain security issues
Comment 2 Ulrich Müller gentoo-dev 2013-06-13 17:30:18 UTC
The real USE flag has been removed from mplayer2.
Can we do the same for mplayer?
Comment 3 Alexis Ballier gentoo-dev 2013-06-13 17:42:26 UTC
(In reply to Ulrich Müller from comment #2)
> The real USE flag has been removed from mplayer2.
> Can we do the same for mplayer?

yes please proceed
Comment 4 Ulrich Müller gentoo-dev 2013-06-13 18:24:46 UTC
Flag is gone, masks removed from profiles.