pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/calcurse



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Nov 16 19:17:58 UTC 2026

Modified Files:
        pkgsrc/time/calcurse: Makefile distinfo
Added Files:
        pkgsrc/time/calcurse/patches: patch-src_calcurse.h

Log Message:
time/calcurse: update to 4.9.0

# changes

Version 4.9.0 (2026-11-10)
--------------------------

- Compatibility notes:

    * The default file extension for iCal exports is now "ics" instead of
      "ical", as specified in RFC 5545 (implemented by Drew Marino).

    * Data files, the configuration file, the key bindings file and note files
      are now written to a temporary file which then replaces the original
      file. As a consequence, calcurse needs write access to the directories
      containing these files, not only to the files themselves.

    * calcurse-caldav now sets the environment variable CALCURSE_CALDAV while
      synchronizing. The example hooks in contrib/hooks/ and
      contrib/caldav/hooks/ use it to detect that they were triggered by
      calcurse-caldav, instead of checking for the lock file, which is no
      longer removed since the locking changes in 4.8.2. If you installed
      copies of the example hooks, please update them.

- Bug fixes:

    * Data files are now written atomically. Previously, a crash, OOM kill or
      power loss while saving, e.g. during `calcurse -P`, could leave the
      appointments or todo file empty.

    * Fixed a daemon crash when reloading data with SIGUSR1. The daemon now
      also reloads the data immediately instead of after up to a minute.

    * Fixed several crashes and hangs on unusual or malformed input, including
      infinite loops with certain BYMONTHDAY rules, divisions by zero for
      recurrence frequencies (or iCal intervals) of zero, malformed TZID
      parameters, truncated data files and blank commands at the command
      prompt.

    * Improved handling of ill-formed UTF-8 and fixed several buffer overflows
      and out-of-bounds accesses, e.g. for item descriptions with zero-width
      characters. Invalid code points are now rejected and the display width
      table has been updated with missing emojis.

    * Multiple iCal fixes: Exporting no longer changes the end date of
      recurrent appointments. Exception dates of recurrent events are exported
      as DATE values. Invalid INTERVAL, COUNT and BYMONTHDAY values are
      rejected on import. Notes without trailing newline are exported
      correctly.

    * Copying and pasting recurrent items preserves extended recurrence rules
      (BYDAY, BYMONTH and BYMONTHDAY) and handles DST changes correctly.

    * Fixed weekday names such as "monday" resolving to the wrong date when
      used as date specifiers.

    * --filter-end-range no longer discards a previously specified
      --filter-start-* option.

    * The pcal export includes endless recurrent items with a frequency
      greater than one.

    * Hooks are executed directly instead of via the shell, which fixes hooks
      in directories with spaces in their names.

    * Errors when saving data files with -P, -G or -i, or when saving the
      configuration file, are now reported.

    * Many fixes for memory leaks, uninitialized variables and other minor
      issues.

- calcurse-caldav bug fixes:

    * Only the first line of the PasswordCommand output is used as password.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/time/calcurse/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/time/calcurse/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/time/calcurse/patches/patch-src_calcurse.h

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

Modified files:

Index: pkgsrc/time/calcurse/Makefile
diff -u pkgsrc/time/calcurse/Makefile:1.8 pkgsrc/time/calcurse/Makefile:1.9
--- pkgsrc/time/calcurse/Makefile:1.8   Sun Aug 24 17:45:34 2025
+++ pkgsrc/time/calcurse/Makefile       Mon Nov 16 19:17:58 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2025/08/24 17:45:34 vins Exp $
+# $NetBSD: Makefile,v 1.9 2026/11/16 19:17:58 vins Exp $
 
-DISTNAME=      calcurse-4.8.2
+DISTNAME=      calcurse-4.9.0
 CATEGORIES=    time
 MASTER_SITES=  http://calcurse.org/files/
 
@@ -14,16 +14,19 @@ DEPENDS+=   ${PYPKGPREFIX}-httplib2-[0-9]*
 
 GNU_CONFIGURE= yes
 
-USE_TOOLS+=            gmake intltool pkg-config
-USE_TOOLS+=            msgfmt msgmerge xgettext
+USE_TOOLS+=    gmake intltool pkg-config
+USE_TOOLS+=    msgfmt msgmerge xgettext
 
 USE_CURSES=    getmouse wide
 FAKE_NCURSES=  yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 REPLACE_PYTHON+=       contrib/caldav/calcurse-caldav
 REPLACE_PYTHON+=       contrib/vdir/calcurse-vdir
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+BUILDLINK_TRANSFORM+=  rm:-D_POSIX_C_SOURCE=200809L
+BUILDLINK_TRANSFORM+=  opt:-std=c99:-std=gnu99 # realpath()
 
 INSTALLATION_DIRS+=    share/examples/calcurse
 

Index: pkgsrc/time/calcurse/distinfo
diff -u pkgsrc/time/calcurse/distinfo:1.3 pkgsrc/time/calcurse/distinfo:1.4
--- pkgsrc/time/calcurse/distinfo:1.3   Sun Aug 24 17:45:34 2025
+++ pkgsrc/time/calcurse/distinfo       Mon Nov 16 19:17:58 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2025/08/24 17:45:34 vins Exp $
+$NetBSD: distinfo,v 1.4 2026/11/16 19:17:58 vins Exp $
 
-BLAKE2s (calcurse-4.8.2.tar.gz) = 30f1dcfcbc7f8a95a831cf8bf3f3592d38e21de8b1897bf78e411e99f90abae9
-SHA512 (calcurse-4.8.2.tar.gz) = 9949eb32b79022c3c2e7c8cdf32de34cc370d7550e4211146666fadf2a00110b9c9f2e224b4ecd0caaf0b6437d73675b016f20caa123a3fef9d10ebe03c42460
-Size (calcurse-4.8.2.tar.gz) = 753648 bytes
+BLAKE2s (calcurse-4.9.0.tar.gz) = cad1f07a5c21e433738bae00a055c638a53db6288b94bb547e14b56df9324ca6
+SHA512 (calcurse-4.9.0.tar.gz) = ff3f6cda397c03a7746b95de374472b750260e4045889db39cefd11d78b6919e60da6891d97cfe9c4f480275874d5d0a95e9157bcc0598f5e31c01bed48f6a3f
+Size (calcurse-4.9.0.tar.gz) = 723291 bytes
+SHA1 (patch-src_calcurse.h) = cb40888517d4b0a35bd67494f504b1bb207bc8b0

Added files:

Index: pkgsrc/time/calcurse/patches/patch-src_calcurse.h
diff -u /dev/null pkgsrc/time/calcurse/patches/patch-src_calcurse.h:1.1
--- /dev/null   Mon Nov 16 19:17:58 2026
+++ pkgsrc/time/calcurse/patches/patch-src_calcurse.h   Mon Nov 16 19:17:58 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_calcurse.h,v 1.1 2026/11/16 19:17:58 vins Exp $
+
+Needed for va_list.
+
+--- src/calcurse.h.orig        2026-11-16 19:07:42.224530998 +0000
++++ src/calcurse.h
+@@ -54,6 +54,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <regex.h>
++#include <stdarg.h>
+ 
+ #include "llist.h"
+ #include "vector.h"



Home | Main Index | Thread Index | Old Index