]> git.sur5r.net Git - kconfig-frontends/log
kconfig-frontends
12 years agoconfigure: if no moc found, disable qconf or fail
Yann E. MORIN" [Thu, 22 Mar 2012 22:17:00 +0000 (23:17 +0100)]
configure: if no moc found, disable qconf or fail

If moc is missing, and user explictly enabled qconf, fail,
If moc is missing, but qconf is auto, then disable qconf.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 898c34ee05007d43b6e2573da2a17ee23fe8e67c)

12 years agoconfigure: advertise the MOC variable
Yann E. MORIN" [Thu, 22 Mar 2012 22:22:47 +0000 (23:22 +0100)]
configure: advertise the MOC variable

If the user has moc installed in a weird place, he/she can use the
MOC variable to set the path to moc. Advertise this variable in
the ./configure help.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from eab0161060b6635c9f3bac6abf0b801ba04f0631)

12 years agoconfigure: detect moc properly
Peter Kjellerstedt [Thu, 22 Mar 2012 11:03:51 +0000 (12:03 +0100)]
configure: detect moc properly

The moc executable used for Qt may be installed under different names
in different places. Try to identify one that matches the version of
Qt that is being used.

Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
[yann.morin.1998@free.fr: fix MOC under-quotation, fix code layout]
Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
(transplanted from 3e90a35c66908727c96744df74bd572e860fbb90)

12 years agoMakefile.am-s: allow building outside of the source tree
Peter Kjellerstedt [Wed, 21 Mar 2012 13:10:22 +0000 (14:10 +0100)]
Makefile.am-s: allow building outside of the source tree

Hi,

I saw your announcement about kconfig-frontends to uclibc@uclibc.org
the other day, and thought I would try it out for our own project
where we use an old derivative of the kconfig system.

However, to make it build with our build system I needed to apply
the patch below to allow building outside the source tree.

After that all worked fine, and the generated .config file is
still the same as with the old config system. :)

[--SNIP unrelated message--]

Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
(transplanted from 1a2d27d500c26b2739bd13e95b8246f8f740fc6a)

12 years agoconfigure: fis autostuff scripts path
Arnout Vandecappelle [Tue, 20 Mar 2012 22:59:13 +0000 (23:59 +0100)]
configure: fis autostuff scripts path

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from cb15bd420584d14043b2645c2550e142491ab489)

12 years ago3.3: create maintenance branch
Yann E. MORIN" [Tue, 20 Mar 2012 22:12:52 +0000 (23:12 +0100)]
3.3: create maintenance branch

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoAdded tag kconfig-frontends-3.3.0-0 for changeset a37166e9b5e3
Yann E. MORIN" [Mon, 19 Mar 2012 21:09:43 +0000 (22:09 +0100)]
Added tag kconfig-frontends-3.3.0-0 for changeset a37166e9b5e3

12 years agoUpdate version to reflect release status v3.3.0-0
Yann E. MORIN" [Mon, 19 Mar 2012 21:06:34 +0000 (22:06 +0100)]
Update version to reflect release status

Woohoo! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoSynchronise with 3.3 now it is out.
Yann E. MORIN" [Mon, 19 Mar 2012 20:09:59 +0000 (21:09 +0100)]
Synchronise with 3.3 now it is out.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoreadme: update with a bit more information
Yann E. MORIN" [Tue, 6 Mar 2012 00:14:01 +0000 (01:14 +0100)]
readme: update with a bit more information

- accept patches to the infrastructure
- document known limitations

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: allow passing extra libs per-frontend
Yann E. MORIN" [Mon, 5 Mar 2012 22:28:36 +0000 (23:28 +0100)]
configure: allow passing extra libs per-frontend

When building statically, it might be necessary to pass extra
libraries to some frontends. For example:
  nconf frontend, using ncursesw
  ncursesw is linked against libgpm

