| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
The http link in one of the epigrams has become stale, and switching
to https does not work either, so remove this link.
Thanks to Johannes Wörner for setting up https on the git server.
Reviewed-by: Andreas Metzler <ametzler@bebt.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a single file containing ~200 tagged epigrams in English
language. The debian/control file is extended to provide the new
"tfortunes" package which ships this data file. The new package is
Recommended: by the tfortune package but tfortune works without it
if epigrams are provided locally.
The debian/copyright file also needs to be adjusted because the
epigrams are under the public domain while the source code remains
GPLv3.
The epigrams were created by running
tfortune -- print -atx pub
on the author's epigram database with "pub" being a tag expression
that filters out epigrams not suitable for public exposure.
Suggested-by: Adam Borowski <kilobyte@angband.pl>
v2 -> v3
~~~~~~~~
Apply fixes provided by Adam Borowski:
* Fix bogus date in debian/changelog (s/Mon/Tue)
* Make the data package Arch:all, since it is truly arch-independent
* Add Multi-Arch header to debian/control
v1 -> v2
~~~~~~~~
Incorporate feedback from Adam Borowski:
* Fix typo in description of the tfortunes package
* Update debian/changelog and increase debian version number
|
| |
|
|
|
|
|
|
|
|
| |
If the per-user directory can not be opened, we currently print an
error message and exit. As pointed out by Adam Borowski, this is not
especially user-friendly.
This commit teaches tfortune to look in a second, system-wide location
in this case. This location can be controlled with the --datadir
option of configure. The man page is updated accordingly.
|
| |
|
|
|
|
|
|
|
| |
Without the leading dash, make(1) complains if, for example,
make config.mak
is run on a pristine tree. The dash instructs make(1) to not emit
a warning if the file to include does not exist or cannot be remade.
|
| |
|
|
|
|
|
| |
It is generally a good idea to not save the local file name and
timestamp in the compressed file, as this thwarts reproducible builds.
Suggested-by: Adam Borowski <kilobyte@angband.pl>
|
| |
|
|
|
|
|
| |
It's good practice to provide separate make targets for generating
arch-dependent files (e.g., executables) and for arch-independent files
(e.g., manual pages). Currently there is only one file of either type
which gets installed by the make target, but this might change.
|
| |
|
|
| |
All derived files should be removed by the distclean target.
|
| |
|
|
|
| |
This is generally a good idea since all versions of man(1) support
at least gzip-compressed manual pages.
|
| |
|
|
|
|
| |
The manual page of the standard fortune program is part of section 6
(Games Manuals), so the tfortune man page should be installed there
as well rather than in section 1.
|
| |
|
|
|
|
|
|
|
|
| |
URLs and the email address are currently spread out over multiple
files. This commit cleans up the mess by defining everything in
Makefile and adjusting other places to use the information from there.
We use the opportunity to add a link to the author's home page.
version-gen.sh is made generic, i.e., it does not refer to tfortune
any more.
|
| | |
|
|
|
Tfortune was maintained in a non-public git repository between 2016-04
and 2018-01. By then it was moved to a dedicated repository, rewritten
to support the tag expression grammar and made scalable by introducing
linear hashing. At the same time command line parsing was switched
to the lopsub library, the command line options were redesigned and
properly documented, and the nifty logo was added.
In 2018-03 tfortune reached version 1.0 and was finally made public. All
commits that led to version 1.0 have been discarded, so this repository
contains only the final result as a single commit.
Many thanks to Effie Symeonidi who gave valuable feedback regarding the
installation instructions.
|