LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1562|回复: 11

[解决]mplayer的USE标记中real项被括号包着(-real),/etc/portage/package.use中 mpl

[复制链接]
发表于 2008-11-7 21:24:15 | 显示全部楼层 |阅读模式
[ebuild   R   ] media-libs/win32codecs-20071007-r4  USE="(-real)" 0 kB


[ebuild   R   ] media-video/mplayer-1.0_rc2_p27725-r1  USE="X a52 aac alsa dvd encode esd gif gtk iconv jpeg mad mmx mp3 opengl png quicktime sdl theora truetype unicode vorbis win32codecs xscreensaver xv -3dnow -3dnowext -aalib (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -dirac -directfb -doc -dts -dv -dvb -dxr3 -enca -fbcon -ftp -ggi -ipv6 -jack -joystick -ladspa -libcaca -lirc -live -lzo -md5sum -mmxext -mp2 -musepack -nas -nemesi -openal -oss -pnm -pulseaudio -pvr -radio -rar [color="Red"](-real) -rtc -samba -schroedinger -speex -srt -sse -sse2 -ssse3 -svga -teletext -tga -v4l -v4l2 -vidix -x264 -xanim -xinerama -xvid -xvmc -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB


/etc/portage/package.use=============================
scim-mathematics/octave doc emacs
sci-visulization/gnuplot wxwindows emacs
media-video/mplayer aac real
media-libs/opencv demos examples
media-libs/win32codecs real
net-dns/avahi mdnsresponder-compat
net-im/pidgin qq

怎么为mplayer添加real?  以前的时候以上的配置是可以的。现在不行了
发表于 2008-11-7 21:34:33 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2008-11-7 22:11:10 | 显示全部楼层
楼上的方法行么?
楼主是不是用了nomultilib的profile?
回复 支持 反对

使用道具 举报

发表于 2008-11-7 22:13:14 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-7 22:21:56 | 显示全部楼层
谢谢!你怎么这么快就找到了
回复 支持 反对

使用道具 举报

发表于 2008-11-7 22:26:00 | 显示全部楼层
我昨天就碰到这个问题了,是我更新portage比你早一点,先碰到了这个问题
回复 支持 反对

使用道具 举报

发表于 2008-11-7 23:19:07 | 显示全部楼层
谢谢二楼的兄弟
回复 支持 反对

使用道具 举报

发表于 2008-11-8 09:44:21 | 显示全部楼层
直接在
/etc/portage/package.unmask
media-libs/realcodecs
回复 支持 反对

使用道具 举报

发表于 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 里面的新版本才可以,刚测试的
回复 支持 反对

使用道具 举报

发表于 2008-11-14 18:34:37 | 显示全部楼层
我打开 mplayer 的real USE后,尽管前面安装了media-libs/realcodecs , 还是要安装realplayer, 说实话,我很讨厌realplayer, 能不能不安装它,只安装ealcodecs, 怎么做?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表