Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sohaibafifi/libitl2

A library for Islamic calendar and prayer times
https://github.com/sohaibafifi/libitl2

Last synced: 26 days ago
JSON representation

A library for Islamic calendar and prayer times

Awesome Lists containing this project

README

        

libitl2: A library for Islamic calendar and prayer times
========================================================

`libitl2` is a fork from
[libitl](http://projects.arabeyes.org/project.php?proj=ITL). This fork aims
initially to:
* Move the code from the SVN SCM to git SCM
* Modernize the build system by moving it from `autotools` to `cmake`
* Do static analysis on the existing code and fix the found bugs
* Make the library cross-platform (i.e., runs natively on Unix/Linux,
Mac, and Windows)

Compiling
---------
In order to compile the library, you will need the following tools:
* A modern C compiler (e.g., GCC or Clang). Building the library has been tested
with GCC 4.8.1
* `cmake` (Tested with 2.8.11.2)

To compile the library and the demo programs, perform the followig
commands in the `itl2` directory:

```shell
mkdir build
cd build
cmake ..
make
./demo_prayer # To run the prayer demo program
```

Static Analysis
---------------
We are using `ccc-analyzer` from Clang to perform the static analysis.
To use `ccc-analyzer`, you need to perform the follwoing:
```shell
cmake -DCMAKE_C_COMPILER=/usr/share/clang/scan-build/ccc-analyzer ..
/usr/share/clang/scan-build/scan-build make
```
It is important to note that Clang might be installed on different directories
on different machines.

LICENSE
-------
The original `libitl` uses LGPL license shown in [LICENSE](LICENSE). `libitl2`
uses the same license as `libitl`.

AUTHORS
-------
The original authors of `libitl` can be found in [AUTHORS](AUTHORS). `libitl2`
is developed and maintained currently by Mohamed A. Bamakhrama.