summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-05-15 06:54:23 +0000
committerzuntum <zuntum>2001-05-15 06:54:23 +0000
commit418bbccad3e6a03b0f5d714b701aaebe9bdb0e89 (patch)
treed3e3693529ebb4246608dfeb2940890a575b860f /time
parent2b41c3c67b0034a9e915f2475db2ecd2061fbed7 (diff)
downloadpkgsrc-418bbccad3e6a03b0f5d714b701aaebe9bdb0e89.tar.gz
Update devtodo to 0.1.6.1
Changelog: 0.1.6-1 * Changed --summary to a toggle so you can use "todo -s" to switch it on or off. This minimises the use of the shift key ;). * Uncommented two lines so that --priority works once more when editing items. * Added RPMage. 0.1.6 * When creating backups, I now make the backed up databases read-only if --paranoid is specified. * A slight modification to the BASH shell script to make it more compatible (courtesy of Arthur). * Added -S/--summary (and -s/--no-summary to override it if 'summary' is the default in ~/.todorc) which only displays the first line of todo items. This is handy if, like me, you have numerous multi-line items. The shell scripts use this by default now, meaning when you cd into a directory only the first line of each item will be shown (handy for a quick...summary). * Added --timeout [<seconds>] option. When no second are specified, todo will only display the database if it hasn't been displayed within a number of seconds (also specified by using --timeout, but *with* a number of seconds). For example, by putting this in your ~/.todorc: "timeout 10", then adding "--timeout" when you run devtodo, the database will only be displayed if it hasn't been displayed within 10 seconds. The shell scripts have been updated to use this facility. The access time is used to determine when the database was last used (stat.st_atime). * Unified formatting strings into one location and added the generic option --format <tag>=<format-string> to modify them as well as the option --use-format <tag>=<tag> to use them. eg. todo --use-format verbose-display=generated * Now attempts to obtain the width of the current terminal from the termcap database (if compile fails (please send me a bug report, and...) re-run ./configure with the --without-termcap option). * Added a '%s' output formatting flag which formats item text the same as is done with --summary. * You can use the (undocumented) --dump-config option to dump the current config to stdout. This should be usable as a ~/.todorc file pretty much as is. Handy to use as a base for your own modifications. * Fixed a minor bug where invalid numeric priority exceptions weren't being caught. * Added "title" as a defineable colour, seperate from the "info" colour. * Integrated some Debian Makefile mojo (thanks go to Arthur Korn). * Fixed --paranoid behaviour. The logic to check permissions had become commented out in the move to multiple loaders. * Added an "exec" command to the ~/.todorc. This can be used to execute shell commands from within devtodo, although it's really only useful in conjunction with triggers (see below). In addition, the environment variable TODODB will contain the name of the current database. * Added event "triggers". These are useful for modifying the behaviour of devtodo. A perfect example of a use for this is to trap the "create" trigger so that when a new database is created todo will remove world and group permissions from it. eg. on create { verbose exec chmod 600 $TODODB } * Modified Makefile.am in src and doc to support relocatable installs (via automakes DESTDIR variable). 0.1.5-1 * Fixed a nasty Makefile bug that can, under certain circumstances, cause the build/install to fail.
Diffstat (limited to 'time')
-rw-r--r--time/devtodo/Makefile7
-rw-r--r--time/devtodo/distinfo9
-rw-r--r--time/devtodo/patches/patch-aa16
-rw-r--r--time/devtodo/patches/patch-ab16
-rw-r--r--time/devtodo/pkg/PLIST4
5 files changed, 33 insertions, 19 deletions
diff --git a/time/devtodo/Makefile b/time/devtodo/Makefile
index accccf2e90b..7580319313d 100644
--- a/time/devtodo/Makefile
+++ b/time/devtodo/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2001/04/22 11:44:46 zuntum Exp $
+# $NetBSD: Makefile,v 1.5 2001/05/15 06:54:23 zuntum Exp $
#
-DISTNAME= devtodo-0.1.5
+DISTNAME= devtodo-0.1.6-1
+PKGNAME= devtodo-0.1.6.1
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=devtodo/}
@@ -11,6 +12,8 @@ COMMENT= Display and manage a list of items that are outstanding
DEPENDS+= readline-[0-9]*:../../devel/readline
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-1//}
+
GNU_CONFIGURE= yes
MAKE_ENV+= CXXFLAGS="-Wl,-R${LOCALBASE}/lib"
diff --git a/time/devtodo/distinfo b/time/devtodo/distinfo
index 4b5dc77c0df..b7b1f50a9c2 100644
--- a/time/devtodo/distinfo
+++ b/time/devtodo/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/04/22 11:44:46 zuntum Exp $
+$NetBSD: distinfo,v 1.4 2001/05/15 06:54:23 zuntum Exp $
-SHA1 (devtodo-0.1.5.tar.gz) = 90801c640d6cd95e14a5d1af69e385c093325fef
-Size (devtodo-0.1.5.tar.gz) = 159026 bytes
-SHA1 (patch-aa) = 850565ebbfdfcc99a2220068fced5318c9a605c5
+SHA1 (devtodo-0.1.6-1.tar.gz) = 567a9102ba5569a8e77669f09fd58db1bc28ae80
+Size (devtodo-0.1.6-1.tar.gz) = 165672 bytes
+SHA1 (patch-aa) = 9696d32bfaaec0650bbb75aad240e35ab2ca8656
+SHA1 (patch-ab) = 6be42fb9d890b89e97fc3e443a9558040da0cb2d
diff --git a/time/devtodo/patches/patch-aa b/time/devtodo/patches/patch-aa
index c5599df4e20..5cd21223f71 100644
--- a/time/devtodo/patches/patch-aa
+++ b/time/devtodo/patches/patch-aa
@@ -1,18 +1,14 @@
-$NetBSD: patch-aa,v 1.1 2001/04/22 11:44:47 zuntum Exp $
+$NetBSD: patch-aa,v 1.2 2001/05/15 06:54:24 zuntum Exp $
---- doc/Makefile.in.orig Sat Apr 21 23:40:51 2001
+--- doc/Makefile.in.orig Mon May 14 21:44:17 2001
+++ doc/Makefile.in
-@@ -224,9 +224,10 @@
+@@ -225,7 +225,8 @@
install-data-local:
- cd $(mandir)/man1; for i in tda tdr tdd tde todo; do $(LN_S) -f devtodo.1 $$i.1; done
-- test -f $(SYSCONFDIR)/todorc || mkdir -p $(SYSCONFDIR) && $(INSTALL_DATA) todorc.example $(SYSCONFDIR)/todorc
-- test -w /etc/profile.d && $(INSTALL) -c -m 755 scripts.sh /etc/profile.d/scripts.sh
-- test -w /etc/profile.d && $(INSTALL) -c -m 755 scripts.tcsh /etc/profile.d/scripts.tcsh
+ 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_SCRIPT) scripts.sh $(prefix)/share/examples/devtodo/scripts.sh
-+ $(BSD_INSTALL_SCRIPT) scripts.tcsh $(prefix)/share/examples/devtodo/scripts.tcsh
uninstall:
- rm $(mandir)/man1/tda.1 $(mandir)/man1/tdr.1 $(mandir)/man1/tdd.1 $(mandir)/man1/tde.1 $(mandir)/man1/todo.1
+ rm $(addprefix $(DESTDIR)$(mandir)/man1/, $(addsuffix .1, $(manlinks)))
diff --git a/time/devtodo/patches/patch-ab b/time/devtodo/patches/patch-ab
new file mode 100644
index 00000000000..e33c5d7c555
--- /dev/null
+++ b/time/devtodo/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2001/05/15 06:54:24 zuntum Exp $
+
+--- src/todoterm.cc.orig Mon Apr 30 23:24:56 2001
++++ src/todoterm.cc
+@@ -4,7 +4,11 @@
+ #ifdef USETERMCAP
+ #include <string>
+ #include <stdexcept>
++#ifdef __NetBSD__
++#include <termcap.h>
++#else
+ #include <term.h>
++#endif
+
+ static char info[2048];
+
diff --git a/time/devtodo/pkg/PLIST b/time/devtodo/pkg/PLIST
index f59d1d9f238..fd1ac58e080 100644
--- a/time/devtodo/pkg/PLIST
+++ b/time/devtodo/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2001/04/22 11:44:47 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.4 2001/05/15 06:54:24 zuntum Exp $
bin/devtodo
bin/tda
bin/tdd
@@ -11,7 +11,5 @@ man/man1/tdd.1
man/man1/tde.1
man/man1/tdr.1
man/man1/todo.1
-share/examples/devtodo/scripts.sh
-share/examples/devtodo/scripts.tcsh
share/examples/devtodo/todorc
@dirrm share/examples/devtodo