pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/remind Update to 3.1.5:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a2ca1d0245a
branches:  trunk
changeset: 549876:8a2ca1d0245a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 10 17:46:31 2008 +0000

description:
Update to 3.1.5:

CHANGES TO REMIND

* Version 3.1 Patch 5 - 2008-04-15

- MAJOR ENHANCEMENT: If you supply a directory name on the command line
  or for an INCLUDE command, then Remind reads all *.rem file in that
  directory (in the order returned by "glob")

- ENHANCEMENT: The plain-text calendar ("-c") can draw lines using VT-100
  line-drawing characters if invoked as "-cl"

- ENHANCEMENT: The plain-text calendar can approximate SPECIAL COLOR reminders
  using VT-100 color escape sequences if invoked as "-cc".  (You can combine
  the colors and line-drawing characters with -clc or -ccl.)

- ENHANCEMENT: The "-t" option can take a numeric argument n.  In this case,
  all reminders are assumed to have a delta of +n.  (Without the argument,
  an infinite delta is assumed, as before.)  If a numeric argument is given,
  the new system variable $DeltaOffset is set to the argument.

- MINOR ENHANCEMENT: The "-i" command-line option can be used to define
  a function as well as set a variable.

- MINOR ENHANCEMENT: String constants can have embedded quotes "Like \"this"

- MINOR ENHANCEMENT: tkremind works better on small screens like that of
  the Eee-PC.

- BUG FIX: Minor fix to HTML output courtesy of Ian! Allen.

- BUG FIX: Parse error in calendar mode was fixed.

* Version 3.1 Patch 4 - 2008-02-03

- ENHANCMENT: tkremind respects the "-b1" option and operates in 24-hour
  clock mode if the option is supplied.

- ENHANCEMENT: tkremind has been tweaked to look better with Tcl/Tk 8.5.

- CLEANUP: Version is kept only in configure.in instead of two different
  places.

- CLEANUP: Added "const" qualifier to many places in the code that previously
  lacked it.

- BUG FIX: A rare parsing error involving interaction between SATISFY and
  SKIP has been fixed.

- BUG FIX: rem2html would output a horribly-wrong calendar for a 28-day
  February starting on Sunday (such as February 2009.)  This has been fixed.

- BUG FIX: The "-ivar=value" command-line option failed if Remind re-execed
  itself because we overwrote argv[].  This has been fixed.

* Version 3.1 Patch 3 - 2007-10-15

+ MINOR ENHANCEMENTS

- rem2html now uses CSS for a much better-looking calendar.
  NOTE: rem2html was completely rewritten and some of the command-line
  options have changed!

- If a reminder has a DURATION clause, then the starting and ending times
  are output in calendar mode.

+ BUG FIXES

- DST rules in "defs.rem" were updated to reflect new US/Canadian DST rules.

- If a REM command cannot compute a trigger date, the SATISFY expression
  is not evaluated.  This helps avoid spurious error messages in some
  reminders.

* Version 3.1 Patch 2 - 2007-09-12

+ MINOR ENHANCEMENTS

- build.tk tries to set defaults for location, paper size, etc from an
  existing "remind" installation if it detects one.

- In queue mode, wake up once a minute and recalibrate sleep time.
  This should make Remind work better on laptops that suspend or
  hibernate.  Note that "remind -q" does *not* handle date-rollover
  well; it simply exits if it notices date rollover.  "remind -z0"
  (as used by tkremind) handles date rollover properly; it rereads the
  reminder file and rebuilds the queue if it notices date rollover.

- tkremind: Added some key bindings to make navigation easier.

- tkremind: Made calendar boxes use space more efficiently.

- remind: The functionality of "rem" is now built into remind.  If you
  invoke remind as "rem", then it uses a default filename.  The installer
  sets up "rem" as a symbolic link to "remind".

+ CHANGE

- "remind -p" no longer sorts SPECIAL reminders before non-SPECIAL.

  *** THIS MAY AFFECT BACKENDS ***

  Backends supplied by Roaring Penguin (rem2ps, rem2html and tkremind)
  are known to work properly.

