[PATCH Libgpg-error] gpg-error.m4: support pkg-config

Dirk Gottschalk dirk.gottschalk1980 at googlemail.com
Tue Dec 4 22:57:15 CET 2018


Hello Alon.

Am Dienstag, den 04.12.2018, 22:54 +0200 schrieb Alon Bar-Lev:
> On Tue, Dec 4, 2018 at 9:30 AM Werner Koch <wk at gnupg.org> wrote:
> > On Mon,  3 Dec 2018 00:31, alon.barlev at gmail.com said:
> > 
> > > Please explain again why not give an option for downstream to
> > > build
> > > gnupg components using pkg-config, this does not take anything
> > > from
> > > whoever wishes to continue to use current mode.

> <snip>

> > After the next round of releases we can expect quite some extra
> > work due
> > to these changes anyway.  We will take this trouble and thus pretty
> > please stop complaining about that not being sufficient.  There are
> > much
> > more important things to do than to willy-nilly change an
> > established
> > build system.

> Hello Werner,
> Once again you ignore that even the current build system does not
> comply with autoconf standards and should be fixed.
> This was not required if you support pkg-config as we could have an
> option, but if you insist not supporting pkg-config at least work to
> fix the existing build to properly support multilib and cross
> compile.

I don't see your problem at all. Most libraries for GPG, at least the
packages of Fedora, which I use, support pkg-config to link them, the
.pc files are available and usable. GPG itself is not a library so
there is no need for a .pc file.

I have no problem building the actual git snapshot of GPG only with the
installed libraries and header files from the system. So, what are you
complaining about? The .pc files which are not available in your case?
Write them, if you want to link the libs with pkg-config for
configuration.

There is really no need of changing the build system at all. And yes,
it is autoconf. The scripts are a little complicated to read, but it is
autoconf, for sure, with some "extras".

I, as a developer of software which uses GPG(me) and some of the
underlying libraries directly, have never had any real problem with the
actual build system.

Regards,
Dirk

PS: Thank you, Werner and the whole team, for your good work. And no
bugs, please. Pest patrol is really expensive. :D


-- 
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen, Germany

GPG: DDCB AF8E 0132 AA54 20AB  B864 4081 0B18 1ED8 E838
Keybase.io: https://keybase.io/dgottschalk
GitHub: https://github.com/Dirk1980ac





More information about the Gnupg-devel mailing list