Mihrab is a Muslim prayer times program written in C. A mihrab is semicircular niche in the wall of a mosque that indicates the qibla; that is, the direction of the Kaaba in Mecca and hence the direction that Muslims should face when praying [Wikipedia].
- Unique presentation.
- Preset library of known locations.
- Custom location option: latitude, longitude, timezone, daylight saving time (DST).
- Automatic detection of daylight saving time (DST) status for known locations.
- Stack multiple timelines to show multiple locations at once.
- Add support for playing Athan audio.
- Add support for a notification area icon.
- Desktop notification popups.
- Improved layout.
-
GTK+ version 2 (default branch) or 3 (branch gtk-3).
Debian package:
libgtk2.0-devorlibgtk-3-dev. -
The Islamic Tools Library libitl.
Debian package:
libitl-dev. -
libgweather: a weather library for the Gnome desktop.
Debian package:
libgweather-devorlibgweather-3-dev.
$ hg clone https://akhayyat@bitbucket.org/akhayyat/mihrab
$ cd mihrab
$ make
$ ./bin/release/mihrab
Arabic translation of all strings is included. make will generate an
Arabic message catalog. To run Mihrab in Arabic:
$ LANGUAGE=ar ./bin/release/mihrab
If you would like to add a new language translation, follow these steps:
-
Generate a
potfile (Portable Object Template):$ make potThis will generate
mihrab.potin the project's root directory. -
Use your favorite
pofile editor, e.g. POEdit, to create the translated strings based on the pot template. -
Add the two-letter language code to the
LANGSmacro in theMakefile. For example:LANGS = ar deIn this example, the
Makefileexpects to find the files./ar/mihrab.poand./de/mihrab.poin the project's root directory. Any subsequentmakewill generate the required catalogs to use these languages.