Because static dependencies do not follow (no they don't even
with libtool's .la libraries!), we have to set them manually.

Recognise xxx_LIBS as a list of extra libraries (in the form
-lyyy) to pass to frontend xxx.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: better isolate libraries search results
Yann E. MORIN" [Mon, 5 Mar 2012 20:52:31 +0000 (21:52 +0100)]
configure: better isolate libraries search results

We do not want all libraries to be listed in a single list,
because not every frontend need all the libraries.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: fix search for secondary ncurses libs
Yann E. MORIN" [Mon, 5 Mar 2012 20:45:56 +0000 (21:45 +0100)]
configure: fix search for secondary ncurses libs

When building statically, the ncurses library must be specified if
one tries to link any of the libpanel of libmenu libraries.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoMakefiles: fix variable expansions
Yann E. MORIN" [Mon, 5 Mar 2012 22:36:28 +0000 (23:36 +0100)]
Makefiles: fix variable expansions

Although ${} is valid in Makefiles, the usual convention is
to use $().

(Note: both *are* POSIX.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: no trailing space for the root-menu prompt
Yann E. MORIN" [Sun, 4 Mar 2012 21:17:54 +0000 (22:17 +0100)]
configure: no trailing space for the root-menu prompt

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoall: update from 3.3-rc6
Yann E. MORIN" [Sun, 4 Mar 2012 21:05:05 +0000 (22:05 +0100)]
all: update from 3.3-rc6

Nothing, except for version bump.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: eye-candy for --enable-root-menu-prompt
Yann E. MORIN" [Sun, 4 Mar 2012 15:42:10 +0000 (16:42 +0100)]
configure: eye-candy for --enable-root-menu-prompt

Add a little bit of eye-candy for the help of --enable-root-menu-prompt

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoparser: replace package-name by root-menu
Yann E. MORIN" [Sat, 3 Mar 2012 23:51:00 +0000 (00:51 +0100)]
parser: replace package-name by root-menu

Rather than simply seting the "package name", allow setting the
complete root-menu prompt.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: allow $ in package name
Yann E. MORIN" [Sat, 3 Mar 2012 23:09:19 +0000 (00:09 +0100)]
configure: allow $ in package name

The package-name can contain the names of symbols, like '$FOO',
which get replaced by their actual value just after parse-time.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agolibs/parser: effectively allow setting the package name
Yann E. MORIN" [Sat, 3 Mar 2012 22:42:09 +0000 (23:42 +0100)]
libs/parser: effectively allow setting the package name

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoscripts/ksync: also sync the lex and yacc source files
Yann E. MORIN" [Sat, 3 Mar 2012 22:52:28 +0000 (23:52 +0100)]
scripts/ksync: also sync the lex and yacc source files

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: change the order in which tests are made
Yann E. MORIN" [Sun, 26 Feb 2012 17:17:09 +0000 (18:17 +0100)]
configure: change the order in which tests are made

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agofrontends: change the order in which libraries are linked
Yann E. MORIN" [Sun, 26 Feb 2012 17:14:33 +0000 (18:14 +0100)]
frontends: change the order in which libraries are linked

Currently, it is almost impossible to statically link the frontends,
because the order in which libraries are linked is incorrect.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agobootstrap: cleanup
Yann E. MORIN" [Sun, 26 Feb 2012 17:13:40 +0000 (18:13 +0100)]
bootstrap: cleanup

A bit of re-organisation in bootstrap.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agomisc: fix exec permissions
Yann E. MORIN" [Sun, 26 Feb 2012 17:09:23 +0000 (18:09 +0100)]
misc: fix exec permissions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agomisc: add diffconfig script
Yann E. MORIN" [Sun, 26 Feb 2012 10:59:05 +0000 (11:59 +0100)]
misc: add diffconfig script

Add diffconfig, a handy tool to pretty-print the differences
between two .config files.

Sort the sync-file by destination; sync up with linux-3.3-rc5.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: also check for the wide-char variants of ncurses extra libs
Yann E. MORIN" [Sun, 26 Feb 2012 10:43:03 +0000 (11:43 +0100)]
configure: also check for the wide-char variants of ncurses extra libs

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agofrontends: share the images definitions across graphical frontends
Yann E. MORIN" [Sun, 26 Feb 2012 10:25:31 +0000 (11:25 +0100)]
frontends: share the images definitions across graphical frontends

The images definitions are currently duplicated in the two graphical
frontends.

Make it a common include file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: move lxdialog check
Yann E. MORIN" [Sun, 19 Feb 2012 22:11:01 +0000 (23:11 +0100)]
configure: move lxdialog check

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: add option to set the config option prefix
Yann E. MORIN" [Wed, 15 Feb 2012 21:16:47 +0000 (22:16 +0100)]
configure: add option to set the config option prefix

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoconfigure: enable all frontends if --enable-frontends has no list
Yann E. MORIN" [Tue, 14 Feb 2012 22:40:24 +0000 (23:40 +0100)]
configure: enable all frontends if --enable-frontends has no list

If the user passes '--enable-frontends' without a list of frontends
to enable, interpret this as enabling all frontends.

Note, this is different from '--enable-frontends=', where the list
exists, but is empty.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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>