]> git.sur5r.net Git - kconfig-frontends/log
kconfig-frontends
12 years agoconfigure enable/disable frontends by list
Yann E. MORIN" [Tue, 14 Feb 2012 22:00:32 +0000 (23:00 +0100)]
configure enable/disable frontends by list

Add a configure --{en,dis}able-frontends=(list) option, to enable
or disable all or the specified list of frontends.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: default for frontends is "auto", not "enabled"
Yann E. MORIN" [Tue, 14 Feb 2012 22:27:32 +0000 (23:27 +0100)]
configure: default for frontends is "auto", not "enabled"

The default is to check for each frontends if the depndencies are
available. If so, the frontend is enabled, if not, it is disabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: add option to set the /package/ name
Yann E. MORIN" [Tue, 14 Feb 2012 18:59:53 +0000 (19:59 +0100)]
configure: add option to set the /package/ name

Allow users to define the package name at ./configure time.
The default "linux" is because kconfig comes from the Linux kernel.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agomisc: update from linux-3.3-rc3
Yann E. MORIN" [Tue, 14 Feb 2012 18:49:34 +0000 (19:49 +0100)]
misc: update from linux-3.3-rc3

Not much beside updating the kernel version + hash.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: properly separate the ncurses libs into its own list
Yann E. MORIN" [Tue, 14 Feb 2012 19:56:17 +0000 (20:56 +0100)]
configure: properly separate the ncurses libs into its own list

Currently, everything is linked against the ncurses libraries, but
only two frontends use them:
 - mconf : libncurses
 - nconf : libncurses, libpanel et libmenu

Fixup configure.ac to set the ncurses libs into their own lists,
so that only dependent frontends use them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: pretty-print configuration
Yann E. MORIN" [Tue, 14 Feb 2012 20:37:51 +0000 (21:37 +0100)]
configure: pretty-print configuration

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoparser: generate a versioned shared library
Yann E. MORIN" [Tue, 14 Feb 2012 00:00:52 +0000 (01:00 +0100)]
parser: generate a versioned shared library

Use the kernel version to version the parser shared library.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoscripts/version: add option to output only the kernel version
Yann E. MORIN" [Tue, 14 Feb 2012 00:01:37 +0000 (01:01 +0100)]
scripts/version: add option to output only the kernel version

We'll be using that to version the parser shared library, later.
Use '--plain' as argument to get the kernel version.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoparser: build a shared library
Yann E. MORIN" [Mon, 13 Feb 2012 23:04:03 +0000 (00:04 +0100)]
parser: build a shared library

A shared library allows for all frontends to share code.
It also allows third-party programs to use the parser.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoksync: move to scripts/
Yann E. MORIN" [Wed, 25 Jan 2012 22:03:01 +0000 (23:03 +0100)]
ksync: move to scripts/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: if not explicitly enabled, disable frontends with missing deps
Yann E. MORIN" [Tue, 24 Jan 2012 21:47:38 +0000 (22:47 +0100)]
configure: if not explicitly enabled, disable frontends with missing deps

If the user does not explicitly enable a frontend, and the pre-requisites
for this frontned are missing, then disable this frontend.

By default, all frontends are enabled. But if (for example) the ncurses
library is missing, and the user did not explicitly enabled them, then
do not build these frontends.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: print the enabled frontends
"Yann E. MORIN" [Tue, 24 Jan 2012 21:49:56 +0000 (22:49 +0100)]
configure: print the enabled frontends

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoksync: also get kernel changeset
Yann E. MORIN" [Tue, 24 Jan 2012 21:45:59 +0000 (22:45 +0100)]
ksync: also get kernel changeset

When syncing the parser+frontends, also grab the kernel changeset
we are syncing from, for later forensics, if needed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: only check for ncurses if either mconf or mconf is selected
Yann E. MORIN" [Mon, 23 Jan 2012 23:49:39 +0000 (00:49 +0100)]
configure: only check for ncurses if either mconf or mconf is selected

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: chnage help string for disabling frontends
Yann E. MORIN" [Sun, 22 Jan 2012 22:58:25 +0000 (23:58 +0100)]
configure: chnage help string for disabling frontends

