Minbar 0.1 is out
25th December 2006 - 25336 Reads
Minbar, the Gnome Prayer Application is finally done. This first release does the Athan call (prayer call) and notifies before the time of the prayer. It uses ITL for prayer calculation, which has a high level of accuracy. It is initially available in Arabic, English and French.
Download the source tarball from here. You need a few libraries to build it, the enclosed README lists them. If you have any problems, I will be happy to know about them. There is a debian .deb to be released soon for debian derived distributions. If you can package this for your own distribution that would be great!
This screenshot shows it with its tray icon (the Kaaba shaped icon). Click for a larger version.
![]()
Many thanks to Abderrahim Kitouni and Mohammed Adnène Trojette for the great help!
December 26th, 2006 at 12:35 am
i can’t compile it on gentoo I’ve installed libitl successfully and minbar ./configure script detects it but in the make process i get this error:
make[1]: Entering directory `/mnt/hda6/home/Desktop/itl/programs/minbar/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o minbar minbar-main.o -litl -pthread -Wl,--export-dynamic -lgconf-2 -lORBit-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0 -lnotify -lgtk-x11-2.0 -ldbus-glib-1 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -ldbus-1 -lglib-2.0
gcc -g -O2 -o minbar minbar-main.o -pthread -Wl,--export-dynamic -litl /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libglade-2.0.so /usr/lib/libgstreamer-0.10.so /usr/lib/libgthread-2.0.so /usr/lib/libnotify.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libdbus-glib-1.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libxml2.so /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so -lpthread /usr/lib/libpng12.so -lz /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libdbus-1.so -lnsl /usr/lib/libglib-2.0.so -lrt
/usr/lib/gcc/i486-pc-linux-gnu/3.4.6/../../../../i486-pc-linux-gnu/bin/ld: cannot find -litl
collect2: ld returned 1 exit status
make[1]: *** [minbar] Error 1
make[1]: Leaving directory `/mnt/hda6/home/Desktop/itl/programs/minbar/src'
make: *** [all-recursive] Error 1
i ran ./autogen.sh && make && make install
December 26th, 2006 at 1:16 am
i did symlinks from all files in /usr/lib/itl/ to /usr/lib/ and the comilation completed successfully but the program crashs on start up with this error:
(minbar:16703): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
(minbar:16703): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(minbar:16703): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
(minbar:16703): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(minbar:16703): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
(minbar:16703): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
December 26th, 2006 at 1:19 am
my system has gtk+ ver. 2.10.6 .
December 26th, 2006 at 1:34 am
I won’t write in english so PLZ forgive me……..
السلام عليكم و رحمة الله
اخي الكريم ، تقبل الله عملك هذا و جعله في ميزان حسناتك.
بالنسبة الى البرنامج صراحة لم اجربه و لكن سأفعل و ستكون لي رجعة ان شاء الله.
على فكرة انا زعلان عليك و على كل الشباب في عرب آيز - اعذرني على صراحتي - لانه ليس بامكان الكثير الاستفادة من مواقعكم الرائعة حقا - دون مبالغة- بسبب عدم اتقانهم للغة الانجليزية، والواقع هو الواقع اخي، فعرب آيز يقوم بجهد جبار لترجمة نظام باكمله و واجهة الموقع غير مترجمة !!!!!!!، اه
على كل ليس هذا مربط الفرس، البرنامج اظن على gnome انا ساجربه على kde - suse10.1 ثم اوفيك بالنتائج.
تحياتي
December 26th, 2006 at 1:35 am
after a clean rebuild and copying the /usr/lib/itl/* to /usr/lib the program works fine with the root account but with a normal account i get a segfault error and debugging with gdb gives this results :( .
(gdb) start
Breakpoint 1 at 0x804c7c5: file main.c, line 894.
Starting program: /usr/local/bin/minbar
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1220036944 (LWP 14695)]
[Switching to Thread -1220036944 (LWP 14695)]
main (argc=1, argv=0xbfc10e64) at main.c:894
894 setlocale (LC_ALL, "");
(gdb) start
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Breakpoint 2 at 0x804c7c5: file main.c, line 894.
Starting program: /usr/local/bin/minbar
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1220077904 (LWP 14700)]
[Switching to Thread -1220077904 (LWP 14700)]
main (argc=1, argv=0xbf87fe44) at main.c:894
894 setlocale (LC_ALL, "");
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xb77ef431 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb)
i think that my home should be cleand :) .
December 26th, 2006 at 1:40 am
Salam Mohammed,
For the first solved problem, try running ldconfig as root instead of symlinking.
For the second problem, I am not sure exactly about your system, but try these tips and post results:
-Are you trying to run from the source dir? Have you run make install ? (you need to be root of course).
-If you are building as root, try building as normal user. If you build as root the files get installed with hardened permissions.
-Can I assume that you have the latest libglade? what version do you have?
December 26th, 2006 at 1:43 am
Mohammed, I think the second point applies. Build as normal user, only “make install” as root.
December 26th, 2006 at 1:51 am
أنت تسامحني على عدم الكتابة بالعربية
.أشاطرك الرأي في أن موقع عربايز فيه بعض المشاكل. سامحونا على التقصير، والله المشاغل كثيرة. الشيء الجميل هو أنه الآن بالضبط نقوم بتجديد خدمات الموقع وقمت شخصيا بالضغط لصالح العربية في الموقع، فترقب ذلك قريبا إن شاء الله. المشكلة الحالية هو نقص عدد المساهمين للكتابة بالعربية. مرحبا بك إن أردت المساهمة، في الحقيقة أريد مستخدمين مثلك ليحددوا ما يجب فعله و الصفحات غير المفهومة.
الآن يمكنك المساهمة على الويكي الذي فيه العربية و الإنجليزية معا. هو ناقص جزئيا لكنا نعمل بجد لإكماله.
موقع الويكي: http://wiki.arabeyes.org
December 26th, 2006 at 12:38 pm
i’ve libglade-2.6 installed on my system .
and i did make install .
December 26th, 2006 at 4:31 pm
Mohamed, did you try building as normal user?
December 26th, 2006 at 10:41 pm
as i remember i did & got the segfault error, but i’ll try again today :) & post the results.
December 28th, 2006 at 7:17 pm
Great application! The base installation went smoothly on Ubuntu 6.06. The interface is also great and intuitive. I got my prayer times (Jerusalem) correct to within a couple of minutes with WML as the calculation method.
I have a couple of problems:
1. I did not get the tray icon to show?
2. Whenever I clicked on the athan play button, I get an icon with an exclamation mark within a triangle and the command line says ‘Error: Could not open resource for writing.’ It seems to me that the problem was there before but I did not notice it until I installed minbar because Gaim and several other application do not give the notification sound. But media players produce perfect sound, I will have to work on this one.
December 28th, 2006 at 9:10 pm
Salam Mohamed Yahya,
Glad you like it :~)
1. What GTK version? Tray icon is disabled if GTK is lower than 2.10. A bit cutting edge I know, but GTK has just recently added a standard tray icon to its API. According to distrowatch, Dapper shipped with 2.8.
2. According to the error, I think some application is blocking the sound device, hence it couldn’t open the “sound file” representing the sound device for writing. Try to kill any application related to sound and see (even flash in web browsers). Sometimes the cause may be other desktop environment’s sound servers, like KDE’s (called aRTs I think).
Hope that helps, let me know if you have any problems, or how you solved these ;~)
December 29th, 2006 at 6:16 pm
awesome !
keep it up ….
January 1st, 2007 at 5:50 am
Salam Alaykum,
During ./configre, i get the following error
checking for MINBAR… yes
checking itl/prayer.h usability… no
checking itl/prayer.h presence… no
checking for itl/prayer.h… no
configure: error: “itl/prayer.h not found”
i created/copied a folder /usr/lib/itl/prayer.h, but it doens’t work. Also I have the itools installed. Insha Allah any help will be appreciated.
January 1st, 2007 at 11:03 am
Salam Abdul,
You need to install the itl tools.
What distribution do you have? if it is debian based, you can install using apt-get, the name of the packages are libitl0 and libitl-dev, you need both.
Otherwise get the itl sources from Arabeyes.org, Here is a direct link (click download tarball), and install it.
http://cvs.arabeyes.org/viewcvs/projects/itl/libs/?only_with_tag=release-0-6-4
Let me know how it goes.
January 1st, 2007 at 4:34 pm
Masha Allah,it works.
May Almighty Allah shower you and all muslims with blessings and guidiance in abundance, Amiin
Jazakallahu kairan.
March 12th, 2007 at 12:05 am
Salam Alaykum
I’m currently going through a reinstall of ubunut. Below is the error I’m getting . I have those packages installed already
on ubuntu 6.10 (libglade2-0, gconf2, libgtk2.0-common )
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
checking what language compliance flags to pass to the C compiler…
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for MINBAR… configure: error: Package requirements (gconf-2.0 gtk+-2.0 glib-2.0 libglade-2.0 gstreamer-0.10) were not met:
No package ‘gconf-2.0′ found
No package ‘gtk+-2.0′ found
No package ‘glib-2.0′ found
No package ‘libglade-2.0′ found
No package ‘gstreamer-0.10′ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables MINBAR_CFLAGS
and MINBAR_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
March 12th, 2007 at 9:03 am
Abdul, You need the -dev packages for those: containing header files and libraries necessary to build and run Minbar. For example:
gstreamer-0.10-dev
Have a look at the README for more, optionally you can get the .deb instead.
March 13th, 2007 at 3:41 am
Jazakallahu kairan.
Alhamdullahi, I have Minbar running now. May Allah SWT bless you with more understanding and all muslims, Ameen
March 21st, 2007 at 6:53 pm
[…] بفضل جهاد عفيفي، هنالك الآن حل تقني لهذه المشكلة لمستخدمي لينوكس، و ربما لمستخدمي ويندوز قريبا. هذا الحل هو برنامج منبر الذي يعطي أوقات الصلاة كما يعرض الوقت المتبقي لكل صلاة و بإمكانه أيضا إقامة الأذان. و حتى لا أضيع الوقت في الشرح، فهذة لقطة من البرنامج. […]
April 23rd, 2007 at 10:32 am
[…] I’m so bored, I’ve decided to make available here a minbar 0.1 .deb package for Ubuntu Edgy: […]
June 26th, 2007 at 10:09 pm
[…] بفضل جهاد عفيفي، هنالك الآن حل تقني لهذه المشكلة لمستخدمي لينوكس، و ربما لمستخدمي ويندوز قريبا. هذا الحل هو برنامج منبر الذي يعطي أوقات الصلاة كما يعرض الوقت المتبقي لكل صلاة و بإمكانه أيضا إقامة الأذان. و حتى لا أضيع الوقت في الشرح، فهذة لقطة من البرنامج. […]
June 26th, 2007 at 10:09 pm
[…] بفضل جهاد عفيفي، هنالك الآن حل تقني لهذه المشكلة لمستخدمي لينوكس، و ربما لمستخدمي ويندوز قريبا. هذا الحل هو برنامج منبر الذي يعطي أوقات الصلاة كما يعرض الوقت المتبقي لكل صلاة و بإمكانه أيضا إقامة الأذان. و حتى لا أضيع الوقت في الشرح، فهذة لقطة من البرنامج. […]
August 15th, 2007 at 3:42 pm
It would be nice if Minbar could load directly in minimised mode instead of popping on the screen every time I start the computer.
Also, if I could make a feature request, it would be nice if we could keep track of which prayers we have performed, this could be a motivational thing, perhaps a small check box next to each prayer so a user can tick the prayer he/she performed and then later look at some statistics to see if they are praying properly or slacking or missing out prayers etc…
Thanks very much for this helpful tool :)
September 10th, 2007 at 10:09 pm
Assalamou alaykom,
I followed the instructions from the beginning of this post, and now, after installing itl, I ran ./configure in minbar directory, then with make I have the following error (the messages are displayed in french, but they should be understood) :
Making all in src
make[1]: entrant dans le répertoire « /home/kaiser/packages/minbar-0.1/src »
/bin/sh ../libtool –tag=CC –mode=link gcc -g -O2 -o minbar minbar-main.o -litl -pthread -L/lib -lgconf-2 -lORBit-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0
gcc -g -O2 -o minbar minbar-main.o -pthread -litl -L/lib -lgconf-2 -lORBit-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lz -lm -lglib-2.0
/usr/bin/ld: cannot find -litl
collect2: ld returned 1 exit status
make[1]: *** [minbar] Erreur 1
make[1]: quittant le répertoire « /home/kaiser/packages/minbar-0.1/src »
make: *** [all-recursive] Erreur 1
Can you help me please ? Jazakom allahou khayran …
September 12th, 2007 at 2:37 am
[…] In reality, there had been many tries to create free and open softwares for Linux Operating Systems : some of them are Kprayertime and Minbar. They are still in evolution but I have tried the first mentionned and I am quite satisfied with. These program have also special installation package for debian. […]
September 13th, 2007 at 9:19 am
i install it, work fine, but i can’t change la,long coordinate , city name, click ok, and it give lot of error like this
————————
[fedora@localhost ~]$ minbar
(minbar:5732): libglade-WARNING **: could not find signal handler 'on_enabledathancheck_toggled_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'show_window_clicked_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'on_enabledathanmenucheck_toggled_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'close_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'on_editcityokbutton_clicked_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'quit_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'play_athan_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'on_notifmenucheck_toggled_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'check_quit_callback'.
(minbar:5732): libglade-WARNING **: could not find signal handler 'stop_athan_callback'.
(minbar:5735): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstfaad.so': /usr/lib/gstreamer-0.10/libgstfaad.so: undefined symbol: faacDecDecode
(minbar:5735): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstmodplug.so': /usr/lib/gstreamer-0.10/libgstmodplug.so: undefined symbol: _ZN10CSoundFile4ReadEPvm
(minbar:5735): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/gstreamer-0.10/libgstffmpeg.so: undefined symbol: img_resample
November 1st, 2007 at 4:53 am
Assalamu Alikum brother.
I am having all the difficulties in the world to install you minbar-0.1!
I have installed all the dependencies needed (-dev versions) and here is the error I am getting with ./autogen.sh
[hatim@hep-ex minbar-0.1]$ ./autogen.sh/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.61
checking for automake >= 1.9...
testing automake-1.10... found 1.10
checking for libtool >= 1.4.3...
testing libtoolize... found 1.5.22
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... found 2.12.13
checking for intltool >= 0.25...
testing intltoolize... found 0.35.5
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.21
checking for gnome-common >= 2.3.0...
testing gnome-doc-common... found 2.18.0
Checking for required M4 macros...
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
Processing ./configure.ac
Running libtoolize...
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Running intltoolize...
Running gnome-doc-common...
Running aclocal-1.10...
Running autoconf...
Running automake-1.10...
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk ... gawk
What is the meaning of the "Advice" he gives me on the first few lines.
I use Fedora 7 on my 32bits laptop, but I also want to install it on my AMD Athlon 64 bits.
Jazakumu'llah Khairan,
Hatim
December 20th, 2007 at 12:27 am
Djahid,
Al-salam 3alaykum.
It is December 19 2007 and I was looking at Minbar’s Hijri Date and realized a small concern. How is Minbar generating the Hijri, date, and for that matter the prayer times. I suggest a central DB on djhed.com with maybe an option to use its own calculator or the DB.
My concern is due to the Reason that the Minbar is saying today is the 9th of Zulhijjah.
Eid mubarak brother.
Thanks,
Hatem Nassrat
December 22nd, 2007 at 11:56 am
Hatem,
That is a very valid concern. The issue of Hijri date correction is important indeed. I am intending to make it possible for someone to correct the date by a range of [-2, +2], because hijri date determination is sometimes human.
Hatim and Fedoraguy: Minbar 0.2 is due in a few hours. Check back at http://djihed.com/minbar and try that instead.
Djihed
September 2nd, 2008 at 11:10 pm
thanks a lot for this application .. can tell how much this application helps me and great that u did this based on latitudes and longitudes which makes this truly global in use :) ( for instance my city is not on the list ) …