Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-14-2010, 11:30 PM   #1
chuckr11
Junior Member
chuckr11 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2010
Device: none
porting new platform

I have a new palmtop computer, the "Pandora", based upon the Arm processor (the ARM7A code variant), and I would like to have Calibre. I'm disabled, and spend too much time in hospitals; and reading scifi passes the time. I have long experience in porting C code, and that part of the task doesn't especially worry me. There is a lot of Python code, it depends on the use of X86 or the PPC platforms, and I can see no comments on the task of adding new platforms. While I know python well enough to write in it, the task of figuring out all of that code is quite daunting. Is there any documentation on how one might go about adding new platforms to the python portion of your code?

Also, is there a complete list of all code package dependencies? I mean, other pieces of software, like the Rar/unrar libraries I've already seen, that I would have to put into place to get full functionality to my proposed Calibre port? If you have any interest in supporting the Pandora yourself (I'm not asking for that, but you might want to add a new platform, I suppose), the Pandora uses the "opkg" utility (an improvement on the older "ipkg": util). Binaries are the normal method of distribution using opkg. I personally like distributing sources, but I'm a programmer, so I guess that's not the normal preference.

I'm not asking for help on the C code, and if the porting notes on the Python code are complete enough, I would likely not need help there either. Python-2.6.2 is the pre-installed python version (a smart decision if I ever heard of one). I really hope you have such notes available.
chuckr11 is offline   Reply With Quote
Old 07-15-2010, 01:12 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,803
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The python code is largely platform neutral, platform specific bits are always in if block with the constants

islinux, iswindows, isosx, isfreebsd

Note that calibre runs fine on PPC under OS X.

But I really would not recommend porting calibre to a device, instead run the content server and use some dedicated reader program to read books on your device.

Last edited by kovidgoyal; 07-15-2010 at 09:19 AM.
kovidgoyal is online now   Reply With Quote
Old 07-15-2010, 02:46 AM   #3
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 694
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
As Kovid said, why not look at it as an ebook-reading device that could sync with Calibre? The device runs linux and should be able to run one or more linux-based epub reader (FBReader, perhaps?). It also has SD card slots, so you could sync books from Calibre on a main computer to the memory card, and then put the memory card in the Pandora to read books. You wouldn't even need to write a device plugin for Calibre to make that work.
toddos is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting or new Funtionality fabiocbr75 iRex 18 09-21-2009 10:24 AM
Help porting for beginners Gogolo iRex 2 09-03-2009 09:33 AM
iLiad Books about porting? Luka Trifunovic iRex Developer's Corner 0 03-20-2008 12:22 AM
iLiad Porting Gnome Libraries Adam B. iRex Developer's Corner 5 07-06-2007 05:53 AM
iLiad How about porting a dictionary? drago iRex Developer's Corner 13 03-19-2007 05:23 PM


All times are GMT -4. The time now is 04:37 AM.


MobileRead.com is a privately owned, operated and funded community.