maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   request-update fbreader to arm stable (v 0.12.10-3) (https://talk.maemo.org/showthread.php?t=61220)

extendedping 2010-08-27 16:49

request-update fbreader to arm stable (v 0.12.10-3)
 
would be really great as toc would work and the swipe to turn page/volume rocker would work too.

here is the link given to me by an fbreader developer a while ago (I assume since he prolvided it to me with no password or restrictions it is ok to share). As you can see the link to stable is at the bottom....

extendedping 2010-08-28 04:26

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
0 replies = 0 interest = 0 chance.

:(

geneven 2010-08-28 04:35

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
"As you can see the link to stable is at the bottom.... "

Oddly enough, I couldn't see that.

extendedping 2010-08-28 04:41

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
cause I'm a *****...

http://scratchpost.dreamhosters.com/...N900/FBReader/

SaintGermain 2010-08-30 19:58

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Current version in unstable repository has a working 'swipe to turn page' for me (it is sometimes to hard get it right, but it works).
I've tried the latest stable version on your link and:
1) I lost the 'fullscreen' button
2) I haven't managed to get the 'swipe to turn page' working
3) Using the volume button to turn page also doesn't work anymore
4) TOC seems to work though

extendedping 2010-08-30 20:24

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
exactly and I need toc...perhaps toc could just b enabled in the current N900 version without a big overhaul?

the the developer said (regarding oreilly) that the toc was in its own xml namespace (whpatever that means. he then referenced this page http://www.daisy.org/z3986-issues

btw you must use a keybinding in the stable version 0.12 that I was given to toggle full screen (I use space bar).

cr0c0 2010-08-30 21:29

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 800550)
0 replies = 0 interest = 0 chance.

:(

Hey man, I've been using FBReader for a looooong time now, but never knew you had a version out. I will definitely check it out. So there is DEFINITELY interest in it.

extendedping 2010-08-31 01:40

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
I cant spell programming, Its not my version I just emailed someone at fbreader support.

geneven 2010-08-31 11:33

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
This version has lots of checkboxes for which online sources to search for books, but I can't see a way to actually search online for a book.

Rob1n 2010-09-02 11:11

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
I've built a 0.12.10 version including all the maemo-specific fixes from the old 0.10 version, but the TOC handling in O'Reilly ebooks is still broken (as it is in the 0.12.10 desktop version).

extendedping 2010-09-02 12:08

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by Rob1n (Post 805096)
I've built a 0.12.10 version including all the maemo-specific fixes from the old 0.10 version, but the TOC handling in O'Reilly ebooks is still broken (as it is in the 0.12.10 desktop version).

Did you look at the link above and was it any help? Again the fbreader developer said that the oreilly books had their toc in a seperate xml space. That is mumbo jumbo talk to me but might be a clue to a smart person like yourself...

Thanks also, if toc gets enabled I'd love to use the maemo specific version...really at this point the only thing pushing me towards android is the fact that I can't effectively read my technical books (oreilly or kindle collection) due to the toc issue.

btw once I emailed the oreilly book to the developer, he emailed me back within hours with the toc enabled version, so I would think that if it can be figured out, it is not very hard. also oreilly books toc work in pocketbook ereaders and they use fbreader...

Rob1n 2010-09-02 12:50

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 805155)
Did you look at the link above and was it any help? Again the fbreader developer said that the oreilly books had their toc in a seperate xml space. That is mumbo jumbo talk to me but might be a clue to a smart person like yourself...

I couldn't see anything relevant there - that's all about audio books. I'll have a look at the underlying XML for the O'Reilly books though and see what I can find.

EDIT: Looks like the O'Reilly books are using the same DTD as the audio books for their TOC. I'll have a look at where the TOC is worked out and see whether I can map in the alternative names.

extendedping 2010-09-02 13:38

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by Rob1n (Post 805194)
I couldn't see anything relevant there - that's all about audio books. I'll have a look at the underlying XML for the O'Reilly books though and see what I can find.

EDIT: Looks like the O'Reilly books are using the same DTD as the audio books for their TOC. I'll have a look at where the TOC is worked out and see whether I can map in the alternative names.

thanks if you have any questions I am pretty sure the fbreader developer could help, he was a very nice guy let me pm you the email address...

extendedping 2010-09-02 16:46

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
and another request (since you are working on it anyway)...

Is there a way to just have fbreader report the title of the book? for these annoying oreilly, they list by author first and then have a little line for the title. To make it worse if there are several authors (and for most of these books there are) the books get listed multiple times in the library....

