[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Jeff Garzik
Sam Ravnborg wrote: > [cc: trimmed] > > On Thu, Oct 10, 2002 at 10:18:06AM -0400, Jeff Garzik wrote: > >>Personally I don't care about Config dependency checking... they are >>not modified often enough to affect me, and even if they did, dependency >>checking based on changes to Config files

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Jeff Garzik
Roman Zippel wrote: > Hi, > > On Wed, 9 Oct 2002, Jeff Garzik wrote: > > >>Which implies that the equivalent of "source drivers/net/Config*" >>(wildcarding) in Roman's system would be useful. Or maybe "source >>drivers/net" and it knows that when given a directory it should scan for >>all Conf

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Randy.Dunlap
On Wed, 9 Oct 2002, Sam Ravnborg wrote: | On Wed, Oct 09, 2002 at 12:28:44PM -0700, Randy.Dunlap wrote: | > | > The kernel would still have the text-mode configurator. | The way I read the original post by Christoph Hellwig - nope. | If the kernel config library is outside the kernel then the | t

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Jeff Garzik
Sam Ravnborg wrote: > But there is a good reason why they do it. > Take a look at dirvers/video/Config.in for example. > See the size of the big if's. They span several pages if not the whole file. > Why they do this is simple. Only check for PCI once, and group all > PCI stuff there. > With the s

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Randy.Dunlap
On Wed, 9 Oct 2002, Peter Samuelson wrote: | [Roman Zippel] | > The problem is that the config syntax will continue to evolve and | > currently I prefer to keep the library close to the matching config | > files. | > I think I can keep the basic structure constant, but new options will be | > add

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Jeff Garzik
Linus Torvalds wrote: > So instead: how about just "Config" for the main per-directory > configuration file, with sub-config's being "Config.3c5xx" and > "Config.rrunner". I like it. I'm glad Sam mentioned sub-configs such as Config.3c5xx, that's something that was discussed a while ago [and a

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread J.A. Magallon
On 2002.10.09 Randy.Dunlap wrote: >On Thu, 10 Oct 2002, Brendan J Simon wrote: > >| Roman Zippel wrote: >| >| >>But the fact that xconfig depends on QT is going to make some people hate >| >>it. >| >> ... >| This is a difficult one. GUI's toolkits are a bit of religion >| (fundamentalist types t

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Randy.Dunlap
On Thu, 10 Oct 2002, Brendan J Simon wrote: | Roman Zippel wrote: | | >>But the fact that xconfig depends on QT is going to make some people hate | >>it. | >> | >> | >This should be rather easily fixable, but it has to be done by someone who | >is more familiar with whatever prefered toolkit. I'm

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Jeff Garzik
Brendan J Simon wrote: > Simple and boring but how about "Config2.in" or "Config-2.in" ??? no offense intended, but: ug... --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf __

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Randy.Dunlap
On Wed, 9 Oct 2002, Linus Torvalds wrote: | On Wed, 9 Oct 2002, Randy.Dunlap wrote: | > | > stick with TCL/TK, like xconfig currently uses ? | | Too ugly. I actually think QT is a fine choice, I just suspect that it's | going to cause political issues. | | My favourite approach by far is to actua

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Jeff Garzik
Roman Zippel wrote: > On Tue, 8 Oct 2002, Linus Torvalds wrote: >>Some things made me go eww (but on the whole details): >> >> - I'd prefer the Config.in name, since this has nothing to do with >> building, and everything to do with configuration. > > > Fine with me. > (jgarzik, I think you're

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Jeff Garzik
Roman Zippel wrote: > Hi, > > On Wed, 9 Oct 2002, Jeff Garzik wrote: > > >>Well, my basic preference is >> >>* something other than Config.new (the original name in your config system) >>* something other than Config.in >> >>I think it is a mistake to name a totally different format the same na

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Sam Ravnborg
On Thu, Oct 10, 2002 at 01:32:11PM -0400, Jeff Garzik wrote: > The kernel is written for people with a clue. For people without a > clue, they should use a vendor kernel or ESR's Aunt-Tillie-friendly system. > > Dumbing-down the kernel is never the right answer. Well I'm not talking about dumb

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-10 Thread Sam Ravnborg
[cc: trimmed] On Thu, Oct 10, 2002 at 10:18:06AM -0400, Jeff Garzik wrote: > Personally I don't care about Config dependency checking... they are > not modified often enough to affect me, and even if they did, dependency > checking based on changes to Config files can get ugly, AFAICS. I just

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Brendan J Simon
Sam Ravnborg wrote: >So I would suggest: > >Config.conf<= Main entry in any directory >sensible-name.conf <= Any group of related files > >ls *.conf list all configuration files. >ls rrunner*list all files spcific for rrunner > I really like this. It's just so intuative

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Roman Zippel
Hi, On Wed, 9 Oct 2002, Jeff Garzik wrote: > Which implies that the equivalent of "source drivers/net/Config*" > (wildcarding) in Roman's system would be useful. Or maybe "source > drivers/net" and it knows that when given a directory it should scan for > all Config* files in that dir. This ma

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Sam Ravnborg
On Wed, Oct 09, 2002 at 12:28:44PM -0700, Randy.Dunlap wrote: > > The kernel would still have the text-mode configurator. The way I read the original post by Christoph Hellwig - nope. If the kernel config library is outside the kernel then the text-mode versions will fail as well. Recall that the

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Sam Ravnborg
On Wed, Oct 09, 2002 at 11:47:16AM -0700, Linus Torvalds wrote: > > On Wed, 9 Oct 2002, Sam Ravnborg wrote: > > > > ls rrunner* > > should show me not only the implementation [.c + .h] but also > > the configuration. > > I agree with you, but only if we _always_ have one config file per driver.

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Peter Samuelson
[Roman Zippel] > The problem is that the config syntax will continue to evolve and > currently I prefer to keep the library close to the matching config > files. > I think I can keep the basic structure constant, but new options will be > added, so IMO it's more likely that a front end works with

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Linus Torvalds
On Wed, 9 Oct 2002, Sam Ravnborg wrote: > > ls rrunner* > should show me not only the implementation [.c + .h] but also > the configuration. I agree with you, but only if we _always_ have one config file per driver. Which is not necessarily the wrong thing to do. But as long as most drivers

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Roman Zippel
Hi, On Wed, 9 Oct 2002, Christoph Hellwig wrote: > Why don't you just separate the library from the kernel at all, making > it a similar package. We depend on a few external, kernel-specific > packages anyway, and depending on libkconfig wouldn't make the situation > worse. The problem is that

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Sam Ravnborg
On Wed, Oct 09, 2002 at 10:37:47AM -0700, Linus Torvalds wrote: > However, I disagree with the naming - I'd rather have one common name for > the "main" directory entry than have magic rules like "basename of the > directory capitalized". I don't want to have to search for it. OK, see your point

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Linus Torvalds
On Wed, 9 Oct 2002, Sam Ravnborg wrote: > > Another suggestion about naming: > Take for example drivers/net: > cat Config.* | wc => 2149 lines > > A bit a structure could be needed here. > Net.conf <= Name equals directory with upper-case first letter > - Cover the whole directory, and e

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Sam Ravnborg
On Wed, Oct 09, 2002 at 02:01:50PM +0200, Roman Zippel wrote: > On Tue, 8 Oct 2002, Linus Torvalds wrote: > > Some things made me go eww (but on the whole details): > > > > - I'd prefer the Config.in name, since this has nothing to do with > >building, and everything to do with configuration

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Christoph Hellwig
On Wed, Oct 09, 2002 at 06:29:03PM +0200, Roman Zippel wrote: > Hi, > > On Wed, 9 Oct 2002, Randy.Dunlap wrote: > > > So I think that you and Roman are close to agreement, when Roman > > has the library backend ready. Of course someone needs to do a > > "reference implementation" with it also,

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Roman Zippel
Hi, On Wed, 9 Oct 2002, Randy.Dunlap wrote: > So I think that you and Roman are close to agreement, when Roman > has the library backend ready. Of course someone needs to do a > "reference implementation" with it also, but it doesn't need to > ship with the kernel. We ship BK documentation, so

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Roman Zippel
Hi, On Wed, 9 Oct 2002, J.A. Magallon wrote: > >stick with TCL/TK, like xconfig currently uses ? > >or is it not sufficient? or just too ugly? > > > > What is linux kernel conf written in ? > - perl: use perl-gtk (I think there is also a perl-qt) > - python: use py-gtk... > > Use whatever the l

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Linus Torvalds
On Wed, 9 Oct 2002, Randy.Dunlap wrote: > > stick with TCL/TK, like xconfig currently uses ? Too ugly. I actually think QT is a fine choice, I just suspect that it's going to cause political issues. My favourite approach by far is to actually not ship anything graphical with the kernel at all

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Roman Zippel
Hi, On Thu, 10 Oct 2002, Brendan J Simon wrote: > As you can see there are soo many guis to choose/use and everyone > has there favourite. I suggest that the real work be done outside of > the GUI program. ie. seperate GUI and application guts as much as > possible. I would use python as

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Brendan J Simon
Roman Zippel wrote: >>But the fact that xconfig depends on QT is going to make some people hate >>it. >> >> >This should be rather easily fixable, but it has to be done by someone who >is more familiar with whatever prefered toolkit. I'm familiar with QT and >it's absolutely great to get qu

Re: [kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Brendan J Simon
Roman Zippel wrote: >>Well, my basic preference is >> >>* something other than Config.new (the original name in your config system) >>* something other than Config.in >> >>I think it is a mistake to name a totally different format the same name >>as an older format... even "config.in" would be

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Roman Zippel
Hi, On Wed, 9 Oct 2002, Jeff Garzik wrote: > Well, my basic preference is > > * something other than Config.new (the original name in your config system) > * something other than Config.in > > I think it is a mistake to name a totally different format the same name > as an older format... even

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-09 Thread Roman Zippel
Hi, On Tue, 8 Oct 2002, Linus Torvalds wrote: > I'm not super-excited about this, partly because of the brouhaha last time > around on this issue. > > This has reasonably distributed config files, and puts the help with the > config entry where it belongs. Good. It also makes do with just standa

[kbuild-devel] Re: linux kernel conf 0.8

2002-10-08 Thread Linus Torvalds
On Wed, 9 Oct 2002, Roman Zippel wrote: > > Linus, do you have any interest in merging it in the near future? If > not, what's missing? I'm not super-excited about this, partly because of the brouhaha last time around on this issue. This has reasonably distributed config files, and puts the he