| View previous topic :: View next topic |
| Author |
Message |
pfadt_mann n00b


Joined: 28 Feb 2007 Posts: 55 Location: Dallas, Texas
|
Posted: Tue Mar 27, 2007 11:49 pm Post subject: |
|
|
Ok, the when you emerge xxxxxx each package, at least the majority of the packages, have a USE flag list. If each package doesn't ned them, the what are they listed by package and just what do they do.
I have read the USE Flag guide and here is what I understand.
The USE flag allows to to not install unnecessary things, they give the example of opengl. If you don't use them, then why have all that extra baggage in the compilation. So, if this is the case, there is a use list for each package in portage somewhere. I think this is probably a good idea if you new what each package required for you particular machine.
So, for all of us that understand a bit but not all and don't have a lot of extra time on our hands to delve into this deeply, but yet what a system that truly supports us better that Windows, our even RedHat, Kbuntu ... etc, couldn't there be an easier way to deal with USE Flags?
Gentoo is a very powerful distribution of linux, more so than any other distro I have seen, but it does take some getting use to and a while to install and configure. Much longer than other distributions.
I guess my point is this, the social contract states:
"Gentoo, the operating system, is derived from the base concept of knowledge described above. A Gentoo operating system should satisfy the self-hosting requirement. In other words, the operating system should be able to build itself from scratch using the aforementioned tools and metadata."
But yet, because there are so many options, the though of a self installing system is just not feasible.
The Philosophy of gentoo states:
"The goal of Gentoo is to design tools and systems that allow a user to do that work as pleasantly and efficiently as possible, as they see fit ... If the tool forces the user to do things a particular way, then the tool is working against, rather than for, the user."
And goes on to say...
"The goal of Gentoo is to strive to create near-ideal tools. Tools that can accommodate the needs of many different users all with divergent goals."
I can see a lot of hard work being done at gentoo to make a better distribution. However, the it benefits programmers and hobbyists, not those who want a better product so they can be more productive.
I have found gentoo to be a very worthy tool, once I get it working. However, understanding the quirks of the USE flags and have to build all the packages takes a lot of time and that leaves a lot of us struggling.
So when you say, the packages don't use the use flags, portage does, all I understand is that you see us n00bs as a nuisance and don't want to deal with anything that slows you down. There are people out here that believe in your cause, we just don't have the resources, time or skills to pitch in. We could do a lot by spreading the word and product, if it was a bit more user, or should I say n00b friendly. _________________ Pfadt Mann |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Tue Mar 27, 2007 11:58 pm Post subject: |
|
|
| pfadt_mann wrote: | I guess my point is this, the social contract states:
"Gentoo, the operating system, is derived from the base concept of knowledge described above. A Gentoo operating system should satisfy the self-hosting requirement. In other words, the operating system should be able to build itself from scratch using the aforementioned tools and metadata."
But yet, because there are so many options, the though of a self installing system is just not feasible. |
Self installing and self hosting are two VERY different things.
| Quote: | | So when you say, the packages don't use the use flags, portage does, |
I didn't say that at all. Too late to go into any details... 2am here. Maybe tomorrow, maybe someone beats me to it. |
|
| Back to top |
|
 |
pfadt_mann n00b


Joined: 28 Feb 2007 Posts: 55 Location: Dallas, Texas
|
Posted: Wed Mar 28, 2007 12:24 am Post subject: |
|
|
I left out some of the actual paragraph in my post above, but here's the whole thing:
"Gentoo, the operating system, is derived from the base concept of knowledge described above. A Gentoo operating system should satisfy the self-hosting requirement. In other words, the operating system should be able to build itself from scratch using the aforementioned tools and metadata. If a product associated with an official Gentoo project does not satisfy these requirements, the product does not qualify as a Gentoo operating system."
Like I said, I am a n00b to gentoo so I don't see the difference in self-hosting and self-installing by this paragraph.
If I had the resources, I would jump in with both feet but I don't. I am just trying to get a laptop and a couple other computers that will work and allow me to pursue other endeavors.
I also talked about the Philosophy of the tools being a "joy to use". Al though I can see the power gentoo can enable once it's up and working, getting it to that point is anything but a joy. _________________ Pfadt Mann |
|
| Back to top |
|
 |
rasmus n00b

Joined: 14 Jul 2002 Posts: 74
|
Posted: Sat Jun 23, 2007 1:43 am Post subject: |
|
|
| Personally, I would want some additional flag that made emerge only rebuild packages where I have explicitly changed some USE flag, not those where it has happened atomagically, ie only where -pvDN shows things like "blah*" och "-blah", but not "bleh%", "-bleh%*" or bracketed flags. I know some clever sed/grep hacks can do it, but jst having a switch on the emerge command line would be better. |
|
| Back to top |
|
 |
hayalci n00b

Joined: 18 Jul 2004 Posts: 44
|
Posted: Mon Nov 05, 2007 9:57 pm Post subject: |
|
|
Newer portage versions have the following option
| Code: | --reinstall changed-use
Tells emerge to include installed packages where USE flags have
changed since installation. Unlike --newuse, this option does
not trigger reinstallation when flags that the user has not
enabled are added or removed. |
( I have sys-apps/portage-2.1.3.16 installed, and saw this flag very recently, but I don't know exactly which version it is introduced ]] |
|
| Back to top |
|
 |
BMintern n00b

Joined: 12 Mar 2007 Posts: 22
|
Posted: Wed Nov 21, 2007 11:03 pm Post subject: |
|
|
| Gentree wrote: | | Another such no-op change was changing the --onceonly short form from -o to -1 . This seems to serve no purpose but to confuse and break things. I have a couple of scripts and aliases that got broken by this apparently worthless change. |
While I agree that what you cited is a strange change, I just wanted to point out some advice I read a while back. When writing scripts which rely on command options, it's best to use the long option name. Short option names change all the time and are mainly for command-line convenience, while the long names almost never change and make the scripts more readable.
...and now back to our regularly scheduled programming... |
|
| Back to top |
|
 |
bekyarov n00b

Joined: 16 Apr 2008 Posts: 2
|
Posted: Wed Apr 16, 2008 9:01 pm Post subject: |
|
|
| UncleOwen wrote: | | It was never necessary. |
|
|
| Back to top |
|
 |
bonzai.it n00b


Joined: 09 Oct 2009 Posts: 47 Location: Somewhere in the Apennines
|
Posted: Thu Oct 22, 2009 1:15 pm Post subject: |
|
|
I agree:
| rasmus wrote: | | Personally, I would want some additional flag that made emerge only rebuild packages where I have explicitly changed some USE flag, not those where it has happened atomagically, ie only where -pvDN shows things like "blah*" och "-blah", but not "bleh%", "-bleh%*" or bracketed flags. I know some clever sed/grep hacks can do it, but jst having a switch on the emerge command line would be better. |
I also tried that. But still wants to re-emerge nautilus and rhythmbox (?!?!??) without X. Isn't it senseless?
| Code: | emerge -pv --reinstall changed-use world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] gnome-base/nautilus-2.26.4 USE="gnome -beagle -debug -doc -test% -tracker -xmp (-X%*)" 0 kB
[ebuild R ] media-sound/rhythmbox-0.11.6-r1 USE="dbus hal python -cdr -daap -debug -doc -gnome-keyring -ipod -libnotify -lirc -mtp -musicbrainz -nsplugin -taglib -test (-X%*)" 0 kB
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB |
_________________ " ... I have became comfortably dumb ... " |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|