do I ask too much?

Rob1n 2010-09-02 17:38

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
I've got an initial version done. This includes all the customisations from the previous Maemo release, and adds support for namespaces in the TOC file (works fine now with the O'Reilly ebooks).

You can download:
There's a bug in this FBReader release which stops the formatting from working properly (a lot of books end up with everything centred, regardless of the settings) - this is in the upstream code, so is nothing to do with the changes I've made. Someone did post a quick patch, but it causes all sorts of other breakages and slowdowns. I'll continue looking into this and hopefully post a new version shortly, then look into uploading to extras-devel - I want to check with the current package maintainer first though.

Quote:

Originally Posted by extendedping (Post 805421)
and another request (since you are working on it anyway)...

Is there a way to just have fbreader report the title of the book? for these annoying oreilly, they list by author first and then have a little line for the title. To make it worse if there are several authors (and for most of these books there are) the books get listed multiple times in the library....

do I ask too much?

It's not something I'd want to do - you'd be better asking for that to be changed in the upstream release (as it's not specific to the Maemo implementation). You can also try setting to group by tags - editing or removing the tags should allow you to organise the books pretty much any way you want.

extendedping 2010-09-02 17:51

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
thanks much. I will uninstall the package and use your version asap.
quick question, is this (toc) a hard fix or is it something that could pretty easily be incorporated into the dorian epub reader as well? would be great to have a choice of the two...

extendedping 2010-09-02 18:42

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Hi quick question, before I uninstall libzlibrary and fbreader.

the developer told me that the stable version was 0.12.10-3 and I see you have 0.12.10-1, is that just the versioning name being used for the maemo specific fbreader? thanks.

Rob1n 2010-09-02 20:11

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 805473)
thanks much. I will uninstall the package and use your version asap.
quick question, is this (toc) a hard fix or is it something that could pretty easily be incorporated into the dorian epub reader as well? would be great to have a choice of the two...

The functionality was already in the FBReader code, it just wasn't being used when processing the TOC file. All I did was copy the necessary code over from another file. I've no idea whether Dorian handles namespaces in XML at all.

Quote:

Originally Posted by extendedping (Post 805523)
Hi quick question, before I uninstall libzlibrary and fbreader.

the developer told me that the stable version was 0.12.10-3 and I see you have 0.12.10-1, is that just the versioning name being used for the maemo specific fbreader? thanks.

The final digit there just represents the release number. He's obviously released 3 different versions from the same source code - presumably small changes to the build system, or small patches. I've no idea what the changes were though.

Quote:

Originally Posted by Rob1n (Post 805465)
You can also try setting to group by tags - editing or removing the tags should allow you to organise the books pretty much any way you want.

This actually isn't possible with the current release as the buttons aren't there in Maemo. I've enabled them in a new release (though the graphics don't fit in with the rest of them):

extendedping 2010-09-02 20:19

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by Rob1n (Post 805620)
The functionality was already in the FBReader code, it just wasn't being used when processing the TOC file. All I did was copy the necessary code over from another file. I've no idea whether Dorian handles namespaces in XML at all.



The final digit there just represents the release number. He's obviously released 3 different versions from the same source code - presumably small changes to the build system, or small patches. I've no idea what the changes were though.



This actually isn't possible with the current release as the buttons aren't there in Maemo. I've enabled them in a new release (though the graphics don't fit in with the rest of them):

thanks for all the work you are doing, I am currently not able to totally install the 0.10 version of libzlibrary, arggg. I had the devel version, could not remove it so just instead reverted back to the default n900 version. from there I am able to install your updated fbreader but it does I can't install the updated library, so the icon is there but clicking it just hangs a few seconds and then disappears. :(

Rob1n 2010-09-02 20:42

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 805628)
thanks for all the work you are doing, I am currently not able to totally install the 0.10 version of libzlibrary, arggg. I had the devel version, could not remove it so just instead reverted back to the default n900 version. from there I am able to install your updated fbreader but it does I can't install the updated library, so the icon is there but clicking it just hangs a few seconds and then disappears. :(

What error do you get if you install them using "dpkg -i" as root?

extendedping 2010-09-02 20:49

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Nokia-N900:~# dpkg -l |grep fbreader
ii fbreader 0.12.10-1 e-book reader
rc libzlibrary 0.10.7-13 Platform-dependent part of fbreader
Nokia-N900:~#

