?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
Official packaging for Debian is in progress, see (444021)
Working builds using as much as possible officially in the archive is available for Sid and Lenny, for i386 and amd64 using one of these APT lines:
deb http://debian.jones.dk/ sid sugar deb http://debian.jones.dk/ lenny sugar
Rebuilds of older Ubuntu packages by https://launchpad.net/~jani/+archive Jani Monoses is available for Sid and Lenny, for i386 and amd64 using one of these APT here:
deb http://debian.jones.dk/ sid sugar-old deb http://debian.jones.dk/ lenny sugar-old
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
[http://wiki.laptop.org/go/Sugar_on_Debian Sugar On Debian]
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-core
- subversion
- python2.5-dev
- automake
- gtk-doc-tools
- python-gtk2-dev
- python-cairo-dev
- shared-mime-info
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
Runtime dependencies
- python-telepathy
- python-gst0.10
- python-numpy (20071130: python2.5 support requires sid package)
- matchbox-window-manager
- telepathy-gabble
python-numpy package
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
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