As frontends are enabled by default, let the help string specify
the --disable-XXX variant of the option, so that autocomplete
always suggests it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoksync: handle names with double quotes
Yann E. MORIN" [Sun, 22 Jan 2012 22:55:14 +0000 (23:55 +0100)]
ksync: handle names with double quotes

Some versions of the Linux kernel have double quotes, for example
linux-3.1 is named:
    "Divemaster Edition"
while linux-3.2 is named:
    Saber-toothed Squirrel

Just remove doubles quotes.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoksync: fix error message when no kernel path is provided
Yann E. MORIN" [Sun, 22 Jan 2012 18:26:34 +0000 (19:26 +0100)]
ksync: fix error message when no kernel path is provided

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoscripts: add script to sync from the kernel
Yann E. MORIN" [Fri, 20 Jan 2012 23:52:34 +0000 (00:52 +0100)]
scripts: add script to sync from the kernel

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agolicense: state it's GPLv2
Yann E. MORIN" [Sat, 21 Jan 2012 16:01:36 +0000 (17:01 +0100)]
license: state it's GPLv2

The code comes from the Linux kernel source tree, which is GPLv2
(unless otherwise stated).

Quote Linus' clarification from the COPYING file in the Linux
kernel source tree; add my own interpretation blurb.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agofrontends: add qconf
Yann E. MORIN" [Fri, 20 Jan 2012 21:23:09 +0000 (22:23 +0100)]
frontends: add qconf

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agomisc: move the parser and the lxdialog to libs/
Yann E. MORIN" [Fri, 20 Jan 2012 22:35:54 +0000 (23:35 +0100)]
misc: move the parser and the lxdialog to libs/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agomisc: add missing files
Yann E. MORIN" [Fri, 20 Jan 2012 21:29:46 +0000 (22:29 +0100)]
misc: add missing files

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agofrontends: add gconf
Yann E. MORIN" [Wed, 18 Jan 2012 21:18:31 +0000 (22:18 +0100)]
frontends: add gconf

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: add option to select frontends
Yann E. MORIN" [Tue, 17 Jan 2012 22:34:33 +0000 (23:34 +0100)]
configure: add option to select frontends

Add a ./configure option to select which frontends to install.
By default, all are installed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: effectively deactivate gettext if missing
Yann E. MORIN" [Tue, 17 Jan 2012 22:39:28 +0000 (23:39 +0100)]
configure: effectively deactivate gettext if missing

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: cleanup
Yann E. MORIN" [Tue, 17 Jan 2012 21:45:42 +0000 (22:45 +0100)]
configure: cleanup

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoall: shuffle files around
Yann E. MORIN" [Tue, 17 Jan 2012 20:18:53 +0000 (21:18 +0100)]
all: shuffle files around

Review and reorganise the package layout.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoscripts: add autostuff stuff
Yann E. MORIN" [Tue, 17 Jan 2012 20:01:01 +0000 (21:01 +0100)]
scripts: add autostuff stuff

To be noted:

- the lex/yacc/gperf generated files include one another, so it is
  not possible to use proper automake constructs to generate the
  lexer

- it is possible to tell bison and flex to change the prefix of the
  generated symbols, different from the default 'yy'; but if one
  does so, then the names of the generated files also include this
  prefix instead of the default (here, we use 'zconf' instead of 'yy'

- autoconf has a /built-in/ check for lex, but has no way to know
  that the output files is differently named

Because of all these mis-features, the autostuff files contain some
dubious constructs, as a palliative.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoInitial import.
Yann E. MORIN" [Tue, 17 Jan 2012 19:51:30 +0000 (20:51 +0100)]
Initial import.

Import the kconfig stuff from:
  https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=script;hb=c2bc3a316a7281f67e36b34dac2802cbe36a9128

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>