From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpa/files/, app-crypt/gpa/
Date: Sun, 09 Feb 2025 05:06:24 +0000 (UTC) [thread overview]
Message-ID: <1739077521.943e329e863d176cb13296c98565817381f465e5.sam@gentoo> (raw)
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"
+}
next reply other threads:[~2025-02-09 5:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-09 5:06 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-09-01 2:16 [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpa/files/, app-crypt/gpa/ Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739077521.943e329e863d176cb13296c98565817381f465e5.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox