]> git.sur5r.net Git - kconfig-frontends/log
kconfig-frontends
12 years agoconfigure: add check for libintl
Yann E. MORIN" [Thu, 17 May 2012 22:46:53 +0000 (00:46 +0200)]
configure: add check for libintl

Compiling on Cygwin requires explicit link against libintl.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agolibs/parser: do not use gettext if not available
Yann E. MORIN" [Mon, 28 May 2012 17:09:53 +0000 (19:09 +0200)]
libs/parser: do not use gettext if not available

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: fix no libintl header
Yann E. MORIN" [Mon, 28 May 2012 17:24:08 +0000 (19:24 +0200)]
configure: fix no libintl header

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: rename GETTEXT variable
Yann E. MORIN" [Mon, 28 May 2012 17:17:13 +0000 (19:17 +0200)]
configure: rename GETTEXT variable

This variable contains pre-processor flags, so name it accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoscripts/ksync: bundle our patches in the release tarballs
Yann E. MORIN" [Sat, 26 May 2012 16:28:21 +0000 (18:28 +0200)]
scripts/ksync: bundle our patches in the release tarballs

Because scripts/ksync is bundled, so must we also bundle our patches.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoversion: back to development version
Yann E. MORIN" [Sat, 26 May 2012 16:27:36 +0000 (18:27 +0200)]
version: back to development version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoAdded tag kconfig-frontends-3.4.0-0 for changeset bc3a6b909a61
Yann E. MORIN" [Tue, 22 May 2012 18:24:34 +0000 (20:24 +0200)]
Added tag kconfig-frontends-3.4.0-0 for changeset bc3a6b909a61

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoChange version string for the 3.4.0-0 release v3.4.0-0
Yann E. MORIN" [Tue, 22 May 2012 18:12:32 +0000 (20:12 +0200)]
Change version string for the 3.4.0-0 release

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosynchronise with 3.4
Yann E. MORIN" [Tue, 22 May 2012 18:06:04 +0000 (20:06 +0200)]
synchronise with 3.4

Only bump version string.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosynchronise with 3.4-rc7
Yann E. MORIN" [Sun, 13 May 2012 19:30:23 +0000 (21:30 +0200)]
synchronise with 3.4-rc7

Only bump version string.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosynchronise with 3.4-rc6
Yann E. MORIN" [Mon, 7 May 2012 14:33:17 +0000 (16:33 +0200)]
synchronise with 3.4-rc6

Only bump version string.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoscripts: bundle the version file and version script
Yann E. MORIN" [Wed, 2 May 2012 21:17:35 +0000 (23:17 +0200)]
scripts: bundle the version file and version script

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosynchronise with 3.4-rc5
Yann E. MORIN" [Mon, 30 Apr 2012 12:09:16 +0000 (14:09 +0200)]
synchronise with 3.4-rc5

Only bump version string.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosynchronise with 3.4-rc4
Yann E. MORIN" [Sun, 22 Apr 2012 20:35:17 +0000 (22:35 +0200)]
synchronise with 3.4-rc4

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoscripts/ksync: the utilities were renamed
Yann E. MORIN" [Sun, 22 Apr 2012 20:36:52 +0000 (22:36 +0200)]
scripts/ksync: the utilities were renamed

The utilities source files were recently renamed, but the
sync list was not updated to reflect this change.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: enable utilities by default
Yann E. MORIN" [Wed, 18 Apr 2012 16:58:06 +0000 (18:58 +0200)]
configure: enable utilities by default

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
12 years agoconfigure: allow user to override program-prefix
Yann E. MORIN" [Wed, 18 Apr 2012 16:56:12 +0000 (18:56 +0200)]
configure: allow user to override program-prefix

By default, use the current 'kconfig-' prefix,
but allow a user to change it, or even disable it.

Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
12 years agoSynchronise from kernel
Yann E. MORIN" [Tue, 17 Apr 2012 22:52:15 +0000 (00:52 +0200)]
Synchronise from kernel

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agohgignore: ignore new frontends names, ignore generated utilities
Yann E. MORIN" [Mon, 9 Apr 2012 21:56:17 +0000 (23:56 +0200)]
hgignore: ignore new frontends names, ignore generated utilities

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
12 years agoscripts/ksync: add the sync-from-kernel script to the package
Yann E. MORIN" [Mon, 9 Apr 2012 21:42:31 +0000 (23:42 +0200)]
scripts/ksync: add the sync-from-kernel script to the package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: dump simpler, easier to read configuration settings
Yann E. MORIN" [Mon, 9 Apr 2012 20:50:44 +0000 (22:50 +0200)]
configure: dump simpler, easier to read configuration settings

Re-organise the final configuration settings dump.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoutils/kconfig-gettext: build and install
Yann E. MORIN" [Mon, 9 Apr 2012 20:33:31 +0000 (22:33 +0200)]
utils/kconfig-gettext: build and install

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoutils/: new directory for kconfig utilities, install them
Yann E. MORIN" [Mon, 9 Apr 2012 18:37:31 +0000 (20:37 +0200)]
utils/: new directory for kconfig utilities, install them

Create a new directory to store the utilities that deal
with kconfig files, .config and .in alike.

For now, only the scripts are installed

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agofrontends: prefix frontends with 'kconfig-'
Yann E. MORIN" [Mon, 9 Apr 2012 19:43:58 +0000 (21:43 +0200)]
frontends: prefix frontends with 'kconfig-'

