fortune-mod Maintenance Version and Ongoing Development
This GitHub repository maintains the sources for fortune-mod, a
version of
the UNIX fortune command.
fortune
is a command-line utility which displays a random quotation from a
collection of quotes.
The canonical repository for the time being is: https://github.com/shlomif/fortune-mod . In the future, we may create a GitHub organization for it and move the sources there.
For more information about it, you can contact Shlomi Fish .
Release Tarballs
Release tarballs can be found at this directory for now.
Reading from this reported bug:
One can find the official release tarballs of fortune-mod as prepared by CPack there. They have a proper containing directory. Please don't use GitHub's tags for that.
Sample usage
$ fortune
Enthusiasm is one of the most important
ingredients a volunteer project runs on.
-- Andreas Schuldei
$
History
I believe fortune-mod was originally forked from the NetBSD version of fortune, and ported to run on Linux systems. For some time it was maintained at the currently offline redellipse-dot-net inside a GNU Arch (= an old and now mostly unused version control system) repository, and version 1.99.1 was released as a tarball.
This maintenance version was initiated by Shlomi Fish, who decided to maintain it out of being a fan of the fortune command. It started by importing the unpacked source of the fortune-mod-1.99.1.tar tarball from the Mageia Linux .src.rpm into an empty git repository and continuing from there.
What was already done.
-
fortune-mod-1.99.1 was imported into the repository from the Mageia tarball as the tag
fortune-mod-1.99.1
. -
Cleaned up the build process a little.
-
Converted the source files to UTF-8.
-
Added some tests.
-
Removed trailing whitespace.
-
Reformatted long (> 80 chars) lines.
-
Fixed some typos.
-
Added Travis-CI support.
-
Converted the build system to CMake .
-
Added valgrind tests and fixed some memory leaks.
-
Released fortune-mod-1.99.3 and fortune-mod-1.99.4.
-
Fixed some C compiler warnings encountered with the GCC compiler flags of Shlomif_Common.
-
Added a build-time option to remove the “-o” (= “offensive”) flag, inspired by a set of patches on the Fedora package.
-
Applied some downstream patches.
-
Released version 2.0.0.
-
Fixed as many “clang -Weverything” warnings as possible.
-
lib-recode became maintained again at https://github.com/rrthomas/recode (thanks to @rrthomas ) thus preventing a switch to something else.
What remains to be done.
-
See if there are any more downstream patches to apply.
-
Fix more typos (reports and pull-requests are welcome.)
-
Perhaps modernize the code a little.
Links
- Shlomi Fish’s Fortune Cookie Files - on his site, containing links to many other collections of fortune cookies.
- XML-Grammar-Fortune - an XML grammar for collections of quotes, allowing one to generate XHTML or plaintext.
- Anvari.org’s web interface to fortune - with many collections.