Skip to contentSkip to conversation

kconfig-frontends-3.8.0.0 release

DISCUSSION Yann E. MORIN 2 participants 5 messages Feb 19, 2013 – Feb 20, 2013 Kbuild

lore
Share & tools
lore
#0 lore raw

Hello All!

I'm pleased to announce the release of kconfig-frontends 3.8.0.0! Go download it there:

    http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.8.0.0.tar.xz
    http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.8.0.0.tar.bz2

The kconfig-frontends package provides the kconfig parser, as well as all the kconfig frontends and utilities, packaged using the traditional autotools, so the kconfig infrastructure is easy to deploy, either locally or system-wide.

What's new since 3.7.0.0:
- some huge cleanups to the auto-tools infrastructure, kindly suggested and mentored by Jan Engelhardt
- there was no kconfig changes in 3.8

This release marks the first anniversary at maintaining this project. It has been fun, and I learnt quite a bit since the first announcement here, roughly one year ago [0].

The first release, 3.3.0-0, has been covered [1] by LWN.net (Hello! :-) ), and I'm quite proud of such an achievement!

Work on kconfig-frontends would not have been so easy without the works of the many kernel contributors, and I'd like to take the opportunity to thank you all for your amazing work!

So, time has come to lay out the plans for the future:
- continue to release as soon as possible after each kernel release:
this has proved to be challenging at times, when there are agenda conflicts (kernel release during holidays, or just before a conference) but is globally manageable;

- migrate the repository from Hg to git (on-going) ;-) being a noob at git at the time I spawned kconfig-frontends, I used the tools I knew how to use at the time, in order not to bust the repository. Hg has proved to do the job well for me, but now that I'm up to speed with git, time has come for a switch;

- present (lightning-talk-like) the project at a conference I'm self-funded, so will concentrate on Europe (and specifically, France and neighbouring countries). Not too sure which conference for now. Any help chosing? ;-)

As a reminder, the home for kconfig-frontends is:
http://ymorin.is-a-geek.org/projects/kconfig-frontends

And the repository can be browsed or hg-cloned from:
http://ymorin.is-a-geek.org/hg/kconfig-frontends

kconfig-frontends is not meant to replace the in-tree Linux kconfig, but really targets third-party projects that want an easy path to following the evolution of kconfig, without the burden to manually synchronise from the Linux kernel source tree.

Any comment, any feedback, any patch is welcome! ;-)

[0] http://marc.info/?l=linux-kbuild&m=132753216310722
[1] https://lwn.net/Articles/487487/

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw
Quoted 4 lines · Yann E. MORIN

I'm pleased to announce the release of kconfig-frontends 3.8.0.0! Go download it there:

   http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.8.0.0.tar.xz
   http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.8.0.0.tar.bz2

This seems to install

/usr/bin/conf
/usr/bin/diff
/usr/bin/gettext
/usr/bin/merge
/usr/bin/tweak

Which conflicts quite hard with various preexisting system packages.

	$ rpm -qf /usr/bin/diff
	diffutils-3.2-2.1.2.x86_64
	$ rpm -qf /usr/bin/gettext
	gettext-runtime-0.18.1.1-15.2.2.x86_64
	$ rpm -qf /usr/bin/merge
	rcs-5.8-1011.1.2.x86_64

You need to give your binaries better names -- or a separate path (like /usr/libexec/kconfig-frontends/{conf,diff,gettext,...} by way of pkglibexec_PROGRAMS = conf diff gettext...)

#2 lore raw

Jan, All,

Quoted 6 lines · On Tuesday 19 February 2013 Jan Engelhardt wrote:
Quoted 4 lines · Yann E. MORIN

I'm pleased to announce the release of kconfig-frontends 3.8.0.0! Go download it there:

   http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.8.0.0.tar.xz
   http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.8.0.0.tar.bz2
Quoted 6 lines

This seems to install
/usr/bin/conf
/usr/bin/diff
/usr/bin/gettext
/usr/bin/merge
/usr/bin/tweak

By default, the binaries should all ne prefixed with 'kconfig-' to avoid such name-clashing (as root, in a fresh debootstrap of squeeze here):

---8<---

