Difference between revisions of "Development Team/Jhbuild/Debian"

From Sugar Labs
Jump to navigation Jump to search
(→‎Prerequites: we need Python as well (not included in minimal install))
(→‎Prerequites: add aptitude invocation)
Line 3: Line 3:
  
 
== Prerequites ==
 
== Prerequites ==
In order to install sugar-jhbuild, you need to install git-core, lsb-release, python and subversion.
+
In order to install sugar-jhbuild, you need to install git-core, lsb-release, python and subversion:
 +
aptitude install git-core lsb-release python subversion
  
 
== Installing dependencies ==
 
== Installing dependencies ==

Revision as of 15:24, 29 August 2009

Supported versions

Currently squeeze (testing) and sid (unstable) are supported.

Prerequites

In order to install sugar-jhbuild, you need to install git-core, lsb-release, python and subversion:

aptitude install git-core lsb-release python subversion

Installing dependencies

After installing and updating sugar-jhbuild according to the common instructions, you can use this invocation to install all dependencies automatically:

./sugar-jhbuild depscheck -s | sudo xargs aptitude -y install

icon-slicer

icon-slicer currently is in the process of being accepted into Debian (NEW queue). For the time being, please either install manually (and ignore depscheck complaining about it) or use the packages from Jonas Smedegaard (amd64 only). For the latter, add the following line to /etc/apt/sources.list:

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

Fixing RPATH

To work around a bug in the Gnome Python bindings, you need to issue the following commands after installing all dependencies:

sudo aptitude install chrpath
find /usr/lib/pyshared/python2.*/gtk-2.0 -name "*.so" | sudo xargs chrpath -d

Install xulrunner

With Debian testing ("squeeze"), you should install xulrunner and xulrunner-dev for mozilla to compile correctly (xulrunner-1.9 is not enough).

 apt-get install xulrunner xulrunner-dev