Gentoo Archives: gentoo-user

From: Mickey Mullin <mickey@×××××××××.us>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] use flags, mplayer, lame
Date: Wed, 22 Mar 2006 23:34:33
Message-Id: 39c715d00603221519j59560a98y@mail.gmail.com
In Reply to: Re: [gentoo-user] use flags, mplayer, lame by Pierrick Couturier
1 On 22/03/06, Pierrick Couturier <arofarn@××××.fr> wrote:
2 > hawat.thufir@×××××.com wrote:
3 > > If down the road I realize that I've left out use flag for mplayer
4 > > would I have to recompile mplayer?
5 > >
6 > >
7 > > localhost ~ #
8 > > localhost ~ # emerge -pv mplayer
9 > >
10 > > These are the packages that I would merge, in order:
11 > >
12 > > Calculating dependencies ...done!
13 > > [ebuild N ] media-sound/lame-3.96.1 -debug +gtk 1,226 kB
14 > > [ebuild N ] media-sound/xmms-1.2.10-r15 -3dnow +alsa +arts
15 > > -directfb +esd -flac -jack -lirc +mad +mikmod -mmx +mp3 +nls +oss
16 > > -sndfile +vorbis 3,006 kB
17 > > [ebuild N ] media-video/mplayer-1.0.20060217 -3dfx -3dnow
18 > > -3dnowext +X -aac -aalib +alsa (-altivec) +arts -bidi -bindist -bl
19 > > -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc
20 > > -dts -dv -dvb -dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk
21 > > -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo
22 > > +mad -matroska -matrox -mmx -mmxext -musepack -nas +nls -nvidia
23 > > +opengl +oss +png -real -rtc +samba +sdl -sse -sse2 -svga -tga -theora
24 > > +truetype -v4l -v4l2 +vorbis -win32codecs -xanim -xinerama +xmms +xv
25 > > -xvid -xvmc 7,431 kB
26 > > [ebuild N ] media-plugins/xmms-mpg123-1.2.10-r1 -3dnow +ipv6 -mmx
27 > > +ssl 528 kB
28 > > [ebuild N ] media-libs/libmikmod-3.1.11-r1 +alsa +esd +oss 597 kB
29 > > [ebuild N ] media-plugins/xmms-mikmod-1.2.10 0 kB
30 > > [ebuild N ] media-plugins/xmms-vorbis-1.2.10-r1 +ipv6 +ssl 0 kB
31 > > [ebuild N ] media-plugins/xmms-arts-0.7.1-r1 231 kB
32 > > [ebuild N ] media-plugins/xmms-mad-0.8 307 kB
33 > > [ebuild N ] media-plugins/xmms-esd-1.2.10-r1 +oss 0 kB
34 > > [ebuild N ] media-plugins/xmms-oss-1.2.10 0 kB
35 > > [ebuild N ] media-plugins/xmms-alsa-1.2.10-r2 532 kB
36 > >
37 > > Total size of downloads: 13,861 kB
38 > > localhost ~ # date
39 > > Wed Mar 22 20:15:51 GMT 2006
40 > > localhost ~ #
41 > >
42 > > I could make /etc/packages/portage.use something like:
43 > >
44 > > 'media-sound/lame-3.96.1'
45 > >
46 > > along with the other flags, and then mplayer would have lame et. al.
47 > > as plug-in's, yes?
48 > >
49 > > Or, do I have that wrong? Automagically mplayer will see
50 > > 'media-sound/lame-3.96.1' and incorporate lame into mplayer? Or, is
51 > > lame installed seperately?
52 > >
53 > > 'Default USE flags
54 > >
55 > > The current default USE flags for an x86 Linux system:
56 > > File: /usr/portage/profiles/default-linux/x86/2005.1/make.defaults
57 > > ...
58 > >
59 > > USE="alsa apm arts avi bitmap-fonts cups eds emboss encode fortran
60 > > foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++
61 > > libwww mad mikmod motif mp3 mpeg ogg oggvorbis opengl oss pdflib png
62 > > qt quicktime sdl spell truetype truetype-fonts type1-fonts vorbis X
63 > > xml2 xmms xv"'
64 > >
65 > > <http://gentoo-wiki.com/FAQ_USE_Flags>
66 > >
67 > > But, I don't seem to have xmms installed, while I do have totem, so,
68 > > I'm not totally understanding the significance of the above list.
69 > >
70 > >
71 > > As I think about this more, it seems that, for example, I might just
72 > > install lame directly with portage. In that case, it'd be up to
73 > > mplayer to recognize lame's presence, yes? However, with the use
74 > > flags, mplayer is compiled with lame?
75 > >
76 > > However, if another application is *also* installed with lame as a use
77 > > flag, that'd be redundant. Or, not? They would both recursively
78 > > install lame, with lame known to both mplayer and the second app?
79 > >
80 > >
81 > >
82 > > thanks,
83 > >
84 > > Thufir
85 > Hello,
86 >
87 > You have xmms in your USE flags (default gentoo USE flags, I assume). So
88 > when you'va tried to install mplayer, portage wants to install xmms too
89 > because mplayer can use xmms or parts of it (I don't how) if you want.
90 >
91 > If you don't want to do so, add "-xmms" to the list of the USE flags in
92 > /etc/make.conf (your all system won't use xmms as an dependance but xmms
93 > can be installed as a standalone program), or "media-video/mplayer
94 > -xmms" to avoid xmms to be an dependance of mplayer only.
95
96 "media-video/mplayer -xmms" should go in /etc/portage/package.use
97 (just create if not already present), not in /etc/make.conf.
98
99 mwm
100
101 --
102 gentoo-user@g.o mailing list