commit: 943e329e863d176cb13296c98565817381f465e5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Feb 9 05:05:21 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 9 05:05:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943e329e
app-crypt/gpa: add 0.11.0 Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/gpa/Manifest | 1 + app-crypt/gpa/files/gpa-0.11.0-c99.patch | 17 ++++++++++++ app-crypt/gpa/gpa-0.11.0.ebuild | 44 ++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/app-crypt/gpa/Manifest b/app-crypt/gpa/Manifest index a00d88b72524..7424cca67425 100644 --- a/app-crypt/gpa/Manifest +++ b/app-crypt/gpa/Manifest @@ -1,2 +1,3 @@ DIST gpa-0.10.0-autoconf.patch.xz 8500 BLAKE2B 0b1b99ef0096f4634b60cddf46d3eb6d70da17be1f506265f2642e742e8f7a016e2b340c6722d5976f185b20b1b2ad96661b375fcdd24595d225314bdfc97e56 SHA512 be59117bea8f254238306e6e8ef023f4485bc940387a7a3d4b47dab2962410d6bfb0a540476061beca531504ff5c56d7d8b2416d366810c73359807cdcc42207 DIST gpa-0.10.0.tar.bz2 782455 BLAKE2B ef663432cbe20fb5c543696627f448b3970099b6a0f8f68b57e3d87af03550597adcfe4c27c2774d1f278cfc9d07a089652f42ef4f8c3cbc0192b645c465ac0e SHA512 87004fb0806e76012bc194f95afe9ef6044aec890b26e845f45c314e1bd8864f056ba5e32f9ef2e15b24b50840235e6e548a5e3006b255b4f1c20e0fd7710a3b +DIST gpa-0.11.0.tar.bz2 827217 BLAKE2B 7221346e68502667791b17f73b11a946de71d5f52165b8ccc9355f6015dbd4b82f63ea6cf4c20497354fb7031fe8ecb7c0bcf59878559af7037f5d21023b486c SHA512 976c607732ac5558bc00bfd777408605729155773036ac811faf1e528c29567f9f16288aeaa3390fef7b8eaa75ae68a0fe710f8b55d001580a09d7382d33d20d diff --git a/app-crypt/gpa/files/gpa-0.11.0-c99.patch b/app-crypt/gpa/files/gpa-0.11.0-c99.patch new file mode 100644 index 000000000000..bc34bc95bbbe --- /dev/null +++ b/app-crypt/gpa/files/gpa-0.11.0-c99.patch @@ -0,0 +1,17 @@ +cm-piv.c: In function ‘reload_data’: +cm-piv.c:510:7: error: implicit declaration of function ‘gpa_keytable_ensure’ [-Wimplicit-function-declaration] + 510 | gpa_keytable_ensure (gpa_keytable_get_secret_instance()); + | ^~~~~~~~~~~~~~~~~~~ +cm-piv.c:510:28: error: implicit declaration of function ‘gpa_keytable_get_secret_instance’ [-Wimplicit-function-declaration] + 510 | gpa_keytable_ensure (gpa_keytable_get_secret_instance()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +--- a/src/cm-piv.c ++++ b/src/cm-piv.c +@@ -41,6 +41,7 @@ + #include "gtktools.h" + #include "convert.h" + #include "gpa-key-details.h" ++#include "keytable.h" + + #include "cm-object.h" + #include "cm-piv.h" diff --git a/app-crypt/gpa/gpa-0.11.0.ebuild b/app-crypt/gpa/gpa-0.11.0.ebuild new file mode 100644 index 000000000000..324e91720a83 --- /dev/null +++ b/app-crypt/gpa/gpa-0.11.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg + +DESCRIPTION="GNU Privacy Assistant (GPA): a graphical user interface for GnuPG" +HOMEPAGE="https://gnupg.org/software/gpa/" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls" + +RDEPEND=" + >=app-crypt/gnupg-2:= + >=app-crypt/gpgme-1.11.1:= + >=dev-libs/libassuan-1.1.0:= + >=dev-libs/libgpg-error-1.33:= + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.11.0-c99.patch +) + +src_prepare() { + default + + sed -i 's/Application;//' gpa.desktop || die +} + +src_configure() { + econf \ + $(use_enable nls) \ + GPGKEYS_LDAP="/usr/libexec/gpgkeys_ldap" +}