By default, prefix the frontends executables with 'kconfig-'
to avoid any name-space collision ('conf' is too generic).

At the same time, prefix all libraries with kconfig-, for
consistency (except libkconfig-parser, which only gains a
dash in-between 'kconfig' and 'parser').

Besides, utilities (coming in a following cset) will all be
prefixed with 'kconfig-' to avoid name-space collision, too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agolibs/parser: clean generated files
Yann E. MORIN" [Mon, 9 Apr 2012 16:14:42 +0000 (18:14 +0200)]
libs/parser: clean generated files

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agofrontends/qconf: clean generated files
Yann E. MORIN" [Mon, 9 Apr 2012 16:38:14 +0000 (18:38 +0200)]
frontends/qconf: clean generated files

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agolibs/images: make it a proper library
Yann E. MORIN" [Mon, 9 Apr 2012 14:17:57 +0000 (16:17 +0200)]
libs/images: make it a proper library

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agomisc: add script to manipulate .config from cmdline
Yann E. MORIN" [Mon, 9 Apr 2012 11:43:38 +0000 (13:43 +0200)]
misc: add script to manipulate .config from cmdline

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agobootstrap: install the boostrap script
Yann E. MORIN" [Sun, 8 Apr 2012 12:53:01 +0000 (14:53 +0200)]
bootstrap: install the boostrap script

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agodocs: package and install the doc
Yann E. MORIN" [Wed, 4 Apr 2012 17:05:13 +0000 (19:05 +0200)]
docs: package and install the doc

Add the documentation to the distribution, and install it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosynchronise with 3.4-rc2
Yann E. MORIN" [Sun, 8 Apr 2012 12:26:06 +0000 (14:26 +0200)]
synchronise with 3.4-rc2

Nothing, except version bump.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: small eye-candy
Yann E. MORIN" [Wed, 4 Apr 2012 16:59:36 +0000 (18:59 +0200)]
configure: small eye-candy

Line-up the summary config lines.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agolibs/images: fix warnings
Yann E. MORIN" [Wed, 4 Apr 2012 16:52:48 +0000 (18:52 +0200)]
libs/images: fix warnings

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agofrontends/gconf: fix warning about unused variable
Yann E. MORIN" [Wed, 4 Apr 2012 16:45:17 +0000 (18:45 +0200)]
frontends/gconf: fix warning about unused variable

As we hard-code the path to our glade file, this variable
is no longer used, and thus generates a warning.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: enable building with -Wall
Yann E. MORIN" [Wed, 4 Apr 2012 16:40:46 +0000 (18:40 +0200)]
configure: enable building with -Wall

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: add option to build with -Werror
Yann E. MORIN" [Sun, 1 Apr 2012 13:21:22 +0000 (15:21 +0200)]
configure: add option to build with -Werror

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosynchronise with 3.4-rc1
Yann E. MORIN" [Sun, 1 Apr 2012 13:11:06 +0000 (15:11 +0200)]
synchronise with 3.4-rc1

No change, just update .version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agosync with current Linux kernel code
Yann E. MORIN" [Sat, 31 Mar 2012 20:45:47 +0000 (22:45 +0200)]
sync with current Linux kernel code

Yes, we sync up with a random snapshot of the Linux kernel,
but the changeset number is in our version string, anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoversion: Redo the version string computation
Yann E. MORIN" [Sat, 31 Mar 2012 20:47:41 +0000 (22:47 +0200)]
version: Redo the version string computation

In case the kconfig-frontends version is 'hg', always include
the Linux kernel changeset we last synced up with, and include
the potential '-rcX' if present.

In case the kconfig-frontends version is not 'hg', we assume
this is a digit-version, and we do not include hte kernel cset
in the version, but we keep an potential '-rcX' if present.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agolibs/parser: move installed includes
Yann E. MORIN" [Fri, 30 Mar 2012 15:24:13 +0000 (17:24 +0200)]
libs/parser: move installed includes

Currently, includes are installed in ${prefix}/include, but
this is not not nice, as the headers are not properly named.

Install them into a sub-directory with a proper name.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoconfigure: change contact email address
Yann E. MORIN" [Fri, 30 Mar 2012 16:48:44 +0000 (18:48 +0200)]
configure: change contact email address

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agodocs: initial sync from kernel
Yann E. MORIN" [Thu, 29 Mar 2012 16:59:38 +0000 (18:59 +0200)]
docs: initial sync from kernel

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agomisc/sync-list: also synchronsie a bit of documentation
Yann E. MORIN" [Thu, 29 Mar 2012 16:54:56 +0000 (18:54 +0200)]
misc/sync-list: also synchronsie a bit of documentation

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoscripts/ksync: cerate destination dir before copy
Yann E. MORIN" [Thu, 29 Mar 2012 16:52:43 +0000 (18:52 +0200)]
scripts/ksync: cerate destination dir before copy

When adding new files to the sync list, the destination dir
must exist before we copy the new files there.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
12 years agoversion: we're now back to a devel version
Yann E. MORIN" [Thu, 22 Mar 2012 22:36:01 +0000 (23:36 +0100)]
version: we're now back to a devel version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
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>
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>
12 years agoconfigure: detect moc properly
Yann E. MORIN" [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>
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>
12 years agoconfigure: fis autostuff scripts path
Arnout Vandecappelle (Essensium/Mind) [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>
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>