Prayer Times Plasmoid

Plasma 4 Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
4.7

Description:
This is a Plasmoid that tells Islamic prayer times in KDE 4. It supports being placed on the desktop or on the panel (or both at the same time) and has support for setting different sounds for the Adhan and changing timezones and calculation methods for the prayer times. Comments and suggestions are very welcome.

Update: Added working i386 and amd64 Debian packages. You will need to pull in the KDE4 packages from experimental. I don't have Ubuntu, if anyone wants to try these there and let me know if they work would be much obliged, if they don't I can package them there as well. Also, if anyone would like to package this for other distributions or architectures please let me know.
Last changelog:

0.4:
----
- Updated to use the latest KDE 4.1 API
- Fixed notifications so that there is a 15 minute pre-announcement and the actual adhan occurs at the right time rather than an hour earlier

0.3:
----
- Switched to using a Plasma:ataEngine model to facilitate sharing data with
other plasmoids in the future. Still needs work obviously
- Very slight code cleanup

0.2:
----
- Added support for notifications, 15 minutes and 0 minutes before, see README
- Fixed a minute off bug
- Fixed applet showing time left till Duhr instead of %@?# after midnight
- More work towards internationalization
- Code cleanups

0.1:
----
- Initial Release


Ratings & Comments

11 Comments

idanse

Salam, the Debian package does not work for KDE 4.2. Is there a newer version? It could really be a very useful program! wassalam idanse

saqer

I got this compile error. Help is appreciated. ------------------------------------- -- Found automoc4: /usr/bin/automoc4 CMake Error at /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:53 (MESSAGE): Could not find REQUIRED package Plasma Call Stack (most recent call first): /usr/share/kde4/apps/cmake/modules/FindPlasma.cmake:30 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:8 (find_package) -- Configuring incomplete, errors occurred! --------------------------------------

saqer

Solved: yum install kdebase-workspace-devel

Hase

I compiled succesiful but i dont view plasmoid on add widget [ 75%] Built target plasma_applet_prayertimes [100%] Built target plasma_engine_prayertimes Install the project... -- Install configuration: "Debugfull" -- Up-to-date: /usr/lib/kde4/lib/kde4/plasma_applet_prayertimes.so -- Up-to-date: /usr/share/kde4/apps/plasma-applet-prayertimes/plasma-applet-prayertimes.notifyrc -- Up-to-date: /usr/share/kde4/apps/desktoptheme/default/widgets/plasma-applet-prayertimes-starpattern.png -- Up-to-date: /usr/share/kde4/apps/desktoptheme/default/widgets/plasma-applet-prayertimes.svg -- Up-to-date: /usr/lib/kde4/share/kde4/services/plasma-applet-prayertimes.desktop -- Up-to-date: /usr/lib/kde4/share/icons/oxygen/32x32/apps/./kaaba-icon.png -- Up-to-date: /usr/lib/kde4/share/icons/oxygen/16x16/apps/./kaaba-icon.png -- Up-to-date: /usr/lib/kde4/lib/kde4/plasma_engine_prayertimes.so -- Up-to-date: /usr/lib/kde4/share/kde4/services/plasma-dataengine-prayertimes.desktop I use opensuse 11 with kde 4.1

kshawky

I gave compiled correctly uptill ITL package!! It can not find it! What is the ITL Library ?

hesham

Hi, libitl is the Islamic Times Library (I'm guessing at the acronym here). You can find the source packages at: http://www.arabeyes.org/project.php?proj=ITL As you are running SuSE you might try asking some of the other members where they got their packages (I use Debian), or you could compile directly from source. Please let me know if I can be of assistance.

bakthariq

I got it build in Kubuntu Intrepid. One suggestion though: the file for athan.ogg is pointing to minbar package. Maybe it could be included by default. Other than that, Good work. Thank you.

Suayb

Thanks for this plasmoid brother, it is very useful for me.

shamshir48

I've encountered the following problem.. cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ CMake Error: The source directory "/root/prayer-times-plasmoid-0.4/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. After copying the CMakeLists.txt from source directory to 'build' directory, it generated the following message... cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/ -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:72 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /root/.kde4/share/apps;/usr/share/apps;/etc/kde4/share/apps;/usr/share/kde4/apps Call Stack (most recent call first): CMakeLists.txt:6 (find_package) CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done then error occurred where i still stuck cmake .. CMake Error: The source "/root/prayer-times-plasmoid-0.4/CMakeLists.txt" does not match the source "/root/prayer-times-plasmoid-0.4/build/CMakeLists.txt"used to generate cache. Re-run cmake with a different source directory. Your kind help required... Regards! bsaeed48@yahoo.com

shamshir48

I'm using openSUSE 11.0

Suayb

Selamunaleykum. I suppose the hierarchy of directory in this order: prayer times/build, and you are in the build directory. In this case the thing you need to do is: cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4 .. You also need to install kde4 development packages.

Pling
0 Affiliates
Details
license
version 0.4
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0