kobolabs / Kobo-Reader

http://www.koboereader.com/
598 stars 126 forks source link

Enable easy building of a compatible Qt for linking, a few fixes #3

Closed ringerc closed 13 years ago

ringerc commented 13 years ago

Hey

I have a few more changes in my repo that you might want to merge. They apply as a clean sequence directly onto Kobo-Reader/master. There's a simple .gitignore update to exclude noise from example builds, a mainline Linux kernel patch to the kconfig system that fixes compatibility with make 3.82, a fix for a corrupt patch that I pushed previously but didn't make it into the repo, and support for building Qt from build-all.sh , including a fix to the Qt configuration you posted to make it match the Qt that actually shipped on the Kobo Wifi.

(If Qt configurations are different on the different devices or in different firmwares this might need documenting; right now, I'm working to what I have.)

This push makes it possible to rebuild the shipped "poker" plugin and have the rebuilt version link and work correctly on the target device. Progress!

It's still not possible to build the other plugin because the sources are incomplete, but that doesn't matter much. I've been able to build a simple "hello world" plugin that hijacks the poker plugin's MIME type to trigger loading; I am now working on a Qt widget tree traverse-and-dump tool that will interrogate nickel using Qt introspection and find out where possible extension points are, so I can figure out if it's possible to write a plugin that does something useful.

I'm also working on a kernel rebuild because I want to see if I can enable CPU Doze mode (power savings) and g_serial (for usb-over-serial debugging and control) for the device. You may see another pull request at some point with any further patches required to build the kernel, plus maybe some documentation on how to build it and install it and (if necessary) the bootloader.

ringerc commented 13 years ago

ping

Thoughts? Any of this make sense?

ringerc commented 13 years ago

Never mind. I somehow failed to notice that you'd merged the changes into Kobo-Reader/master. Must not code on Sunday after beer. Please disregard last ;-)