Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new use flag editor : profuse
Date: Wed, 08 Dec 2004 15:04:36
Message-Id: 20041208150432.GB50864@lion.gg3.net
In Reply to: Re: [gentoo-dev] new use flag editor : profuse by dams
1 maillog: 08/12/2004-15:50:32(+0100): dams types
2 > >- It removes stuff from my make.conf if it is redundand with the
3 > > information from my profile. For example, if I have "alsa" in
4 > > /etc/make.conf and I run profuse, it says that alsa is set in
5 > > make.defaults and make.conf. I say OK, then run profuse again, and I
6 > > get alsa specified in make.defaults only, because profuse removed it
7 > > from make.conf. Could you implement an option that will at least give
8 > > it a choice to not touch stuff that is already in my make.conf, unless
9 > > I specifically request it? I mean, you do keep the data in the table
10 > > anyway? Maybe if you made use flags with three states ("enabled",
11 > > "disabled" and "unset") it would be trivial to write out to make.conf
12 > > every flag that is not "unset". The table could then display either
13 > > a "+", a "-" or nothing for each flag.
14 >
15 > Both things are possible, what do you prefer? I think the second
16 > solution would be more straightforward
17
18 Yep, I like the three-state solution best. Not sure how it would look in
19 GTK+, but I imagine something similar to the gconfig of the linux
20 kernel.
21
22 > >- "profuse --profile-dir=/usr/portage/profiles/default-linux/alpha/2004.3"
23 > > fails because of the weirs syntax in that profile.
24 > >
25 >
26 > Is it weird and wrong or weird but correct (and I should try to support
27 > it ) ?
28
29 I hope someone answers that, but my opinion is that since the profile
30 works (I guess it does) it must be correct. After all, these config
31 files are supposed to be python-style syntax... (looks at
32 portage_util.py:defconfig, which uses shlex)... or not.
33
34 --
35 *) Georgi Georgiev *) The only skills I have patience to learn *)
36 (* chutz@×××.net (* are those that have no real application in (*
37 *) +81(90)6266-1163 *) life. -- Calvin *)
38
39 --
40 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] new use flag editor : profuse dams <dams@×××.fr>