that is how things stand. I can't get rid of libzlibrary through apt-get remove apt-get autoremove or apt-get purge, apt-get --purge, apt-get --purge remove etc (you get the point) or the graphical uninstall.

trying now to do 0.12.10-1 says "operaton failed" and libzlibrary 0.12.10-2 says unable to install incompatible application package.

edit here...sorry did not read end of your post will try to download? and then use the dpkg command you gave...I was using the application manager (not clicking download file from your link).

extendedping 2010-09-02 21:01

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
ok the install worked once I did a local download and install from dpkg -i thanks...lets see the toc next :)

extendedping 2010-09-03 03:04

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
ok one last request, I have no idea if it is upstream or easily doable.

swiping the page turn works but makes the annoying left arrow in a box appear. It is not only a distraction, but also blocks you from being able to use the indicator (the little strip on the bottom) to navigate to certain pages because it covers part of the indicator. this is the "show full page" button and can be disab
led in settings. however if it is disabled, I see no way to get out of full screen (short of mapping a physical key to do it).

now at the right of the indicator bar, there is a little space that displays your page in the book. I wish there was an option under preferences/options -- maemo tab that said "tap to right of indicator to toggle full screen".
then it would just move you in/out of full screen without the annoying box.

I hope I am not asking too much here. with the toc now fbreader is really looking up for me. I am using fbreader in portrait mode and have my indicator height set at 60. It is now easy to touch navigate a book cept for the "display a button to exit full screen mode" button popping up every time you either finger swipe to turn a page or try to touch navigate via the indicartor strip.

Thank you very much for listening.

extendedping 2010-09-03 03:32

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
also just noticed (don't know if it's a bug or a fearture) that when show button for full screen is disabled, it gets reenabled if you minimize the app and then come back. In that case you have to click the button (leaving full screen) and click it again to get back to where it does not display the button on touch/swipe.

I'm probably the only guy using this phone who gives a hoot about this stuff, lol.

Rob1n 2010-09-03 14:22

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 805846)
also just noticed (don't know if it's a bug or a fearture) that when show button for full screen is disabled, it gets reenabled if you minimize the app and then come back. In that case you have to click the button (leaving full screen) and click it again to get back to where it does not display the button on touch/swipe.

Probably a bug. The code being used to display the fullscreen overlay button disables it when the app is not foregrounded and re-enables it when it is foregrounded again. As the main FBReader code was just disabling it when you changed the option, it got re-enabled again. I've changed the code to actually delete the overlay object altogether when you change the option (and re-create it if you change back).

Quote:

Originally Posted by extendedping (Post 805835)
ok one last request, I have no idea if it is upstream or easily doable.

swiping the page turn works but makes the annoying left arrow in a box appear. It is not only a distraction, but also blocks you from being able to use the indicator (the little strip on the bottom) to navigate to certain pages because it covers part of the indicator. this is the "show full page" button and can be disab
led in settings. however if it is disabled, I see no way to get out of full screen (short of mapping a physical key to do it).

now at the right of the indicator bar, there is a little space that displays your page in the book. I wish there was an option under preferences/options -- maemo tab that said "tap to right of indicator to toggle full screen".
then it would just move you in/out of full screen without the annoying box.

I hope I am not asking too much here. with the toc now fbreader is really looking up for me. I am using fbreader in portrait mode and have my indicator height set at 60. It is now easy to touch navigate a book cept for the "display a button to exit full screen mode" button popping up every time you either finger swipe to turn a page or try to touch navigate via the indicartor strip.

