Author Topic: New Version Of Opie-reader  (Read 18761 times)

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
New Version Of Opie-reader
« on: August 31, 2005, 05:10:49 am »
I've managed to get access to my webpage at last so I quickly pushed the current versions of opie-reader up there while it lasted.

There are four versions:

Sharp ROM
Sharp ROM (statically linked) - use this if the above won't work for you.
OE builds using GCC 3.x - e.g. OpenZaurus/Opie
Qtopia versions 1.6 or greater builds with gcc 2.x - this should work with the Archos, qtopia 2.x ROM or the Cacko Qtopia 1.6 ROM (all untested)

I've discovered that some problems with the builds which are dynamically linked may be due to me not refreshing the library cache in the ipk. If you find that your install doesn't work try a reboot or soft reset. Anyone who knows how to refresh the dynamic library cache from an ipk let me know 8^).

Because I had a relatively small window in which to post them I haven't tested the ipks quite as much as I usually do so let me know of any problems in this thread.
« Last Edit: August 31, 2005, 05:12:29 am by TimW »

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
New Version Of Opie-reader
« Reply #1 on: August 31, 2005, 06:31:13 am »
Quote
I've managed to get access to my webpage at last so I quickly pushed the current versions of opie-reader up there while it lasted.

There are four versions:

Sharp ROM
Sharp ROM (statically linked) - use this if the above won't work for you.
OE builds using GCC 3.x - e.g. OpenZaurus/Opie
Qtopia versions 1.6 or greater builds with gcc 2.x - this should work with the Archos, qtopia 2.x ROM or the Cacko Qtopia 1.6 ROM (all untested)

I've discovered that some problems with the builds which are dynamically linked may be due to me not refreshing the library cache in the ipk. If you find that your install doesn't work try a reboot or soft reset. Anyone who knows how to refresh the dynamic library cache from an ipk let me know 8^).

Because I had a relatively small window in which to post them I haven't tested the ipks quite as much as I usually do so let me know of any problems in this thread.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93875\"][{POST_SNAPBACK}][/a][/div]

put ldconfig into the postinst script
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
New Version Of Opie-reader
« Reply #2 on: August 31, 2005, 09:18:40 am »
Quote
put ldconfig into the postinst script
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93890\"][{POST_SNAPBACK}][/a][/div]
There is no ldconfig on the Sharp based ROM I've been using. Does that matter?

samxiao

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • http://
New Version Of Opie-reader
« Reply #3 on: August 31, 2005, 04:29:16 pm »
what are the new features and new fixes?
Zaurus C1000 (formerly SL5500 and C700)
Cacko developer ROM 1.23 beta + Debian Sarge + X/Qt
1GB Transcend 80x SD (ext2) / 512MB Lexar SD (ext2) / 256MB SanDisk CF(vfat)
Netgear MA701 WiFi CF
Ambicom GPS-CF
Pocketop IR keyboard (has positioning problem with C1000)
Brando LCD screen protector

Apple PowerBook 12" G4 Rev. C + Mac OS X 10.4.x (Tiger)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
New Version Of Opie-reader
« Reply #4 on: September 01, 2005, 01:04:36 am »
Quote
Quote
put ldconfig into the postinst script
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93890\"][{POST_SNAPBACK}][/a][/div]
There is no ldconfig on the Sharp based ROM I've been using. Does that matter?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93907\"][{POST_SNAPBACK}][/a][/div]

I guess, if you put ldconfig into the postinst script, then it will dynamically reload libraries for those systems that have it and it will fail on those that dont. Make sure your last line returns 0 as an error code so the installer won't treat the missing ldconfig as a fatal error and barf the install. Just make the last line

echo done

or something similar.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
New Version Of Opie-reader
« Reply #5 on: September 01, 2005, 03:48:34 am »
great tim. will check it out as i write this

tovarish

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
New Version Of Opie-reader
« Reply #6 on: September 01, 2005, 04:24:43 am »
Quote
I guess, if you put ldconfig into the postinst script, then it will dynamically reload libraries for those systems that have it and it will fail on those that dont. Make sure your last line returns 0 as an error code so the installer won't treat the missing ldconfig as a fatal error and barf the install. Just make the last line

echo done

or something similar.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94025\"][{POST_SNAPBACK}][/a][/div]
Thanks, I'll give it a go for the next build.

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
New Version Of Opie-reader
« Reply #7 on: September 01, 2005, 04:32:16 am »
Quote
what are the new features and new fixes?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93981\"][{POST_SNAPBACK}][/a][/div]
Sorry, too busy working on it to remember exactly what I did 8^).

If you have a 0.7i version then there won't be much difference apart from the graphics viewer has got rid of the scroll bars to make more space for the graphic. You now scroll by "picking the graphic up" with the pointer (i.e. dragging it around) or by using the arrow keys. Oh, and I never managed to baseline the 0.7i version so you can't be quite sure what you have and haven't got.

If you have a 0.7h version there are a lot of fixes for RB support which have also had a knock on affect to improving the html handling a little for all html based formats (RB and mobipocket etc). Also, you should not get into the state which requires deleting the ~/Settings/uqtreader.conf file quite so often. There is also support for the modified plucker and rb formats I use for zpluck and qtrbmake.

