Sugar on Debian: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Improved some decriptions of Debian resources and packaging status.)
Line 6: Line 6:
-------
-------
= Installing sugar on Debian Unstable =
= Installing sugar on Debian Unstable =

Simplest is to use officially packaged Sugar packages:

aptitude install sugar

The rest of this page is about ways to build Sugar software yourself on a Debian system...


== Get sugar-jhbuild ==
== Get sugar-jhbuild ==
Line 46: Line 52:
=== Alternative 2: Install dependency libraries directly from Debian Sid ===
=== Alternative 2: Install dependency libraries directly from Debian Sid ===


* [http://wiki.debian.org/DebianEdu/OLPC/Sugar Debian Sugar build dependencies]
* [http://wiki.debian.org/Sugar Debian Sugar] (contains notes both on official packaging and on build-dependencies for manual builds)


=== Alternative 3: Installing from apt ===
=== Alternative 3: Installing from apt ===


* Install main sugar package (pulls in all dependent and recommended packages)
* First do a quick search of Sugar

apt-get install sugar
* Optionally search for packages mentioning sugar in their package description


apt-cache search sugar
apt-cache search sugar


* Optionally install and use a smarter search (includes packages fuzzily related to sugar too)
* Then install it by doing the command

aptitude install ept-cache
ept-cache search sugar


apt-get install sugar
==== Packages related to Sugar in Debian ====
==== Packages related to Sugar in Debian ====
Line 82: Line 93:
==== Related Bugs ====
==== Related Bugs ====


* [http://qa.debian.org/developer.php?login=debian-olpc-devel@lists.alioth.debian.org package status] for OLPC-related packages, including links to bugs.
* [http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=sugar&archive=no&version=&dist=unstable Bugs]

''Note:This works for debian testing''


== Debian-OLPC ==
== Debian-OLPC ==
Line 90: Line 99:
* Now there is an debian-olpc project [http://alioth.debian.org/projects/debian-olpc/ alioth debian-olpc]
* Now there is an debian-olpc project [http://alioth.debian.org/projects/debian-olpc/ alioth debian-olpc]


* You can join the [http://alioth.debian.org/mail/?group_id=31108 mail lists]
* You can join the [http://lists.alioth.debian.org/pipermail/debian-olpc-devel/ mail list]


== External links ==
== External links ==

Revision as of 17:57, 24 May 2008

This article is a stub. You can help the OLPC project by expanding it.
Developer's Setup
 Fedora
 Ubuntu
 Debian
 Gentoo
 Slackware
Wiki Category
modify 

Please contribute instructions for getting Sugar to work with Debian GNU/Linux.


Installing sugar on Debian Unstable

Simplest is to use officially packaged Sugar packages:

aptitude install sugar

The rest of this page is about ways to build Sugar software yourself on a Debian system...

Get sugar-jhbuild

aptitude install git-core

Get sugar-jhbuild through git as described in Sugar with sugar-jhbuild.

Run sugar-jhbuild

cd sugar-jhbuild
./sugar-jhbuild update
./sugar-jhbuild build

If update fails with:

ImportError: No Module name ctypes

Try running

aptitude install python-ctypes

Plenty of dependencies are likely to fail.

For build-base, you should need:

aptitude install libtool libsqlite3-dev libnspr4-dev docbook-xsl intltool

Now, this is ALL you need if you want to spend many hours compiling many packages:

The Dependencies

You have two ways to get the dependencies: Build-base and building/installing packages manually from sid archives.

Alternative 1: Build Base

This is easy, but it takes a long time and builds custom versions of all the dependencies (rather than getting them through apt).

./sugar-jhbuild build-base

This takes a long time, but will work. After that, do 'build' and 'run'.

Alternative 2: Install dependency libraries directly from Debian Sid

  • Debian Sugar (contains notes both on official packaging and on build-dependencies for manual builds)

Alternative 3: Installing from apt

  • Install main sugar package (pulls in all dependent and recommended packages)
apt-get install sugar

  • Optionally search for packages mentioning sugar in their package description
apt-cache search sugar
  • Optionally install and use a smarter search (includes packages fuzzily related to sugar too)
aptitude install ept-cache
ept-cache search sugar

Packages related to Sugar in Debian

libipc-shareable-perl - Access IPC shared memory segments through perl
python-olpc-datastore - Sugar graphical shell - datastore
ratfor - Rational Fortran preprocessor for Fortran 77
sugar-presence-service - Sugar graphical shell - presence service
sugar-sharedstate-classes - sharedstate classes for the Sugar graphical shell
sugar-sharingtest-activity - sharingtest activity for the Sugar graphical shell
sugarplum - an automated and intelligent spam trap/cache-poisoner
libghc6-harp-dev - Extends Haskell with the power of regular expressions
libhippocanvas-1-0 - a GTK+2.0 canvas library
libhippocanvas-dev - a GTK+2.0 canvas library
lxr-cvs - A general hypertext cross-referencing tool
python-hippocanvas - Python bindings to hippo-canvas
python-sugar - Sugar graphical shell - core functionality
python-sugar-toolkit - Sugar graphical shell - core widgets
sugar - window manager from the OLPC project
sugar-artwork - Sugar graphical shell - artwork
sugar-calculate-activity - calculate activity for the Sugar graphical shell
sugar-journal-activity - journal activity for the Sugar graphical shell
sugar-pippy-activity - pippy activity for the Sugar graphical shell

Related Bugs

Debian-OLPC

External links

See also

Problems and Solutions

  • It seems plausible that while run dependency check, python-cairo and gtk2.0 have problems while instaling dependencies, (dev libraries) try installing first the gtk2.0 libraries, that should erase the dependence on python-cairo.