summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2003-12-28 15:40:14 +0000
committerzuntum <zuntum@pkgsrc.org>2003-12-28 15:40:14 +0000
commitad541b77394fcca634fb6de3ce04bae3acdcd652 (patch)
tree86052708191dd0a471d302200a417d1f906c6afe /time
parentc7a584d3575f97a14cd2d0201649859a1be22c73 (diff)
downloadpkgsrc-ad541b77394fcca634fb6de3ce04bae3acdcd652.tar.gz
Update devtodo to version 0.1.17.
The side effect of this update is that the package compiles with gcc3 now :-) Changes from version 0.1.7: 0.1.17 * Fixed seg-fault when specifying bold colours with the --colour option. Thanks to Tim Peoples for pointing pointing this out. * Renamed regex.{c,h} to c_regex.{c,h} so they don't conflict with Regex.{cc,h} under operating systems which do not honour case (OS/X and/or Cygwin). Also removed -s (strip) from LDFLAGS, as this is not supported on some O/S' (eg. OS/X). David Bacher wrote in with these issues. * Modified tod2html.xslt so the todo title is displayed in the page, as well as in the page title. * Fixed an issue with not displaying links when timeout was in effect. * Added a new 'default' priority which has the following semantics: when adding a new item it will be priority 'medium', when grafting to an existing item the new item will be given the parents priority, and when editing an existing item its priority will be preserved. An items priority can be overridden on the command line with --priority <priority> when any of these actions are performed. Devtodo will never prompt for priority with this enabled. Handy for putting in your ~/.todorc. * Fixed display issues when summarising multi-line items. * Fixed a bug where colours were reset when displaying linked databases. 0.1.16 * Made broken links silently fail rather than failing loudly and horribly. * Modified the semantics for expanding indices. Now when you use an index with no modifier (eg. todo 10, as opposed to todo -10 or todo +10), only one level of children is expanded. * Big change is the addition of multi-line items and title texts! This is a much requested feature. To use this, you can either pipe text into devtodo: cat <<- EOF | tda -p medium This is some multi-line text. EOF Or press <CTRL-N> to insert a new line when at the devtodo input prompt. 0.1.15 * Added --force-colour option to force use of colour even when not outputting to a terminal. Requested by James Troup. * Added a patch sent in by Philipp Buehler which adds support for title strings to the todo2html.xslt XSLT script. * Fixed bug when displaying priorities in TODO list ("mediumriority"). * Added a MASSIVE patch sent in by Christian Hammond which adds support for linking other todo databases into one single view. This is extremely useful for situations where you have a core project directory with sub-directories containing unique individual databases. You can link them so they are all viewed from the core database. Great work! * tda will now merge all non-quoted arguments into one string to be used for the body text of the item to add. This lets this work: tda -p high Need to go to the shop and get some milk without needing to do: tda -p high "Need to go to the shop and get some milk" * Another bug report by James Troup via the Debian Project. Thanks James and Arthur for being long time supporters of the project! * Made doc/scripts.sh more coherent and less convoluted. * A variation on the XSLT transform was sent in by Christian Hammond. An example of its use is available at http://www.chipx86.com/todo.ml. 0.1.14 * Fixed a bug where devtodo doesn't work without the TERM variable being set. Caused havoc in Bill Carlson's cron job. Thanks for tracking it down Bill. * Fixed some more GCC 3.x compilation problems. I'm still using [io]strstream, as opposed to the more correct [io]stringstream, so that it should still compile with older versions of GCC. Fingers crossed. 0.1.13 * Patch from David Furodet to fix compilation problems on Solaris. * Added 'finishing comments'. This allows you to optionally add a comment to an item when you are marking it as done, giving reasons/comments for why you are marking it complete. This is really useful. This also breaks backward compatibility with previous BINARY formats only. The XML format is not affected. 0.1.12 * Applied a patch by Michael Tilstra that fixes segfaults when overriding colours. * Added a script (contrib/tdrec) to display databases from all sub-directories. Thanks to Brian Herlihy for the contribution. Modified it slightly so it passes arguments to devtodo (such as --summary). * Modified cd, pushd and popd replacement scripts (doc/scripts.sh) so that their exit status is preserved. Required so things like this work correctly: cd doc && echo foo Thanks to Erin Quinlan for the fix. * Now displays the index of newly added items when --verbose is on. Thanks to James Troup for suggesting this. * Fixed man page inconsistency with '-S' and '-s' for summary mode. Thanks to James Troup again for picking this up. * Another problem found by James Troup - when grafting, the validity of the grafting index was only checked after the new item text was typed. This has been recitifed. * Work around for some weirdness when generating RPM's. 0.1.11 * Modified .spec file so it doesn't do an aclocal/autoheader/automake/autoconf before compiling. Fixes incompatibilities between versions of automake. * Applied a patch sent in by Anreas Amann to fix more incompatibilities with GCC 3.0. 0.1.10 * Now 'using namespace std;'. It's the standard and it seems as if GCC 3.0 finally requires it, so in it goes. * Fixed an incompatibility with versions of GCC prior to 3.0 using different arguments to std::string::compare. Quite annoying. I replaced it with strncmp. * Readline is driving me insane. The example from the readline info page says to use "completion_matches" so I basically copied the code verbatim. But some versions don't seem to include the function in the readline header file? Agggggghh. So once again, it's back to using a manually created header file. It seems to work the best. 0.1.9 * I had a bad feeling that including the readline headers would cause problems and I was right :(. I'm now not including any readline headers of any form, so if compilation breaks due to your system readline headers having K&R style function declarations, upgrade to the latest version. * Renamed the XSLT examples to reflect their purpose (eg. xslt-example.1 => todo2pdf.xslt) 0.1.8 * Fixed for the spelling of "heirarchical" :) * Repatched --mono fix that gets rid of spurious escape sequences (picked up by Mark Eichin). * Fixed envar expansion broken by event handling modifications. Whoops. * Numeric priorities can now be specified on the command line. Christian Kurz picked this one up. * Added a new filter for searching through the database. This is done with the filter '/'. eg. "todo --filter /CVS" will show all items with the word CVS in them. This can also be expressed as a shorthand version: "todo /CVS". The text is interpreted as a regular expression. * Changed filter behaviour to be more logical. Numeric filters with no sign prefix will now only show the item itself, not children. Prefixing the filter with a + will display the children as well and prefixing with a - will filter out that item. * Subsequently almost totally rewrote filtering code so it's more logical and doesn't break (hopefully). * Short arguments can now be fully merged into one argument. eg. todo -v -v -f 2-10 can be represented as: todo -vvf2-10 * Added an "echo" command for use in ~/.todorc. This can be used for status messages or whatever. eg. on save echo Saved $TODODB * Added another PERL script (contrib/changelog2html) to convert directly from the ChangeLog to HTML. * Fixed default formatting string for --TODO. * James Troup had the suggestion (which is now implemented) of clearing the priority as soon as the user hits a key other than enter when editing an existing item. * Copied the readline.h and history.h from my system's readline into devtodo's source. Hopefully this won't break compiles on any systems :\.
Diffstat (limited to 'time')
-rw-r--r--time/devtodo/Makefile18
-rw-r--r--time/devtodo/PLIST17
-rw-r--r--time/devtodo/distinfo13
-rw-r--r--time/devtodo/patches/patch-aa17
-rw-r--r--time/devtodo/patches/patch-ab8
-rw-r--r--time/devtodo/patches/patch-ac13
-rw-r--r--time/devtodo/patches/patch-ad12
-rw-r--r--time/devtodo/patches/patch-ae12
8 files changed, 69 insertions, 41 deletions
diff --git a/time/devtodo/Makefile b/time/devtodo/Makefile
index 22761c8fdb1..d98f3a4ec4e 100644
--- a/time/devtodo/Makefile
+++ b/time/devtodo/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2003/12/05 18:56:36 kristerw Exp $
+# $NetBSD: Makefile,v 1.15 2003/12/28 15:40:14 zuntum Exp $
#
-DISTNAME= devtodo-0.1.7
+DISTNAME= devtodo-0.1.17
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=devtodo/}
@@ -22,12 +22,20 @@ CONFIGURE_ENV+= ac_cv_lib_curses_tputs=no
USE_GNU_READLINE= # uses rl_startup_hook()
-CONTRIBFILES= changelog2todo todo-html.xslt xslt-example.1 \
- xslt-example.1.README xslt-example.1.sh xslt-example.2
+CONTRIBFILES= changelog2html \
+ changelog2todo \
+ tdrec \
+ todo-nodone-html.xslt \
+ todo2html-2.xslt \
+ todo2html.xslt \
+ todo2pdf.README \
+ todo2pdf.sh \
+ todo2pdf.xslt
post-install:
.for CFILE in ${CONTRIBFILES}
- ${INSTALL_DATA} ${WRKSRC}/contrib/${CFILE} ${PREFIX}/share/examples/devtodo
+ ${INSTALL_DATA} ${WRKSRC}/contrib/${CFILE} \
+ ${PREFIX}/share/examples/devtodo
.endfor
.include "../../devel/readline/buildlink2.mk"
diff --git a/time/devtodo/PLIST b/time/devtodo/PLIST
index e9a46523534..293b76825b2 100644
--- a/time/devtodo/PLIST
+++ b/time/devtodo/PLIST
@@ -1,21 +1,26 @@
-@comment $NetBSD: PLIST,v 1.2 2003/07/18 02:28:55 jwise Exp $
+@comment $NetBSD: PLIST,v 1.3 2003/12/28 15:40:14 zuntum Exp $
bin/devtodo
bin/tda
bin/tdd
bin/tde
+bin/tdl
bin/tdr
bin/todo
man/man1/devtodo.1
man/man1/tda.1
man/man1/tdd.1
man/man1/tde.1
+man/man1/tdl.1
man/man1/tdr.1
man/man1/todo.1
+share/examples/devtodo/changelog2html
share/examples/devtodo/changelog2todo
-share/examples/devtodo/todo-html.xslt
+share/examples/devtodo/tdrec
+share/examples/devtodo/todo-nodone-html.xslt
+share/examples/devtodo/todo2html-2.xslt
+share/examples/devtodo/todo2html.xslt
+share/examples/devtodo/todo2pdf.README
+share/examples/devtodo/todo2pdf.sh
+share/examples/devtodo/todo2pdf.xslt
share/examples/devtodo/todorc
-share/examples/devtodo/xslt-example.1
-share/examples/devtodo/xslt-example.1.README
-share/examples/devtodo/xslt-example.1.sh
-share/examples/devtodo/xslt-example.2
@dirrm share/examples/devtodo
diff --git a/time/devtodo/distinfo b/time/devtodo/distinfo
index 74923689928..9b9104c2b28 100644
--- a/time/devtodo/distinfo
+++ b/time/devtodo/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2003/07/18 02:28:55 jwise Exp $
+$NetBSD: distinfo,v 1.7 2003/12/28 15:40:14 zuntum Exp $
-SHA1 (devtodo-0.1.7.tar.gz) = d83e73b2c3a21652d5bd4464a19b861c2d6bfed8
-Size (devtodo-0.1.7.tar.gz) = 284647 bytes
-SHA1 (patch-aa) = e31db5ebe1b98f762adec4dde3e7d7b924d3a557
-SHA1 (patch-ab) = 6be42fb9d890b89e97fc3e443a9558040da0cb2d
-SHA1 (patch-ac) = 18d7ed5fa238c80bd8dd15b65e675f24c47c6602
+SHA1 (devtodo-0.1.17.tar.gz) = 088610093f1d34f242e18b04e1cf651684f25472
+Size (devtodo-0.1.17.tar.gz) = 312755 bytes
+SHA1 (patch-aa) = 3a3d0acf6bd102e73fe6f280f4d62d950ce66183
+SHA1 (patch-ab) = 049b2b3201ffefbc70314d3bda2789fc6aeaff0a
+SHA1 (patch-ad) = 5b0aaa6128ce0fbaae2953e3ee9d9921f44337f0
+SHA1 (patch-ae) = 5f5ffb9571e73656eecdd3cb6cf72e26c193847e
diff --git a/time/devtodo/patches/patch-aa b/time/devtodo/patches/patch-aa
index b05f6389212..49e9904dbf6 100644
--- a/time/devtodo/patches/patch-aa
+++ b/time/devtodo/patches/patch-aa
@@ -1,11 +1,14 @@
-$NetBSD: patch-aa,v 1.3 2003/07/18 02:28:56 jwise Exp $
+$NetBSD: patch-aa,v 1.4 2003/12/28 15:40:14 zuntum Exp $
---- doc/Makefile.in.orig 2003-07-17 13:52:53.000000000 -0400
-+++ doc/Makefile.in 2003-07-17 13:53:20.000000000 -0400
-@@ -229,4 +229,5 @@
-
+--- doc/Makefile.in.orig 2002-12-26 05:14:54.000000000 +0100
++++ doc/Makefile.in
+@@ -260,7 +260,8 @@ uninstall-man: uninstall-man1
install-data-local:
+ mkdir -p $(DESTDIR)$(mandir)/man1
cd $(DESTDIR)$(mandir)/man1; for i in $(manlinks); do $(LN_S) -f devtodo.1 $$i.1; done
- test -f $(DESTDIR)$(sysconfdir)/todorc || ( mkdir -p $(DESTDIR)$(sysconfdir) ; $(INSTALL_DATA) todorc.example $(DESTDIR)$(sysconfdir)/todorc )
-+ $(BSD_INSTALL_DATA_DIR) $(prefix)/share/examples/devtodo
-+ $(BSD_INSTALL_DATA) todorc.example $(prefix)/share/examples/devtodo/todorc
++ ${BSD_INSTALL_DATA_DIR} ${prefix}/share/examples/devtodo
++ ${BSD_INSTALL_DATA} todorc.example ${prefix}/share/examples/devtodo/todorc
+
+ uninstall:
+ rm -f $(addprefix $(DESTDIR)$(mandir)/man1/, $(addsuffix .1, $(manlinks) devtodo))
diff --git a/time/devtodo/patches/patch-ab b/time/devtodo/patches/patch-ab
index e33c5d7c555..ec7523e6b33 100644
--- a/time/devtodo/patches/patch-ab
+++ b/time/devtodo/patches/patch-ab
@@ -1,11 +1,11 @@
-$NetBSD: patch-ab,v 1.1 2001/05/15 06:54:24 zuntum Exp $
+$NetBSD: patch-ab,v 1.2 2003/12/28 15:40:14 zuntum Exp $
---- src/todoterm.cc.orig Mon Apr 30 23:24:56 2001
+--- src/todoterm.cc.orig 2001-11-08 11:51:20.000000000 +0100
+++ src/todoterm.cc
-@@ -4,7 +4,11 @@
- #ifdef USETERMCAP
+@@ -5,7 +5,11 @@
#include <string>
#include <stdexcept>
+ #include <curses.h>
+#ifdef __NetBSD__
+#include <termcap.h>
+#else
diff --git a/time/devtodo/patches/patch-ac b/time/devtodo/patches/patch-ac
deleted file mode 100644
index 60edc7497b9..00000000000
--- a/time/devtodo/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2001/05/29 05:48:57 jlam Exp $
-
---- src/Makefile.in.orig Mon May 14 15:44:16 2001
-+++ src/Makefile.in Tue May 29 01:40:21 2001
-@@ -84,7 +84,7 @@
- LIBS = @READLINE_LIBS@
-
- @DEBUG_FALSE@CPPFLAGS = -DNDEBUG
--@DEBUG_FALSE@LDFLAGS = -s
-+@DEBUG_FALSE@LDFLAGS += -s
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES =
diff --git a/time/devtodo/patches/patch-ad b/time/devtodo/patches/patch-ad
new file mode 100644
index 00000000000..38043592f7b
--- /dev/null
+++ b/time/devtodo/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2003/12/28 15:40:14 zuntum Exp $
+
+--- util/Regex.h.orig 2002-12-21 16:10:43.000000000 +0100
++++ util/Regex.h
+@@ -6,6 +6,7 @@
+ #include <map>
+ #include <utility>
+ #include <stdexcept>
++#include <cassert>
+ #include <sys/types.h>
+ #include "c_regex.h"
+
diff --git a/time/devtodo/patches/patch-ae b/time/devtodo/patches/patch-ae
new file mode 100644
index 00000000000..8256900333d
--- /dev/null
+++ b/time/devtodo/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2003/12/28 15:40:14 zuntum Exp $
+
+--- util/CommandArgs.h.orig 2001-07-10 19:11:47.000000000 +0200
++++ util/CommandArgs.h
+@@ -2,6 +2,7 @@
+ #define CRASH_COMMANDARGS
+
+ #include <stdexcept>
++#include <cassert>
+ #include <string>
+ #include <vector>
+ #include <iostream>