Calibre on RISC OS
Colin Ferris (399) 1814 posts |
Would it be possible for ‘Calibre’ (ebook reader/converter) be made to run on RISC OS? Thanks |
Rick Murray (539) 13840 posts |
Epub is XML, a simplified kind of XHTML. Someone could possibly cobble something together with the GCC shared libs? |
Stefano Bertinetti (2986) 11 posts |
Calibre is more than an EPub reader. It combines an EBook database, a viewer (for many formats), an editor for metadata and tools for connecting with various EPub readers. It’s very complicated, to the point that the author discourages compiling the sources due to various dependencies. |
Rick Murray (539) 13840 posts |
Oh, I know. My P4 box struggles to run it when I convert older style Kindle books to epub to use on my (non Kindle) reader. There’s a reader for various formats, FBreader or something? Perhaps better to start with a reader than a fully blown editor? Physical readers are slow because they do dumb things like apply bottlenecks in weird places. The “ROM” in my one is a glued in SD card. Easy to implement, but no doubt dead slow. |
Andrew Rawnsley (492) 1445 posts |
Chris Gransden ported MuView, a PDF/ebook reader that (whilst a bit basic) is quite useful and accurate. I know Richard now uses it in preference to !PDF for PDF handling. |
Rick Murray (539) 13840 posts |
I’m having no luck getting that to work. It keeps saying “can’t load library ‘libjpeg.so.62’”. In SharedLib’s abi-2/0 are the files libjpeg/so, libjpeg/so/8, and libjpeg/s0/8/4/0. The first two are symlinks pointing to the last one. I tried creating a symlink libjpeg/so/62 within VFP, but this doesn’t help. I also tried copying the two VFP versions into the abi-2/0 directory. So… I’m all out of ideas. Can anybody help? [may I suggest a command such as “*SOCat” to get SOManager to list all the libraries that it can see, so that missing things might be spotted, if that is the case?] |
RonM (387) 60 posts |
so that missing things might be spotted I Think you already have the information you need. Did you doubleClick on !SharedLibs after dropping in the new lib(s) |
Rick Murray (539) 13840 posts |
I killed SOManager and then doubleclicked on SharedLibs…
That is what it says… I’m just a bit clueless as to how it actually looks for things and why it can’t seem to find what appears to be there.
Yup – copying seems like a reasonable suggestion. I’ll try that when I next “do stuff” at the computer. It’s Christmas here now, so time to hit the sack… |
David Pitt (3386) 1248 posts |
Copying !MuView can read an epub, “My Man Jeeves”. |
Rick Murray (539) 13840 posts |
One step forward, one step back. Copying the file as suggested gets MuView to load and install on the iconbar. Doing anything with it triggers cascading errors that bring down the entire desktop. What machine are you using David? Mine’s an ARMv7 (original) Pi2. |
RonM (387) 60 posts |
Copying libjpeg/so/62/2/0 as libjpeg/so/62 works here. You already know that it would now be OK to have a /working/ symlink named libjpeg/so/62 instead of duplicating the library. I think the (inherited linux) story goes that one symlink is used for compiling the other for running. |
David Pitt (3386) 1248 posts |
Titanium. It also works on the RPi3B+. SharedLibs is RPi3 compatible, the same version is used on both machines. A copy of my full SharedLibs has been uploaded to my pCloud space It’s big 57MB and I don’t think the pCloud shared link is NetSurf compatible. It’s a bit poke and hope we are assuming that P.S. I have just tried on the RPi1 and it works there also. P.P.S. In this application the Titanium has noticeable lead over the Pi’s. |
Andrew Rawnsley (492) 1445 posts |
When I helped Richard (who uses it has his main PDF viewer on his ARMX6) get MuView running, all we did was copy the shared lib as described here. For my own use, I copied another symlink and edited it in StrongEd. You probably need the VFP SharedLibs files from OtterBrowser/OBrowser as a starting point, as Chris did both ports and this is in the VFP section. I know that both Richard and I had those browsers working before we tried MuView. You can find the latest VFP sharedlibs in the Otter thread in the “Announce” forum. Or use the version on the OBrowser CD etc. MuView is surprisingly quick, actually, given its size. It mainly suffers from lack of UI development – I’d love to see Chris (or someone) develop it further, but I get the impression that Chris is a pretty busy chap. |
David Pitt (3386) 1248 posts |
I have done that here now, after I had worked out that byte 4 is the length of the target library filename.
|