]> git.sur5r.net Git - kconfig-frontends/log
kconfig-frontends
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>