pkgsrc-WIP-changes archive

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

calcurse: update to 4.2.2.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Jun 14 15:48:10 2017 +0200
Changeset:	380092c3887b84a5bde2434e192a04c737f53565

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

Log Message:
calcurse: update to 4.2.2.

[14 Jan 2017]
Version 4.2.2:
- Bug fixes:
  * Various fixes and improvements to calcurse-caldav.

[30 Oct 2016]
Version 4.2.1:
- Bug fixes:
  * Do not crash when editing the repetition of an appointment and passing an
    empty repetition value (reported and fixed by Vlad Glagolev).

  * Avoid a crash when all todo items are hidden and an interactive action is
    performed (reported by Vlad Glagolev).

  * Documentation for the --daemon command line option.

  * Avoid starting the daemon more than once (reported by Vlad Glagolev).

  * Improvements to scrolling within list boxes.

[12 Oct 2016]
Version 4.2.0:
- New features:
  * In the calendar panel, days with non-recurrent items now have another color
    as days containing recurrent items only.

  * Automatically select new appointments/events after creation.

  * Support for (optional) dates when specifying the start/end time of items.
    Allows for easily moving items and adding appointments without switching
    the selected day beforehand.

- Bug fixes:
  * Encoding fixes in calcurse-caldav (reported by Raf Czlonka).

  * Avoid notification bar artifacts after leaving calcurse.

  * Fixes to the key binding pagination (reported by Kevin Wang).

  * Do not change selection unexpectedly after modifying items.

[12 Apr 2016]
Version 4.1.0:
- New features:
  * Hook support: Run scripts before/after loading or saving items. This
    feature can be used to automatically make Git commits or synchronize with a
    server when the data files are written. Example hooks can be found in the
    calcurse source tree.

  * Experimental CalDAV support: The calcurse distribution tarball now includes
    an experimental script called calcurse-caldav that can be used to
    synchronize calcurse with your mobile devices or any other computer. For
    details, please refer to contrib/caldav/README in the calcurse source tree.

  * Support for a filter mode -F that is identical to -G but writes the
    filtered items back to the calcurse data files instead of stdout. Can be
    used to remove certain items from a script. Use with care!

  * New long format specifiers "raw" and "hash".

  * A --daemon command line option to start calcurse in daemon mode.

  * A --quiet command line option to disable system dialogs.

  * Support for todo items with an undefined priority.

  * Support for durations when specifying recurrence end dates.

  * Support for decimal values when specifying durations.

  * Support for UTC times when importing iCal events.

  * Support for sending notifications for all appointments (both flagged and
    unflagged items).

  * The "Add Item" key binding now works from the calendar panel.

  * Week numbers in the monthly view (requested by Hakan Jerning).

- Bug fixes:
  * Fixes to the slice computation (reported by Hakan Jerning).

  * Various fixes to the iCal import and export functionality.

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

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

diffstat:
 TODO                                 |  1 -
 calcurse/Makefile                    | 10 ++++++----
 calcurse/PLIST                       |  3 ++-
 calcurse/distinfo                    | 10 +++++++---
 calcurse/patches/patch-src_io.c      | 12 ++++++++++++
 calcurse/patches/patch-src_strings.c | 12 ++++++++++++
 calcurse/patches/patch-src_utils.c   | 12 ++++++++++++
 7 files changed, 51 insertions(+), 9 deletions(-)

diffs:
diff --git a/TODO b/TODO
index 8e4df74a41..2d112f29d1 100644
--- a/TODO
+++ b/TODO
@@ -13,7 +13,6 @@ Suggested package updates
 	o bleachbit-0.9.6
 	o blink-2.0.0
 	o cairo-java-1.0.8
-	o calcurse-4.2.2
 	o calligra-3.0
 	o cde-2.2.4
 	o cinelerra-4.5
diff --git a/calcurse/Makefile b/calcurse/Makefile
index 71cac087a6..b1eaf4a2f6 100644
--- a/calcurse/Makefile
+++ b/calcurse/Makefile
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.7 2015/08/18 20:53:24 yhardy Exp $
-#
 
-DISTNAME=	calcurse-4.0.0
+DISTNAME=	calcurse-4.2.2
 CATEGORIES=	time
 MASTER_SITES=	http://calcurse.org/files/
 
@@ -14,8 +13,11 @@ USE_TOOLS+=	gmake msgfmt msgmerge xgettext
 GNU_CONFIGURE=	yes
 
 # force to use ncurses from pkgsrc
-INCOMPAT_CURSES=	NetBSD-*-*
+#INCOMPAT_CURSES=	NetBSD-*-*
+REPLACE_PYTHON=	contrib/caldav/calcurse-caldav
+FAKE_NCURSES=	yes
 
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/calcurse/PLIST b/calcurse/PLIST
index 6497cb1348..5380914001 100644
--- a/calcurse/PLIST
+++ b/calcurse/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2015/08/18 20:53:24 yhardy Exp $
+@comment $NetBSD$
 bin/calcurse
+bin/calcurse-caldav
 bin/calcurse-upgrade
 man/man1/calcurse.1
 share/doc/calcurse/add.txt
diff --git a/calcurse/distinfo b/calcurse/distinfo
index ab910213fd..dbc17b9042 100644
--- a/calcurse/distinfo
+++ b/calcurse/distinfo
@@ -1,5 +1,9 @@
 $NetBSD: distinfo,v 1.4 2015/08/18 20:53:25 yhardy Exp $
 
-SHA1 (calcurse-4.0.0.tar.gz) = 5cbada72f511851a8b9d7bc40612e13a56d5e648
-RMD160 (calcurse-4.0.0.tar.gz) = 649ded6f01ae5c0c5898e16e81cb0b88f91b2d4a
-Size (calcurse-4.0.0.tar.gz) = 611593 bytes
+SHA1 (calcurse-4.2.2.tar.gz) = 6aecab2d8f6bc3b3b8a940df57601a408e13bc8e
+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
diff --git a/calcurse/patches/patch-src_io.c b/calcurse/patches/patch-src_io.c
new file mode 100644
index 0000000000..66c2d6a2a9
--- /dev/null
+++ b/calcurse/patches/patch-src_io.c
@@ -0,0 +1,12 @@
+$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
new file mode 100644
index 0000000000..ebc43c7ef5
--- /dev/null
+++ b/calcurse/patches/patch-src_strings.c
@@ -0,0 +1,12 @@
+$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
new file mode 100644
index 0000000000..ffdfa58f0e
--- /dev/null
+++ b/calcurse/patches/patch-src_utils.c
@@ -0,0 +1,12 @@
+$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