[gentoo-user] use flags, mplayer, lame
If down the road I realize that I've left out use flag for mplayer would I have to recompile mplayer? localhost ~ # localhost ~ # emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] media-sound/lame-3.96.1 -debug +gtk 1,226 kB [ebuild N] media-sound/xmms-1.2.10-r15 -3dnow +alsa +arts -directfb +esd -flac -jack -lirc +mad +mikmod -mmx +mp3 +nls +oss -sndfile +vorbis 3,006 kB [ebuild N] media-video/mplayer-1.0.20060217 -3dfx -3dnow -3dnowext +X -aac -aalib +alsa (-altivec) +arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo +mad -matroska -matrox -mmx -mmxext -musepack -nas +nls -nvidia +opengl +oss +png -real -rtc +samba +sdl -sse -sse2 -svga -tga -theora +truetype -v4l -v4l2 +vorbis -win32codecs -xanim -xinerama +xmms +xv -xvid -xvmc 7,431 kB [ebuild N] media-plugins/xmms-mpg123-1.2.10-r1 -3dnow +ipv6 -mmx +ssl 528 kB [ebuild N] media-libs/libmikmod-3.1.11-r1 +alsa +esd +oss 597 kB [ebuild N] media-plugins/xmms-mikmod-1.2.10 0 kB [ebuild N] media-plugins/xmms-vorbis-1.2.10-r1 +ipv6 +ssl 0 kB [ebuild N] media-plugins/xmms-arts-0.7.1-r1 231 kB [ebuild N] media-plugins/xmms-mad-0.8 307 kB [ebuild N] media-plugins/xmms-esd-1.2.10-r1 +oss 0 kB [ebuild N] media-plugins/xmms-oss-1.2.10 0 kB [ebuild N] media-plugins/xmms-alsa-1.2.10-r2 532 kB Total size of downloads: 13,861 kB localhost ~ # date Wed Mar 22 20:15:51 GMT 2006 localhost ~ # I could make /etc/packages/portage.use something like: 'media-sound/lame-3.96.1' along with the other flags, and then mplayer would have lame et. al. as plug-in's, yes? Or, do I have that wrong? Automagically mplayer will see 'media-sound/lame-3.96.1' and incorporate lame into mplayer? Or, is lame installed seperately? 'Default USE flags The current default USE flags for an x86 Linux system: File: /usr/portage/profiles/default-linux/x86/2005.1/make.defaults ... USE=alsa apm arts avi bitmap-fonts cups eds emboss encode fortran foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv' http://gentoo-wiki.com/FAQ_USE_Flags But, I don't seem to have xmms installed, while I do have totem, so, I'm not totally understanding the significance of the above list. As I think about this more, it seems that, for example, I might just install lame directly with portage. In that case, it'd be up to mplayer to recognize lame's presence, yes? However, with the use flags, mplayer is compiled with lame? However, if another application is *also* installed with lame as a use flag, that'd be redundant. Or, not? They would both recursively install lame, with lame known to both mplayer and the second app? thanks, Thufir -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
[EMAIL PROTECTED] wrote: If down the road I realize that I've left out use flag for mplayer would I have to recompile mplayer? Yes, of course. I could make /etc/packages/portage.use something like: 'media-sound/lame-3.96.1' along with the other flags, and then mplayer would have lame et. al. as plug-in's, yes? No. In portage.use, you'd write (for example): media-video/mplayer musepack And then mplayer will be compiled with musepack support. If the necessary libraries/files for musepack are not yet present, they'll be installed automatically. emerge -vpt mplayer will clearly show that. Or, do I have that wrong? Automagically mplayer will see 'media-sound/lame-3.96.1' and incorporate lame into mplayer? If a package requires a different package, that different package is automatically pulled. Or, is lame installed seperately? Maybe. I don't know. But, I don't seem to have xmms installed, while I do have totem, so, I'm not totally understanding the significance of the above list. Hm? I don't understand that. USE flags set options. So, if a package has support for xmms, USE=xmms will make the package use xmms; ie. it'll be compiled with appropriate flags. Alexander Skwar -- You can never do just one thing. -- Hardin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
On 22/03/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: As I think about this more, it seems that, for example, I might just install lame directly with portage. In that case, it'd be up to mplayer to recognize lame's presence, yes? However, with the use flags, mplayer is compiled with lame? However, if another application is *also* installed with lame as a use flag, that'd be redundant. Or, not? They would both recursively install lame, with lame known to both mplayer and the second app? Lame would only be emerged one time. Use flags determine one or both of two things: 1) which packages and of what versions should be present on the system to support the desired new/updated package, and 2) what options (make config, I think) should be used when compiling those packages. You are concentrating on number one, above. For example, emerging PHP with the cgi use flag creates the PHP CGI binary, while the apache2 flag will create the (forget the correct name) in-process library for Apache2. Similarly, if MySQL is aleady installed, but the -mysql flag is used, the PHP libraries for communicating with MySQL will not be created. Having done that, subsequently emerging phpmysql will not re-emerge Apache OR PHP, even though they are both requirements. However, I don't know what would actually happen, since the scenario above would have you with PHP on your system but without its being able to access MySQL... Best, Mickey Mullin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
Mickey Mullin wrote: Having done that, subsequently emerging phpmysql will not re-emerge Apache OR PHP, even though they are both requirements. However, I don't know what would actually happen, since the scenario above would have you with PHP on your system but without its being able to access MySQL... phpmysql checks if php is compiled with approporiate flags - ie. it requires that PHP is compiled with USE=mysql or USE=mysqli or both. Alexander Skwar -- Economies of scale: The notion that bigger is better. In particular, that if you want a certain amount of computer power, it is much better to buy one biggie than a bunch of smallies. Accepted as an article of faith by people who love big machines and all that complexity. Rejected as an article of faith by those who love small machines and all those limitations. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
Alexander Skwar wrote: Mickey Mullin wrote: Having done that, subsequently emerging phpmysql will not re-emerge Apache OR PHP, even though they are both requirements. However, I don't know what would actually happen, since the scenario above would have you with PHP on your system but without its being able to access MySQL... phpmysql I assume that you were talking about phpmyadmin. Alexander Skwar -- The best way to avoid responsibility is to say, I've got responsibilities. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
On 22/03/06, Alexander Skwar [EMAIL PROTECTED] wrote: Mickey Mullin wrote: Having done that, subsequently emerging phpmysql will not re-emerge Apache OR PHP, even though they are both requirements. However, I don't know what would actually happen, since the scenario above would have you with PHP on your system but without its being able to access MySQL... phpmysql checks if php is compiled with approporiate flags - ie. it requires that PHP is compiled with USE=mysql or USE=mysqli or both. Ah, thanks. I figured that was the case, but unlike my other guesses, that could have actually steered someone wrong if I was, in fact, incorrect. mwm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
On 22/03/06, Alexander Skwar [EMAIL PROTECTED] wrote: Mickey Mullin wrote: phpmysql I assume that you were talking about phpmyadmin. But of course. I must have had mysql stapled to my forebrain when I typed phpmysql. Must be the late afternoon slump doing me in. Well, that and that I've not used phpmyadmin in several years--too much slower than the CLI client for maintenance. I shall increase my caffeine consumption to compensate. mwm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
[EMAIL PROTECTED] wrote: If down the road I realize that I've left out use flag for mplayer would I have to recompile mplayer? localhost ~ # localhost ~ # emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] media-sound/lame-3.96.1 -debug +gtk 1,226 kB [ebuild N] media-sound/xmms-1.2.10-r15 -3dnow +alsa +arts -directfb +esd -flac -jack -lirc +mad +mikmod -mmx +mp3 +nls +oss -sndfile +vorbis 3,006 kB [ebuild N] media-video/mplayer-1.0.20060217 -3dfx -3dnow -3dnowext +X -aac -aalib +alsa (-altivec) +arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo +mad -matroska -matrox -mmx -mmxext -musepack -nas +nls -nvidia +opengl +oss +png -real -rtc +samba +sdl -sse -sse2 -svga -tga -theora +truetype -v4l -v4l2 +vorbis -win32codecs -xanim -xinerama +xmms +xv -xvid -xvmc 7,431 kB [ebuild N] media-plugins/xmms-mpg123-1.2.10-r1 -3dnow +ipv6 -mmx +ssl 528 kB [ebuild N] media-libs/libmikmod-3.1.11-r1 +alsa +esd +oss 597 kB [ebuild N] media-plugins/xmms-mikmod-1.2.10 0 kB [ebuild N] media-plugins/xmms-vorbis-1.2.10-r1 +ipv6 +ssl 0 kB [ebuild N] media-plugins/xmms-arts-0.7.1-r1 231 kB [ebuild N] media-plugins/xmms-mad-0.8 307 kB [ebuild N] media-plugins/xmms-esd-1.2.10-r1 +oss 0 kB [ebuild N] media-plugins/xmms-oss-1.2.10 0 kB [ebuild N] media-plugins/xmms-alsa-1.2.10-r2 532 kB Total size of downloads: 13,861 kB localhost ~ # date Wed Mar 22 20:15:51 GMT 2006 localhost ~ # I could make /etc/packages/portage.use something like: 'media-sound/lame-3.96.1' along with the other flags, and then mplayer would have lame et. al. as plug-in's, yes? Or, do I have that wrong? Automagically mplayer will see 'media-sound/lame-3.96.1' and incorporate lame into mplayer? Or, is lame installed seperately? 'Default USE flags The current default USE flags for an x86 Linux system: File: /usr/portage/profiles/default-linux/x86/2005.1/make.defaults ... USE=alsa apm arts avi bitmap-fonts cups eds emboss encode fortran foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv' http://gentoo-wiki.com/FAQ_USE_Flags But, I don't seem to have xmms installed, while I do have totem, so, I'm not totally understanding the significance of the above list. As I think about this more, it seems that, for example, I might just install lame directly with portage. In that case, it'd be up to mplayer to recognize lame's presence, yes? However, with the use flags, mplayer is compiled with lame? However, if another application is *also* installed with lame as a use flag, that'd be redundant. Or, not? They would both recursively install lame, with lame known to both mplayer and the second app? thanks, Thufir Hello, You have xmms in your USE flags (default gentoo USE flags, I assume). So when you'va tried to install mplayer, portage wants to install xmms too because mplayer can use xmms or parts of it (I don't how) if you want. If you don't want to do so, add -xmms to the list of the USE flags in /etc/make.conf (your all system won't use xmms as an dependance but xmms can be installed as a standalone program), or media-video/mplayer -xmms to avoid xmms to be an dependance of mplayer only. I hope, I'm clear ^^' , I'm french Pierrick C. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
On 22/03/06, Pierrick Couturier [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: If down the road I realize that I've left out use flag for mplayer would I have to recompile mplayer? localhost ~ # localhost ~ # emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] media-sound/lame-3.96.1 -debug +gtk 1,226 kB [ebuild N] media-sound/xmms-1.2.10-r15 -3dnow +alsa +arts -directfb +esd -flac -jack -lirc +mad +mikmod -mmx +mp3 +nls +oss -sndfile +vorbis 3,006 kB [ebuild N] media-video/mplayer-1.0.20060217 -3dfx -3dnow -3dnowext +X -aac -aalib +alsa (-altivec) +arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvd -dvdread -edl +encode +esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -livecd -lzo +mad -matroska -matrox -mmx -mmxext -musepack -nas +nls -nvidia +opengl +oss +png -real -rtc +samba +sdl -sse -sse2 -svga -tga -theora +truetype -v4l -v4l2 +vorbis -win32codecs -xanim -xinerama +xmms +xv -xvid -xvmc 7,431 kB [ebuild N] media-plugins/xmms-mpg123-1.2.10-r1 -3dnow +ipv6 -mmx +ssl 528 kB [ebuild N] media-libs/libmikmod-3.1.11-r1 +alsa +esd +oss 597 kB [ebuild N] media-plugins/xmms-mikmod-1.2.10 0 kB [ebuild N] media-plugins/xmms-vorbis-1.2.10-r1 +ipv6 +ssl 0 kB [ebuild N] media-plugins/xmms-arts-0.7.1-r1 231 kB [ebuild N] media-plugins/xmms-mad-0.8 307 kB [ebuild N] media-plugins/xmms-esd-1.2.10-r1 +oss 0 kB [ebuild N] media-plugins/xmms-oss-1.2.10 0 kB [ebuild N] media-plugins/xmms-alsa-1.2.10-r2 532 kB Total size of downloads: 13,861 kB localhost ~ # date Wed Mar 22 20:15:51 GMT 2006 localhost ~ # I could make /etc/packages/portage.use something like: 'media-sound/lame-3.96.1' along with the other flags, and then mplayer would have lame et. al. as plug-in's, yes? Or, do I have that wrong? Automagically mplayer will see 'media-sound/lame-3.96.1' and incorporate lame into mplayer? Or, is lame installed seperately? 'Default USE flags The current default USE flags for an x86 Linux system: File: /usr/portage/profiles/default-linux/x86/2005.1/make.defaults ... USE=alsa apm arts avi bitmap-fonts cups eds emboss encode fortran foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ogg oggvorbis opengl oss pdflib png qt quicktime sdl spell truetype truetype-fonts type1-fonts vorbis X xml2 xmms xv' http://gentoo-wiki.com/FAQ_USE_Flags But, I don't seem to have xmms installed, while I do have totem, so, I'm not totally understanding the significance of the above list. As I think about this more, it seems that, for example, I might just install lame directly with portage. In that case, it'd be up to mplayer to recognize lame's presence, yes? However, with the use flags, mplayer is compiled with lame? However, if another application is *also* installed with lame as a use flag, that'd be redundant. Or, not? They would both recursively install lame, with lame known to both mplayer and the second app? thanks, Thufir Hello, You have xmms in your USE flags (default gentoo USE flags, I assume). So when you'va tried to install mplayer, portage wants to install xmms too because mplayer can use xmms or parts of it (I don't how) if you want. If you don't want to do so, add -xmms to the list of the USE flags in /etc/make.conf (your all system won't use xmms as an dependance but xmms can be installed as a standalone program), or media-video/mplayer -xmms to avoid xmms to be an dependance of mplayer only. media-video/mplayer -xmms should go in /etc/portage/package.use (just create if not already present), not in /etc/make.conf. mwm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] use flags, mplayer, lame
On 3/22/06, Pierrick Couturier [EMAIL PROTECTED] wrote: .. You have xmms in your USE flags (default gentoo USE flags, I assume). So when you'va tried to install mplayer, portage wants to install xmms too because mplayer can use xmms or parts of it (I don't how) if you want. Yes, xmms is in my default gentoo USE flags. I was interpreting that to mean that xmms is installed, but really that means, apparently, that as mplayer can use xmms, there will be a connection from mplayer to xmms. Furthermore, if application_x also uses xmms, there will be a connection from application_x to xmms, and, of course, xmms is only installed once. Ok, think I got it :) thanks, Thufir -- gentoo-user@gentoo.org mailing list