Quote:
Originally Posted by JCKobo
We post all the open source code we've modified on github, including code for a full app that runs on the Kobo Reader. That should be a lot of help to home brewing your own stuff.
You can find the code here:
http://github.com/kobolabs
|
I have been as yet unable to get that source tree to compile on my Fedora system. I guess there are some significant differences between the developer's systems (Debian I presume?) and mine. I followed the instructions in the "documentation/README.build" file, and made quite a bit of progress, actually, but now I'm stumped.
Some notes on getting at least as far as I did:
When it complains that SSIZE_MAX is undefined when compiling the "glib" package, you can just add these lines to that source file:
#ifndef SSIZE_MAX
#define SSIZE_MAX 0x7fffffff
#endif
When compiling "dosfstools" (and a few other packages) edit the kobo/KoboLabs/build/build-config.sh to include "/usr/arm-gp2x-linux/include" "/usr/include" in CPPFLAGS, and to include "/usr/arm-gp2x-linux/lib" in LIBS, and add "-D_GNU_SOURCE" to CFLAGS.
Note that certain other packages WON'T compile with those three changes, and you may have to revert back and forth as you go.
I have so far been unable to get any of "busybox" or "udev" or "qt" to compile, all the rest seemed to compile properly.