1 |
On Tuesday 08 April 2008, Michael Schmarck wrote: |
2 |
> Neil Bothwick <neil@××××××××××.uk> wrote: |
3 |
> > On Tue, 08 Apr 2008 13:20:21 +0200, Michael Schmarck wrote: |
4 |
> >> Which majorly sucks, as there are good reasons why the packages |
5 |
> >> should NOT be the way they are right now. |
6 |
> > |
7 |
> > Such as? |
8 |
> |
9 |
> Finer control, without cluttering the world file. |
10 |
|
11 |
Think it through. The purpose of a meta file is to provide one ebuild |
12 |
that pulls in many others. |
13 |
|
14 |
Now, what are you going to make optional and what must remain mandatory? |
15 |
What is affected by the presence or removal of said packages? |
16 |
|
17 |
Take kwalletmanager for instance. Maybe you don't want it so you take it |
18 |
out of USE for kdeutils. Now konqueror doesn't remember your passwords |
19 |
and you type them every time but that's fine as you want it that way. |
20 |
|
21 |
Later you emerge kontact to get kmail but now you do want kwalletmanager |
22 |
(otherwise your account passwords are in a world readable *rc file). |
23 |
Hmm. Need kwalletmanager. Make it mandatory. Except this conflicts |
24 |
nicely with kdeutils and kdelibs. Bugger, now you need to rebuild |
25 |
kdelibs with kwalletmanager support and leave it out of konqueror. |
26 |
|
27 |
Shit. USE flag conflict. OK, take the USE flag out of make.conf, and put |
28 |
it in packages.use. |
29 |
|
30 |
Shit, shit triple shit. There are 200+ kde ebuilds and now you need a |
31 |
separate entry in packages.use for every one that can have |
32 |
kwalletmanager support, some with and some without. My packages.use/ is |
33 |
already waaaaaaaaaaay too cluttered, it's a lousy thing to have to |
34 |
maintain. |
35 |
|
36 |
OK, so now we just stick kwalletmanager support into everything. Open |
37 |
packages.use in vi and get editing, deleting lots of "-" characters. |
38 |
Hang on, this is *nix, I can do: |
39 |
|
40 |
sed 's/-kwalletmanager/kwalletmanager/g' /etc/portage/package.use/* |
41 |
|
42 |
Oops, need to sudo that. Now hope there isn't a package called |
43 |
konqueror-kwalletmanager... |
44 |
|
45 |
Aha! We can fix that permanently! We write a GLEP that says no package |
46 |
can ever have a "-" in it's name followed by the name of any USE flag, |
47 |
either existing or still to come. |
48 |
|
49 |
I could go on, but do you see what is happening? You swap a voluminous |
50 |
(but not complex) world file for a very much more complex make.conf & |
51 |
package.use system. |
52 |
|
53 |
Why would you ever do such a thing? It's insane! |
54 |
|
55 |
> > Hint: uncluttering the world file is not a reason for changing the |
56 |
> > ebuilds, |
57 |
> |
58 |
> Why not? |
59 |
|
60 |
Mostly because the dev says so and you are not the dev. If you are the |
61 |
dev, you get to say how it works. |
62 |
|
63 |
Michael, I think I see what is going on here. You seem to want to |
64 |
announce that the world must support your favourite need of the week, |
65 |
without examining the impact it will have on everyone else and thinking |
66 |
it through. You come across as someone who has never had to maintain |
67 |
software that other people use, as an experienced maintainer quickly |
68 |
loses that point of view (with it, they do not last long enough to |
69 |
become experienced maintainers...) |
70 |
|
71 |
-- |
72 |
Alan McKinnon |
73 |
alan dot mckinnon at gmail dot com |
74 |
|
75 |
-- |
76 |
gentoo-user@l.g.o mailing list |