Prayer Times Plasmoid

Plasma 4 Extensions

Source (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
4 .6
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:

12 years ago

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::DataEngine 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 Fagr after midnight
- More work towards internationalization
- Code cleanups

0.1:
----
- Initial Release

idanse

11 years ago

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

Report

saqer

11 years ago

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!
--------------------------------------

Report

saqer

11 years ago

Solved:
yum install kdebase-workspace-devel

Report

Hase

12 years ago

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

Report

kshawky

12 years ago

I gave compiled correctly uptill ITL package!! It can not find it!

What is the ITL Library ?

Report

C

hesham

12 years ago

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.

Report

bakthariq

12 years ago

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.

Report

Suayb

12 years ago

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

Report

shamshir48

12 years ago

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

Report

shamshir48

12 years ago

I'm using openSUSE 11.0

Report

Suayb

12 years ago

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.

Report

12 years ago

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::DataEngine 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 Fagr after midnight
- More work towards internationalization
- Code cleanups

0.1:
----
- Initial Release

12345678910
1
product-maker phiga2 Feb 10 2011 3 bad
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.4
updated Jun 22 2008
added Jun 22 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2