tools/pkg-config: Replace with pkgconf
authorRosen Penev <rosenp@gmail.com>
Thu, 28 Nov 2019 19:19:31 +0000 (11:19 -0800)
committerPetr Štetiar <ynezz@true.cz>
Sun, 1 Mar 2020 20:36:00 +0000 (21:36 +0100)
commit867298cf47ab505dee738fc653b90fa0bc2d0428
treeec71d1775038e4091c666df2849f4b04d533b7c8
parentaf878339ae28391dd7509cd27496fa4ca8d2a339
tools/pkg-config: Replace with pkgconf

pkgconf is a newer, actively maintained implementation of pkg-config that
supports more aspects of the pkg-config file specification and provides a
library interface that applications can use to incorporate intelligent
handling of pkg-config files into themselves (such as build file
generators, IDEs, and compilers). Through its pkg-config compatibility
interface (activated when it is run as "pkg-config"), it also can
completely replace the original implementation.

It is also lighterweight and does not require glib2, as pkg-config does.

On other distros, pkgconf is symlinked to pkg-config. For simplicity here,
it is renamed to pkg-config.real, as in the original package.

Initial results have been positive. As before, pkgconf works as long as
the pkg-config files point to the proper paths.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[backported upstream fix for Meson]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
tools/Makefile
tools/pkg-config/Makefile [deleted file]
tools/pkg-config/files/pkg-config [deleted file]
tools/pkgconf/Makefile [new file with mode: 0644]
tools/pkgconf/files/pkg-config [new file with mode: 0755]
tools/pkgconf/patches/0001-cli-remove-version-to-modversion-remapping.patch [new file with mode: 0644]