- "remind -p" no longer suppresses any AT-time associated with SPECIAL
  reminders.

  *** THIS MAY AFFECT BACKENDS ***

  Backends supplied by Roaring Penguin (rem2ps, rem2html and tkremind)
  are known to work properly.

+ BUG FIXES

- examples/defs.rem: A few corrections to Jewish holidays courtesy of
  Art Werschulz.

- src/Makefile.in: Added install-nostripped target.

- SPECIAL COLOR now works more like MSG, including proper support for AT and
  for the %" %" escape sequence.

- SPECIAL COLOR is queued correctly if it has an AT clause.

- Using the psshade() or psmoon() functions emits a warning on stderr.  You
  should use SPECIAL SHADE or SPECIAL MOON instead.

* Version 3.1 Patch 1 - 2007-08-23

+ MAJOR ENHANCEMENTS

- Added the "nonomitted" function that solves a number of
  moving-reminder-in-response-to-holiday problems.  The real-world
  problems solved are the "moving-garbage-day" problem and the
  "six-day-school-cycle" problem.

+ MINOR ENHANCEMENTS

- A few minor performance improvements in response to profiling runs.

+ BUG FIXES

- Prevent compilation failure with gcc 2.95.

- Fix trailing "s" bug with -k option.  This was fixed in Debian's release,
  but the Debian maintainer never bothered to let me know.

- Removed obsolete scripts: kall, rem, remind-all.sh, remind-all.csh

- Made "-n" output always use "/" as date separator for consistency with
  "-p" and "-s".

- Moon PNG images are transparent.  Output of moon phases in rem2html
  improved slightly.

- Various man-page fixes.

* Version 3.1 Patch 0 - 2007-07-14

+ MAJOR ENHANCEMENTS

- Added the FROM clause.  This lets you write reminders like:

  REM Mon FROM 16 July 2007 UNTIL 13 Aug 2007 MSG Some Mondays...

- Remind now has a new datatype: A DATETIME object represents a date AND
  a time (to the nearest minute).  DATETIME constants are written
  as '2007-09-01@14:33'.  Various operators and functions have been
  modified to do sensible things with DATETIMEs and several new DATETIME
  functions have been added.

- The SPECIAL COLOR reminder type has been hacked to behave more like
  a MSG type.  It sorts properly and is emitted as a normal reminder
  in non-calendar mode.  Simlarly, SPECIAL HTML sorts with -g as well.

+ MINOR ENHANCEMENTS

- TkRemind can e-mail you reminders if you don't dismiss the popup window
  after one minute.  This is useful if you need to leave your workstation
  but want reminders to "follow" you via e-mail.

- A new "-y" option to Remind generates tags for all reminders that lack
  a TAG clause.  This may be useful for conversion tools that want each
  reminder to have a unique identifier.

- A new "tzconvert" function lets you convert datetimes between different
  time zones.  It's only as good as your C library, so test thoroughly
  please!  Based on a patch from Stefan Wehr.

- TkRemind sorts reminders by invoking Remind with the '-g' option.

- The time and date separator characters can be changed at runtime by
  setting $TimeSep and $DateSep respectively.

- The simple calendar ('-s') option can be immediately followed by an 'a'.
  This causes Remind to output reminders with deltas before the actual
  trigger date.  Based loosely on an idea from Frank Terbeck.

+ MINOR CHANGES

- Default date separator is now '-' instead of '/'

- trigdate() and trigtime() behave differently - they return the integer 0
  if the last reminder could not be computed or did not have an AT clause
  (respectively).

- Maximum length of variable names has been increased from 12 to 16 characters.

+ BUG FIXES

- Fixed a potential memory leak in queue.c

- Fixed compile error on Mac OS X.

- Fixed behaviour of "-sa" option so deltas correctly obey omitted days
  and the scheduling function (if one is used).

- rem2ps would produce invalid PostScript in some rare cases
  (eg, for February 2007).  This has been fixed.

diffstat:

 time/remind/Makefile         |  14 +++++---------
 time/remind/PLIST            |   8 ++------
 time/remind/distinfo         |  16 ++++++++--------
 time/remind/patches/patch-ab |  29 ++++++++++++++---------------
 time/remind/patches/patch-ac |  13 +++++++------
 time/remind/patches/patch-ad |  10 ++++++----
 time/remind/patches/patch-ae |   8 ++++----
 7 files changed, 46 insertions(+), 52 deletions(-)