$ ./configure --prefix=/usr && make && make install
[--SNIP--]
Making install in frontends
Making install in conf
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c conf '/usr/bin/./kconfig-conf'
libtool: install: /usr/bin/install -c .libs/conf /usr/bin/./kconfig-conf
Making install in mconf
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c mconf '/usr/bin/./kconfig-mconf'
libtool: install: /usr/bin/install -c .libs/mconf /usr/bin/./kconfig-mconf
Making install in nconf
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c nconf '/usr/bin/./kconfig-nconf'
libtool: install: /usr/bin/install -c .libs/nconf /usr/bin/./kconfig-nconf
Making install in scripts
Making install in utils
  /bin/bash ../libtool   --mode=install /usr/bin/install -c gettext '/usr/bin/./kconfig-gettext'
libtool: install: /usr/bin/install -c .libs/gettext /usr/bin/./kconfig-gettext
 /usr/bin/install -c tweak '/usr/bin/./kconfig-tweak'
 /usr/bin/install -c diff '/usr/bin/./kconfig-diff'
 /usr/bin/install -c merge '/usr/bin/./kconfig-merge'
$ ls -lrt /usr/bin/*{conf,gettext,diff}
[--SNIP--]
lrwxrwxrwx 1 root root         26 Feb 19 23:11 fakeroot -> /etc/alternatives/fakeroot
lrwxrwxrwx 1 root root         24 Feb 19 23:11 rename -> /etc/alternatives/rename
lrwxrwxrwx 1 root root         21 Feb 19 23:11 c++ -> /etc/alternatives/c++
-rwxr-xr-x 1 root root      37440 Feb 19 23:13 kconfig-conf
-rwxr-xr-x 1 root root     135583 Feb 19 23:13 kconfig-mconf
-rwxr-xr-x 1 root root      95724 Feb 19 23:13 kconfig-nconf
-rwxr-xr-x 1 root root      18748 Feb 19 23:13 kconfig-gettext
-rwxr-xr-x 1 root root       3725 Feb 19 23:13 kconfig-tweak
-rwxr-xr-x 1 root root       3642 Feb 19 23:13 kconfig-diff
-rwxr-xr-x 1 root root       3378 Feb 19 23:13 kconfig-merge
---8<---

(Not all frontends are installed, because that minimal debootstrap is lacking Qt and GTK+.)

Note, it is possible to override that default tools prefix with any of:
--program-prefix=PREFIX
--program-suffix=SUFFIX
--program-transform-name=PROGRAM
The default is PREFIX='kconfig-' (contrary to the traditional empty prefix).

(I hope that did not trash your system...)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

Jan, All,

Quoted 1 line · On Wednesday 20 February 2013 Yann E. MORIN wrote:
$ ls -lrt /usr/bin/*{conf,gettext,diff}

Obviously, that line above should have been (with the same result):

$ ls -lrt /usr/bin/
lrwxrwxrwx 1 root root         26 Feb 19 23:11 fakeroot -> /etc/alternatives/fakeroot
lrwxrwxrwx 1 root root         24 Feb 19 23:11 rename -> /etc/alternatives/rename
lrwxrwxrwx 1 root root         21 Feb 19 23:11 c++ -> /etc/alternatives/c++
-rwxr-xr-x 1 root root      37440 Feb 19 23:13 kconfig-conf
-rwxr-xr-x 1 root root     135583 Feb 19 23:13 kconfig-mconf
-rwxr-xr-x 1 root root      95724 Feb 19 23:13 kconfig-nconf
-rwxr-xr-x 1 root root      18748 Feb 19 23:13 kconfig-gettext
-rwxr-xr-x 1 root root       3725 Feb 19 23:13 kconfig-tweak
-rwxr-xr-x 1 root root       3642 Feb 19 23:13 kconfig-diff
-rwxr-xr-x 1 root root       3378 Feb 19 23:13 kconfig-merge

I just tested in a new clean wheezy debootstrap, and it behaves as expected, too. What is your distro, so I can try to reproduce it here?

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw
In reply to Yann E. MORIN
Quoted 5 lines · Yann E. MORIN
Quoted 2 lines

This seems to install

	/usr/bin/diff    [...]

By default, the binaries should all ne prefixed with 'kconfig-' to avoid such name-clashing (as root, in a fresh debootstrap of squeeze here):

Aha. Seems I hit a peculiarity in rpmbuild. Problem solved, nothing to see. :)

$ grep -A5 -e '^%configure' /usr/lib/rpm/macros
%configure \
  CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
  CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
  FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
  %{_configure} --host=%{_host} --build=%{_build} \\\
        --program-prefix=%{?_program_prefix} \\\