Mdate 1.5.1 review

Download
by rbytes.net on

Mdate is a utility that converts Gregorian dates to Mayan Long Count dates. It was originally an implementation of some algorithms

License: GPL (GNU General Public License)
File size: 139K
Developer: Sean Dwyer
0 stars award from rbytes.net

Mdate is a utility that converts Gregorian dates to Mayan Long Count dates.

It was originally an implementation of some algorithms published by N. Dershowitz and E.M. Reingold in their book Calendrical Calculations , but is now a GPL project and uses some code derived from other GPL sources.

Mdate is an evolving project, with the desire to provide a freely-available (meaning non-commercial) mayan date utility for Unix and other operating systems.

To the best of my knowledge, a simple Unix utility like this has not been available before. At this stage it has only been tested thoroughly on a Linux system.

Parts of Mdate were originally derived from Ivan Van Langingham's excellent mayalib python library.

Installation:

Check the config.h for any defines you may need to change. Please READ the
comments in there, they will help I hope. Basically, if you're running a BSD with GNU tools, or GNU related system, you can pretty much leave things as they are.

I develop on a Debian testing/unstable x86 system which may be a bit cutting-edge for some. BeOS users have the luxury of their own port. OSX users also have their own port, which should be up soon at the same place.

Makefile User Configuration:

1. Define a default language (DEF_EN by default).

2. Define BINDIR, MANDIR, DOCDIR. This defaults to /usr/bin, /usr/share/man/man1, and /usr/share/doc/mdate.

3. If you have a *nix that needs them, define nosnprintf, nogetopt or noi18n.

4. Define pretty if you want an alternate output format rather than standard date(1) behaviour

5. Define oldmayan or newmayan according to your taste in Mayan names.

There are also helpful comments in the Makefile if you get lost: just type make, and make install. Users of previous mdates may like to rename/remove older versions.

There's also plenty of documentation you may wish to install, try make createdoc, which creates html, text, TeX, dvi, ps and pdf output.

These may or may not work depending on your tools. A manual page, text and html versions of the documentation are always provided.

It is assumed that you're using GNU C/C++ and GNU Make; unfortunately I have
no access to different OS's and architectures. You are encouraged to add a
target or defines so that others might benefit and enjoy Mdate.

What's New in This Release:
ChangeLog.header: cvs2cl update

Mdate 1.5.1 search tags