Re: [gentoo-user] Doubt about FLAG use
Enrico Weigelt wrote: BTW: is there an way for passing an temporary package.use filename to portage (for trying out certain configs) ? What do you mean by temporary? You could execute 'USE=tmpflag emerge cat/packagename'. But as already pointed out, this is not a good idea for future use. However, for temporary configurations this is OK. -- Ian Graeme Hilt -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
* b.n. [EMAIL PROTECTED] wrote: Etaoin Shrdlu ha scritto: On Thursday 24 April 2008, 18:54, KH wrote: USE=-ipv6 -ftp emerge -av mplayer To the OP: this is exactly the kind of thing that should be avoided. Yes, but also tell the OP that the correct thing is to edit /etc/portage/package.use appropriately... BTW: is there an way for passing an temporary package.use filename to portage (for trying out certain configs) ? cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Enrico Weigelt wrote: BTW: is there an way for passing an temporary package.use filename to portage (for trying out certain configs) ? What do you mean by temporary? You could execute 'USE=tmpflag emerge cat/packagename'. But as already pointed out, this is not a good idea for future use. However, for temporary configurations this is OK. -- Ian Graeme Hilt -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Well, thanks to all of you. I've been playing with flags nad seems to do almost what I want. To be the firts time I install gentoo, anyway, things didi not seem s to go the way I wanted, or at least the way I expected to be. For example, I installed xfce4, following the guide in the handbook, and for some reasons I cannot use a picture as a background, cuz It has not support for it, the same happened to gqview, If I installa a graphic viewer, it' because ai want to se see graphics files :), after intalling gqview, I could not see a single picture, an ldd to gqview shows that it's compiled against cairo and other system libraries, no trace or jpeg, png,. Well, I deinstalled it, add it to the /etc/portage/fie I created, added png, gif, jpeg, tiff and other stuff I related to graphic support I found in /usr/portage/profiles/uses.desc or something like that. Then recomiled it again, now, with gqview I can display png files, and ldd shows it's compiled against lipng, but still cannot see jeg eventhouhgn libjpeg is installed. Well, it seems that to get a funcitonal system, I'm still far from it, d not have too much time to play with it, I need my laptop to wor, so, what's the best way to go,? Do you think I need to reinstall and start from the begining or start reinstalling and stalling again the software? Thanks you guys or your time and support? 2008/4/24, Alan McKinnon [EMAIL PROTECTED]: On Thursday 24 April 2008, KH wrote: and then verify that you're getting what you want before emerging. This way you know your changes will remain the next time you run emerge uD world or update mplayer on its own. kashani I am really sorry for all this confusion I caused. Don't be :-) If this list is anything like hundreds of other similar lists on the net, many many people will be reading this thread and learn something they didn't know about USE and now know the OneTrueWay(tm) to use portage. You did them all a big favour, they just tend to take note and not really announce that they too didn't know. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Etaoin Shrdlu ha scritto: On Thursday 24 April 2008, 18:54, KH wrote: USE=-ipv6 -ftp emerge -av mplayer To the OP: this is exactly the kind of thing that should be avoided. Yes, but also tell the OP that the correct thing is to edit /etc/portage/package.use appropriately... m. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Doubt about FLAG use
Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 15:49, Net Warrior wrote: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. man portage explains this and many other things you always wanted to know about portage but were afraid to ask (cit.). Hint: you have to use /etc/portage/package.use. But read the man page thoroughly anyway. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, Net Warrior wrote: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. /etc/portage/package.use/* Check the various portage man pages: man emerge man 5 ebuild man 5 portage It's also in the handbook somewhere (don't recall off-hand where) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 16:04, Alan McKinnon wrote: /etc/portage/package.use/* Check the various portage man pages: man emerge man 5 ebuild man 5 portage It's also in the handbook somewhere (don't recall off-hand where) Here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2 Unfortunately, it's in the part of the handbook almost noone reads, since they all stop at the first part, as soon as they finish installation. Nonetheless, the handbook section not installation-related are by far much more interesting and worth reading than the first part. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
I'm on it :) thank you guys !! 2008/4/24, Etaoin Shrdlu [EMAIL PROTECTED]: On Thursday 24 April 2008, 16:04, Alan McKinnon wrote: /etc/portage/package.use/* Check the various portage man pages: man emerge man 5 ebuild man 5 portage It's also in the handbook somewhere (don't recall off-hand where) Here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2 Unfortunately, it's in the part of the handbook almost noone reads, since they all stop at the first part, as soon as they finish installation. Nonetheless, the handbook section not installation-related are by far much more interesting and worth reading than the first part. -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
USE=-ipv6 -ftp emerge -av mplayer Net Warrior schrieb: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
1. Please don't top post 2. This is a very bad suggestion, as portage does not record the settings used. With the next upgrade of mplayer, especially if it's a deep world update, mplayer will be remerged with standard USE flags, modified by make.conf and package.use. This will potentially pull in unwanted ipv6 stuff for example. 'USE=flags emerge options packages' has been deprecated for a very long time now for these reasons. On Thursday 24 April 2008, KH wrote: USE=-ipv6 -ftp emerge -av mplayer Net Warrior schrieb: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 18:54, KH wrote: USE=-ipv6 -ftp emerge -av mplayer To the OP: this is exactly the kind of thing that should be avoided. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 19:14, Alan McKinnon wrote: 1. Please don't top post This time, you top posted too. Was this deliberate or by accident? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Hi, what does top post mean? My fault. I new I read it somewhere but I did not spend enough time to read everything. http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2chap=2 Declare temporary USE flags Sometimes you want to set a certain USE setting only once. Instead of editing /etc/make.conf twice (to do and undo the USE changes) you can just declare the USE variable as environment variable. Remember that, when you re-emerge or update this application (either explicitly or as part of a system update) your changes will be lost! As an example we will temporarily remove java from the USE setting during the installation of seamonkey. Code Listing 2.5: Using USE as environment variable # USE=-java emerge seamonkey Alan McKinnon schrieb: 1. Please don't top post 2. This is a very bad suggestion, as portage does not record the settings used. With the next upgrade of mplayer, especially if it's a deep world update, mplayer will be remerged with standard USE flags, modified by make.conf and package.use. This will potentially pull in unwanted ipv6 stuff for example. 'USE=flags emerge options packages' has been deprecated for a very long time now for these reasons. On Thursday 24 April 2008, KH wrote: USE=-ipv6 -ftp emerge -av mplayer -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, KH wrote: Hi, what does top post mean? It means the way you are replying to messages. When you reply, your answer goes below the bit you are responding to and not above like you are doing. The reason is that most people on support lists are sane rational people who read things from beginning to end (top to bottom) and like things in date order. Very few of us start a book at the back and read towards the front, yet top-posting forces everyone else to do exactly that. You will find people who have thousands of reasons why top-posting is OK but they are all very selfish. Around here it's mostly considered rather rude. Microsoft are directly responsible for this current disease of an entire generation of users who read backwards. Top posting is Outlook's default - no-one knows why. No-one knows why Microsoft does the things they do. Here in Gentoo-world, we do stuff the right way. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, Etaoin Shrdlu wrote: On Thursday 24 April 2008, 19:14, Alan McKinnon wrote: 1. Please don't top post This time, you top posted too. Was this deliberate or by accident? Oh. My. God. /me feels blood drain from head /me gets all cold and shaky /me goes to check mail archive /me hangs head in shame /me feels like an utter twit I can't call it an accident. It's not deliberate. It's far far worse than that - I stopped thinking for a minute. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Net Warrior wrote: I'm on it :) thank you guys !! Here's an example from my server to get you going # apache stuff # urandom makes Apache start faster on unused systems dev-libs/aprurandom www-servers/apache -threads mpm-prefork # other daemons net-dns/bind-mysql -threads net-mail/courier-imap -berkdb fam gdbm dev-libs/cyrus-sasl -berkdb -mysql authdaemond urandom www-servers/lighttpd-mysql -ssl fam mail-mta/postfixmysql sasl ssl vda I like to put the subtracts in front and the adds after as well as keeping them in alphabetical order. Comments will also help you remember why you did stuff so when you jump to the next major version you can glance over package.use and see if anything jumps out at you. It all makes it easier to read and manage as your /etc/portage/* files gets more complicated. kashani -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* Thanks for your time and support. Greets 2008/4/24, kashani [EMAIL PROTECTED]: Net Warrior wrote: I'm on it :) thank you guys !! Here's an example from my server to get you going # apache stuff # urandom makes Apache start faster on unused systems dev-libs/aprurandom www-servers/apache -threads mpm-prefork # other daemons net-dns/bind-mysql -threads net-mail/courier-imap -berkdb fam gdbm dev-libs/cyrus-sasl -berkdb -mysql authdaemond urandom www-servers/lighttpd-mysql -ssl fam mail-mta/postfixmysql sasl ssl vda I like to put the subtracts in front and the adds after as well as keeping them in alphabetical order. Comments will also help you remember why you did stuff so when you jump to the next major version you can glance over package.use and see if anything jumps out at you. It all makes it easier to read and manage as your /etc/portage/* files gets more complicated. kashani -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* Thanks for your time and support. Greets Only if you want your system setup to change every time you install or re-install a package. Using that line as you have given it will mean your system will NEVER remember how you like your packages installed. 99.999% of people want to keep their setups, and consequently use the /etc/portage/package.use file HTH Matt Harrison -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* No. Rather put it in /etc/portage/package.use. Uwe -- Informal Linux Group Namibia: http://www.linux.org.na/ SysEx (Pty) Ltd.: http://www.SysEx.com.na/ -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* you should vi /etc/portage/package.use and add # mplayer fixes media-video/mplayer -ftp -ipv6 and then verify that you're getting what you want before emerging. This way you know your changes will remain the next time you run emerge uD world or update mplayer on its own. kashani -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
kashani schrieb: Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* you should vi /etc/portage/package.use and add # mplayer fixes media-video/mplayer-ftp -ipv6 and then verify that you're getting what you want before emerging. This way you know your changes will remain the next time you run emerge uD world or update mplayer on its own. kashani I am really sorry for all this confusion I caused. kh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, KH wrote: and then verify that you're getting what you want before emerging. This way you know your changes will remain the next time you run emerge uD world or update mplayer on its own. kashani I am really sorry for all this confusion I caused. Don't be :-) If this list is anything like hundreds of other similar lists on the net, many many people will be reading this thread and learn something they didn't know about USE and now know the OneTrueWay(tm) to use portage. You did them all a big favour, they just tend to take note and not really announce that they too didn't know. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list