|07-15-2010, 12:30 AM||#1|
Join Date: Jul 2010
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.
|07-15-2010, 02:12 AM||#2|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
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 10:19 AM.
|07-15-2010, 03:46 AM||#3|
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Porting or new Funtionality||fabiocbr75||iRex||18||09-21-2009 11:24 AM|
|Help porting for beginners||Gogolo||iRex||2||09-03-2009 10:33 AM|
|iLiad Books about porting?||Luka Trifunovic||iRex Developer's Corner||0||03-20-2008 01:22 AM|
|iLiad Porting Gnome Libraries||Adam B.||iRex Developer's Corner||5||07-06-2007 06:53 AM|
|iLiad How about porting a dictionary?||drago||iRex Developer's Corner||13||03-19-2007 06:23 PM|