?TableOfContents(3)

Running the Sugar interface on Debian

Now is possible to use the sugar interface from Debian. Just follow these steps:

Packaging for sid

Someone should package and upload this :) see (444021)

Rebuilds of https://launchpad.net/~jani/+archive jani Ubuntu packages is available for sid (amd64 only) through APT here:

deb http://debian.jones.dk/ sid sugar

Work on improved packaging from scratch is available through these commands:

sudo aptitude install git-buildpackage
git clone git://git.debian.org/git/collab-maint/sugar-base
cd sugar-base
git fetch origin upstream:upstream
git-buildpackage

If you have improvements to the above GIT work, then please advertise your own forked GIT repository here.

Further Reading

Ubuntu packages

There are sugar packages for ubuntu in this [https://launchpad.net/~sugar/+archive team repository]. Some packages have entered ubuntu universe:

Building all from scratch

git-clone git://dev.laptop.org/sugar-jhbuild

# sugar-jhbuild needs python pointing at python2.5 mkdir -p bin ln /usr/bin/python2.5 bin/python

cd sugar-jhbuild git pull PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild update PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild build PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild run }}}

Building minimal from scratch

The following is tested on lenny as of 20071130.

Building

Build dependencies:

git-clone git://dev.laptop.org/sugar-jhbuild

# sugar-jhbuild needs python pointing at python2.5
mkdir -p bin
ln /usr/bin/python2.5 bin/python

cd sugar-jhbuild

# Debian package python-hippocanvas is python2.4 only
PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild buildone hippo-canvas
PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild buildone sugar-base
PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild buildone sugar
PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild buildone artwork
PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild buildone presence-service

Running

Runtime dependencies:

An unofficial python-numpy package for lenny (386 only) is available through APT here:

deb http://debian.jones.dk/ lenny sugar

PATH=$(pwd)/../bin:$PATH ./sugar-jhbuild run

Build dependencies

(All are in Sid, no more experimental)

  git-core subversion darcs automake1.9 automake1.7 libtool bison flex cvs\
  xserver-xephyr libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libfontconfig1-dev\
  libfribidi-dev libgsf-1-dev libenchant-dev libasound2-dev libssl-dev xorg-dev\
  libsqlite3-dev libpng12-dev libtiff4-dev libncurses5-dev libboost-dev  libtheora-dev\
  libgnutls-dev libgconf2-dev docbook-style-xsl libgtk2.0-dev gtk-doc-tools\
  python-cairo-dev python2.5-dev python-ctypes python-gtk2-dev