|
|
发表于 2008-11-14 17:12:51
|
显示全部楼层
按照: http://forums.gentoo.org/viewtop ... bd470151d1452478d82
Hi guys,
Okay, so the "real" use flag has been package.use.mask'd on win32codecs, amarok and mplayer. Also, realplayer, amd64codecs and realcodecs has been package masked.
The reason for this is because the RealPlayer codecs have constantly had security issues, and the RealPlayer package has always been a hassle to maintain. Neither one is going away -- they are just going to stay as unstable. Chances are, you don't need them anyway. The codecs are hardly used anymore, and most people will be fine without them.
For clarification, Real Player codecs are actually in three different packages:
win32codecs comes with older pre-compiled 32-bit binary codecs, which are used by mplayer. The "real" use flag enables installing the Real Player ones.
amd64codecs is also used by mplayer, and is a collection of 64-bit binary codecs, but unlike win32codecs, they are all Real Player codecs (no "real" use flag)
realcodecs is the codecs that are installed from the 32-bit binary RPM provided by Real Media (helixcommunity.org). It is just the realplayer package split up into two, so that those who only want the codecs, without the player (headless system without X, for example) can do just that.
If you want to enable the use flag for any of those three packages (mplayer, amarok, win32codecs), you'll need to unmask it for the package.
Here's how:
mkdir -p /etc/portage/profile
echo media-video/mplayer -real >> /etc/portage/profile/package.use.mask
If you want to undo *everything* and have all realplayer support enabled, here's how:
mkdir -p /etc/portage/profile
echo media-libs/realcodecs >> /etc/portage/package.unmask
echo media-libs/realcodecs >> /etc/portage/package.keywords
echo media-libs/amd64codecs >> /etc/portage/package.unmask
echo media-libs/amd64codecs >> /etc/portage/package.keywords
echo media-video/realplayer >> /etc/portage/package.unmask
echo media-video/realplayer >> /etc/portage/package.keywords
echo media-video/mplayer -real >> /etc/portage/profile/package.use.mask
echo media-sound/amarok -real >> /etc/portage/profile/package.use.mask
echo media-libs/win32codecs -real >> /etc/portage/profile/package.use.mask
If you're on amd64, you'll want this one as well:
echo media-libs/realcodecs -win32codecs >> /etc/portage/profile/package.use.mask
同时 portage eselect eselect-news win32codecs 目前都要用 ~x86 里面的新版本才可以,刚测试的 |
|