12-11-2010, 10:17 AM | #1 |
Guru
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) ... /... 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 Code:
$ make install 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 Last edited by Iņigo; 06-23-2011 at 08:06 AM. Reason: New version v3b |
12-11-2010, 01:54 PM | #2 |
Addict
Posts: 206
Karma: 14
Join Date: Dec 2009
Device: iRex DR800SG, Onyx Boox M92
|
Hi. I just installed it and it's great. It could remember my settings from the previous installation (except for some keys). I'm curious if it would still crash with clock and fullscreen (I'll do some reading tonight and tomorrow evening).
Thanks again. |
Advert | |
|
12-11-2010, 05:30 PM | #3 |
Member
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: same Suzzed
|
hola Iņigo:
quisiera saber si me puedes ayudar. tengon un irex dr 800 sg hace como 6 meses , todo a funcionado de maravillas hasta hoy , que quise ingresar un libro en formato PDF , luego desconecte el aparato del computador , y cuando lo quise prender nuevamente aparece un mensaje que dice que no tiene targeta de memoria, le cambie la targeta pero sigue diciendo lo mismo. espero que me puedas ayudar , porque amo mi irex. gracias |
12-11-2010, 05:47 PM | #4 |
Member
Posts: 10
Karma: 10
Join Date: Dec 2010
Device: same Suzzed
|
Iņigo hello:
Help wanted sword if I CAN. IREX tengon dr United Nations as 800 sg of six months ago, all a function of today to Wonderland, which I wanted to enter without a book in PDF format, then disconnect the device from the computer, and here again appears WHEN I wanted to turn no dice message That Target has no memory, you change the card will But still saying the same thing. I hope you can help me, why I love my IREX. thanks |
12-11-2010, 06:42 PM | #5 | |
Guru
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:
Si eso no funciona prueba extrayendo la tarjeta y formateándola desde un PC. CUIDADO: cualquiera de las 2 acciones previas borrarán todo lo que tienes en la tarjeta, así que haz antes una copia de seguridad. Por favor, en prķximas ocasiones, para preguntas no directamente relacionadas con el propio tema del hilo, abre uno nuevo. Saludos, Iņigo |
|
Advert | |
|
12-12-2010, 03:33 PM | #6 |
Addict
Posts: 206
Karma: 14
Join Date: Dec 2009
Device: iRex DR800SG, Onyx Boox M92
|
Hi Iņigo. The device still freezes when reading full screen with clock on. I also have the latest version of DR800+. Any thoughts on that?
|
12-14-2010, 04:53 AM | #7 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: iREX D800SG
|
Hi Iņigo!
Seems like a found a bug or maybe I just do something in a wrong way. In this version v0.12.10 of FBReader in Preferences on the Scrolling tab I can't setup scroll 100% of page per one flip. Max is 20 lines. In previous version v0.10.7 I could use percentage to define how much of page I need to scroll at once. Could you tell me how to do this in latest version (if it's possible)? Or if this not implemented then could you put back this possibility? Percentage is more acceptable then number of lines because of font size -> this leads to various numbers of lines at the same time. BR, aKaDiMkA |
12-14-2010, 01:49 PM | #8 | |
Guru
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:
Mackx, could you share the code you mention in the other thread which uses a semaphore to avoid this? Iņigo |
|
12-14-2010, 01:57 PM | #9 |
Groupie
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
|
Forget the semaphore It gives 98% stability and I was [un]lucky enough to come twice into the other 2% during a one month testing. The most stable way is to comment out
fbrereader/src/fbreader/TimeUpdater.cpp:37 // ZLApplication::Instance().refreshWindow(); The clock is repainted on the next window refresh (caused by e.g. next/prev page flip). P.S. Thank you for the very easy compilation process! |
12-14-2010, 02:04 PM | #10 | |
Guru
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:
Anyway, there are now different scroll actions you could bind for the different keys, Preferences->Keys: Code:
PAGE_SCROLL_FORWARD = "pageForward"; PAGE_SCROLL_BACKWARD = "pageBackward"; LINE_SCROLL_FORWARD = "lineForward"; LINE_SCROLL_BACKWARD = "lineBackward"; MOUSE_SCROLL_FORWARD = "mouseScrollForward"; MOUSE_SCROLL_BACKWARD = "mouseScrollBackward"; TAP_SCROLL_FORWARD = "tapScrollForward"; TAP_SCROLL_BACKWARD = "tapScrollBackward"; SCROLL_TO_HOME = "gotoHome"; SCROLL_TO_START_OF_TEXT = "gotoSectionStart"; SCROLL_TO_END_OF_TEXT = "gotoSectionEnd"; left (up arrow) -> Scroll page backward right (down arrow) -> Scroll page forward long left (page up) -> go to previous TOC section long right (page down) -> go to next TOC section return -> toggle fullscreen Also look at messages #14-18 in https://www.mobileread.com/forums/sho...=109786&page=2 Hope it helps, Iņigo |
|
12-14-2010, 02:14 PM | #11 | ||
Guru
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:
My reading sessions are 30 mins max these days, and it didn't fail ever with this version... I'll apply this change and release a fixed package anyway. Quote:
Btw, how ugly is C++... Ehem... it's no mine, I took the compilation process from Mack's v0.10.x port... |
||
12-14-2010, 03:02 PM | #12 | ||
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
Quote:
|
||
12-14-2010, 03:05 PM | #13 |
Addict
Posts: 206
Karma: 14
Join Date: Dec 2009
Device: iRex DR800SG, Onyx Boox M92
|
Yes, commenting that line seems like a good idea, since I don't spend more than 2-3 minutes on the same page and I don't need the clock to be extra accurate.
Iņigo, did you try text search? For me, the text search modal window is very unresponsive (when toggling checkboxes, pressing go/cancel etc.) and I think it caused my reader to freeze. I can't remember how it was in previous version, this is the first time I try it. Later edit: also, I think there is a problem with loading a book. When I open FBReader I get the opening book message which stays stuck until I trigger a refresh by pushing menu button or going full screen. Last edited by catharsis; 12-14-2010 at 03:10 PM. |
12-14-2010, 03:54 PM | #14 | ||
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Ok, I 've changed the package in the first message with this fix applied.
Quote:
Quote:
Btw, if there is anyone out there with .fb2 files, wait a couple of hours... |
||
12-14-2010, 04:08 PM | #15 |
Groupie
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
|
|
Tags |
fbreader |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR800 ANN: DR800+. Port of some DR1000 features to the DR800 | Iņigo | iRex | 274 | 04-05-2013 02:24 PM |
DR800 Plugin development for DR800/DR1000 | yuri_b | iRex Developer's Corner | 0 | 09-18-2010 09:46 AM |
IREX DR800 or DR1000? | sordie | Which one should I buy? | 8 | 03-21-2010 08:10 PM |
perl for the DR800/DR1000? | Mr. X | iRex | 1 | 03-16-2010 07:47 AM |