Difference between revisions of "Activities/Toaster/Develop"

From Sugar Labs
Jump to navigation Jump to search
(hints on setting up a more comfortable development environment on an XO-1.5)
(summit update)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
I hope this collection will get updated along with the resources discussed on our email list.
+
Please contribute to this collection. These are the resources we used in learning to develop our Activity
  
 
* SOAS & Builds
 
* SOAS & Builds
** http://spins.fedoraproject.org/soas/ - Sugar on a Stick (SOAS) is now an official Fedora Spin.  This means Fedora 13 and beyond provide the newest versions of Sugar, however deployments of XOs are currently using F11 or F9 based builds.  Toaster is targeting full support for F11 and F9 right now.
+
** http://spins.fedoraproject.org/soas/ - Sugar on a Stick (SOAS) is now an official Fedora Spin.  This means Fedora 13 and beyond provide the newest versions of Sugar, however deployments of XOs are often using F11 or F9 based builds.  Toaster is targeting full support for F11 and F9.
** For Ubuntu machines until the Ubuntu Sugarteam make more progress here is the advice I got on how to run Sugar with Virtualbox.
+
** For Ubuntu machines until the [https://launchpad.net/~sugarteam Ubuntu Sugarteam] make more progress the best advice is to run Sugar in a window with Virtualbox & Fedora or dual booting.
*** [https://lists.ubuntu.com/archives/ubuntu-sugarteam/2010-March/001605.html Blueberrycleared.vdi]
 
  
 
* Key References
 
* Key References
Line 20: Line 19:
  
 
* Tools & Reference
 
* Tools & Reference
 +
** http://wiki.laptop.org/go/Sugar_Activity_Tutorial
 +
** http://wiki.laptop.org/go/Hacking_Sugar
 +
** Use the source, Luke!  It's well commented.  /usr/lib/pymodules/python2.6/sugar/activity/activity.py
 
** http://git.sugarlabs.org/about/faq is useful in changing git:// to gitorious@ when 'push'ing like I did
 
** http://git.sugarlabs.org/about/faq is useful in changing git:// to gitorious@ when 'push'ing like I did
 
** http://www.vim.org/scripts/script.php?script_id=790 - Newer Vim syntax highlight for your ~/.vim/syntax/ folder
 
** http://www.vim.org/scripts/script.php?script_id=790 - Newer Vim syntax highlight for your ~/.vim/syntax/ folder
Line 29: Line 31:
 
** sudo vi /etc/fstab ; change the /var/tmp size= to 20%.  This is used by yum in some circumstances instead of /var/cache/yum
 
** sudo vi /etc/fstab ; change the /var/tmp size= to 20%.  This is used by yum in some circumstances instead of /var/cache/yum
 
** sudo vi /etc/rc.d/rc.local ; add "mkdir --mode 777 /var/run/screen" required by screen
 
** sudo vi /etc/rc.d/rc.local ; add "mkdir --mode 777 /var/run/screen" required by screen
 +
** git clone http://git.sugarlabs.org/git/hello-world/mainline.git
 +
** git clone http://git.sugarlabs.org/git/hello-mesh/mainline.git
  
 
* ToDo
 
* ToDo

Latest revision as of 12:28, 23 October 2010

Please contribute to this collection. These are the resources we used in learning to develop our Activity

  • SOAS & Builds
    • http://spins.fedoraproject.org/soas/ - Sugar on a Stick (SOAS) is now an official Fedora Spin. This means Fedora 13 and beyond provide the newest versions of Sugar, however deployments of XOs are often using F11 or F9 based builds. Toaster is targeting full support for F11 and F9.
    • For Ubuntu machines until the Ubuntu Sugarteam make more progress the best advice is to run Sugar in a window with Virtualbox & Fedora or dual booting.
  • XO 1.5 Specific
  • ToDo
    • file a bug advertising the Activity is ready for translation using Pootle, then make sure to run ./setup.py genpot every time a new string is added and ./setup.py fix_manifest to keep MANIFEST up to date, especially before a release.
    • git tag -m "Release 1" v1 HEAD ; git push --tags
    • create screen shots and .gif of .svg icon when uploading .xo file to activites.sugarlabs.org