CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles. As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
and ${BUILDLINK_LIBDIR} to find headers and libraries. Note that this
package uses libtool with USE_LIBTOOL and LTCONFIG_OVERRIDE. Look for
tputs() in libtermcap. Add patch to ensure that the proper LDFLAGS are
passed when linking the executable.
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.
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 <filename> 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 [<n>] to do this, where <n> 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).
* Added version checking so that the binary won't accept databases from
future versions. The actual behaviour is that minor revision differences
produce a warning while major revision differences cause an error.
* Added a patch from Arthur Korn that allows the bash scripts to cd into
directories with spaces.
* Fixed a few man page problems, again courtesy of Arthur (I swear this
guy doesn't sleep!)
* Changed primary binary to 'devtodo', with a convenience symlink, 'todo'.
Also changed the man page filename to reflect this. The user should see
no actual difference though, as symlinks with the old names exist.
* Fixed a bug where todo would segfault if ^D was pressed while editing a
line. Thanks to Matt Kraai for picking this up. The problem was due to
not handling a NULL return value from readline.
* More man page fixes (this time, thanks again go to Matt).
* You can now specify more than one item index on the command line as
seperate arguments. Previously, a comma was required and if multiple
arguments were used the last one was used. Arthur picked this one up.
* Added parsing of /etc/todorc (actually, the location is specified by the
--sysconfdir argument to configure, so it will probably be
/usr/local/etc/todorc on most peoples systems).
* Added awareness of the TODORC environment variable. This specifies the
RC file to parse on startup. TODORC=$HOME/.todorc is the default
behaviour. This idea was thanks to Claude. Claude also suggests, quite
rightly, that it would be useful for specifying a system-wide todorc
file by putting TODORC=/etc/todorc in /etc/profile or somewhere similar.
* Added two new arguments for modifying the database used. The first is
--database <file> which is used to change the default filename used. eg.
--database .todo is the default behaviour. The other is
--fallback-database <file> which specifies the database to use if no other
can be found. By default there is no fallback database. Both of these
options can be specified in the .todorc.
* Environment variables can now be used in the ~/.todorc. This is especially
useful for something like 'fallback-database $HOME/.todo'.
* Finally fixed the bug where > and & were not being correctly
interpreted.
* Fixed a long-time bug where wraptext() was wrapping the first
line prematurely.
* Fixed a bug where if the sort order changed, visible indices would not match
parameter indices.
* --verbose now displays time between when an item was created and when it was
completed.
* Added --date-format for formatting the display of dates (currently only used
with --verbose). The format is that used by strftime(3) but if strftime is not
available on a system, ctime(3) is used.
* Added fully-featured sorting via the --sort parameter. It is now possible to
sort on pretty much anything you can think of; creation time, completed time,
duration of item, text body, priority and whether an item is done or not.
* Added --paranoid option that enables some warnings about permissions. This
is in response to a user request to not make the .todo file group/world
accessible. This option will make devtodo warn the user if such a database
is created.
* Removed --sync and --no-sync. You can generate the TODO file with --TODO.
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
"Pcal" Version 4.7
This is a new release of "Pcal", the PostScript calendar program. The major
new features are the "-H" flag for generating output in HTML table form,
expansion of "%y" in the "include" filename into the last two digits of
every applicable year in "year all" mode, and the addition of build-time
support for A4 size paper.
- Added option to have TkRemind display all of today's reminders in a text
box on startup. This option is on by default.
- Makefile in "www" directory allows you to add ".cgi" suffix to CGI scripts.
- Added option to completely delete a reminder from the reminder file in
the timed reminder popup dialog.
- Clarified build instructions.
- Fixed packing order in TkRemind so resizing window doesn't make control
buttons disappear.
- Fixed serious bug in which background queued reminders were ignored and
Remind simply exited. Doh! Sorry about that.