Re: Kconfig (qt) -> Gconfig (gtk)

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Sun Nov 03 2002 - 04:47:05 EST


On Sun, 3 Nov 2002, Christoph Hellwig wrote:
> On Sun, Nov 03, 2002 at 01:30:09AM +0000, Alan Cox wrote:
> > On Sun, 2002-11-03 at 00:06, J.A. Magallón wrote:
> > > As I see it, the onle thing that should be included in a standard kernel
> > > would be something like a kconfig-xaw, that is sure to be on every box that
> > > has X, and could be a reference implementation.
> >
> > Lots of people no longer include Xaw either nowdays 8)
> >
> > Probably the easiest way to do this would be to move the GUI tools out
> > of the kernel (or maybe leave the common useful ones) and have make
> > guiconfig do
> >
> > if [ -f /usr/sbin/kernel-gui-config ] ; then
> > /usr/sbin/kernel-gui-config
> > elif got_qt() ; then
> > qt config
> > elif got_gtk() ; then
> > gtk_config
> > else
> > warnign message
> > make config
> > fi
>
> Why does the kernel have to know about that tools at all? Just put them
> into $PATH and let people just call $FOOCONFIG. This works pretty well
> with mconfig on 2.2/2.4..

Just call it kguiconfig. Since /usr/bin/kguiconfig would be a symbolic link to
/etc/alternatives/kguiconfig on a Debian system, the sysadmin can choose which
of the zillion different available GUI kernel config programs you'll actually
run.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:28 EST