C library for calendar computations according to the Roman Catholic liturgical calendar as instituted by MP Mysterii Paschalis of Paul VI. (AAS 61 (1969), pp. 222-226). The rules are defined in General Norms for the Liturgical Year and the Calendar ([English translation][gnlyc]).
After the calendar has been implemented in Ruby and the results made widely available for remote access through an API, this library implements the same functionality in C. The main intent is to allow easy creation of bindings for widest possible spectrum of programming languages.
- glib 2.0
- cmake (used for building in the current alpha stage; later switch to autotools is probable)
cmake .
make
make install
Unit tests of libcalrom are built upon the glib testing framework.
The build process described above also builds executable tests/run
which can be run on it's own or using
gtester
.
There is further a separate project with "acceptance tests" ensuring that libcalrom's behaviour is consistent with the Ruby gem calendarium-romanum, which is considered reference implementation of the calendar system. Directory spec_cli/ contains an adapter for this test suite.
dual-licensed: freely choose between GNU/LGPL 3 and MIT