maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Bible App for Maemo 5 Device(s) (https://talk.maemo.org/showthread.php?t=31114)

pamadio 2009-11-22 12:56

Re: Bible App for Maemo 5 Device(s)
 
Quote:

Originally Posted by Nathan (Post 385873)
Sorry for the delay I had some family issues crop up. I've submitted a new version today with this change.

Wich version of sword has this change available ?

I just apt-get update having the extras-devel repository enabled and installed sword16 (1.6.0a-0maemo3). However; /usr/share/sword is still the same.

If i apt-get source it, the sword16.install also still mention usr/share/sword/locales.d/*

Nathan 2009-11-22 17:56

Re: Bible App for Maemo 5 Device(s)
 
Quote:

Originally Posted by pamadio (Post 385996)
Wich version of sword has this change available ?

I just apt-get update having the extras-devel repository enabled and installed sword16 (1.6.0a-0maemo3). However; /usr/share/sword is still the same.

If i apt-get source it, the sword16.install also still mention usr/share/sword/locales.d/*

Argh, you are right, I know I changed the install file -- I must have changed the debian control files in the wrong directory. Now that was really stupid. ;-) I'll submit a fixed version right now. maemo4 should have the fix once it compiles. The maemo4 has been submitted, probably take a couple hours to get compiled and moved into the testing repository.

Nathan

pamadio 2009-11-24 21:03

Re: Bible App for Maemo 5 Device(s)
 
rapier 1.0.5-0 has been uploaded in fremantle extras-devel.

Nathan 2009-11-24 23:08

Re: Bible App for Maemo 5 Device(s)
 
Quote:

Originally Posted by pamadio (Post 389932)
rapier 1.0.5-0 has been uploaded in fremantle extras-devel.

Sweet!

Nathan

twoboxen 2009-11-27 03:34

Re: Bible App for Maemo 5 Device(s)
 
Hey guys, thanks for working on this app! Do you guys have any idea when it might make it into maemo-testing?

Thanks!
Matt

RevdKathy 2009-11-27 08:24

Re: Bible App for Maemo 5 Device(s)
 
Mo is drawing a deep breath and checking he has everything working properly right now. But in a few days he will be volunteering to test - provided you hold his hand, help me to back him up and sort any problems he may develop. He wants to be involved in this project, and so do I.

maluka 2009-11-29 06:49

Re: Bible App for Maemo 5 Device(s)
 
Can this app be used to read any other kinds of documents?

Nathan 2009-11-29 07:11

Re: Bible App for Maemo 5 Device(s)
 
Quote:

Originally Posted by maluka (Post 398610)
Can this app be used to read any other kinds of documents?

Nope.

Nathan

andrewfblack 2009-11-30 17:02

Re: Bible App for Maemo 5 Device(s)
 
tried to install today but its conflicting with gnome-python and I can't install it

pamadio 2009-11-30 17:24

Re: Bible App for Maemo 5 Device(s)
 
is not the n900 supposed to come with python-gnome2 instead of gnome-python ? At least that what was available on the sdk.

twaelti 2009-11-30 21:25

Re: Bible App for Maemo 5 Device(s)
 
No, gnome-python is ok, 2.18.0-2maemo6 is the latest.

pamadio 2009-12-01 11:00

Re: Bible App for Maemo 5 Device(s)
 
Ok, rapier_1.0.5-1 has just been pushed in the extras-devel repository. This one depends on gnome-python

joshn53 2009-12-03 23:23

Re: Bible App for Maemo 5 Device(s)
 
Well, I recently received an actual device, so I was able to get Katana running on the N900. However, the current Qt libraries are pretty bad (not integrated into hildon at all), so it's not that nice. Does anyone know when Qt 4.6 is going to land in extras?

flux41 2009-12-04 16:09

Re: Bible App for Maemo 5 Device(s)
 
I have my n900 now, so if you want me to test something just let me know. I'll try to install and play around with both Rapier and Katana this weekend.

andrewfblack 2009-12-04 16:45

Re: Bible App for Maemo 5 Device(s)
 
Rapier installs now but crashes when it tries to load

ARJWright 2009-12-04 17:09

Re: Bible App for Maemo 5 Device(s)
 
Here are some (user acceptance) preliminary test script(s) for Rapier on Maemo 5. Please reference each test and use this format to report on items for Rapier only.

Test 1: Can find application within Application Manager
Result:
Stepts to Reproduce:

Test 2: Can install from Application Manager
Result:
Steps to Reproduce:

Test 3: Can install (load) Bible from within Rapier
Result:
Steps to Reproduce:

Test 4: Can view text from loaded Bible
Result:
Steps to Reproduce:

Test 5: Can utilize all application functions
Result(s):
Steps to Reproduce

EDIT: Will reread the thread to add a development test for Rapier and Katana; user test for Katana will follow the items in this post.

ARJWright 2009-12-04 17:14

Re: Bible App for Maemo 5 Device(s)
 
Updated progress report

I need to see if garage.maemo can handle this. It would be better from a Maemo community side of things if it did.

twoboxen 2009-12-04 17:18

Re: Bible App for Maemo 5 Device(s)
 
Yes, I can help test.

Isn't there an issue with Qt not being optified yet? I don't have the space on my device to fit Qt under the root partition.

andrewfblack 2009-12-04 18:10

Re: Bible App for Maemo 5 Device(s)
 
Test 1: Can find application within Application Manager
Result: Yes
Stepts to Reproduce:
Open Application Manager, Click Download, Search for Rapier

Test 2: Can install from Application Manager
Result: Yes
Steps to Reproduce: Click Application, Click Install

Test 3: Can install (load) Bible from within Rapier
Result:No
Steps to Reproduce:Opened Rapier from Application Menu, but the application closed while trying to open. Tried a reboot of N900 didn't help.

Test 4: Can view text from loaded Bible
Result:
Steps to Reproduce:

Test 5: Can utilize all application functions
Result(s):
Steps to Reproduce

Nathan 2009-12-04 18:21

Re: Bible App for Maemo 5 Device(s)
 
Quote:

Originally Posted by andrewfblack (Post 410422)
Test 3: Can install (load) Bible from within Rapier
Result:No
Steps to Reproduce:Opened Rapier from Application Menu, but the application closed while trying to open. Tried a reboot of N900 didn't help.

Can you check and see what version of sword was installed. I've been reading some issues on the dev mailinglist about our wonderful repositories, that the older versions of stuff will be used instead of newer. If your device picked up the prior versions of sword, then it might crash because of the things that pamaudio asked I that I add to the latest version. I believe the current version is "maemo4"

Nathan

joshn53 2009-12-04 18:35

Re: Bible App for Maemo 5 Device(s)
 
I'm using the latest version (maemo4), and it shuts down immediately. Running it from the commandline indicates that gconf isn't installed:

ImportError: No module named gconf

andrewfblack 2009-12-04 18:38

Re: Bible App for Maemo 5 Device(s)
 
looks like I have 1.60a-0maemo4

pamadio 2009-12-04 21:37

Re: Bible App for Maemo 5 Device(s)
 
i'm lost.

Things works on my sdk.

Rapier import the module the following way:

import gconf

Now, if i run python2.5, import gconf and ask help(gconf), it tells me:

FILE
/usr/lib/pymodules/python2.5/gtk-2.0/gconf.so

What i do not understand is, this file seems to belong to no package at all:

[sbox-FREMANTLE_X86: ~/dev/rapier/trunk] > dpkg -S /usr/lib/pymodules/python2.5/gtk-2.0/gconf.so
dpkg: /usr/lib/pymodules/python2.5/gtk-2.0/gconf.so not found.

On the other hand i have a python-gconf package but it seems to have this file put somewhere else:

[sbox-FREMANTLE_X86: ~/dev/rapier/trunk] > dpkg -L python-gconf |grep gconf.so
/usr/lib/pyshared/python2.5/gtk-2.0/gconf.so

I currently have no clue on how to correctly import gconf in fremantle.

joshn53 2009-12-04 21:45

Re: Bible App for Maemo 5 Device(s)
 
Not sure if this helps, but on my device, gconf.so is found at:
/usr/lib/python2.5/site-packages/gtk-2.0/gnome/gconf.so

Running python directly from the shell, I can't import gconf, but I can import gnome.gconf.

pamadio 2009-12-04 21:47

Re: Bible App for Maemo 5 Device(s)
 
I try the following

try:
from gnome import gconf
except:
import gconf

I just builded rapier_1.0.5-2 with this change and uploaded in the extra devel repository. Should be available in a couple of hours. Change are already available in the svn repository.

andrewfblack 2009-12-08 15:40

Re: Bible App for Maemo 5 Device(s)
 
Test 1: Can find application within Application Manager
Result: Yes
Stepts to Reproduce:
Open Application Manager, Click Download, Search for Rapier

Test 2: Can install from Application Manager
Result: Yes
Steps to Reproduce: Click Application, Click Install

Test 3: Can install (load) Bible from within Rapier
Result:Yes
Steps to Reproduce:Opened Rapier from Application Menu, Click Menu, Click Manage, Choose Bible, Wait, Works Fine

Test 4: Can view text from loaded Bible
Result: Yes
Steps to Reproduce:

Test 5: Can utilize all application functions
Result(s):Yes
Steps to Reproduce

Over all I tested every feature there was I did run into problems like searching the word God, if the word appears that may times Rapier locks up maybe you can put something in that limits search to a certain number of times to keep it from doing that. UI needs a little bit of work to make it finger friendly. Also I would the search icon is missing. Might want to talk josha.maverick about doing some cool icons. Over all it runs great. Here are the first on device screenshots I believe.

http://dl.dropbox.com/u/2240466/screenshot31.png
http://dl.dropbox.com/u/2240466/screenshot33.png

ARJWright 2009-12-08 16:44

Re: Bible App for Maemo 5 Device(s)
 
Andrew, great feedback. Thanks for testing. Anyone else with an N900 that can test on Rapier and give some feedback that would be great.

After a few more pieces of feedback, we can move to consider goal #1 (Rapier ported to Freemantle) completed and can move onward towards the Qt-based Katana.

flux41 2009-12-08 16:51

Re: Bible App for Maemo 5 Device(s)
 
I will post my testing feedback tonight after I get off of work.

Zibeb 2009-12-08 21:38

Re: Bible App for Maemo 5 Device(s)
 
I have an N900, and would be happy to help test this. I was using Rapier on my N810, so it's good to see it coming to Maemo5.

ARJWright 2009-12-08 21:46

Re: Bible App for Maemo 5 Device(s)
 
Quote:

Originally Posted by Zibeb (Post 417474)
I have an N900, and would be happy to help test this. I was using Rapier on my N810, so it's good to see it coming to Maemo5.

Good stuff;
Can you just follow the steps noted in this post so that those developing would have a clear means to look for issues if any come to light:

http://talk.maemo.org/showpost.php?p...&postcount=256

pamadio 2009-12-09 16:14

Re: Bible App for Maemo 5 Device(s)
 
Got the n900 today (feels like christmas already :-) )

So, i was able to test rapier:

Test 1: Can find application within Application Manager

I found it in the list of all application available after enabling the extras devel repository.

I did not find it on the application manager "search" widget looking for "rapier" though.


Test 2: Can install from Application Manager
yes

Test 3: Can install (load) Bible from within Rapier
yes

Test 4: Can view text from loaded Bible
yes

Test 5: Can utilize all application functions
yes, and no...

Worked:
module download
preferences settings (default module, last page read "bookmark", append line at the end of verses)
clucene indexing and searching index.
strong's number display and dictionnary

Not working:
changing font size
full screen (that s frustrating, i may have a closer look at this after i m bored playing with the whole new thing :-) )

flux41 2009-12-09 17:33

Re: Bible App for Maemo 5 Device(s)
 
Sorry I said I was going to post this last night, but I didn't get around to it until my lunch break.

Test 1: Can find application within Application Manager
Yes, after I finally got the extras-devel repository to work.

Test 2: Can install from Application Manager
Yes

Test 3: Will it start through the Application menu
No: gconf error

Test 4: (A few days later) Update Rapier via the update manager
Yes. This worked flawlessly

Test 5: (After Update) will it start through the Application menu
Yes

Test 6: Can install single bible from the manage modules (remote) interface
Yes

Test 7: Can install multiple bibles from the manage modules (remote) interface
Yes. However, I had to initiate the download a second time to the download failing the first time. I am not sure if this was due to an internet connectivity or server availability or if it is a code bug. It might be something to keep on the radar.


Test 8: Can view text from the multiple bibles installed
Yes

Test 9: Can the installed bibles be indexed
Yes. I tried this twice. The KJV took 10+ minutes but it worked.

Other features:
Strongs.
I manually installed the Strongs DB as the program required. It seems to work correctly with the KJV Strongs numbers. It may be easier for the user if we can have Rapier grab the zip file and unzip it in the correct directory.

Search
This functionality crashed stalled out when I search for “For God so loved” in the KJV. I have to force quit the application.

Strongs
This functionality seems to be working correctly without issue.

Zibeb 2009-12-09 21:29

Re: Bible App for Maemo 5 Device(s)
 
Test 1: Can find application within Application Manager
Result: Yes
Steps to Reproduce:
1) Enable Extras-Devel
2) Search for “rapier”
Note: I didn’t catch what category it is under, but it is in there.


Test 2: Can install from Application Manager
Result: Yes
Steps to Reproduce:
1) Select rapier in application manager
2) Agree to usual Nokia “If it breaks, it’s not our fault” message
3) Tap install
4) App Manager does the rest


Test 3: Can install (load) Bible from within Rapier
Result: Yes
Steps to Reproduce:
1) Open Menu (Note: menu is in OS2008 style, not Maemo5’s usual finger-friendly set up.)
2) Tap Manage (Note: manage window pops up from bottom like normal)
3) Open the remote tab
4) Tap “refresh”
5) Pick the language
6) Check the boxes for the Bibles you want
7) Hit ok
8) Wait. (Note: the application gives notifications about what it is doing. Installing a Bible gives 4 notifications: 3 pertain to copying the modules, and 1 pertains to the operation being successful.)


Test 4: Can view text from loaded Bible
Result: Yes
Steps to Reproduce:
1) Bible automatically shows up on Genesis 1:1 when it is installed
2) Menu > Modules > (Version) switches bibles


Test 5: Can utilize all application functions
Result(s): Everything so far!
Tested functions:
1) Book navigation menu
2) Chapter navigation buttons
3) Indexing (More detail later)
4) Search
5) Module Manager (Including remote Bible installation)
6) Strong’s numbers (in KJV)
7) Append new line (Didn’t work until I rebooted the application, needs to change chapters to take effect)
8) Change default module
9) Multitasking (Worked great, even in the middle of indexing)


Final notes:
UI – The UI is still very OS2008, which is to be expected for a port. I will note, on the other hand, that I am surprised how much has been Maemo5ified. Here are some things of importance:

Scrolling: The Bible text scrollbars are big enough to be finger friendly, but in all of the menus you’re gonna need a stylus or a fingernail. Kinetic scrolling would be nice here. Also, you can drag text upwards but it tries to drag and select at the same time; it did this in OS2008 as well. Maybe we should use hover mode? That’d be cool…

Menus: As stated before, the main menu needs to be in the finger-friendly format. This is the most out-of-place thing in the whole application.

Book navigation: Maemo5 really doesn’t do pulldown menus anymore; it uses a kinetic scrollable menu system. This would be really nice for the Book Chapter and Verse navigation pulldowns. (For example, look at the date and time selection system in the calendar app. I can’t remember if that’s included in the SDK)


Indexing – It worked!! I set it to indexing the ESV, and it finished in about 5 minutes. Also, indexing worked in the background and only used idle CPU cycles instead of dominating the entire device. “top” in Xterminal showed it running at about 80% CPU, and 4.4% MEM. Once indexed, a search for the word “world” came up in about 2 seconds.

Please note: indexing never worked for me in OS2008. It would sit there and think for a while, and then pop open a window that said “something went wrong.” No such messages here, I am very impressed.


Fullscreen and text resizing – As noted by Pamadio, neither of these are functional, because the device and OS work a little differently from the N810. There is no fullscreen button, (it drives me nuts) and the up down rocker is almost always volume only. Please note that the web application does use the rocker for text size, so that’s not out of the question.

Incredible port, it’s looking great! I feel confident enough in the application to leave my paperback Bible at home next Sunday. (That's saying a lot)

cardiff-blues 2009-12-09 21:41

Re: Bible App for Maemo 5 Device(s)
 
Hi
Sorry for sounding a bit unlearned in these matters but I would very much like to get the Bible on my N900 - KJV if possible. Can someone point me to a specific post of how to do this, as much of what I have read in this thread is double dutch to me.

Thanks..

ARJWright 2009-12-09 22:15

Re: Bible App for Maemo 5 Device(s)
 
@cardiff-blues: sorry for the technical-dutch of this thread, but its mainly centered around development. I believe that the Rapier website has a how-to for how to use the application. However, this has not been updated for the N900 since Rapier is still undergoing testing for the N900/Maemo 5.

@Zibeb: yea, being that this is only a port,, the UI just won't see the polish that many other Maemo 5 apps have. Once its ported and the author/lead developer is satisfied, it will pretty much be retired to a maintenance mode (unless there are others who'd like to tweak and update it).

Hence the request starting this thread to make something that is more befitting Maemo 5 and beyond. Things like hover mode, better finger-usability, and text support will be a lot better becaus eof the lessons learned from Rapier. We've gained a ton from Pamado's work, and so we'd like to leverage those lessons as much as possible so that Katana (and indirectly any ported application) can be developed and used effectively. Thanks for your feedback though, you give lots of solid items to pay attention to for Katana (personally am keeping notes for better process wireframes to be built).

pamadio 2009-12-09 22:36

Re: Bible App for Maemo 5 Device(s)
 
Quote:

Originally Posted by flux41 (Post 419271)
Search
This functionality crashed stalled out when I search for “For God so loved” in the KJV. I have to force quit the application.

I am not sure clucene search works for whole sentences. I always used it for a single word only.

SlackNet 2009-12-12 01:11

Re: Bible App for Maemo 5 Device(s)
 
I would love to test this, I just got my n900 this week, just let me know.

ARJWright 2009-12-12 01:44

Re: Bible App for Maemo 5 Device(s)
 
Just go ahead and test; please format your report using the testing script in post #256.

x61 2009-12-12 15:34

Re: Bible App for Maemo 5 Device(s)
 
Yes, I have tested it and it works great.

joshn53 2009-12-24 19:37

Re: Bible App for Maemo 5 Device(s)
 
A status update for Katana:
* I now have an actual device, so I've been able to do live testing.
* Speed: Loading is a little slow (~5 seconds), but after that, it's reasonable snappy.
* Integration: Kinetic scrolling, hildon menu, and portrait mode are all working.
* Functionality: Basic browsing, verse selection, and searching work. Search results aren't displayed nicely on the actual device; I'll probably work on this next.
* Packaging: I went ahead and created the debian/ files needed to create a proper .deb package. This is the first time I've done this, so it might not be done correctly, but it works for me. Nathan/pamadio, would you mind looking over the files to make sure they look right?
* Qt integration: I'm using the qt4-maemo5 packages in the extras repo. These seem to be working well, with the exception of gesture support; see below.

There's still a lot of stuff not done:
* Right now you swipe vertically to scroll; I'd also like to be able to swipe horizontally to page up/down. This is on hold because Qt's gesture support is broken on the N900 right now (they have screencasts with it working, but their gestures sample doesn't work on the device.)
* Better use of the keyboard: starting to type on the keyboard should either pull up the search dialog or verse selection - I'm not sure which.
* I haven't started on module download/installation.
* It would be nice to have configurable font size.
* Oh, I temporarily borrowed BibleTime's icon. Someone should come up with one. I really think that it should be a Bible, since there's nothing in the name to indicate that it's a Bible reader.


All times are GMT. The time now is 22:13.

vBulletin® Version 3.8.8