]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
which: update 2.21 -> 2.23, build with meson
authorAlexander Kanavin <alex@linutronix.de>
Thu, 25 Sep 2025 10:53:39 +0000 (12:53 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2025 09:52:51 +0000 (10:52 +0100)
commit600545a0ef313e7df5a0f25eba17b73b0f410489
treec43c67e94cc944ef4512bd794efff0dc6a9cabae
parent07747aa7390e98bf2853154e5fd473e4984a1d3d
which: update 2.21 -> 2.23, build with meson

This (and 2.22) is a first release in many years. Rather than try
to use upstream's absurdly overblown, incompatible build system
(see below), I added a small-ish meson file. This means:

- drop tweaks and dependency on cwautomacros as that is no longer used

- drop patch as configure.ac has been rewritten, and the recipe is using meson anyway

- drop --disable-iberty for the same reason

In this realease, cwautomacros has been replaced by an equally custom, weird set
of macros, written by 'which' maintainer: https://github.com/CarloWood/cwm4

- one effect of that is that autoreconf isn't happy with which's configure.ac and won't run;
one is supposed to use a custom script instead: https://github.com/CarloWood/cwm4/blob/master/scripts/bootstrap.sh

- alas, that script is not shipped in tarballs; the maintainer wants
everyone to trust their 200k configure script (hello xz backdoor)

- building from git (where the script exists) is not impossible,
but that has no version tags

All this 'special handling' for what, exactly? Five .c files to produce one
single-function executable, and one manpage. Wich should all be in coreutils
to begin with. GNU's attachment to autotools defies reason.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/which/which-2.21/automake.patch [deleted file]
meta/recipes-extended/which/which-2.23/0001-getopt-Fix-signature-of-getenv-function.patch [moved from meta/recipes-extended/which/which-2.21/0001-getopt-Fix-signature-of-getenv-function.patch with 51% similarity]
meta/recipes-extended/which/which-2.23/meson.build [new file with mode: 0644]
meta/recipes-extended/which/which_2.23.bb [moved from meta/recipes-extended/which/which_2.21.bb with 71% similarity]