maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Noor (Quran app) working on the N900 (https://talk.maemo.org/showthread.php?t=44293)

MohammadAG 2010-02-12 20:13

Noor (Quran app) working on the N900 (optified)
 
Looked around the forums for a Quran app today, and to my surprise I couldn't find any.

So I looked for a GTK Quran app and found Noor (written in Python)

Sourceforge site: http://noor.sourceforge.net/

Application now in extras-devel!
Quran texts are optified.
Big thanks to qwerty12 for hildonizing the application!
http://maemo.org/packages/view/noor/

Application is available in 7 languages:
en (English - default)
ar (Arabic)
fa (Farsi)
ml (Malayalam)
ps (Pushto)
tr (Turkish)
nl (Dutch) (Thanks to HtheB!)
Change the
Code:

lang = XX
in /home/user/.noor to the language you want, you can use leafpad, nano, vi, or any other editor to do this.

Screenshots from N900, v0.8-4
http://i43.tinypic.com/166b09t.jpg
Translation package needed for English translation
http://i43.tinypic.com/107nr6f.jpg

http://i42.tinypic.com/23m4kud.jpg

http://i43.tinypic.com/r0q9v6.jpg

matar 2010-02-12 20:18

Re: Noor (Quran app) working on the N900
 
thanks for the info
is there a way to get it to extras devil

ARJWright 2010-02-12 20:25

Re: Noor (Quran app) working on the N900
 
Neat work here. Seems like a similar kind of work is being done with this port as has been done with Rapier. There the application was ported to Maemo 5, but generally just put into a working mode so that resources could concentrate on a new-from-ground-up app called Katana.

[slightly off-topic]
Would be nice if Katana could support the Quran as well as Judeao-Christian texts; that would be a bit less work if it could happen and a benefit to the platform community. Not sure of Katana's developers are up for it, but just speaking as a Christian, it would be neat to see the shared workload.

MohammadAG 2010-02-12 20:29

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by matar (Post 523703)
thanks for the info
is there a way to get it to extras devil

I'm trying to build a .deb file for it, if everything goes well enough, I might request an invitation.
(Again though, this is not my app, I only modified the setup.py file)

RevdKathy 2010-02-12 21:09

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by ARJWright (Post 523720)
[slightly off-topic]
Would be nice if Katana could support the Quran as well as Judeao-Christian texts; that would be a bit less work if it could happen and a benefit to the platform community. Not sure of Katana's developers are up for it, but just speaking as a Christian, it would be neat to see the shared workload.

I'd love to see a whole library of spiritual and religious texts from many traditions supported on the one software. :)

qwerty12 2010-02-13 12:57

Re: Noor (Quran app) working on the N900
 
Here's my attempt to package and Hildonize it (source and all): http://qwerty12.qole.org/noor/

I must stress that I've only done the basic Hildonizing; there's a lot more that could be done. But I don't know Python and its anal-retentiveness over indentation pisses me off.

It's packaged, but my packaging skills are quite rusty so you may encounter things that may need to be fixed. That said, it installs and uninstalls fine.

Ali bhai 2010-03-05 00:46

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by qwerty12 (Post 524630)
Here's my attempt to package and Hildonize it (source and all): http://qwerty12.qole.org/noor/

I must stress that I've only done the basic Hildonizing; there's a lot more that could be done. But I don't know Python and its anal-retentiveness over indentation pisses me off.

It's packaged, but my packaging skills are quite rusty so you may encounter things that may need to be fixed. That said, it installs and uninstalls fine.

hey salaam, can you break down for a newb how to download and install this?

Djonma 2010-03-05 12:28

Re: Noor (Quran app) working on the N900
 
I can't help on the programming side yet, but I'd be happy to offer my time for bringing the Dhammapada into a combined app. It'd be very nice if there was a specific text format so that any texts could be put into it. There are a lot of Buddhist Sutras.

Nicola

noobmonkey 2010-03-05 12:32

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by Ali bhai (Post 556251)
hey salaam, can you break down for a newb how to download and install this?

If it is a deb file, you should be able to visit his link, and click the deb file link, save it to your phone, then use file manager and just click the deb (Run it) :D

Ali bhai 2010-03-05 16:46

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by noobmonkey (Post 556785)
If it is a deb file, you should be able to visit his link, and click the deb file link, save it to your phone, then use file manager and just click the deb (Run it) :D

I tried that, theres 2 deb files I saved them all but when i click on them it says it cannot install it cuz it is missing something.

noobmonkey 2010-03-05 16:49

Re: Noor (Quran app) working on the N900
 
ahhh well you need to explain the @Something@ :D - list what they are and you might receive goodies in the form of a terminal command to help you fix the something problems :D

noobmonkey 2010-03-05 16:50

Re: Noor (Quran app) working on the N900
 
Oh and my keyboard keeps swapping between US and UK so my @'s become "'s and my "'s become @'s! lol

Ali bhai 2010-03-05 16:59

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by noobmonkey (Post 557044)
ahhh well you need to explain the @Something@ :D - list what they are and you might receive goodies in the form of a terminal command to help you fix the something problems :D

Ok when I clicked on the file called "noor 1.2.1-1maemo0_all.deb" I get an error message saying "Unable to install "Noor". Some application packages required for the instalation are missing"
Then under application details, on the problems tab it says "Unable to install "Noor" applications packages missing: noor-data (=1.2.1-1maemo0)"


Then When i click on the file marked "noor-data_1.2.1-1maemo0_all.deb" i get a error message saying "Unable to install "noor-data". Incompatible application data"

Im running the latest firmware on the n900.

Hope this info can help?

qwerty12 2010-03-05 17:21

Re: Noor (Quran app) working on the N900
 
Prerequisite: rootsh is installed.

Quote:

root
wget http://qwerty12.qole.org/noor/noor-data_1.2.1-1maemo0_all.deb http://qwerty12.qole.org/noor/noor_1.2.1-1maemo0_all.deb
dpkg -i noor-data_1.2.1-1maemo0_all.deb noor_1.2.1-1maemo0_all.deb
apt-get -f install
rm noor-data_1.2.1-1maemo0_all.deb noor_1.2.1-1maemo0_all.deb

Ali bhai 2010-03-05 17:55

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by qwerty12 (Post 557063)
Prerequisite: rootsh is installed.

again once again sorry please bear with me, i installed rootsh, so those commands you quoted should be entered into xtrminal?

MohammadAG 2010-03-05 18:12

Re: Noor (Quran app) working on the N900
 
Works for me
Edit: I'm not sure if qwerty12 did this but maybe mp-fremantle-generic-pr is a dependancy?

Ali bhai 2010-03-05 18:20

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 557126)
Works for me
Edit: I'm not sure if qwerty12 did this but maybe mp-fremantle-generic-pr is a dependancy?

