afify / azan (public) (License: MIT) (since 2020-03-08) (hash sha1)
azan is a simple muslim prayers notifier for unix-like systems.
List of commits:
Subject Hash Author Date (UTC)
[doc] Update CONTRIBUTING, README & man page 0b978479fbe5d6e626a55a5ac78231393a267025 Hassan Afify 2019-09-22 10:23:25
[feat] Edit Makefile, Add config.def.h, config.mk c9e13a7b6dcc00894620f5788c04f4afba0f59d4 Hassan Afify 2019-09-21 17:11:34
[fix] Replace CODE_STYLE with CONTRIBUTING.md be2b91ef8d73aea536bc45446808633561d8afd9 Hassan Afify 2019-09-21 11:14:30
[feat] Edit Makefile, azan.c 538877a4311572caa1ddb88ffd0bac5e0b4379bc Hassan Afify 2019-09-20 12:59:05
[feat] Edit Makefile f41f74a524feb96228eb35a77a336862d5ca958c Hassan Afify 2019-09-19 05:04:00
[feat] Self Calcutation 1be712f454adda33c8a182a4478a3abf5dba6745 Hassan Afify 2019-09-17 08:11:15
[init] Initial Commit 2654768d0412e07cf7aa4b78a41b125aeceab82e Hassan Afify 2019-09-04 01:44:23
Commit 0b978479fbe5d6e626a55a5ac78231393a267025 - [doc] Update CONTRIBUTING, README & man page
* CONTRIBUTING
- remove unrelated discription

* README Fixes #1
- remove requirment (no need for curl header)
- remove images shield
- add new options
- edit git repo name

* man page
- add new options
Author: Hassan Afify
Author date (UTC): 2019-09-22 10:23
Committer name: Hassan Afify
Committer date (UTC): 2019-09-23 09:01
Parent(s): c9e13a7b6dcc00894620f5788c04f4afba0f59d4
Signing key: 0F6CD1196B2A5658
Tree: 3e4452a08a5eb80339694a49f75d6690314420a6
File Lines added Lines deleted
CONTRIBUTING.md 2 10
README.md 9 10
azan.1 9 3
config.h 0 33
config.mk 1 1
File CONTRIBUTING.md changed (mode: 100644) (index 65b379f..e5ce18d)
1 1 Contributing to Azan Contributing to Azan
2 2 ==================== ====================
3
4 Patches are welcome in whatever form.
5 Discussions about patches happen on the vim-dev maillist.
6 If you create a pull request on GitHub it will be
7 forwarded to the vim-dev maillist. You can also send your patch there
8 directly. In that case an attachment with a unified diff format is preferred.
9 Information about the maillist can be found [on the Vim website].
10
11 [on the Vim website]: http://www.vim.org/maillist.php#vim-dev
3 Patches are welcome in whatever form, a unified diff format is preferred.
12 4
13 5 Static code analyzers Static code analyzers
14 6 --------------------- ---------------------
 
