mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] Kernel GUI config
@ 2002-11-02 23:14 J.A. Magallón
  2002-11-02 23:19 ` J.A. Magallón
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: J.A. Magallón @ 2002-11-02 23:14 UTC (permalink / raw)
  To: Lista Linux-Kernel

Hi all...

I have readl all the comments about qconfig, gconfig, etc..., and I wanto to
comment about an idea that perhaps can make everybody happy...

I don't like qt. As many others. Others do not like GTK. QT requires a C++
compiler to configure the kernel. Everybody agrees on putting the gui config
tool outside the tree. So...

- Make a new target called 'guiconfig'. This is neutral, and just should call
  an utility called for example kconfig-gui.
- People can implement many different front ends and call them things like
  kconfig-qt, kconfig-gtk, kconfig-xaw, etc... The user can configure its
  own prefs with an alias or with 'alternatives' as some distros do. None
  of this utilities should be included in the tree. Put another dir in
  ftp.kernel.org.

To reduce implementation efforts (and bug chasing), as someone said, you
can take all the current parts toolkit-independent (parsers, etc.) from
qconf and split them in a library.

Other possibility is to let parsers in the kernel and generate some kind
of XML file the utilities should read (do not know how hard would be to put
dependencies on an XML file...).

This way even 'menuconfig' could be split as a separate package.

But please, don't force people to use one toolkit.

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-rc1-jam0 (gcc 3.2 (Mandrake Linux 9.0 3.2-2mdk))

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC] Kernel GUI config
  2002-11-02 23:14 [RFC] Kernel GUI config J.A. Magallón
@ 2002-11-02 23:19 ` J.A. Magallón
  2002-11-02 23:27 ` Roman Zippel
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: J.A. Magallón @ 2002-11-02 23:19 UTC (permalink / raw)
  To: linux-kernel


On 2002.11.03 J.A. Magallón wrote:
> 
> Other possibility is to let parsers in the kernel and generate some kind
> of XML file the utilities should read (do not know how hard would be to put
> dependencies on an XML file...).
> 

Add to this the advantage to write config tools in script languages like perl
or python.

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-rc1-jam0 (gcc 3.2 (Mandrake Linux 9.0 3.2-2mdk))

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC] Kernel GUI config
  2002-11-02 23:14 [RFC] Kernel GUI config J.A. Magallón
  2002-11-02 23:19 ` J.A. Magallón
@ 2002-11-02 23:27 ` Roman Zippel
  2002-11-02 23:29 ` Sam Ravnborg
  2002-11-03  3:32 ` Christoph Hellwig
  3 siblings, 0 replies; 5+ messages in thread
From: Roman Zippel @ 2002-11-02 23:27 UTC (permalink / raw)
  To: J.A. Magallón; +Cc: Lista Linux-Kernel

Hi,

On Sun, 3 Nov 2002, J.A. Magallón wrote:

> To reduce implementation efforts (and bug chasing), as someone said, you
> can take all the current parts toolkit-independent (parsers, etc.) from
> qconf and split them in a library.

$ ll scripts/kconfig/libkconfig.so 
-rwxr-xr-x    1 roman    users       76335 Oct 31 22:36 scripts/kconfig/libkconfig.so

It's already done.

bye, Roman


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC] Kernel GUI config
  2002-11-02 23:14 [RFC] Kernel GUI config J.A. Magallón
  2002-11-02 23:19 ` J.A. Magallón
  2002-11-02 23:27 ` Roman Zippel
@ 2002-11-02 23:29 ` Sam Ravnborg
  2002-11-03  3:32 ` Christoph Hellwig
  3 siblings, 0 replies; 5+ messages in thread
From: Sam Ravnborg @ 2002-11-02 23:29 UTC (permalink / raw)
  To: J.A. Magallón; +Cc: Lista Linux-Kernel

On Sun, Nov 03, 2002 at 12:14:35AM +0100, J.A. Magallón wrote:
> To reduce implementation efforts (and bug chasing), as someone said, you
> can take all the current parts toolkit-independent (parsers, etc.) from
> qconf and split them in a library.
If you look into scripts/kconfig you will find a shared library: libkconfig.so
Thats exactly what you ask for. A library containing the back-end.
The current frontends: oldconfig, menuconfig and xconfig are based on that.

Before getting into too much discussing about how to integrate a new
front-end lets see it.

	Sam

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC] Kernel GUI config
  2002-11-02 23:14 [RFC] Kernel GUI config J.A. Magallón
                   ` (2 preceding siblings ...)
  2002-11-02 23:29 ` Sam Ravnborg
@ 2002-11-03  3:32 ` Christoph Hellwig
  3 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2002-11-03  3:32 UTC (permalink / raw)
  To: J.A. Magallón; +Cc: Lista Linux-Kernel

On Sun, Nov 03, 2002 at 12:14:35AM +0100, J.A. Magallón wrote:
> Hi all...
> 
> I have readl all the comments about qconfig, gconfig, etc..., and I wanto to
> comment about an idea that perhaps can make everybody happy...
> 
> I don't like qt. As many others. Others do not like GTK. QT requires a C++
> compiler to configure the kernel. Everybody agrees on putting the gui config
> tool outside the tree. So...
> 
> - Make a new target called 'guiconfig'. This is neutral, and just should call
>   an utility called for example kconfig-gui.

Why do you need a target?  Just install your preferred tool into /usr/bin
and invoke it directly from there.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-03  3:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-02 23:14 [RFC] Kernel GUI config J.A. Magallón
2002-11-02 23:19 ` J.A. Magallón
2002-11-02 23:27 ` Roman Zippel
2002-11-02 23:29 ` Sam Ravnborg
2002-11-03  3:32 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®