Subject: CVS commit: pkgsrc
To: None <>
From: Tomasz Luchowski <>
List: pkgsrc-changes
Date: 05/15/2001 09:54:25
Module Name:	pkgsrc
Committed By:	zuntum
Date:		Tue May 15 06:54:24 UTC 2001

Modified Files:
	pkgsrc/time/devtodo: Makefile distinfo
	pkgsrc/time/devtodo/patches: patch-aa
	pkgsrc/time/devtodo/pkg: PLIST
Added Files:
	pkgsrc/time/devtodo/patches: patch-ab

Log Message:
Update devtodo to


* 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.

* 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
* 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 {
          exec chmod 600 $TODODB
* Modified in src and doc to support relocatable installs (via
  automakes DESTDIR variable).

* Fixed a nasty Makefile bug that can, under certain circumstances, cause
  the build/install to fail.

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/time/devtodo/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/time/devtodo/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/time/devtodo/patches/patch-aa
cvs rdiff -r0 -r1.1 pkgsrc/time/devtodo/patches/patch-ab
cvs rdiff -r1.3 -r1.4 pkgsrc/time/devtodo/pkg/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.