https://bugs.gentoo.org/961310 https://gitlab.gnome.org/GNOME/seahorse/-/commit/aa68522cc696fa491ccfdff735b77bcf113168d0 From aa68522cc696fa491ccfdff735b77bcf113168d0 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 4 Jun 2025 19:17:00 +0800 Subject: [PATCH] pgp: Allow build with gpgme >= 2.0.0 Since gpgme-2.0.0, GPGME_EVENT_NEXT_TRUSTITEM is removed. --- a/pgp/seahorse-gpgme.c +++ b/pgp/seahorse-gpgme.c @@ -393,7 +393,9 @@ on_gpgme_event (void *user_data, break; case GPGME_EVENT_NEXT_KEY: +#if GPGME_VERSION_NUMBER < 0x020000 case GPGME_EVENT_NEXT_TRUSTITEM: +#endif default: /* Ignore unsupported event types */ break; -- GitLab