Tuesday, October 13, 2009

hacking Sugar - building sugar on Ubuntu 7.10

So I find myself trying to build Sugar, the OLPC user interface for children. As always I don't really have any computers to dedicate to development for Sugar, but Sugar only supports being built on a handful of Linux distributions and versions. So I decided to hack a little and try to build it on my server, marmot.dudeabides.net. marmot runs Ubuntu 7.10. I found that if I pulled down the newest git source of Sugar, there is an area in config/sysdeps where there are files representing Linux distributions and versions. So I did this:
cp config/sysdeps/50ubuntu-allversions.xml config/sysdeps/50ubuntu-7.10.xml
That at least allowed me to run ./sugar-jhbuild depscheck :)
./sugar-jhbuild build is running now. This is quite complicated. Makes me start to wonder about the wisdom of code reuse. I guess it just moves the problems up the stack to a higher level. Instead of trying to make a device driver work, I'm trying to trick some code into compiling itself in an environment that it doesn't already understand.

talkLock is still rusting

Well I still haven't gotten a MIDP phone, or done any talkLock hacking. Now that my wedding and honeymoon are in the books, I'm going to take the next leap and buy a house.

I bought a Motorola Q on eBay, but it was the Windows Mobile one (doh!) not the MIDP one. It also didn't work well. The vendor is shipping me a replacement.

I spent a few minutes installing a MIDlet player on the old one, but it was faulty. I had heard that you can run MIDlets on Windows Mobile phones, but maybe not mine.

At the moment I'm hacking around and looking for my next project. I haven't really written any code other than shell scripts or Makefiles for quite a while.