Sugar Stuff for USC / Code For a Cause
Get sugar-jhbuild working
0. Install Ubuntu 7.10 with these packages.
1a. Download ubuntu-sugar-jhbuild.tar.bz2 (500 mb!), untar into /home/olpc/.
OR
1b. Follow these instructions to build from scratch (will take several hours!).
Install the "Hello World" activity
Download hello-minimal-activity.tar.gz and untar it:
tar xvf hello-minimal-activity.tar.gz
Set up your PYTHONPATH appropriately:
export PYTHONPATH=/home/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/
In the hello-minimal-activity/ subdirectory, run:
python setup.py dist python setup.py install /home/olpc/sugar-jhbuild/build/share/activities/
Now, 'hello' should be available as an activity with the BlockParty? icon.
Note: application logs will be in ~/.sugar/default/logs/
Miscellaneous
To reset your config (name, etc.) and start "from scratch", rm -fr ~/.sugar/.
Be sure to kill old processes: kill `ps auxw | grep sugar-jhbuild | cut -c8-16`
Project idea
Using ideas or code from peekaboo, build a collaborative code coverage server that displays code coverage results from multiple Sugar interfaces.
See screencasts etc. and contact me at titus@idyll.org for peekaboo/Sugar adaptor.
Useful links
Porting a PyGTK Game to Sugar, p1 and Porting a PyGTK Game to Sugar, p2
Hello, World with Glade (GTK GUI builder)
Sugar with sugar-jhbuild (see "resolution" for setting screen size)