diffs (226 lines):

diff -r 01f81d36a6cf -r 8a2ca1d0245a time/remind/Makefile
--- a/time/remind/Makefile      Mon Nov 10 17:33:33 2008 +0000
+++ b/time/remind/Makefile      Mon Nov 10 17:46:31 2008 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.11 2007/09/08 21:58:01 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/11/10 17:46:31 wiz Exp $
 #
 
-DISTNAME=      remind-03.00.24
+DISTNAME=      remind-03.01.05
 PKGNAME=       ${DISTNAME:C/0([0-9])/\1/g}
 CATEGORIES=    time
-MASTER_SITES=  http://www.roaringpenguin.com/penguin/
+MASTER_SITES=  http://www.roaringpenguin.com/files/download/
 
 MAINTAINER=    kim%tac.nyc.ny.us@localhost
-HOMEPAGE=      http://www.roaringpenguin.com/penguin/openSourceProducts/remind
+HOMEPAGE=      http://www.roaringpenguin.com/products/remind
 COMMENT=       Calendar/alarm program with interpreted input language
 
 GNU_CONFIGURE= yes
@@ -33,15 +33,11 @@
                        ${PREFIX}/share/examples/remind; \
                ${INSTALL_DATA} examples/remind.vim \
                        ${PREFIX}/share/examples/remind; \
-               ${INSTALL_DATA} scripts/remind-all.csh \
-                       ${PREFIX}/share/examples/remind; \
-               ${INSTALL_DATA} scripts/remind-all.sh \
-                       ${PREFIX}/share/examples/remind
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/remind
        cd ${WRKSRC}; \
                ${INSTALL_DATA} docs/README.UNIX \
                        ${PREFIX}/share/doc/remind; \
-               ${INSTALL_DATA} docs/WHATSNEW.30 \
+               ${INSTALL_DATA} docs/WHATSNEW \
                        ${PREFIX}/share/doc/remind; \
                ${INSTALL_DATA} COPYRIGHT \
                        ${PREFIX}/share/doc/remind
diff -r 01f81d36a6cf -r 8a2ca1d0245a time/remind/PLIST
--- a/time/remind/PLIST Mon Nov 10 17:33:33 2008 +0000
+++ b/time/remind/PLIST Mon Nov 10 17:46:31 2008 +0000
@@ -1,23 +1,19 @@
-@comment $NetBSD: PLIST,v 1.2 2006/07/22 09:25:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/11/10 17:46:31 wiz Exp $
 bin/cm2rem
-bin/kall
 bin/rem
 bin/rem2html
 bin/rem2ps
 bin/remind
 bin/tkremind
 man/man1/cm2rem.1
-man/man1/kall.1
 man/man1/rem.1
 man/man1/rem2ps.1
 man/man1/remind.1
 man/man1/tkremind.1
 share/doc/remind/COPYRIGHT
 share/doc/remind/README.UNIX
-share/doc/remind/WHATSNEW.30
+share/doc/remind/WHATSNEW
 share/examples/remind/defs.rem
-share/examples/remind/remind-all.csh
-share/examples/remind/remind-all.sh
 share/examples/remind/remind.vim
 @dirrm share/examples/remind
 @dirrm share/doc/remind
diff -r 01f81d36a6cf -r 8a2ca1d0245a time/remind/distinfo
--- a/time/remind/distinfo      Mon Nov 10 17:33:33 2008 +0000
+++ b/time/remind/distinfo      Mon Nov 10 17:46:31 2008 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.7 2007/09/08 21:58:01 jlam Exp $
+$NetBSD: distinfo,v 1.8 2008/11/10 17:46:31 wiz Exp $
 
