View Single Post
Old 07-31-2010, 11:33 AM   #97
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by Mackx View Post
The DR1000 has an extra TaskBar, that allows easy switching between applications. The port of Iņigo sofar did not include the code to add FBReader to the taskbar. I posted a version some months ago and this is an update of that. I also post the changed code, so maybe Iņigo can merge both changes together? (@Iņigo: I noticed I found some different solutions for the same problems, I did not take your changes, but used my solution.) This version should fix the problem that FBReader was not always added to the TaskBar (for the DR1000).

If you have already installed an earlier version of FBReader then you might not want to overwrite the .FBReader folder. Note that the .FBReader folder is now located in Programs\_config, in my earlier ports it was in Programs\, so if you want your old settings make a copy of the folder.

To install unzip the FBReader file to your SD-card. You also need three files from the base package of Iņigo (fribidi, liblinebreak and libbz2), these should go in their normal location (Programs\_base\lib).

You can now restore your saved settings (if any). Put your .FBReader folder in Programs\_config\ overwiting the one of the zip-file.

This port is specific for the DR1000, since I can not test it on the DR800, it should run on the DR800 without problems. However, the width of the DR1000 is wider, I saw that Iņigo made a patch to Programs\_fbreader\share\FBReader\default\toolbar. xml, I added his version also to this post. So DR800 users that really want to use this port, should replace that file. Note that this port should be functionally equal to the port of Iņigo, so there would be no reason for DR800 owners to use this version.

The difference in size of the FBReader image can be explained by the way I build the FBReader specific libraries (static i.s.o. dynamic).

(Note that this version still has the same problems as all the previous ports.)

As always any comments are welcome.
Hi there,

@Iņigo: I noticed I found some different solutions for the same problems, I did not take your changes, but used my solution

Which problems and solutions?

The difference in size of the FBReader image can be explained by the way I build the FBReader specific libraries (static i.s.o. dynamic).

I prefer dynamically linking, but that's my own preference


All in all I think we should unify the DR800 and DR1000 ports in an unique package to avoid confusing people (and also to have only one code to hack in).

Currently, which are the differences between those? I know about:
1. taskbar code for DR1000
2. different toolbar.xml
... any more?

I suppose we could make 1. executed or not at runtime looking for some special feature of the device to differentiate between models.
And for 2. we could install one file for DR1000 and another for DR800.


I dont' have much free time these days and I'll go on holidays next week with not much internet access, but maybe we could work on this this week.

Iņigo

PS: nowdays I use DR1000 ctb compiled for DR800 so I appreciate the taskbar.
Anyway I read docs fullscreen.
Iņigo is offline   Reply With Quote