[PATCH Libgpg-error] gpg-error.m4: support pkg-config
gnupg-devel at spodhuis.org
Fri Oct 12 17:18:56 CEST 2018
On 2018-10-12 at 08:31 +0200, Werner Koch wrote:
> On Thu, 11 Oct 2018 20:27, alon.barlev at gmail.com said:
> > * Simplicity, built for the task.
> I cannot say that 145,517 source lines of code is a good indication of
> simplicity (Debian's 0.29). Compare that to make which has 30,919 SLOC
> and thus 21% of pkg-config. I know that pkg-config it comes with glib
> included but for a bootstrapping tool this is quite excessive. In
> particular when looking at the 45,000 SLOC of libgpg-error.
FreeBSD reimplemented the pkg-config API in a much simpler code-base,
back in 2011. AFAIK this is the tooling used by FreeBSD Ports for all
pkg-config stuff, so is pretty well reality-tested by now.
Port devel/pkgconf with repo https://github.com/pkgconf/pkgconf
% wc -l libpkgconf/**/*(.) cli/**/*(.) | tail -n 1
One implementation is big, but that doesn't mean folks have to use that
one. If GnuPG can invoke external tooling, they can use pkgconf for
More information about the Gnupg-devel