View Single Post
Old 12-11-2010, 10:17 AM   #1
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.
ANN: FBReader v0.12.10 for DR1000 and DR800

EDIT 2011/06/23: new version dr-v3b

Hi out there,

I'm very pleased to announce the release of a new port of FBReader for DR1000, DR800 and DR800 with DR800+ extensions.

This is based on version 0.12.10 code, adding a DR-like menu with some functions, a customized toolbar and some new icons.
It's also faster and use less memory than previous ports, you'll notice specially with big .chm files.

Configuration data is saved in "SD card/Programs/_config/.FBReader".
It also includes Loo and Viacheslav script to associate FBReader with .pdb, .fb2, .zip, .rtf, .orb, .tcr, .opf, .oebzip, .chm, .prc and .mobi file extensions when browsing books.

Note you need some libs from core _base package: fribidi, liblinebreak, libbz2
that can find at https://www.mobileread.com/forums/sho...d.php?p=887725


Random notes:
- It should work with DR1000, DR800 and DR800 with DR800+ extension
- This package is based on version 0.12.10 and, in fact, make previous ports of versions 0.10.x obsolete as this is faster and more memory efficient


Steps to install:
1. enable SD card folders browsing
2. connect device to your computer using the USB cable
3. create a folder "/Programs" in SD card root if it doesn't exist yet
4. you need libs core package installed into SD card/Programs/_base installed
5. copy the contents of this compressed file there.
You should have something like:
Code:
       SD card
           /Programs
               _base               (directory)
               _config             (directory)
               _fbreader           (directory)
               Install             (directory)
               FBReader.desktop    (file)
               ...
           /...
6. go to SD_card/Programs/Install folder and run FBReaderInstall to associate
extensions with this program. It will ask to reboot the device in order to
recognize the new extensions


Steps to use:
1. Navigate to your books as usual and select the book, FBReader will open it; or, alternatively, navigate to SD card -> Select Programs folder and tap on FBReader icon
2. Click on preferences and change some settings as default configuration is not suitable for e-readers. F.e. I've changed:
- margins to 10, 10, 0, 4
- font size (in "styles" tab): to 8
- indicator: I like the "old style"
- key bindings. Tip: click on "Action for key" and press the bar to show available actions
3. Take a look at "_fbreader/share/FBReader/default/toolbar.xml" file if you want to change the buttons/actions shown in the toolbar


Code:
The source code is located at: https://bitbucket.org/inigoserna/fbreader-dr-0.12.x

To build inside your IREX development environment, first you must install the dependencies (fribidi, liblinebreak, libbz2) on the DR env.
You can use the packages I built at https://inigo.katxi.org/ereader/ipks/

And then compile
Code:
$ source /usr/local/poky/eaby-glibc/arm/environment-setup
$ export LD_RUN_PATH=/media/mmcblk0p1/Programs/_base/lib
$ make
And to install to /media/mmcblk0p1/Programs/_fbreader
Code:
$ make install
You can join the development efforts at https://www.mobileread.com/forums/sho...d.php?t=109786


Thanks:
Lots of thanks to Gertjan, Loo, Viacheslav, and specially to Mackx, he is in fact the other half of this port.


Changes:
v3b - 2011/06/23
. new graphic installer
. faster, as it has been compiled with some optimization flags

v3 - 2011/01/23
. turn on led while loading files [Mackx]
. improve double click performance [Loo]
. fix install extensions script
. change Russian hyphenation file

v2 - 2010/12/11
. added DR-like menu
. customized toolbar and added new icons for font size
. added some documentation

v1 - 2010/12/04
. added Mack's code to support tabs in DR1000 and DR800+

v0 - 2010/12/04
. initial release
. based on original FBReader v0.12.10 code, customizations from my previous v0.10.7 port, Mackx's v0.10.7 port, and Loo's and Viacheslav's file extensions association script


Enjoy,
Iņigo Serna
Attached Thumbnails
Click image for larger version

Name:	fb-1.png
Views:	1181
Size:	392.3 KB
ID:	62648   Click image for larger version

Name:	fb-2.png
Views:	1071
Size:	110.6 KB
ID:	62649   Click image for larger version

Name:	fb-3.png
Views:	815
Size:	140.6 KB
ID:	73215  
Attached Files
File Type: gz FBReader-0.12.10-dr-v3.tar.gz (1.86 MB, 923 views)
File Type: gz FBReader-0.12.10-dr-v3b.tar.gz (2.28 MB, 930 views)

Last edited by Iņigo; 06-23-2011 at 08:06 AM. Reason: New version v3b
Iņigo is offline   Reply With Quote