Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sohaibafifi/libitl2
- Owner: sohaibafifi
- License: other
- Created: 2014-05-07T16:05:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-08T13:18:11.000Z (over 10 years ago)
- Last Synced: 2024-08-03T12:01:39.305Z (4 months ago)
- Language: C
- Size: 255 KB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-arabic - libitl2 - A library for Islamic calendar and prayer times. (Programming Languages)
- awesome-arabic - libitl2 - A library for Islamic calendar and prayer times. (Programming Languages)
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.