Differences between revisions 19 and 20
Revision 19 as of 2007-12-19 13:02:22
Size: 3383
Editor: RafaelOrtiz
Comment: erasing.
Revision 20 as of 2008-01-13 13:49:32
Size: 3388
Comment: Fix running the GIT build commands as non-root.
Deletions are marked like this. Additions are marked like this.
Line 124: Line 124:
aptitude install git-buildpackage sudo aptitude install git-buildpackage

Building all

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

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 least possible

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

Running

Runtime dependencies:

  • python-telepathy
  • python-gst0.10
  • python-numpy (20071130: python2.5 support requires sid package)
  • matchbox-window-manager
  • telepathy-gabble

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

Packaging

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