- update to a more recent version using a toolkit from this century.

This commit is contained in:
jasper 2010-03-23 13:32:39 +00:00
parent 8608c646b3
commit b12d51eddb
6 changed files with 51 additions and 50 deletions

View File

@ -1,27 +1,34 @@
# $OpenBSD: Makefile,v 1.18 2009/08/10 06:34:29 kili Exp $
# $OpenBSD: Makefile,v 1.19 2010/03/23 13:32:39 jasper Exp $
COMMENT= graphical interface for GnuPG
VERSION= 0.4.3
DISTNAME= gpa-${VERSION}
PKGNAME= ${DISTNAME}p1
DISTNAME= gpa-0.7.6
CATEGORIES= security x11
HOMEPAGE= http://www.gnupg.org/gpa.html
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xi c glib gmodule m pthread-stubs xcb
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/gpa/
MASTER_SITES= http://wald.intevation.org/frs/download.php/350/
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
RUN_DEPENDS= :gnupg-*:security/gnupg
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= gtk.>=1.2,gdk.>=1.2::x11/gtk+
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += gpg-error m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
WANTLIB += png pthread-stubs xcb z
RUN_DEPENDS= ::devel/desktop-file-utils \
::security/gnupg
BUILD_DEPENDS= ::security/gnupg
LIB_DEPENDS= gpgme::security/gpgme \
gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
USE_X11= Yes
CONFIGURE_STYLE= gnu

View File

@ -1,5 +1,5 @@
MD5 (gpa-0.4.3.tar.gz) = hOKZZwXXYOsMy6Iy16OFOQ==
RMD160 (gpa-0.4.3.tar.gz) = s7Lm1wkRa3uP15wu5tUrxKunHsw=
SHA1 (gpa-0.4.3.tar.gz) = oPq40zWrgSe9bkOGvUoJ0PCM5C8=
SHA256 (gpa-0.4.3.tar.gz) = m+mB9EBJryGkrVvODqNUAM44Jj/l4Kko6loOOEfWqA4=
SIZE (gpa-0.4.3.tar.gz) = 424975
MD5 (gpa-0.7.6.tar.bz2) = juJtf+gp6B64vOLZdKfFAA==
RMD160 (gpa-0.7.6.tar.bz2) = yx+ujV9meWiZfNitO8XfAl5zQ+c=
SHA1 (gpa-0.7.6.tar.bz2) = u5GCzUxr1md7qc3MomLcwbHSLDw=
SHA256 (gpa-0.7.6.tar.bz2) = q7pZUloqIW34mlrE+dnVZL0Tf0wH53JjbewARqA0Thw=
SIZE (gpa-0.7.6.tar.bz2) = 607469

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-gpapa_data_c,v 1.1 2008/11/19 23:15:45 jasper Exp $
--- gpapa/data.c.orig Thu Nov 20 00:12:10 2008
+++ gpapa/data.c Thu Nov 20 00:12:25 2008
@@ -21,6 +21,7 @@
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include <errno.h>
#include <sys/types.h>

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-jnlib_logging_c,v 1.1 2002/11/30 16:04:05 naddy Exp $
--- jnlib/logging.c.orig Sat Nov 30 13:51:07 2002
+++ jnlib/logging.c Sat Nov 30 13:51:54 2002
@@ -226,14 +226,9 @@ log_printf( const char *fmt, ... )
{
va_list arg_ptr ;
- if( !fmt ) {
- do_logv( MY_LOG_BEGIN, NULL, NULL );
- }
- else {
- va_start( arg_ptr, fmt ) ;
- do_logv( MY_LOG_CONT, fmt, arg_ptr );
- va_end(arg_ptr);
- }
+ va_start( arg_ptr, fmt ) ;
+ do_logv( MY_LOG_CONT, fmt, arg_ptr );
+ va_end(arg_ptr);
}

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_gpa_c,v 1.1 2010/03/23 13:32:39 jasper Exp $
Fix implicit declaration of mkdir().
--- src/gpa.c.orig Tue Mar 23 14:23:22 2010
+++ src/gpa.c Tue Mar 23 14:23:50 2010
@@ -22,6 +22,9 @@
#include <config.h>
#endif
+#include <sys/types.h>
+#include <sys/stat.h>
+
#include <gtk/gtk.h>
#include <stdio.h>

View File

@ -1,14 +1,24 @@
@comment $OpenBSD: PLIST,v 1.6 2008/11/19 23:15:45 jasper Exp $
@comment $OpenBSD: PLIST,v 1.7 2010/03/23 13:32:39 jasper Exp $
@bin bin/gpa
@comment lib/charset.alias
share/applications/gpa.desktop
share/gpa/
share/gpa/gpa.png
share/gpa/gpa_logo.ppm
share/gpa/gpa_tips.de
share/gpa/gpa_tips.en
share/gpa/gtkrc
share/locale/cs/LC_MESSAGES/gpa.mo
share/locale/de/LC_MESSAGES/gpa.mo
share/locale/es/LC_MESSAGES/gpa.mo
share/locale/fr/LC_MESSAGES/gpa.mo
@comment share/locale/locale.alias
share/locale/ja/LC_MESSAGES/gpa.mo
share/locale/nl/LC_MESSAGES/gpa.mo
share/locale/pl/LC_MESSAGES/gpa.mo
share/locale/pt_BR/LC_MESSAGES/gpa.mo
share/locale/ru/LC_MESSAGES/gpa.mo
share/locale/sv/LC_MESSAGES/gpa.mo
share/locale/tr/LC_MESSAGES/gpa.mo
share/locale/zh_TW.Big5/
share/locale/zh_TW.Big5/LC_MESSAGES/
share/locale/zh_TW.Big5/LC_MESSAGES/gpa.mo
share/pixmaps/
share/pixmaps/gpa.png