pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/gpa



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Feb 12 08:15:03 UTC 2026

Modified Files:
        pkgsrc/security/gpa: Makefile PLIST distinfo
Added Files:
        pkgsrc/security/gpa/patches: patch-src_gpacontext.c
            patch-src_gpacontext.h
Removed Files:
        pkgsrc/security/gpa/patches: patch-configure

Log Message:
gpa: update to 0.11.0.

Pull upstream fix for building with latest gpgme.

Noteworthy changes in version 0.11.0 (2024-12-10)
-------------------------------------------------

 * Ported to GTK 3.

 * See the ChangeLog or better
   https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpa.git for a list of
   changes over the last 6 years.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/security/gpa/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/gpa/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/security/gpa/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/security/gpa/patches/patch-configure
cvs rdiff -u -r0 -r1.1 pkgsrc/security/gpa/patches/patch-src_gpacontext.c \
    pkgsrc/security/gpa/patches/patch-src_gpacontext.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gpa/Makefile
diff -u pkgsrc/security/gpa/Makefile:1.79 pkgsrc/security/gpa/Makefile:1.80
--- pkgsrc/security/gpa/Makefile:1.79   Tue Jan 27 08:40:30 2026
+++ pkgsrc/security/gpa/Makefile        Thu Feb 12 08:15:03 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.79 2026/01/27 08:40:30 wiz Exp $
+# $NetBSD: Makefile,v 1.80 2026/02/12 08:15:03 wiz Exp $
 
-DISTNAME=      gpa-0.10.0
-PKGREVISION=   19
-CATEGORIES=    x11 security
+DISTNAME=      gpa-0.11.0
+CATEGORIES=    security x11
 MASTER_SITES=  ${MASTER_SITE_GNUPG:=gpa/}
 EXTRACT_SUFX=  .tar.bz2
 
@@ -12,16 +11,14 @@ COMMENT=    GUI frontend to gnupg
 LICENSE=       gnu-gpl-v3
 
 USE_TOOLS+=            pkg-config
-GNU_CONFIGURE=         YES
-USE_PKGLOCALEDIR=      YES
+GNU_CONFIGURE=         yes
+USE_PKGLOCALEDIR=      yes
 
-LIBS+=                 ${BUILDLINK_LDADD.getopt}
 LIBS.SunOS+=           -lnsl
 
-CONFIGURE_ENV+=                ac_cv_path_GPG=${GPGME_GPG:Q}
+CFLAGS+=       -Wno-implicit-function-declaration
 
-.include "../../devel/libgetopt/buildlink3.mk"
 .include "../../security/gpgme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/gpa/PLIST
diff -u pkgsrc/security/gpa/PLIST:1.7 pkgsrc/security/gpa/PLIST:1.8
--- pkgsrc/security/gpa/PLIST:1.7       Tue Aug 29 11:30:05 2017
+++ pkgsrc/security/gpa/PLIST   Thu Feb 12 08:15:03 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2017/08/29 11:30:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2026/02/12 08:15:03 wiz Exp $
 bin/gpa
 man/man1/gpa.1
 share/applications/gpa.desktop
@@ -18,4 +18,3 @@ share/locale/sv/LC_MESSAGES/gpa.mo
 share/locale/tr/LC_MESSAGES/gpa.mo
 share/locale/zh_CN/LC_MESSAGES/gpa.mo
 share/locale/zh_TW/LC_MESSAGES/gpa.mo
-share/pixmaps/gpa.png

Index: pkgsrc/security/gpa/distinfo
diff -u pkgsrc/security/gpa/distinfo:1.13 pkgsrc/security/gpa/distinfo:1.14
--- pkgsrc/security/gpa/distinfo:1.13   Thu Aug 22 12:41:59 2024
+++ pkgsrc/security/gpa/distinfo        Thu Feb 12 08:15:03 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2024/08/22 12:41:59 ryoon Exp $
+$NetBSD: distinfo,v 1.14 2026/02/12 08:15:03 wiz Exp $
 
-BLAKE2s (gpa-0.10.0.tar.bz2) = 9e2143bfa742ccf130697212606df72ca4a16da6673515262e1a8d8e122af66f
-SHA512 (gpa-0.10.0.tar.bz2) = 87004fb0806e76012bc194f95afe9ef6044aec890b26e845f45c314e1bd8864f056ba5e32f9ef2e15b24b50840235e6e548a5e3006b255b4f1c20e0fd7710a3b
-Size (gpa-0.10.0.tar.bz2) = 782455 bytes
-SHA1 (patch-configure) = 930aea9049f7a2fb6d3465f73f79671f2fc3a331
+BLAKE2s (gpa-0.11.0.tar.bz2) = 01daf60132d131d344b5d8ac31df69e945001e4a0bc906c362e04c06315d2f35
+SHA512 (gpa-0.11.0.tar.bz2) = 976c607732ac5558bc00bfd777408605729155773036ac811faf1e528c29567f9f16288aeaa3390fef7b8eaa75ae68a0fe710f8b55d001580a09d7382d33d20d
+Size (gpa-0.11.0.tar.bz2) = 827217 bytes
+SHA1 (patch-src_gpacontext.c) = a9d214baf5fbcd040379fc73fb31ab6b4bccfb8b
+SHA1 (patch-src_gpacontext.h) = 5e48d93735a3dfd93b1da028df27dea66e649a3e