-SHA1 (remind-03.00.24.tar.gz) = 7fc8823e4e574fd7630b2ff3e2f5d014003fd26b
-RMD160 (remind-03.00.24.tar.gz) = 2f84a240dd28b68e352c6f8d13ed241a2626f0d6
-Size (remind-03.00.24.tar.gz) = 303964 bytes
-SHA1 (patch-ab) = c14e78560d091c417a719a1d699b580a84f934e7
-SHA1 (patch-ac) = 6a45874750d090d91c0a2a033bdb007ae7287488
-SHA1 (patch-ad) = 56feacc6f9af5c59197900fe4591e7d54ff9372c
-SHA1 (patch-ae) = 4e90c971a519d9ac46992fe5e5ab70300c352262
+SHA1 (remind-03.01.05.tar.gz) = 6321d0bf2c29711e8871ea2818c5cb4982d0fa41
+RMD160 (remind-03.01.05.tar.gz) = 7db72c482da0e843fdf6afc5e2c49092c8322653
+Size (remind-03.01.05.tar.gz) = 312715 bytes
+SHA1 (patch-ab) = 28843c39d50a54a4e3f1086ecdf71c0141e9f24f
+SHA1 (patch-ac) = 7ddf21570f361b2d667ec331bab4059d16422dfd
+SHA1 (patch-ad) = b91a7a59a6bd4f5c6ab45bc552c42eac2ca6bfc5
+SHA1 (patch-ae) = aabd4cc46d61f50e90341867122095370c31c50b
diff -r 01f81d36a6cf -r 8a2ca1d0245a time/remind/patches/patch-ab
--- a/time/remind/patches/patch-ab      Mon Nov 10 17:33:33 2008 +0000
+++ b/time/remind/patches/patch-ab      Mon Nov 10 17:46:31 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2006/10/01 08:26:56 schwarz Exp $
+$NetBSD: patch-ab,v 1.4 2008/11/10 17:46:31 wiz Exp $
 
---- src/Makefile.in.orig       2005-09-30 05:29:32.000000000 +0200
-+++ src/Makefile.in    2006-09-17 20:00:20.000000000 +0200
-@@ -15,11 +15,12 @@
+--- src/Makefile.in.orig       2008-01-26 20:36:20.000000000 +0000
++++ src/Makefile.in
+@@ -15,10 +15,11 @@ VERSION=@VERSION@
  
  INSTALL=@INSTALL@
  INSTALL_PROGRAM=@INSTALL_PROGRAM@
@@ -10,13 +10,12 @@
  INSTALL_DATA=@INSTALL_DATA@
  
  PROGS=                remind rem2ps
- SCRIPTS=      $(srcdir)/../scripts/kall $(srcdir)/../scripts/rem \
--              $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem.tcl
-+              $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem
+-SCRIPTS=      $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem.tcl
++SCRIPTS=      $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem
  
- MANS=         $(srcdir)/../man/kall.1 $(srcdir)/../man/rem.1 \
-               $(srcdir)/../man/rem2ps.1 $(srcdir)/../man/remind.1 \
-@@ -40,7 +41,7 @@
+ MANS=         $(srcdir)/../man/rem2ps.1 $(srcdir)/../man/remind.1 \
+               $(srcdir)/../man/tkremind.1 $(srcdir)/../man/cm2rem.1 \
+@@ -41,7 +42,7 @@ test: remind
        sh ../tests/test-rem
  
  .c.o:
@@ -24,10 +23,10 @@
 +      @CC@ -c @CFLAGS@ @CPPFLAGS@ @DEFS@ $(CEXTRA) $(LANGDEF) -I. -I$(srcdir) $<
  
  rem2ps: rem2ps.o dynbuf.o
-       @CC@ @LDFLAGS@ -o rem2ps rem2ps.o dynbuf.o
-@@ -50,9 +51,12 @@
+       @CC@ @LDFLAGS@ $(LDEXTRA) -o rem2ps rem2ps.o dynbuf.o
+@@ -51,9 +52,12 @@ remind: $(REMINDOBJS)
  
- install: all
+ install-nostripped: all
        -mkdir -p $(DESTDIR)$(bindir) || true
 -      for prog in $(PROGS) $(SCRIPTS) ; do \
 +      for prog in $(PROGS) ; do \
@@ -36,6 +35,6 @@
 +      for prog in $(SCRIPTS) ; do \
 +              $(INSTALL_SCRIPT) $$prog $(DESTDIR)$(bindir) || exit 1; \
 +      done
