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

From Sugar Labs
Jump to navigation Jump to search
(→‎icon-slicer: fix typo)
(→‎Fixing RPATH: fix/update path to Python libs)
Line 20: Line 20:
  
 
  sudo aptitude install chrpath
 
  sudo aptitude install chrpath
  find /usr/lib/python-support/python-gnome2/python2.5/gtk-2.0 -name "*.so" | sudo xargs chrpath -d
+
  find /usr/lib/pyshared/python2.*/gtk-2.0 -name "*.so" | sudo xargs chrpath -d

Revision as of 05:26, 10 May 2009

Supported versions

Currently only unstable (sid) is supported. Squeeze (current testing) will be supported once python-gobject >= 2.16 enters testing.

Prerequites

In order to install sugar-jhbuild, you need git-core and svn.

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