]> 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)
committerMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Fri, 26 Sep 2025 07:08:23 +0000 (09:08 +0200)
commit3b3f590ad37e85d7dd76c25edfcb65a5e65c3cb8
treec812b7a766e7f95321dc60e05446226c3fd7246b
parent28fec3e1a885e154caf2f6c76ec18bc39856ea47
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>
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]