From 4a285fdbef12d992de5b834f775d42d985e6c27e Mon Sep 17 00:00:00 2001 From: zuntum Date: Sun, 22 Apr 2001 11:44:46 +0000 Subject: o use ${MASTER_SITE_SOURCEFORGE}, not hardcoded ftp1.sourceforge.net o add quoting to MAKE_ENV o add patch-aa to install scripts to PREFIX/share/examples/devtodo instead of hardcoded SYSCONFDIR/profile.d o install todorc into PREFIX/share/examples/devtodo instead of PREFIX/etc/todorc o update to version 0.1.5: * Added a binary database format. The default is still XML, but you can change this using the new --database-loaders option. You can transparently convert your existing XML databases to binary format (or vice-versa) by simply changing the load order. For example, to change from XML to binary, put this in your ~/.todorc: database-loaders binary,xml The next time you modify an XML format database, it will be saved in binary format. The man page has more information. I recommend only using the binary format if you are actually having performance problems, as if something goes awry, manually fixing the XML database is *much* easier. But if you do use it, it might be an idea to use it in conjunction with --backup. * Added user-defineable formatting for both display output and TODO generated output. This is cool. Look for the section FORMATTING in the man page. * Added a new filter, which I've wanted for ages. It constists of a single '-', '+' or '='. A '-' stops display of all items except those explicitly specified in the rest of the filter whereas a '+' overrides all other filters to display all items. A '=' is the default behaviour. This is brilliant if you want to narrow the view down to just one item: todo --filter -,29 (*Note*: Slightly superceded by the modification to the semantics of numeric filters, which now display *only* the numbers specified if the = (or no) prefix is used - see two points down for more information). * Modified the numeric filters. Ranges can now be specified by doing this: todo --filter 1-20. If a '-' sign precedes the range it explicitly excludes all these items. This can also be used in most other places indices are used. ie. todo --done 10.1-20 would mark items 10.1 through 10.20 as done. * Modified behaviour of numeric filters slightly. If prefix is '=' or none, *only* those items are displayed. Before, this was a nop. * Patch to todorl.h courtesy of Philippe M. Chiasson that fixes compilation problems on RH 7.0. * Priority defaults to medium if a blank line is entered at the "priority>" prompt (thanks to Alexei Gilchrist for this idea, along with quite a few others :)) * Removed --fallback-database - the semantics were too clunky and generally confusing. * Added --global-database and -G,--global to replace --fallback-database. Basically, you specify a file with --global-database (defaults to ~/.todo_global) then whenever you pass -G or --global to todo it will use the global database. Much simpler than the way --fallback-database behaved. This idea was courtesy, once again, of Alexei Gilchrist. Good stuff! * todo can now automatically backup the database to a user specified number of levels. Use the option --database [] to do this, where is the optional number of revisions to keep (defaults to 1). This option is best specified in your ~/.todorc. * Numbers can once again be used to specify priorities when entering them from the 'priority>' prompt (requested by Alexei Gilchrist). --- time/devtodo/Makefile | 8 ++++---- time/devtodo/distinfo | 7 ++++--- time/devtodo/patches/patch-aa | 18 ++++++++++++++++++ time/devtodo/pkg/PLIST | 7 +++++-- 4 files changed, 31 insertions(+), 9 deletions(-) create mode 100644 time/devtodo/patches/patch-aa diff --git a/time/devtodo/Makefile b/time/devtodo/Makefile index 936071c2c5a..accccf2e90b 100644 --- a/time/devtodo/Makefile +++ b/time/devtodo/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2001/04/16 08:00:43 zuntum Exp $ +# $NetBSD: Makefile,v 1.4 2001/04/22 11:44:46 zuntum Exp $ # -DISTNAME= devtodo-0.1.4 +DISTNAME= devtodo-0.1.5 CATEGORIES= time -MASTER_SITES= http://ftp1.sourceforge.net/devtodo/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=devtodo/} MAINTAINER= packages@netbsd.org HOMEPAGE= http://sourceforge.net/projects/devtodo/ @@ -12,6 +12,6 @@ COMMENT= Display and manage a list of items that are outstanding DEPENDS+= readline-[0-9]*:../../devel/readline GNU_CONFIGURE= yes -MAKE_ENV+= CXXFLAGS=-Wl,-R${PREFIX}/lib +MAKE_ENV+= CXXFLAGS="-Wl,-R${LOCALBASE}/lib" .include "../../mk/bsd.pkg.mk" diff --git a/time/devtodo/distinfo b/time/devtodo/distinfo index ad62bd099f5..4b5dc77c0df 100644 --- a/time/devtodo/distinfo +++ b/time/devtodo/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/18 14:47:12 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/04/22 11:44:46 zuntum Exp $ -SHA1 (devtodo-0.1.4.tar.gz) = dc505b89a4830e1fffad6fbbcf096b41684787f0 -Size (devtodo-0.1.4.tar.gz) = 148094 bytes +SHA1 (devtodo-0.1.5.tar.gz) = 90801c640d6cd95e14a5d1af69e385c093325fef +Size (devtodo-0.1.5.tar.gz) = 159026 bytes +SHA1 (patch-aa) = 850565ebbfdfcc99a2220068fced5318c9a605c5 diff --git a/time/devtodo/patches/patch-aa b/time/devtodo/patches/patch-aa new file mode 100644 index 00000000000..c5599df4e20 --- /dev/null +++ b/time/devtodo/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1 2001/04/22 11:44:47 zuntum Exp $ + +--- doc/Makefile.in.orig Sat Apr 21 23:40:51 2001 ++++ doc/Makefile.in +@@ -224,9 +224,10 @@ + + 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 ++ $(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 diff --git a/time/devtodo/pkg/PLIST b/time/devtodo/pkg/PLIST index a6c66d9c80a..f59d1d9f238 100644 --- a/time/devtodo/pkg/PLIST +++ b/time/devtodo/pkg/PLIST @@ -1,14 +1,17 @@ -@comment $NetBSD: PLIST,v 1.2 2001/04/16 08:00:44 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.3 2001/04/22 11:44:47 zuntum Exp $ bin/devtodo bin/tda bin/tdd bin/tde bin/tdr bin/todo -etc/todorc man/man1/devtodo.1 man/man1/tda.1 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 -- cgit v1.2.3