Not exactly easy, but I've managed to shoehorn it in. There's now an option to show a "FS" label at the far right of the indicator (next to the time, if that's enabled). Tapping this will toggle between fullscreen and windowed modes.

I've also put in a fix for the layout issues (particularly an issue with ePubs created using calibre). Unfortunately I couldn't figure out how it should be using the layout overrides (and why they're not working) so I've just set it to justified by default (instead of centred), as that's my preferred view.

Version 0.12.10-3 can be downloaded from:
Install using dpkg, and watch out for fapman auto-uninstalling libzlibrary. I'll try to contact the previous maintainer (Marat Fayzullin) and see whether he'd prefer to push an update himself or if he's happy for me to do so.

extendedping 2010-09-03 14:48

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
where else but on this forum could you get this type of service?

thanks very much I will download now...

extendedping 2010-09-03 15:09

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
works like a charm as long as you remember to use the normal button to re enable full screen after using fs to exit full screen (hitting the little fs will invariable make you hit the x to close the when it is not in full screen mode). anyway this just went from the category of a useless app to me to an incredibly useful one.

not to get a lynch mob chasing me off the forum...but now if there was another little button in say the upper right corner called toc..I would just enter full screen when I opened the app and then hardly ever ever have to use the fs button as I'd have toc in full screen and just hit a toc link (the blue one) in toc to get back to the same spot I was in or go to another section. of course it that was done then I would just have to ask for a box somewhere in preference that said "open app in full screen mode".

I'm ducking now...

Rob1n 2010-09-03 15:52

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 806274)
not to get a lynch mob chasing me off the forum...but now if there was another little button in say the upper right corner called toc..I would just enter full screen when I opened the app and then hardly ever ever have to use the fs button as I'd have toc in full screen and just hit a toc link (the blue one) in toc to get back to the same spot I was in or go to another section. of course it that was done then I would just have to ask for a box somewhere in preference that said "open app in full screen mode".

I don't think this is possible without a major rewrite. I can only really add "buttons" onto the existing indicator bar (most of the code for this was already there, so it just took a few modifications) - I've looked at adding a TOC button, but unfortunately that won't work either as the zlibrary/fbreader code separation prevents it. The indicator bar is handled entirely within zlibrary (it only updates the contents of the book view), and it can't call outside to switch to the TOC view.

cr0c0 2010-09-03 16:02

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
I tried both the latest stable and unstable builds, and I consistently get an error. I need to give a bit of background info first.

I used Palm Pilots for as long as I can remember, and I build a fairly large collection of eReader .pdb books. Most were created by me from text and PDF files using a small utility called TLPDB I found ages ago.

All these files are compatible with FBReader v0.10 in the sense that once the .pdb file is opened, the text gets displayed and I can read the book. :) And they all show up in the Library. There are is a bug in v0.10, because although the files show up in Library, I cannot click to open them. However going into Menu -> Open book works perfectly.

Now the biggest problem with both v0.12 and v0.14 is that the Menu -> Open book option has disappeared. Also only 2 out of about 100 .pdb books show up in the library, although all the .pdb files are in the same folder, and I set that folder as the Library path. But that doesn't even matter since I can't click on anything in Library anyway.

So the latest versions do not allow me to open any of my .pdb books. I downgraded to v0.10 and thankfully it works again...

extendedping 2010-09-03 16:57

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
poor rob1n...what a can of worms you opened.

oh how about an option to stay lit? strolling down the street reading now and every few minutes if I dont touch or volume rocker click the page, the n900 goes black and I have to pull the side button. of course this is what I want for most of the time but not when outside reading with fbreader...

now I'm ducking rotton tomatos...

Rob1n 2010-09-03 18:00

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by cr0c0 (Post 806331)
So the latest versions do not allow me to open any of my .pdb books. I downgraded to v0.10 and thankfully it works again...

I've downloaded TLPDB and converted a text file, but the resulting file shows up and opens without any issues. Would it be possible to email me (maemo at robinhill.me.uk) a copy of a file which doesn't show up?

Incidentally, I can't find any "Open book" menu entry in the 0.10 source code - is that the exact menu text?

Quote:

Originally Posted by extendedping (Post 806377)
oh how about an option to stay lit? strolling down the street reading now and every few minutes if I dont touch or volume rocker click the page, the n900 goes black and I have to pull the side button. of course this is what I want for most of the time but not when outside reading with fbreader...

That might be possible - I've found some code which should do it anyway.

cr0c0 2010-09-03 18:23

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by Rob1n (Post 806441)
I've downloaded TLPDB and converted a text file, but the resulting file shows up and opens without any issues. Would it be possible to email me (maemo at robinhill.me.uk) a copy of a file which doesn't show up?

Incidentally, I can't find any "Open book" menu entry in the 0.10 source code - is that the exact menu text?


My mistake, there isn't an actual "Open book" menu item.

The precise steps that allow me to open books in v0.10 are Menu -> Add Book -> browse for a book in the library folder, click it and FBReader opens it.

I am almost certain I was unable to replicate them in v0.12 or v0.14. If you feel I should be able to do these steps in the newer versions, I'll upgrade again and test. FBreader is THE best ebook reader for the N900 at the moment, and I'm willing to be a tester.

That said, I still can't figure out why i can't click on a book that is already listed in the Library window. Is there something I'm doing wrong? Basically I'm just trying to tap either with my finger or the stylus on a book title, but all that happens is the screen scrolls up or down.