... ... Static code analyzers
17 9
18 10 Used Compiler Used Compiler
19 11 ------------ ------------
20 - TCC — Tiny C Compiler.
12 - **TCC** - Tiny C Compiler.
21 13
22 14 **Other C Compilers** **Other C Compilers**
23 15 - **GCC** is the virus which has spread into nearly every Linux distribution and has added its language extensions to be not easily replacable. As of 2016 it is now written in C++ and so complete suck. Why can't a compiler just be a simple binary doing its work instead of adding path dependencies deep into the system? - **GCC** is the virus which has spread into nearly every Linux distribution and has added its language extensions to be not easily replacable. As of 2016 it is now written in C++ and so complete suck. Why can't a compiler just be a simple binary doing its work instead of adding path dependencies deep into the system?
File README.md changed (mode: 100644) (index 5877999..902c9bf)
1 1 Azan Azan
2 2 ==== ====
3 [![platform](https://img.shields.io/badge/Platform-Linux-blue.svg)](#)
4 [![license](https://img.shields.io/github/license/SucklessIslamic/azan.svg)](https://github.com/SucklessIslamic/azan/blob/master/LICENSE)
5
3 azan is a simple muslim prayers notifier for unix-like systems. azan follows suckless code style and philosophy,it is inspired by the spirit of suckless.
6 4 ![azanimage](/screenshot.png) ![azanimage](/screenshot.png)
7
8 Requirements
9 ------------
10 In order to build azan you need the curl header files.
11
12 5 Installation Installation
13 6 ------------ ------------
14 7 ```sh ```sh
15 $ git clone https://github.com/SucklessIslamic/azan.git
8 $ git clone https://github.com/IslamicSoftware/azan.git
16 9 $ cd azan/ $ cd azan/
17 10 $ make $ make
18 $ sudo make clean install
11 $ sudo make install
19 12 ``` ```
20 13
21 14 Run Run
 
... ... Run
23 16 ```sh ```sh
24 17 $ azan $ azan
25 18 ``` ```
19 Options
20 -------
21 ```sh
22 $ azan [-vnah]
23 ```
24
26 25 Configuration Configuration
27 26 ------------- -------------
28 27 The configuration of azan is done by creating a custom config.h The configuration of azan is done by creating a custom config.h
File azan.1 changed (mode: 100644) (index e086a39..ea99ccd)
3 3 azan \- simple muslim prayer notifier azan \- simple muslim prayer notifier
4 4 .SH SYNOPSIS .SH SYNOPSIS
5 5 .B azan .B azan
6 .RB [ \-vf ]
6 .RB [ \-vnah ]
7 7 .SH DESCRIPTION .SH DESCRIPTION
8 8 azan is a simple muslim prayers notifier for unix-like systems. Show prayers time, hijri date. azan is a simple muslim prayers notifier for unix-like systems. Show prayers time, hijri date.
9 9 .P .P
 
... ... azan is used for status bars.
13 13 .B \-v .B \-v
14 14 prints version information to standard output, then exits. prints version information to standard output, then exits.
15 15 .TP .TP
16 .B \-f
17 prints todays's all prayers time.
16 .B \-n
17 send notification with today's prayers time.
18 .TP
19 .B \-a
20 prints todays's prayers time.
21 .TP
22 .B \-h
23 prints usage help.
18 24 .SH USAGE .SH USAGE
19 25 .TP .TP
20 26 .B azan .B azan
File config.h deleted (index 8a22d19..0000000)
1 /* See LICENSE file for copyright and license details.*/
2
3 #ifndef CONFIG_H
4 #define CONFIG_H
5
6 #define MI_PI 3.14159265358979323846
7
8 /* variable declarations */
9 static const double time_zone = 3;
10 static const double longitude = 39.826168;
11 static const double latitude = 21.422510;
12 static const double altitude = 0;
13
14 /* Fajr Isha */
15 static const short use_umm_al_qura = 1;
16 static const short is_ramadan = 0;
17 static const double fajr_angle = 18;
18 static const double isha_angle = 18;
19
20 /* Asr */
21 static const short use_major = 1;
22
23 /*
24 Muslim World League 18 17
25 Islamic Society of North America (ISNA) 15 15
26 Egyptian General Authority of Survey 19.5 17.5
27 Umm al-Qura University, Makkah 18.5 90 min after Maghrib 120 Ramadan
28 University of Islamic Sciences, Karachi 18 18
29 Institute of Geophysics, University of Tehran 17.7 14*
30 Shia Ithna Ashari, Leva Research Institute, Qum 16 14
31 */
32
33 #endif /* CONFIG_H */
File config.mk changed (mode: 100644) (index 37dfaea..80e7685)
... ... WARN = -bench -Wall -Werror -Wunusupported -Wwrite-strings
15 15 LIBS = -lm LIBS = -lm
16 16
17 17 # flags # flags
18 STCFLAGS = $(STD) $(WARN)
18 STCFLAGS = $(STD) $(WARN) -DVERSION=\"${VERSION}\"
19 19 STLDFLAGS= $(LIBS) $(LDFLAGS) STLDFLAGS= $(LIBS) $(LDFLAGS)
20 20
21 21 # compiler and linker # compiler and linker
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/afify/azan

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/afify/azan

Clone this repository using git:
git clone git://git.rocketgit.com/user/afify/azan

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main