-       -strip $(DESTDIR)$(bindir)/remind || true
-       -strip $(DESTDIR)$(bindir)/rem2ps || true
+       rm -f $(DESTDIR)$(bindir)/rem > /dev/null 2>&1 || true
+       ln -s remind $(DESTDIR)$(bindir)/rem
        -mkdir -p $(DESTDIR)$(mandir)/man1 || true
diff -r 01f81d36a6cf -r 8a2ca1d0245a time/remind/patches/patch-ac
--- a/time/remind/patches/patch-ac      Mon Nov 10 17:33:33 2008 +0000
+++ b/time/remind/patches/patch-ac      Mon Nov 10 17:46:31 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.5 2007/09/08 21:58:01 jlam Exp $
+$NetBSD: patch-ac,v 1.6 2008/11/10 17:46:31 wiz Exp $
 
---- src/files.c.orig   2005-09-29 23:29:32.000000000 -0400
+--- src/files.c.orig   2008-03-25 03:12:37.000000000 +0000
 +++ src/files.c
-@@ -19,6 +19,7 @@ static char const RCSID[] = "$Id: files.
+@@ -18,6 +18,7 @@
  
  #include <string.h>
  #include <ctype.h>
@@ -10,8 +10,8 @@
  #include <sys/stat.h>
  
  #ifdef TM_IN_SYS_TIME
-@@ -365,16 +366,27 @@ int DoInclude(ParsePtr p)
- {     
+@@ -445,16 +446,28 @@ int DoInclude(ParsePtr p)
+ {
      DynamicBuffer buf;
      int r, e;
 +    glob_t g;
@@ -21,7 +21,7 @@
 +    memset(&g, 0, sizeof(g));
 +
      if ( (r=ParseToken(p, &buf)) ) return r;
-     e = VerifyEoln(p); 
+     e = VerifyEoln(p);
      if (e) Eprint("%s", ErrMsg[e]);
 -    if ( (r=IncludeFile(DBufValue(&buf))) ) {
 -      DBufFree(&buf);
@@ -39,6 +39,7 @@
 +    }
 +
 +    globfree(&g);
++
      NumIfs = 0;
      IfFlags = 0;
      return OK;
diff -r 01f81d36a6cf -r 8a2ca1d0245a time/remind/patches/patch-ad
--- a/time/remind/patches/patch-ad      Mon Nov 10 17:33:33 2008 +0000
+++ b/time/remind/patches/patch-ad      Mon Nov 10 17:46:31 2008 +0000
@@ -1,11 +1,13 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/12/17 23:32:11 wiz Exp $
+$NetBSD: patch-ad,v 1.2 2008/11/10 17:46:31 wiz Exp $
 
---- scripts/cm2rem.tcl.orig    Thu Feb 17 22:45:38 2000
-+++ scripts/cm2rem.tcl Sun Apr 30 23:32:07 2000
-@@ -17,5 +17,5 @@
+--- scripts/cm2rem.tcl.orig    2007-08-08 16:04:05.000000000 +0000
++++ scripts/cm2rem.tcl
+@@ -14,7 +14,7 @@
+ #--------------------------------------------------------------
  
  # the next line restarts using tclsh \
 -exec tclsh "$0" "$@"
 +exec @TCLSH@ "$0" "$@"
  
  set i 0
+ foreach month {January February March April May June
diff -r 01f81d36a6cf -r 8a2ca1d0245a time/remind/patches/patch-ae
--- a/time/remind/patches/patch-ae      Mon Nov 10 17:33:33 2008 +0000
+++ b/time/remind/patches/patch-ae      Mon Nov 10 17:46:31 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.1.1.1 2000/12/17 23:32:12 wiz Exp $
+$NetBSD: patch-ae,v 1.2 2008/11/10 17:46:31 wiz Exp $
 
---- man/cm2rem.1.orig  Wed Mar 15 10:51:36 2000
-+++ man/cm2rem.1       Fri Mar 17 15:18:27 2000
-@@ -2,27 +2,27 @@
+--- man/cm2rem.1.orig  2007-08-08 16:04:25.000000000 +0000
++++ man/cm2rem.1
+@@ -1,27 +1,27 @@
  .TH CM2REM 1 "18 October 1999"
  .UC4
  .SH NAME



Home | Main Index | Thread Index | Old Index