pkgsrc-WIP-changes archive

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

time/calcurse: update to 4.8.0. Drop patches, as stdarg.h is now included upstream. Add new dependency on asciidoc, to build documentation. Use native curses on NetBSD.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Tue Jun 28 03:09:49 2022 +0200
Changeset:	ef6da0a5ce646ea5886bb9ebd90823e31b78b570

Modified Files:
	calcurse/Makefile
	calcurse/PLIST
	calcurse/distinfo
Removed Files:
	calcurse/patches/patch-src_io.c
	calcurse/patches/patch-src_strings.c
	calcurse/patches/patch-src_utils.c

Log Message:
time/calcurse: update to 4.8.0.
Drop patches, as stdarg.h is now included upstream.
Add new dependency on asciidoc, to build documentation.
Use native curses on NetBSD.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ef6da0a5ce646ea5886bb9ebd90823e31b78b570

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

diffstat:
 calcurse/Makefile                    | 32 +++++++++++++++++++++++---------
 calcurse/PLIST                       |  2 ++
 calcurse/distinfo                    | 11 ++++-------
 calcurse/patches/patch-src_io.c      | 12 ------------
 calcurse/patches/patch-src_strings.c | 12 ------------
 calcurse/patches/patch-src_utils.c   | 12 ------------
 6 files changed, 29 insertions(+), 52 deletions(-)

diffs:
diff --git a/calcurse/Makefile b/calcurse/Makefile
index 49403acd3d..318a0d831c 100644
--- a/calcurse/Makefile
+++ b/calcurse/Makefile
@@ -1,23 +1,37 @@
-# $NetBSD: Makefile,v 1.7 2015/08/18 20:53:24 yhardy Exp $
+# $NetBSD$
 
-DISTNAME=	calcurse-4.2.2
+DISTNAME=	calcurse-4.8.0
 CATEGORIES=	time
 MASTER_SITES=	http://calcurse.org/files/
 
-MAINTAINER=	jan.smydke%jh-inst.cas.cz@localhost
+MAINTAINER=	vms%retrobsd.ddns.net@localhost
 HOMEPAGE=	https://calcurse.org/
 COMMENT=	Text based calendar and scheduling application
 LICENSE=	2-clause-bsd
 
-USE_TOOLS+=	gmake msgfmt msgmerge xgettext
+BUILD_DEPENDS+=	asciidoc-[0-9]*:../../textproc/asciidoc
+
 GNU_CONFIGURE=	yes
 
-# force to use ncurses from pkgsrc
-#INCOMPAT_CURSES=	NetBSD-*-*
-REPLACE_PYTHON=		contrib/caldav/calcurse-caldav
-FAKE_NCURSES=		yes
+USE_TOOLS+=		gmake intltool pkg-config
+USE_TOOLS+=		msgfmt msgmerge xgettext
+
+USE_CURSES=	getmouse wide
+FAKE_NCURSES=	yes
+
+REPLACE_PYTHON+=	contrib/caldav/calcurse-caldav
+REPLACE_PYTHON+=	contrib/vdir/calcurse-vdir
+
+INSTALLATION_DIRS+=	share/examples/calcurse
+
+post-install:
+.for f in config.sample
+	${INSTALL_DATA} ${WRKSRC}/contrib/caldav/${f} 						\
+	${DESTDIR}${PREFIX}/share/examples/calcurse/caldav.config.sample
+.endfor
 
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../lang/python/application.mk"
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/calcurse/PLIST b/calcurse/PLIST
index 5380914001..a34106d696 100644
--- a/calcurse/PLIST
+++ b/calcurse/PLIST
@@ -2,6 +2,7 @@
 bin/calcurse
 bin/calcurse-caldav
 bin/calcurse-upgrade
+bin/calcurse-vdir
 man/man1/calcurse.1
 share/doc/calcurse/add.txt
 share/doc/calcurse/config.txt
@@ -161,6 +162,7 @@ share/doc/calcurse/submitting-patches.html
 share/doc/calcurse/tab.txt
 share/doc/calcurse/view.txt
 share/doc/calcurse/vnote.txt
+share/examples/calcurse/caldav.config.sample
 share/locale/de/LC_MESSAGES/calcurse.mo
 share/locale/en/LC_MESSAGES/calcurse.mo
 share/locale/es/LC_MESSAGES/calcurse.mo
diff --git a/calcurse/distinfo b/calcurse/distinfo
index a28939e706..043164cc55 100644
--- a/calcurse/distinfo
+++ b/calcurse/distinfo
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.4 2015/08/18 20:53:25 yhardy Exp $
+$NetBSD$
 
-RMD160 (calcurse-4.2.2.tar.gz) = 7ccd1545f9cda6680523a230cb99ae82ab009955
-SHA512 (calcurse-4.2.2.tar.gz) = d54d5a1ca457499ff82fe0b6a945f5f54c0f93f84b34d5a69579dd42d4d44edda0b81a165d29b4f3d77ef7219b2e815b5858eaa744eb418e9549abf58eb2f958
-Size (calcurse-4.2.2.tar.gz) = 612456 bytes
-SHA1 (patch-src_io.c) = 35435213e224dea69f8e49c6d978ecfb68aec09c
-SHA1 (patch-src_strings.c) = 90abe683e0472791a3e8c983692a895a66296d37
-SHA1 (patch-src_utils.c) = afc69e0495142da38a041d901b6d6d6f0f4947f4
+BLAKE2s (calcurse-4.8.0.tar.gz) = 1deb9d981b6ae8ab7c81341f545ce9154ea810f5284254b71829da8a1dc22df0
+SHA512 (calcurse-4.8.0.tar.gz) = ea156c4320abf97fdb5abc29ff1f9bc659a3cab0e571295ed04b42dd742c4c45a7d5958dc2d386fc0ee7bd733969a6275405d5cf10cd645c75cb97b6b9e571d6
+Size (calcurse-4.8.0.tar.gz) = 716234 bytes
diff --git a/calcurse/patches/patch-src_io.c b/calcurse/patches/patch-src_io.c
deleted file mode 100644
index 66c2d6a2a9..0000000000
--- a/calcurse/patches/patch-src_io.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- src/io.c.orig	2017-01-12 07:38:27.000000000 +0000
-+++ src/io.c
-@@ -34,6 +34,7 @@
-  *
-  */
- 
-+#include <stdarg.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/stat.h>
diff --git a/calcurse/patches/patch-src_strings.c b/calcurse/patches/patch-src_strings.c
deleted file mode 100644
index ebc43c7ef5..0000000000
--- a/calcurse/patches/patch-src_strings.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- src/strings.c.orig	2017-01-12 07:38:27.000000000 +0000
-+++ src/strings.c
-@@ -35,6 +35,7 @@
-  */
- 
- #include "calcurse.h"
-+#include <stdarg.h>
- 
- #define STRING_INITIAL_BUFSIZE 128
- 
diff --git a/calcurse/patches/patch-src_utils.c b/calcurse/patches/patch-src_utils.c
deleted file mode 100644
index ffdfa58f0e..0000000000
--- a/calcurse/patches/patch-src_utils.c
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- src/utils.c.orig	2017-01-12 07:38:27.000000000 +0000
-+++ src/utils.c
-@@ -35,6 +35,7 @@
-  */
- 
- #include <time.h>
-+#include <stdarg.h>
- #include <string.h>
- #include <strings.h>
- #include <stdlib.h>


Home | Main Index | Thread Index | Old Index