View previous topic :: View next topic |
Author |
Message |
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Wed Feb 05, 2003 12:45 am Post subject: overblown ebuilds |
|
|
hi,
IMO some ebuilds are overblown. they apply non-standard patches by default, depend on other packages which are not necessarily needed, etc. some examples:- net-dns/djbdns applies the fwdzone patch, which most people won't need (and, btw, may break existing dnscache installations...).
- net-mail/qmail depends among other things on the 'checkpassword' and 'dot-forward' packages - needless in many cases; furthermore several patches are applied which (big-todo, big-concurrency) with the utmost probability nobody needs.
(i'm sure people who need the patches mentioned above definitely don't use an ebuild to build their software...)
i'd like to hear your opinion: should ebuilds- install software in a default manner with no enhancement patches (i.e. only bug-fixes), or should they
- install as much enhancements as possible?
i definitely dislike the latter way, but it's already a fact for an increasing amount of ebuilds.
greetings, jukka |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Wed Feb 05, 2003 1:43 am Post subject: |
|
|
hoi jukka
heute war ein richtiges scheiss wetter in basel
now to your question:
i like the last way, but i would much much more prefere if i could enable/disable the options/patches/enhancements with USE values (aka: djbdns-fwdzone, qmail-big-todo, qmail-big-concurrency, etc) or the way alsa-drivers is working (aka: env ALSA_CARDS='bla bla' emerge alsa-driver).
cheers
SteveB (from ZH, but working offten in BS) |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Feb 05, 2003 2:17 am Post subject: |
|
|
steveb wrote: | i would much much more prefere if i could enable/disable the options/patches/enhancements with USE values (aka: djbdns-fwdzone, qmail-big-todo, qmail-big-concurrency, etc) | Many ebuilds do this now with the IUSE setting. As an example, take a look at the mozilla ebuild which has options to not install mail, etc. Example usage: Code: | IUSE="option-desired" emerge package-name |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
llornkcor n00b
Joined: 11 Oct 2002 Posts: 3
|
Posted: Wed Feb 05, 2003 4:12 am Post subject: |
|
|
I would have to agree small minimal builds are needed. I tried emerging evolution. After dl'ing and installing nearly everything from gnome, I stopped it when it started downloading mozilla source. WTF is mozilla source needed for compiling evolution?!? heh I am not waiting to compile mozilla, when it is installed already.
SO, I have found, for bigger packages like evolution, kde or the like, downloading the traditional way is easier.
ljp |
|
Back to top |
|
|
paul138 Guru
Joined: 09 Aug 2002 Posts: 370 Location: Ottawa, ON
|
Posted: Wed Feb 05, 2003 4:29 am Post subject: |
|
|
There is also the issue of builds like MySQL and Samba.
Some of us got spoiled with packages like mysql-libs, mysql-dev, samba-libs etc. when using one or more of the other distribuions.
I spoke with one of the package maintainers here about splitting up some of these builds as they add much bulk to systems and he stated that it would not happen and that portage would become too large. While this is partially true, my hard drive can only take so much
Community thoughts? _________________ Talk is cheap because supply always exceeds demand. |
|
Back to top |
|
|
BlackBart Apprentice
Joined: 07 Oct 2002 Posts: 252
|
Posted: Wed Feb 05, 2003 4:35 am Post subject: |
|
|
if you used USE settings for everything there would be WAY to many use flags and it would be a pain to set up. |
|
Back to top |
|
|
knittel n00b
Joined: 29 Nov 2002 Posts: 50
|
Posted: Wed Feb 05, 2003 3:31 pm Post subject: |
|
|
And gdk-pixbuf wants gnome1 libs even if "-gnome" is specified. xscreensaver is an equal "mess". Why does it override settings (use gtk even if -gtk buit also -mozilla ....)
Specifying "-pam" has no effect on the very base system (though maybe an desings decision)
USE kerberos always (mostly for sure) assumes MIT. A pain for KTH users. virtual/krb5 or virtual/krb4 would solve.
I wonder, wether gentoo could have something like a "portage cleaning week", where inconsistencies or oddities are collected.
Maybe its developement is a bit too fast. Even though we all like "the latest and greatest(tm)", a two week freeze before 1.4 final could do wonders. Which would also ensure more proper testing to avoid troubles like seem to have occured with gcc-3.2.1-r6.
Just an Idea. |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Wed Feb 05, 2003 4:50 pm Post subject: |
|
|
[I know people are NOT gonna like this ]
It would be nice to have a graphical emerge/portage-tool, maybe something like Kportage (I have not seen it in a long time), extended with a panel where you can select the USE/IUSE options the ebuild has to offer by simply clicking on them.
It would function as an extention on the generic USE flags; allow you to make adjustments to the generic USE flags, but also give you control over ebuild-specifice options, like Mozilla building with- or without mail/pgp support , or including font-smoothing patches into Xfree.
That would be a lot easier than "reading" the ebuild beforehand. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Feb 05, 2003 6:15 pm Post subject: |
|
|
I suspect that "reading" the ebuild beforehand is only temporary. Gentoo is still under alot of development. A GUI tool? Sure... then Gentoo has to pick an official GUI to support. That could get ugly (Gnome vs. KDE vs. blah blah blah). _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Wed Feb 05, 2003 7:02 pm Post subject: |
|
|
steveb wrote: |
heute war ein richtiges scheiss wetter in basel
|
yes, it is a crappy wether here in sweden too... am i correct? _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Feb 05, 2003 7:23 pm Post subject: |
|
|
antonik wrote: | steveb wrote: |
heute war ein richtiges scheiss wetter in basel
|
yes, it is a crappy wether here in sweden too... am i correct? |
Sunny and mid-twenties (Celsius that is, Mid-70's in farenheit) here in Orlando today
When it comes to whether or not the various patches should be inluded in an ebuild, my opinion is: As long as it doesn't break anything else, include them.
If you, as a regular user, know that there are patches you don't need or want, edit the ebuild and comment them out. I know this is not an ideal situation, but until we have features in Portage that enables to to select which patches to apply, this is the way.
On another note, I'm not sure if a system for selection of which patches to apply is really worth the work. Most people, me included, often have no clue whether a patch is good or bad. We have to rely on the ebuild-creator to do his/her job and test it prior to release.
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Feb 05, 2003 9:13 pm Post subject: |
|
|
lostlogic's kernel ebuilds have a patch exclusion system like this - perhaps it could be adopted by other ebuilds if necessary. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Wed Feb 05, 2003 9:41 pm Post subject: |
|
|
kanuslupus wrote: | I suspect that "reading" the ebuild beforehand is only temporary. Gentoo is still under alot of development. A GUI tool? Sure... then Gentoo has to pick an official GUI to support. That could get ugly (Gnome vs. KDE vs. blah blah blah). |
I already said people were not going to like this
I was thinking of something like ufed, an ncurses-based interface maybe.
It does not NEED to be GUI-based, but there's nothing wrong with having a GUI, see KPortagemaster as an example, and a GUI would be nice if you have to choose from a number of different options for each individual ebuild.
Anyhow, the GUI would be an add-on, like Kportagemaster, something extra "on top of the CLI".
[o/t] Shitty wheather here in NL too; rain/snow about 0 Celsius and very windy |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Feb 05, 2003 9:42 pm Post subject: |
|
|
I think the pure (increasing) number of combinations of ebuilds, iuse and use flags maybe tend to be confusing one day. Something like a "portage cleaning week" sounds good, but I didn't know where to start. Though it's not my job.
What I would like to see is a emerge --iuse option, to view the iuse-flags and maybe a --ask option, to be able to decide interactive, which to negate.
To come back to jukka's question: I don't know which way I prefer. If you have an iuse flag for nearly every single included patch, caring for these flags would become uncomfortable. Going without any patches, could become uncomfortable, if you need a "common" patch, but the next update for security reasons leaves you with some incompatible sources. I think there is no best way to go for, but the developers of gentoo should bear in mind, that's sometimes better to apply a patch only, if a reasonable amount of users ask for it.
edit: Just want say that I dislike (patched or not) fat packages.
Carlo |
|
Back to top |
|
|
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Thu Feb 06, 2003 6:05 pm Post subject: |
|
|
first of all: thank you guys for your replies.
i'm sure it's impossible - or at least very difficult - to satisfy everyone's needs when designing a os distibution. i just was annoyed with the fact that i had to install approx. 50% of my software manually, and all i got were colourful init scripts ;-) (no offense, devs, you're doing a good job)
...and because everybody is free to install another distro or to build a system from scratch i'm not about to complain...
BlackBart wrote: | if you used USE settings for everything there would be WAY to many use flags and it would be a pain to set up. |
so you don't run a linux kernel because there are too many configuration options in .config? ;-)
steveb wrote: | heute war ein richtiges scheiss wetter in basel |
immer no... ;-) |
|
Back to top |
|
|
knittel n00b
Joined: 29 Nov 2002 Posts: 50
|
Posted: Sat Feb 08, 2003 7:53 am Post subject: |
|
|
Maybe we should't even start with iuse. Instead, maybe have an extra folder below make.profile, with a single file per affected software.
F.e. I could imagine this for alsa and mozilla very well. I believe, "iuse" is - or should - not be too common, so the amounts of files will be very managable. Most "work" will still be done by the "use" flags. Just options very special to a certain, singe software should go into "iuse". Like selection of oss-compatibility for alsa or decide wether or not to build mozilla with chatzilla.
I believe I've seen ports where "iuse" overrides "use" flags, or, at least specify options that also are standard to "use" flags. Like "IUSE gnome".
This should never happen, or well end up in a mess sooner or later. But then again, maybe I misinterpret the "iuse" Variable.
And, while we're at it. We need proper installpathes. Why must everythig go blindly into /usr ? If people have - for what reason ever - problems with installing X related stuff like windowmanagers into /usr/X11, the file thing explained above could handle an extra option, like "DEDICATED_DIR", which would install chosen software into /usr/program. Multiple installations of berklydb comes to mind, with /usr/db3, /usr/db33, /usr/db4 a.s.o. Despite, that mozilla should IMHO have its own dir as gnome should, too. Like kde does have. Why that, btw. ? |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Sat Feb 08, 2003 11:34 am Post subject: |
|
|
BlackBart wrote: | if you used USE settings for everything there would be WAY to many use flags and it would be a pain to set up. |
I think the use-concept is genius and should be extended to everything where it makes sense. Gentoo is a distri for people who know what they want and there are enough others with simple installation around.
Who would mind if you spend half an hour more to select the appropriate use-settings?
Anyway a few ideas how to keep an overview:
1) simply add a few use-collections to make.conf for often used things like Gnome/KDE-Desktop, LAMP, Samba-server... Just uncomment the type you want and you've got a good start.
2) Someting like "Meta-use" for often used combinations.
For example use=VIDEO" implies dvd, avi, quicktime, mpeg.
Just my EUR 0.02
Robelix
steveb wrote: | heute war ein richtiges scheiss wetter in basel |
Auch in Innschbruck ischts um nix bessr _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
bcavalieri n00b
Joined: 27 Sep 2002 Posts: 72 Location: Kansas City
|
Posted: Sun Feb 09, 2003 12:09 am Post subject: |
|
|
AlterEgo wrote: | [I know people are NOT gonna like this ]
It would be nice to have a graphical emerge/portage-tool, maybe something like Kportage (I have not seen it in a long time), extended with a panel where you can select the USE/IUSE options the ebuild has to offer by simply clicking on them.
|
I agree, nothing wrong with gui and cli options. If anyone disagrees, don't use the interface you have issues with.
I'm a Kylix developer, and would be willing to work on this, but I don't have all the portage knowledge I need. If someone would be willing to design the application, I would be willing to work on it.
-Bill |
|
Back to top |
|
|
Robelix l33t
Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Sun Feb 09, 2003 1:00 am Post subject: |
|
|
bcavalieri wrote: |
I agree, nothing wrong with gui and cli options. If anyone disagrees, don't use the interface you have issues with.
|
... as long as the backend remains a commandline tool.
btw: launch kportage and take the menu "Settings"-->"portage configuration" and go to "Use Options" in the new window.... _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Sun Feb 09, 2003 1:40 am Post subject: |
|
|
Robelix wrote: | btw: launch kportage and take the menu "Settings"-->"portage configuration" and go to "Use Options" in the new window.... |
What's this "use-order-checkbox-list"? And why do i have some entries twice??
Carlo |
|
Back to top |
|
|
InvsbleChuck n00b
Joined: 17 Jul 2002 Posts: 28 Location: Brooklyn, NY
|
Posted: Sun Feb 09, 2003 11:28 pm Post subject: |
|
|
Robelix wrote: | bcavalieri wrote: |
I agree, nothing wrong with gui and cli options. If anyone disagrees, don't use the interface you have issues with.
|
... as long as the backend remains a commandline tool.
btw: launch kportage and take the menu "Settings"-->"portage configuration" and go to "Use Options" in the new window.... |
Don't get me wrong, I really like gentoo and the USE variables. I wish emerge were more closely tied to the configure script. The way I envision it is somewhat akin to compiling the kernel. You could pass emerge a flag to query you for the configure options. Then the options are passed on to the ebuild using the USE variables as reasonable defaults. This could be cli, ncurses or GUI. The command you run would invoke the the proper script, say emerge for cli, nemerge for ncurses and gemerge for gui. It would pass the appropriate evironment variable to the orginal emerge operating as a backend. |
|
Back to top |
|
|
tecknojunky Veteran
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Mon Feb 10, 2003 2:45 am Post subject: |
|
|
I see that i'm not alone that complains about the lack of controls over individual ebuilds installations
I was happy to find the existience of ufed because you finally have a way to configure this infamous USE variable with values that have (at least) a description with each. But, who really can say what each of them have for impact on ant particular emerge? Not I. I'm beginning to take the habit now to go take a look at the ebuild "script" to be sure what's needed AND what's not.
I, for one, think a CUI (curse, slang, whatever) would be much needed. I would like to see the dependency resolved on a per package options selection. Say, if I emerge samba, a nice cui would permit me to activate/deactivate options like pam, kerboros, nfs, etc and, say I shoose kerboros support and it's not on my system, will add it as a dependency that would in turn show me a cui for kerboros oarticular options and dependencies. This could also be extended to setting compilation flags on a per package also.
I don't find it logical to set USE options that are system wide because, it simply does not reflect the reality of what we need (same for the compiler flags). So, like many, I end up fudging ebuilds, setting variables before the emerge command and never do "emerge world" without a -p option because it's simply too risky.
But I have doubt to see this anytime soon. I have heard that the development team is anchord deep to keep portage based on python dispite it's limitations. I'm no Python expert but I have seen many tools for C (C++) integration in Python and I think that some of Portage components would greathly benefit from compiled code and/or the use of C libs (mainly, all that is relating to search a dependency tree or ordering the initialisation scripts). Believe me, for the heck of it, I installed Gentoo on a 486 and just the little Python part that finds out how to order the initialisation scripts (when you boot) takes almost 2 minutes, emerge -p whatever will take close to 5 minutes before printing something.
I wish portage's development would not be closed amoung a small group of developpers. _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Mon Feb 10, 2003 4:10 am Post subject: |
|
|
I think the original issue still remains: sometimes, but not always, ebuild writers add in what they "think would be nice" or think everyone else wants or uses. Idealistically, I believe they should follow an "absolute minimum" standard. Install and depend on only what is absolutely necessary for the program to run in the most minimalistic setting possible. |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Mon Feb 10, 2003 4:25 am Post subject: |
|
|
kanuslupus wrote: | I suspect that "reading" the ebuild beforehand is only temporary. Gentoo is still under alot of development. A GUI tool? Sure... then Gentoo has to pick an official GUI to support. That could get ugly (Gnome vs. KDE vs. blah blah blah). |
But it could be something like kernel's "menuconfig." Personally, I vote for this.
Regards,
Norberto |
|
Back to top |
|
|
tecknojunky Veteran
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Mon Feb 10, 2003 6:02 am Post subject: |
|
|
nbensa wrote: | kanuslupus wrote: | I suspect that "reading" the ebuild beforehand is only temporary. Gentoo is still under alot of development. A GUI tool? Sure... then Gentoo has to pick an official GUI to support. That could get ugly (Gnome vs. KDE vs. blah blah blah). |
But it could be something like kernel's "menuconfig." Personally, I vote for this.
Regards,
Norberto |
I second that. I have started to conceptualize a dialog wrapper for emerge. Not that I have plenty of time to do that, but i'm starting it for myself and work on it little by little. If I find it interresting at some point, i'll show it to you. But I wont be able to manipulate the intimate functionnality of each ebuilds since packagers can do pretty much what they want in there and, so, they are not consitante with each others. _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
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
|
|