Re: [gentoo-user] USE flags handling
On 29/07/14 18:04, behrouz khosravi wrote: Hello everyone. I just concurred my fear and jumped to installing gentoo! So far so good! Before installing on my laptop and desktop, I am trying on virtual box and the system is running Fluxbox very good.(default profile) Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? I am not trying to have severe control, I just want to expand my knowledge! thanks. late to the conversation but no one else has mentioned, you might want to take advantage of the newer way of doing use flags. i.e. do not put them all in /etc/portage/make.conf take advantage of the /etc/portage/package.use/ (you might need to mkdir this) in there you can put a single file per package requirements. i.e. you try to emerge etherape, and it tells you that libgnomecanvas requires use of glade so cat the requirement into a file named by what requires it $ cat /etc/portage/package.use/etherape =gnome-base/libgnomecanvas-2.30.3 glade this also works for package.keywords etc this means that you can more easily keep track of which use flags are for which programs: $ ls /etc/portage/package.use/ chromium efl freemindteamviewer transmission compiz etherape gvfsterminator vinagre darktable filemangler networkmanager thunar virtualbox dvdrip firefox stellarium thunderbird wpa_supplicant hth
Re: [gentoo-user] USE flags handling
On Mon, Aug 18, 2014 at 1:51 AM, thegeezer thegee...@thegeezer.net wrote: late to the conversation but no one else has mentioned, ... Sounds neat, Thanks for the advise.
Re: [gentoo-user] USE flags handling
On Mon, 4 Aug 2014 04:39:45 +0100, Stroller wrote: I have to confess, I don't follow desktop development to know myself what Phonon means. The page linked to in the package description for media-libs/phonon is, unsurprisingly, uninformative: https://projects.kde.org/projects/kdesupport/phonon http://en.wikipedia.org/wiki/Phonon_(software) -- Neil Bothwick A bit of tolerance is worth a megabyte of flaming. -- Henry Spencer signature.asc Description: PGP signature
Re: [gentoo-user] USE flags handling
On Mon, 4 Aug 2014 08:26:59 +0100, Neil Bothwick wrote: I have to confess, I don't follow desktop development to know myself what Phonon means. The page linked to in the package description for media-libs/phonon is, unsurprisingly, uninformative: https://projects.kde.org/projects/kdesupport/phonon http://en.wikipedia.org/wiki/Phonon_(software) Or follow the links in the kde.org page and after four or so clicks you end up with the information you expected to find in the first place https://userbase.kde.org/Phonon -- Neil Bothwick IBM - Incredibly Bastardized Multitasking... signature.asc Description: PGP signature
Re: [gentoo-user] USE flags handling
On Saturday 02 August 2014 16:13:19 Stroller wrote: On Sat, 2 August 2014, at 2:35 pm, J. Roeleveld jo...@antarean.org wrote: ... Do you still have the bug numbers for this? I have a few machines without any sound support. If I can remove the entire sound system from it, it would save time during the updates. Please, Joost, I beg you, stop posting in HTML. Also your email is broken, I already asked you this yesterday off-list - since you neither complied then, nor told me to naff off, I assume that you're dropping messages. Actually, I wasn't ignoring you. It just took some time to find the actual cause. In the settings for KMail, I had the tick-boxes mentioning HTML off already. Took me till this morning to notice that in the edit-window, Rich Text was selected. (It acts like a button that is pushed in) If anyone can tell me how to configure that to *always* default to *off*, instead of remembering the last setting, that would help. -- Joost
Re: [gentoo-user] USE flags handling
140803 Joost Roeleveld wrote: In the settings for KMail, I had the tick-boxes mentioning HTML off already. Took me till this morning to notice that in the edit-window, Rich Text was selected. (It acts like a button that is pushed in) If anyone can tell me how to configure that to *always* default to *off*, instead of remembering the last setting, that would help. Have you tried Mutt (smile) ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] USE flags handling
On Sun, 3 August 2014, at 7:49 am, Joost Roeleveld jo...@antarean.org wrote: ... Actually, I wasn't ignoring you. It just took some time to find the actual cause. My apologies, Joost. It was driving me crazy. Stroller.
Re: [gentoo-user] USE flags handling
On Sun, 2014-08-03 at 08:49 +0200, Joost Roeleveld wrote: If anyone can tell me how to configure that to *always* default to *off*, instead of remembering the last setting, that would help. It's been a while since I used kmail (i always had issues and ended up reverting to thunderbird) but i'm pretty certain that the composer options allow you to disable rich-text for messages (or, conversely, enable plain-text-only). it's there somewhere, just dig ;) -- wraeth wra...@wraeth.id.au
Re: [gentoo-user] USE flags handling
On Sun, 3 August 2014, at 9:17 am, Walter Dnes waltd...@waltdnes.org wrote: … KDE actually specifies how to build without any multimedia (audio and video) support: https://techbase.kde.org/Development/Tutorials/CMake#Command_Line_Variables cmake command line variable: KDE4_DISABLE_MULTIMEDIA=ON: Build KDE without any multimedia (audio and video) The big question... what is multimedia? Would it be possible to build kde with image support (gif/png/jpeg/tiff/pdf/etc) without building in audio and video? I.e. how integrated is kde's graphics and multimedia? From a quick google for KDE4_DISABLE_MULTIMEDIA it looks like that just enables / disables Phonon: • http://mail.kde.org/pipermail/kde-buildsystem/2010-March/006806.html • http://www.filewatcher.com/p/kdebase-runtime-4.1.3.tar.bz2.52251161/kdebase-runtime-4.1.3/phonon/CMakeLists.txt.html I have to confess, I don't follow desktop development to know myself what Phonon means. The page linked to in the package description for media-libs/phonon is, unsurprisingly, uninformative: https://projects.kde.org/projects/kdesupport/phonon Stroller.
Re: [gentoo-user] USE flags handling
wraeth wrote: On Sun, 2014-08-03 at 08:49 +0200, Joost Roeleveld wrote: If anyone can tell me how to configure that to *always* default to *off*, instead of remembering the last setting, that would help. It's been a while since I used kmail (i always had issues and ended up reverting to thunderbird) but i'm pretty certain that the composer options allow you to disable rich-text for messages (or, conversely, enable plain-text-only). it's there somewhere, just dig ;) I used to use Kmail but switched to Seamonkey. Don't start. I might bite. :-) I did some googling and found where some others were complaining about this setting not sticking. It seems this is not a new issue. One bug dated all the way back to KDE3 stuff. I found another that was KDE4 which claims it was fixed, heard that before. lol So, maybe some bug got thrown back in? If after the next update it does the same, I throw up a can of Raid. Uh, over at KDE tho. ;-) Dale :-) :-)
Re: [gentoo-user] USE flags handling
On Sat, 2 August 2014, at 2:35 pm, J. Roeleveld jo...@antarean.org wrote: ... Do you still have the bug numbers for this? I have a few machines without any sound support. If I can remove the entire sound system from it, it would save time during the updates. Please, Joost, I beg you, stop posting in HTML. Also your email is broken, I already asked you this yesterday off-list - since you neither complied then, nor told me to naff off, I assume that you're dropping messages. Stroller.
Re: [gentoo-user] USE flags handling
On Tue, Jul 29, 2014 at 09:34:04PM +0430, behrouz khosravi wrote: Hello everyone. […] Now I am thinking about managing USE flags. […] I am not trying to have severe control, I just want to expand my knowledge! thanks. In such cases I tend to suggest installing ufed. 'tis a UI for setting use flags. Not only does it show you the description of every flag and whether it's local (used by only one or a few programs). It also shows you if it is enabled (+ sign), disabled (- sign) or not touched (empty) and whether that setting comes from the profile (parens) or your own setup (brackets). -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any Facebook service. “If my wife doesn’t hear it, am I still wrong?” – Philosoraptor signature.asc Description: Digital signature
Re: [gentoo-user] USE flags handling
On Thu, Jul 31, 2014 at 5:35 PM, Frank Steinmetzger war...@gmx.de wrote: In such cases I tend to suggest installing ufed... Seems really handy. Thanks.
Re: [gentoo-user] USE flags handling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 In such cases I tend to suggest installing ufed. equery from gentoolkit works for me -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJT2mBoAAoJEK64IL1uI2haqwwIAJUucquRR3yCyfY7V6eKb6ns 5dIoIjqrFzvnIjWEdmXBo43rmIyRp0287dbfVETMk3anSameYR3zyn+FB9pmFlhV RFdJNlHqqWI9mcq64s9SaxpHv8qvX0Ex6ExpZB7HWAwT4Akb/RpIdb0Av6RVVfXn K/XCfkK7Dzl8FojaAvMiUnOPOAx1RhN44xQt7V/Um6IFtNlCxTUBhacrE5V5cBlm 29ezpzJmVK2oPaG0eZUpRrJAQr1lheEo+VeT6W87VFAEWwKo3K1vQl30bgqwbISh nLt5JCZyas3AljbV9TN4OrTPQDuK1HoeP0/ODMO8NynTg3PbbPE8tAzjSDswl1Y= =oHfo -END PGP SIGNATURE-
Re: [gentoo-user] USE flags handling
Philip Webb wrote: 140730 behrouz khosravi wrote: Now it is obvious English is not my mother tongue! I suspect that may be true of a majority of Gentooers : we're all used to interpreting others' words trying to be careful to be clear when we do know English well. English is the only language I know and even I mess it up at times. So, we all have to read between the lines at times. ;-) Dale :-) :-)
Re: [gentoo-user] USE flags handling
On Wednesday 30 July 2014 05:37:08 Dale wrote: English is the only language I know and even I mess it up at times. Yes, but then you are American ;) -- Regards Peter
Re: [gentoo-user] USE flags handling
Peter Humphrey wrote: On Wednesday 30 July 2014 05:37:08 Dale wrote: English is the only language I know and even I mess it up at times. Yes, but then you are American ;) True but sometimes, I suck at it. For the record, I am bad to leave the word not or n't out. Talk about a monumental change in meaning. ROFL Imagine talking about the command rm and leaving that out. o_O Still, I think we do our best when someone posts and English is not their first language. I know it is hard sometimes for people to post and get it right but still, we all try. Dale :-) :-)
Re: [gentoo-user] USE flags handling
Am 29.07.2014 19:04, schrieb behrouz khosravi: Hello everyone. I just concurred my fear and jumped to installing gentoo! So far so good! Before installing on my laptop and desktop, I am trying on virtual box and the system is running Fluxbox very good.(default profile) Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? you will break you system. I am not trying to have severe control, I just want to expand my knowledge! thanks. then don't do stupid things like USE=-*
Re: [gentoo-user] USE flags handling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/29/14 21:04, behrouz khosravi wrote: | Hello everyone. I just concurred my fear and jumped to installing | gentoo! So far so good! Before installing on my laptop and | desktop, I am trying on virtual box and the system is running | Fluxbox very good.(default profile) Now I am thinking about | managing USE flags. What if I disable everything in the make.conf | ( I mean USE=-* ) and gradually add the needed flags to | package.use? I am not trying to have severe control, I just want to | expand my knowledge! thanks. Smokey: Start emacs, Dude, I'm marking it -* . Walter Sobchak: [pulls out a gun] Smokey, my friend, you are entering a world of pain. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJT2TpTAAoJEK64IL1uI2hasZ8H/3w5EA6ymBpmdu0aWK+zB2Ol 7l5iKHwrwyssRLawxnW9PgvOxXivYIpHErs1NUR4HKMG4Jo+o1k/eVSULkvOGF1L eORmcQKpgJa0Nynq9/BeDQ6WT4rH8nKjnMDvQ8/XAf5VMB5qwH+iT0VocmA5RaXX JdFWYYOKOfmtYjT+Dp8ABueolcibZ0VQik/4rVZ2r4FBsZCUe70bTkteMYKhItSk DWkpkImLbTNoDNizaOAHvaBuBn/LJjpvrSei/wB1cbfQPqg7PRAChof6XCyOm4bC ZfEN5mKiY2cuZYHKu0lOXhCfJ4wiyAGm4/WUiImFmH9rWzdrbcga7IuWT08qtto= =aky0 -END PGP SIGNATURE-
Re: [gentoo-user] USE flags handling
On 30/07/2014 19:57, Volker Armin Hemmann wrote: Am 29.07.2014 19:04, schrieb behrouz khosravi: Hello everyone. I just concurred my fear and jumped to installing gentoo! So far so good! Before installing on my laptop and desktop, I am trying on virtual box and the system is running Fluxbox very good.(default profile) Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? you will break you system. Volker is correct. The reason you will break your system is that you do not have enough knowledge to know what to put back, and you don't know how to read the error messages and know what they mean. Here's what portage does NOT do: Tell you that flag x is missing and this will cause issues a, b and c, then give you exact instructions how to make it better. Here's what portage DOES do: Give you some weird error message with the word backtrack in it, or messages like no parents that could not be satisfied by other packages in slot or something about blockers in flashing red blink text, or it might even just say nothing giving the impression everything succeeded. And then your computer explodes. Still wanna try USE=-* ? I am not trying to have severe control, I just want to expand my knowledge! thanks. then don't do stupid things like USE=-* -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] USE flags handling
Hello everyone. I just concurred my fear and jumped to installing gentoo! So far so good! Before installing on my laptop and desktop, I am trying on virtual box and the system is running Fluxbox very good.(default profile) Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? I am not trying to have severe control, I just want to expand my knowledge! thanks.
Re: [gentoo-user] USE flags handling
140729 behrouz khosravi wrote: I just concurred my fear and jumped to installing gentoo! ^ 'conquered' (smile) : 'concur' = 'agree'. So far so good! Yes, it's not difficult, but it's a sort of initiation test. Before installing on my laptop and desktop, I am trying on virtual box and the system is running Fluxbox very good. Yes, Fluxbox is less well-known than it should be : it's excellent. Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? That's what I've done for years, but others will react in horror (smile). It's ok, provided you check the use flags for applications, whenever you emerge new versions : occasionally otherwise, it can hurt. I just want to expand my knowledge! This is a very polite friendly list with good advice available. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] USE flags handling
On Tue, 29 Jul 2014 21:34:04 +0430, behrouz khosravi wrote: Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? You may well break your system, but you get to keep the pieces as a lesson. Portage profiles set some default USE flags, then some ebuilds also set defaults. Using USE=-* disables all of these. You can see the defaults by looking at the output from emerge --info with no USE defined in make.conf. I am not trying to have severe control, I just want to expand my knowledge! You will do that, but not in the way you hoped. Pick a profile that most closely matches your usage and then find tune from that by adding or removing USE flags. That's a lot easier than deliberately breaking things and then trying to work out how to fix them. Also, when setting up a new system, make USE flag changes gradually. Unless you are sure of what you are doing, only change a few at a time. -- Neil Bothwick System halted - Press all keys at once to continue. signature.asc Description: PGP signature
Re: [gentoo-user] USE flags handling
Also, when setting up a new system, make USE flag changes gradually. Unless you are sure of what you are doing, only change a few at a time. Haha, just got frustrated with how much junk is on my machine and globally disabled perl, python, ruby, and a bunch of other stuff. Bad times ensued ;). But really, as long as you're fine with looking at failed builds to see what went wrong, you should be fine. You can set PORT_LOGDIR in make.conf to send all build logs into a location (mine is /var/log/portage) so that all logs get saved automatically, which I find helpful. Alec
Re: [gentoo-user] USE flags handling
On Tue, Jul 29, 2014 at 9:48 PM, Philip Webb purs...@ca.inter.net wrote: 140729 behrouz khosravi wrote: ^ 'conquered' (smile) : 'concur' = 'agree'. Sorry. Now it is obvious English is not my mother tongue! regards.
Re: [gentoo-user] USE flags handling
On Tue, Jul 29, 2014 at 09:34:04PM +0430, behrouz khosravi wrote Hello everyone. I just concurred my fear and jumped to installing gentoo! So far so good! Before installing on my laptop and desktop, I am trying on virtual box and the system is running Fluxbox very good.(default profile) Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? I am not trying to have severe control, I just want to expand my knowledge! thanks. Here is a compromise. I started with USE=-* and then gradually added stuff that was needed by most items. My rule-of-thumb is... If adding a flag to USE reduces the number of entries in package.use, then I add it. I.e. if... * not having flag foobar in USE requires 6 entries in package.use, and * having flag foobar in USE requires only 2 - entries in package.use ...then I move flag foobar into USE and put a few - entries in package.use. I do want stuff like ncurses nptl nptlonly posix readline threads for every app which can use it. Similarly, cpu-specific flags should be in your USE. This effectively gives you a very customized profile. By the way, you can make your own variables in make.conf, and concatenate them, like in bash. In my make.conf I have... USE_BASE=-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin offensive openssl posix readline ssl threads vim-syntax zlib USE_CPU=mmx mmxext sse sse2 sse3 ssse3 USE_VIDEO=X dga dri exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg opengl png rtmp theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid xvmc USE=${USE_BASE} ${USE_CPU} ${USE_VIDEO} I can mostly copy this to another machine. ***WARNING*** the flags in USE_CPU are specific to, and have to be customized for, each machine. My Dell Dimension 530 dates back to June 2008. Newer Intel machines will have additional cpu-specific flags, and AMD cpus will have their own unique additional flags. Your set of flags may be different, depending on what applications you use, and what you want to do with the machine. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] USE flags handling
Portage profiles set some default USE flags, then some ebuilds also set defaults. Using USE=-* disables all of these. You can see the defaults I have noticed that some packages have flags that I have not set, but I though that they were the default flags for that package. You mean those flags will become persistence? Will be them written to a specific file? You will do that, but not in the way you hoped. Pick a profile that most closely matches your usage and then find tune from that by adding or removing USE flags. That's a lot easier than deliberately breaking things and then trying to work out how to fix them. I guess your way is better. I think it will be a good idea to stick to the base profile, and define the required flags as locale flags.
Re: [gentoo-user] USE flags handling
Am Dienstag, 29. Juli 2014, 19:04:04 schrieb behrouz khosravi: Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? The default profile is what you need. Please don't do USE=-*. It breaks things. * Long ago, setting a useflag always meant adding things to the default. For some years now, we have use-defaults, which means an ebuild can set whether a use flag set not by profile and not by user is on or off. If you add -* to your use flags, you turn all default-on useflags off too (which means you may switch away from upstream defaults a lot). An example where this may lead to trouble: you end up with sys-devel/gcc[- cxx], i.e. a compiler that cannot translate C++. * The dependencies on specific Python or Ruby versions are controlled via useflags. Basically, if Python package X needs Python package Y, both have to be installed for the same Python variant for things to work. If you disable all useflags via -*, you basically disable support for all variants. Bang. * Similar for multilib installations. -- Andreas K. Huettel Gentoo Linux developer dilfri...@gentoo.org http://www.akhuettel.de/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] USE flags handling
On 29/07/2014 22:16, Walter Dnes wrote: On Tue, Jul 29, 2014 at 09:34:04PM +0430, behrouz khosravi wrote Hello everyone. I just concurred my fear and jumped to installing gentoo! So far so good! Before installing on my laptop and desktop, I am trying on virtual box and the system is running Fluxbox very good.(default profile) Now I am thinking about managing USE flags. What if I disable everything in the make.conf ( I mean USE=-* ) and gradually add the needed flags to package.use? I am not trying to have severe control, I just want to expand my knowledge! thanks. Here is a compromise. I started with USE=-* Here's very good advice for the OP: Do not do this. Walter does it, and he finds it works for him. He's been doing it for years and nothing will persuade him to do it any other way. You should not do with USE what Walter does. Trust me, it will lead you down a path of immense pain that you do not have the tools to get out of, and when you ask here for help you will be told to take that -* out of USE. No offense Walter, but this is really bad advice to give someone brand new to Gentoo. He really is ill-equipped to deal with it, and USE=-* is best left to those who fully understand exactly what they are getting themselves into. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] USE flags handling
140730 behrouz khosravi wrote: On Tue, Jul 29, 2014 at 9:48 PM, Philip Webb purs...@ca.inter.net wrote: 140729 behrouz khosravi wrote: ^ 'conquered' (smile) : 'concur' = 'agree'. Sorry. No need at all ! -- You said you wanted to learn (at the end) ! Now it is obvious English is not my mother tongue! I suspect that may be true of a majority of Gentooers : we're all used to interpreting others' words trying to be careful to be clear when we do know English well. From the discussion so far today, you sound like a born Gentoo user. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] USE flags handling
On Wed, Jul 30, 2014 at 12:46 AM, Walter Dnes waltd...@waltdnes.org wrote: In my make.conf I have... USE_BASE=-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin offensive openssl posix readline ssl threads vim-syntax zlib USE_CPU=mmx mmxext sse sse2 sse3 ssse3 USE_VIDEO=X dga dri exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg opengl png rtmp theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid xvmc USE=${USE_BASE} ${USE_CPU} ${USE_VIDEO} The way that you have managed the USE flag is neat, and I will do the same. Thanks for your help.
Re: [gentoo-user] USE flags handling
On Wed, Jul 30, 2014 at 2:34 AM, Philip Webb purs...@ca.inter.net wrote: I suspect that may be true of a majority of Gentooers : we're all used to interpreting others' words trying to be careful to be clear when we do know English well. I will be very happy to be a part of this great community. From the discussion so far today, you sound like a born Gentoo user. Thank you very much. You just made my day! Have a great time.
Re: [gentoo-user] USE flags handling
Thank you all. I have concluded that I should stay with the base profile. Although I need a desktop, but this decision will be closest to what I want in a harmless way! (at least less harm!) Then I will add CPU specific and very frequent flags to make.conf and gradually extend the package.use file.