....ok i can see this may be getting a little over my head.

Thanks to everyone that tried helping

ARJWright 2010-03-05 18:33

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by Ali bhai (Post 557132)
....ok i can see this may be getting a little over my head.

Thanks to everyone that tried helping

Its a bit deep, and that's kind of a consequence of the community and the platform. I'm really hoping Katana would be a solution that would work for those looking for more of a turn-key solution - rather than a turn-key-and-crank-engine-while-spinning-around-3-times one ;)

hayman 2010-03-06 06:12

Re: Noor (Quran app) working on the N900
 
salaam and thanx all ,for this app,is there an app for pray time,like azan or ismalmik finder on this nice n900?

Djonma 2010-03-17 20:40

Re: Noor (Quran app) working on the N900
 
Hi Hayman,

Not sure if there's an app for Prayer Time, I don't usually have specific times myself, not being Muslim, but I'd thought of scheduling Holy Days Prayers in just on the calendar, so it does an alarm 15 mins before the prayer time is due, and then when it starts and the option of a finish time (for me, sometimes the length can be determined by the prayers I'm doing, but for just a meditation session I sometimes like a set time for it).

I did have another thought about a wider app, combining the Holy works of various Religions; it would be nice to be able add texts to it, so we could also add literature too, things now in the open domain, big historical works.

That does seem to be jumping way off topic though, but if the main programme could be like an ereader, and you can load files in particular formats, then I could easily add the Dhammapada as a file download, and then various sutras, and I don't see why it wouldn't be the same to add The Oddessy for example.

Nicola

MohammadAG 2010-03-26 18:20

Re: Noor (Quran app) working on the N900
 
Now in extras-devel
http://maemo.org/packages/view/noor/
Package is optified.

Ali bhai 2010-03-26 18:24

Re: Noor (Quran app) working on the N900
 
Thanks downloading as we speak!

qwerty12 2010-03-26 18:26

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 583567)
Now in extras-devel
http://maemo.org/packages/view/noor/
Package is optified.

