diff options
author | jwise <jwise@pkgsrc.org> | 2003-07-18 02:28:55 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2003-07-18 02:28:55 +0000 |
commit | b16715a3d84785f7e8a6fb57b326e0fb68adbfac (patch) | |
tree | 784f1fe84851a776f8477104178ed3d571b3cf90 /time/devtodo | |
parent | ca3be631f2258f67a9df24aab083df2983c07822 (diff) | |
download | pkgsrc-b16715a3d84785f7e8a6fb57b326e0fb68adbfac.tar.gz |
Update to revision 0.1.7. Changes are:
* Finally tracked down the VERY nasty slowdown (at times up to a minute or
more) some users have been experiencing. It turns out that one of the
recent versions of glibc has a bug in its regex code when dealing with
non-multibyte characters (ie. most of the time). This came to a head because
I upgraded to slackware-current, which has this version of glibc. Great.
Thanks to Mark Eichen for pointing me towards several Debian bug tracker
items about other programs having this same problem.
* Added a new directory "contrib" which will be used for anything that users
contribute that is not patched into the main distribution.
* XSLT transform courtesy of Mark Eichin, to convert devtodo XML databases into
colour PDF's. This is contrib/xslt-example.1.
* XSLT contribution for converting devtodo XML databases into HTML, courtesy of
Daniel Peterson. This is contrib/xslt-example.2.
* I have created an amalgam of the above two XSLT contributions that will
output a HTML page with colourised items. Completed items are struck out.
This is a dodgy hack, so if anybody has any enhancements it would be much
appreciated.
* Changed filename of src/todo.cc to src/main.cc so that devtodo will compile
under environments where case is not relevant in filenames (ie. Cygwin under
M$ Windows).
* Added a small PERL script to generate a todo database from a ChangeLog file
that's in the same format as that used by devtodo. In the contrib directory.
eg. changelog2todo > changelog.todo && devtodo --database changelog.todo
* Added two new events: "load" and "save". This can be used in conjunction
with one of the above XSLT files by putting something like the following in
your ~/.todorc (assuming you have libxlst installed - www.xmlsoft.org):
on save exec xsltproc $HOME/etc/todo-html.xslt $TODODB > `dirname $TODODB`/.todo.html
Which will basically generate a .todo.html file every time a devtodo database
is modified and saved.
* Fixed a few minor man page bugs.
(the contrib/ files discussed here go in ${PREFIX}/share/examples/devtodo under pkgsrc)
Diffstat (limited to 'time/devtodo')
-rw-r--r-- | time/devtodo/Makefile | 14 | ||||
-rw-r--r-- | time/devtodo/PLIST | 8 | ||||
-rw-r--r-- | time/devtodo/distinfo | 8 | ||||
-rw-r--r-- | time/devtodo/patches/patch-aa | 13 |
4 files changed, 26 insertions, 17 deletions
diff --git a/time/devtodo/Makefile b/time/devtodo/Makefile index 06ea9014f9e..6f2e82d0d26 100644 --- a/time/devtodo/Makefile +++ b/time/devtodo/Makefile @@ -1,9 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2003/07/17 22:54:59 grant Exp $ +# $NetBSD: Makefile,v 1.13 2003/07/18 02:28:55 jwise Exp $ # -DISTNAME= devtodo-0.1.6-1 -PKGNAME= devtodo-0.1.6.1 -WRKSRC= ${WRKDIR}/${DISTNAME:S/-1//} +DISTNAME= devtodo-0.1.7 CATEGORIES= time MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=devtodo/} @@ -22,5 +20,13 @@ 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 + +post-install: +.for CFILE in ${CONTRIBFILES} + ${INSTALL_DATA} ${WRKSRC}/contrib/${CFILE} ${PREFIX}/share/examples/devtodo +.endfor + .include "../../devel/readline/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/time/devtodo/PLIST b/time/devtodo/PLIST index 733c873a758..e9a46523534 100644 --- a/time/devtodo/PLIST +++ b/time/devtodo/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:19:03 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/07/18 02:28:55 jwise Exp $ bin/devtodo bin/tda bin/tdd @@ -11,5 +11,11 @@ man/man1/tdd.1 man/man1/tde.1 man/man1/tdr.1 man/man1/todo.1 +share/examples/devtodo/changelog2todo +share/examples/devtodo/todo-html.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 26ab3b803ef..74923689928 100644 --- a/time/devtodo/distinfo +++ b/time/devtodo/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2001/05/29 05:48:56 jlam Exp $ +$NetBSD: distinfo,v 1.6 2003/07/18 02:28:55 jwise Exp $ -SHA1 (devtodo-0.1.6-1.tar.gz) = 567a9102ba5569a8e77669f09fd58db1bc28ae80 -Size (devtodo-0.1.6-1.tar.gz) = 165672 bytes -SHA1 (patch-aa) = 9696d32bfaaec0650bbb75aad240e35ab2ca8656 +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 diff --git a/time/devtodo/patches/patch-aa b/time/devtodo/patches/patch-aa index 5cd21223f71..b05f6389212 100644 --- a/time/devtodo/patches/patch-aa +++ b/time/devtodo/patches/patch-aa @@ -1,14 +1,11 @@ -$NetBSD: patch-aa,v 1.2 2001/05/15 06:54:24 zuntum Exp $ +$NetBSD: patch-aa,v 1.3 2003/07/18 02:28:56 jwise Exp $ ---- doc/Makefile.in.orig Mon May 14 21:44:17 2001 -+++ doc/Makefile.in -@@ -225,7 +225,8 @@ +--- 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 @@ install-data-local: 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 +- 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 - - uninstall: - rm $(addprefix $(DESTDIR)$(mandir)/man1/, $(addsuffix .1, $(manlinks))) |