extendedping 2010-09-03 18:46

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
while we are chatting, when in regular (not fs) mode I see a few "buttons" (more like cresents or swirls). I cant figure out what they do, they seem to just randomly jump me around the book by random amounts...

wsuetholz 2010-09-03 20:06

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Have you integrated any of the changes that are in the stuff that DannyM has in the version 0.14 packages? Somebody had started to rearrange the menus and things to make them more "maemo" vs the stock 0.12 stuff. Plus he has added PDF capabilities to it.

Are you following the mailing list at all? fbreader@googlegroups.com.

Rob1n 2010-09-03 20:40

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by cr0c0 (Post 806463)
My mistake, there isn't an actual "Open book" menu item.

The precise steps that allow me to open books in v0.10 are Menu -> Add Book -> browse for a book in the library folder, click it and FBReader opens it.

I am almost certain I was unable to replicate them in v0.12 or v0.14. If you feel I should be able to do these steps in the newer versions, I'll upgrade again and test. FBreader is THE best ebook reader for the N900 at the moment, and I'm willing to be a tester.

Ah, okay. That looks to have been removed from the Maemo version. I can probably add back a button for that though.

Quote:

Originally Posted by cr0c0 (Post 806463)
That said, I still can't figure out why i can't click on a book that is already listed in the Library window. Is there something I'm doing wrong? Basically I'm just trying to tap either with my finger or the stylus on a book title, but all that happens is the screen scrolls up or down.

I could open the book you sent (and the one I converted) without any problem. With 0.12 you need to click on the "Read Book" link under the title. With 0.10 you click on the title. In both cases it can be tricky to hit the precise point though. I'd recommend enabling the "scroll by drag only" option as that prevents mis-clicks from scrolling the screen around.

Quote:

Originally Posted by extendedping (Post 806495)
while we are chatting, when in regular (not fs) mode I see a few "buttons" (more like cresents or swirls). I cant figure out what they do, they seem to just randomly jump me around the book by random amounts...

In view mode, the buttons (from left-right) are:
  • Library
  • History
  • TOC
  • Undo
  • Redo
  • Search
  • Find previous
  • Find Next
  • Rotate
  • Full screen

Most of those are self-explanatory. History is the previous books loaded, and undo/redo allow you to undo/redo page moves (after clicking on the indicator bar).

Quote:

Originally Posted by wsuetholz (Post 806583)
Have you integrated any of the changes that are in the stuff that DannyM has in the version 0.14 packages? Somebody had started to rearrange the menus and things to make them more "maemo" vs the stock 0.12 stuff. Plus he has added PDF capabilities to it.

No - I can't find anywhere to actually get the 0.14 code. There's no source repository links on the website, and no link to download the source.

Quote:

Originally Posted by wsuetholz (Post 806583)
Are you following the mailing list at all? fbreader@googlegroups.com.

I've looked over and read through some of the posts online, but I'm not subscribed to the list.

extendedping 2010-09-03 22:18

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
this is what I had does it help?
http://www.scratchpost.org/software/...N900/FBReader/

Rob1n 2010-09-04 00:57

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 806681)

Thanks - I'll have a look at that and see whether it's worth doing a 0.14 release.

Rob1n 2010-09-06 13:07

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
Quote:

Originally Posted by extendedping (Post 806377)
oh how about an option to stay lit? strolling down the street reading now and every few minutes if I dont touch or volume rocker click the page, the n900 goes black and I have to pull the side button. of course this is what I want for most of the time but not when outside reading with fbreader...

I've implemented this now - easier than I thought once I found the right code to use.

Version 0.12.10-4 can be downloaded from:
Quote:

Originally Posted by wsuetholz (Post 806583)
Have you integrated any of the changes that are in the stuff that DannyM has in the version 0.14 packages? Somebody had started to rearrange the menus and things to make them more "maemo" vs the stock 0.12 stuff. Plus he has added PDF capabilities to it.

I've had a look at the version extendedping linked to, and checked out the changes. Other than the PDF support there's very little changed (there's no menu rearrangements), so I don't think it's worth rebasing on this until it's actually released.

extendedping 2010-09-06 13:25

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
just updated much thanks!

extendedping 2010-09-07 15:59

Re: request-update fbreader to arm stable (v 0.12.10-3)
 
btw why are the versions you are doing not in the repo?


All times are GMT. The time now is 10:31.

vBulletin® Version 3.8.8