-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure: use pkg-config with newer gpgme and gpg-error #2789
Conversation
I didn't look closely, but I agree with this in principle. There's at least one open issue about this. I can take a closer look after the US holiday if no one gets to it earlier. |
This is meant to fix the recent CI failure on Debian testing, which I think is due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023601. |
edb55cb
to
c60a3e0
Compare
One nit from
|
This tweaks autoconf logic in order to use pkg-config for gpgme and gpg-error when available. Recent versions of gpgme directly provide threaded support, and gpg-error started shipping a .pc file. Thus on recent distributions it is possible to directly use pkg-config for both. On older environments, the legacy logic is kept in place.
This silences a warning when building the project with `--with-gpme=no`.
c60a3e0
to
fa6064b
Compare
This tweaks autoconf logic in order to use pkg-config for gpgme and gpg-error when available. Recent versions of gpgme directly provide threaded support, and gpg-error started shipping a .pc file. Thus on recent distributions it is possible to directly use pkg-config for both. On older environments, the legacy logic is kept in place. Forwarded: ostreedev/ostree#2789 Gbp-Pq: Name configure-use-pkg-config-with-newer-gpgme-and-gpg-error.patch
This tweaks autoconf logic in order to use pkg-config for gpgme and gpg-error when available. Recent versions of gpgme directly provide threaded support, and gpg-error started shipping a .pc file. Thus on recent distributions it is possible to directly use pkg-config for both. On older environments, the legacy logic is kept in place. Forwarded: ostreedev/ostree#2789 Gbp-Pq: Name configure-use-pkg-config-with-newer-gpgme-and-gpg-error.patch
This tweaks autoconf logic in order to use pkg-config for gpgme and gpg-error when available.
Recent versions of gpgme directly provide threaded support, and gpg-error started shipping a .pc file. Thus on recent distributions it is possible to directly use pkg-config for both. On older environments, the legacy logic is kept in place.