Would appreciate it if you could apply (where they make sense) some of my Hildonizing patches from http://qwerty12.qole.org/noor/noor_1...maemo0.diff.gz :)

MohammadAG 2010-03-26 18:29

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by qwerty12 (Post 583576)
Would appreciate it if you could apply (where they make sense) some of my Hildonizing patches from http://qwerty12.qole.org/noor/noor_1...maemo0.diff.gz :)

I thought you didn't put the source up lol
Will patch it soon
Thanks :)

Ali bhai 2010-03-26 18:30

Re: Noor (Quran app) working on the N900
 
When I go to download it it says : "Unable to install 'noor'. Some application packages required for the installation are missing."

MohammadAG 2010-03-26 18:34

Re: Noor (Quran app) working on the N900
 
Ugh I set it to Depends: python-gtk and it's not installing through app manager, will fix this now

MohammadAG 2010-03-26 18:34

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by Ali bhai (Post 583580)
When I go to download it it says : "Unable to install 'noor'. Some application packages required for the installation are missing."

Bare with me, should be fixed in less than half an hour :)

Ali bhai 2010-03-26 18:36

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 583585)
Bare with me, should be fixed in less than half an hour :)

No problem, Ill wait and continue thanking you:D

MohammadAG 2010-03-26 18:48

Re: Noor (Quran app) working on the N900
 
Changes fixed and package built, just waiting for it to get moved into extras-devel

MohammadAG 2010-03-26 19:15

Re: Noor (Quran app) working on the N900
 
Fixed package now in extras-devel

aiyaznz 2010-03-26 19:34

Re: Noor (Quran app) working on the N900
 
Salam guys. I have a request for an application. Would you guys be able to create something like this http://appshopper.com/utilities/halal-scanner . It looks like a brilliant little app. Would make my life alot easier aswell as the rest of the muslims around the world. Thanks.

Allah Hafiz

HtheB 2010-03-26 19:41

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by aiyaznz (Post 583649)
Salam guys. I have a request for an application. Would you guys be able to create something like this http://appshopper.com/utilities/halal-scanner . It looks like a brilliant little app. Would make my life alot easier aswell as the rest of the muslims around the world. Thanks.

Allah Hafiz

Create a new topic for it :)

MohammadAG 2010-03-26 20:45

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by qwerty12 (Post 583576)
Would appreciate it if you could apply (where they make sense) some of my Hildonizing patches from http://qwerty12.qole.org/noor/noor_1...maemo0.diff.gz :)

I'm using patch to patch the files, but it seems to be only patching the /debian directory (control, changelog etc...)

What's the command to do this?

qwerty12 2010-03-26 20:51

Re: Noor (Quran app) working on the N900
 
Quote:

Originally Posted by MohammadAG (Post 583735)
I'm using patch to patch the files, but it seems to be only patching the /debian directory (control, changelog etc...)

What's the command to this?

Yep, the diff.gz contains the packaging stuff and I get Quilt to apply the patches found in debian/patches during the build process :)

In short: Check debian/patches and check the patches, too, for I was feeling rather narcissistic when making them and I'm also no good at Python :)

MohammadAG 2010-03-27 14:28

Re: Noor (Quran app) working on the N900
 
Patched, manually (wanted to keep in the edited files for optification as I didn't use maemo-optify, I did it by hand) :)
Uploading to extras-devel

MohammadAG 2010-03-27 15:29

Re: Noor (Quran app) working on the N900
 
IT WORKED! (really didn't expect it to lol)
Also fixed the Hildon Application Manager icon, it should be transparent now.
Added a Choose Sura to the top title bar menu (hildon menu)

Again, thanks qwerty12 :)

P.S I'd be lying to you if I said I knew Python (only know some PyS60) :p

MohammadAG 2010-03-27 18:11

Re: Noor (Quran app) working on the N900
 
Minor update, since the application doesn't open a window at startup I decided to change the way the .desktop (icon in menu) behaves.
Update is now in extras-devel

HtheB 2010-03-27 23:04

Re: Noor (Quran app) working on the N900
 
Works great! :)
keep up the good work

Adib 2010-03-27 23:07

Re: Noor (Quran app) working on the N900
 
I will take a look .. Thanks man..

karatchov 2010-03-31 17:01

Re: Noor (Quran app) working on the N900
 
Hello,
I'll be glad if you take a look at this thread and post your comments.

Thanks


All times are GMT. The time now is 08:05.

vBulletin® Version 3.8.8