There are more minor fixes, too. I'll add to this post as I remember them.
« Last Edit: September 01, 2005, 04:33:05 am by TimW »

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
New Version Of Opie-reader
« Reply #8 on: September 01, 2005, 06:03:21 am »
i am having some problems with scrolling (using arrow keys) in fullscreen mode. the qtopia task bar appears as soon as i scroll up or down. the mode is still fullscreen mode but with the qtopia taskbar.
previous version (i) didnt have this problem.

I am using sharp rom on a c860. i tried both the static and dynamic versions.



tovarish

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
New Version Of Opie-reader
« Reply #9 on: September 01, 2005, 06:13:56 am »
Quote
i am having some problems with scrolling (using arrow keys) in fullscreen mode. the qtopia task bar appears as soon as i scroll up or down. the mode is still fullscreen mode but with the qtopia taskbar.
previous version (i) didnt have this problem.

I am using sharp rom on a c860. i tried both the static and dynamic versions.



tovarish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94065\"][{POST_SNAPBACK}][/a][/div]
Thanks. I'll take a look at that. The problem is that fullscreen mode is fundamentally broken in Qtopia 1.5.4 (actually it is the QT/embedded that accompanies qtopia which has the problem) and there is a lot of code in there to work around the problems. The version of QT/embedded which comes with OZ Roms has fullscreen mode fixed in the latest releases so I may have made a mistake when #ifdef'ing the work arounds out for OZ and taken some of them out from the Sharp build, too.

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
New Version Of Opie-reader
« Reply #10 on: September 01, 2005, 08:53:30 am »
it would be nice, i have lost the 0.7i ipk

tovarish

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
New Version Of Opie-reader
« Reply #11 on: September 01, 2005, 09:37:46 am »
Quote
it would be nice, i have lost the 0.7i ipk

tovarish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94093\"][{POST_SNAPBACK}][/a][/div]
It should still be on my website. Just use the above URLs but change the 7j to 7i.

Unfortunately I'm not sure which version of the 7i releases (which, as I said above, were never properly baselined) broke it. I'm pretty sure that the version I have here is broken but I'm not sure about the web site one.

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
New Version Of Opie-reader
« Reply #12 on: September 02, 2005, 04:47:41 am »
Quote
i am having some problems with scrolling (using arrow keys) in fullscreen mode. the qtopia task bar appears as soon as i scroll up or down. the mode is still fullscreen mode but with the qtopia taskbar.
previous version (i) didnt have this problem.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94065\"][{POST_SNAPBACK}][/a][/div]
I can't reproduce this on my SL5000 and I can't find any changes which might have caused this. I'll do a line by line comparison when I get a chance (doing rcsdiff didn't reveal anything significant but sometimes the important difference can get "lost in the noise") but that'll be a long(ish) slow job.

One thing that may be worth trying is deleting ~/Applications/uqtreader/.keymap and redoing your button assignments (or at least going into the button settings dialog and reviewing the settings). I doubt that this is causing a problem but it iw worth a check.

Also, you can get rid of the status and tool bars to get some of the advantages of fullscreen mode. This will still leave the task bar on screen but at least it won't cover any text. Just assign keys to the "Toggle ...bar" functions. Make sure that you know how to get the toolbars back though, else you may have trouble doing much 8^).

If any one else is getting this it would be useful to know which ROMs and which devices. Sharp never released the latest ROM for the SL5000 so I have to rely on a Cacko variant which may have slightly different behaviour.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Version Of Opie-reader
« Reply #13 on: September 02, 2005, 07:27:24 am »
Thanks TimW for your great efforts!  Opie-reader has been one of my favorites on my Z, and also one of the reasons why I choose Z (no ebook formatting hell).  

I observe one strange behavior of the Bookmark function in this verrsion:  whenever I assign a key to add bookmarks, a bar pops up with a field to fill in the name of the bookmark as I press the key, as expected.  But to my surprise the hotkey just gets stuck and will run amok keying in the same character nonstop, and the Input Method (I've almost always use CRIM) area also pops up and can't be called off -- when I put it down it jumps up again automatically.  I have to be quick enough to press the Close icon (lucky that I put it on the Tool Bar in advance) and the program seems to stop misbehaving meanwhile.  

But after closing the current document and start browing thru the file list the scroll bar on the right seems not to obey my stylus and it keeps jumping in a similar fashion to what the input method area does.

Even though I succeed in opening a new file I cannot exit the program, at least not until I go to the console and issue "killall uqtreader" and then the program can be closed normally.

Would all this have to do with the Bookmark thingy in this version?  Other functions and hotkeys work fine for me so far.  

Please keep up with this great project!  
« Last Edit: September 02, 2005, 07:57:47 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
New Version Of Opie-reader
« Reply #14 on: September 02, 2005, 08:23:34 am »
Oops.  I uninstalled 0.7j and installed other previous versions, including 0.7i and 0.7e, but Opie Reader never get started again, either from GUI or from console.  Strange.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]