Added files:

Index: pkgsrc/security/gpa/patches/patch-src_gpacontext.c
diff -u /dev/null pkgsrc/security/gpa/patches/patch-src_gpacontext.c:1.1
--- /dev/null   Thu Feb 12 08:15:03 2026
+++ pkgsrc/security/gpa/patches/patch-src_gpacontext.c  Thu Feb 12 08:15:03 2026
@@ -0,0 +1,75 @@
+$NetBSD: patch-src_gpacontext.c,v 1.1 2026/02/12 08:15:03 wiz Exp $
+
+commit b6ba8bcc6db7765667cd6c49b7edc9a2073bc74f
+Author: Werner Koch <wk%gnupg.org@localhost>
+Date:   Fri Jul 18 09:45:23 2025 +0200
+
+    Remove trust_item stuff to make it build with gpgme 2.x
+
+--- src/gpacontext.c.orig      2022-11-14 07:04:19.000000000 +0000
++++ src/gpacontext.c
+@@ -38,8 +38,6 @@ static void gpa_context_next_key (GpaContext *context,
+ static void gpa_context_start (GpaContext *context);
+ static void gpa_context_done (GpaContext *context, gpg_error_t err);
+ static void gpa_context_next_key (GpaContext *context, gpgme_key_t key);
+-static void gpa_context_next_trust_item (GpaContext *context,
+-                                         gpgme_trust_item_t item);
+ static void gpa_context_progress (GpaContext *context, int current, int total);
+ 
+ /* The GPGME I/O callbacks */
+@@ -65,7 +63,6 @@ enum
+   START,
+   DONE,
+   NEXT_KEY,
+-  NEXT_TRUST_ITEM,
+   PROGRESS,
+   LAST_SIGNAL
+ };
+@@ -113,7 +110,6 @@ gpa_context_class_init (GpaContextClass *klass)
+   klass->start = gpa_context_start;
+   klass->done = gpa_context_done;
+   klass->next_key = gpa_context_next_key;
+-  klass->next_trust_item = gpa_context_next_trust_item;
+   klass->progress = gpa_context_progress;
+ 
+   /* Signals */
+@@ -143,15 +139,6 @@ gpa_context_class_init (GpaContextClass *klass)
+                         g_cclosure_marshal_VOID__POINTER,
+                         G_TYPE_NONE, 1,
+                       G_TYPE_POINTER);
+-  signals[NEXT_TRUST_ITEM] =
+-          g_signal_new ("next_trust_item",
+-                        G_TYPE_FROM_CLASS (object_class),
+-                        G_SIGNAL_RUN_FIRST,
+-                        G_STRUCT_OFFSET (GpaContextClass, next_trust_item),
+-                        NULL, NULL,
+-                        g_cclosure_marshal_VOID__POINTER,
+-                        G_TYPE_NONE, 1,
+-                      G_TYPE_POINTER);
+   signals[PROGRESS] =
+           g_signal_new ("progress",
+                         G_TYPE_FROM_CLASS (object_class),
+@@ -496,10 +483,6 @@ gpa_context_event_cb (void *data, gpgme_event_io_t typ
+     case GPGME_EVENT_NEXT_KEY:
+       g_signal_emit (context, signals[NEXT_KEY], 0, type_data);
+       break;
+-    case GPGME_EVENT_NEXT_TRUSTITEM:
+-      g_signal_emit (context, signals[NEXT_TRUST_ITEM], 0,
+-                     type_data);
+-      break;
+     default:
+       /* Ignore unsupported event types */
+       break;
+@@ -527,12 +510,6 @@ gpa_context_next_key (GpaContext *context, gpgme_key_t
+ 
+ static void
+ gpa_context_next_key (GpaContext *context, gpgme_key_t key)
+-{
+-  /* Do nothing yet */
+-}
+-
+-static void
+-gpa_context_next_trust_item (GpaContext *context, gpgme_trust_item_t item)
+ {
+   /* Do nothing yet */
+ }
Index: pkgsrc/security/gpa/patches/patch-src_gpacontext.h
diff -u /dev/null pkgsrc/security/gpa/patches/patch-src_gpacontext.h:1.1
--- /dev/null   Thu Feb 12 08:15:03 2026
+++ pkgsrc/security/gpa/patches/patch-src_gpacontext.h  Thu Feb 12 08:15:03 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_gpacontext.h,v 1.1 2026/02/12 08:15:03 wiz Exp $
+
+commit b6ba8bcc6db7765667cd6c49b7edc9a2073bc74f
+Author: Werner Koch <wk%gnupg.org@localhost>
+Date:   Fri Jul 18 09:45:23 2025 +0200
+
+    Remove trust_item stuff to make it build with gpgme 2.x
+
+--- src/gpacontext.h.orig      2018-10-16 19:58:08.000000000 +0000
++++ src/gpacontext.h
+@@ -63,7 +63,6 @@ struct _GpaContextClass {
+   void (*start) (GpaContext *context);
+   void (*done) (GpaContext *context, gpg_error_t err);
+   void (*next_key) (GpaContext *context, gpgme_key_t key);
+-  void (*next_trust_item) (GpaContext *context, gpgme_trust_item_t item);
+   void (*progress) (GpaContext *context, int current, int total);
+ };
+ 



Home | Main Index | Thread Index | Old Index