Skip to content

A library for Islamic calendar and prayer times

License

Notifications You must be signed in to change notification settings

sohaibafifi/libitl2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libitl2: A library for Islamic calendar and prayer times

libitl2 is a fork from libitl. 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:

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:

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. libitl2 uses the same license as libitl.

AUTHORS

The original authors of libitl can be found in AUTHORS. libitl2 is developed and maintained currently by Mohamed A. Bamakhrama.

About

A library for Islamic calendar and prayer times

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages