[Sugar-devel] Unable to locate source package for sugar-toolkit (Native Installation of sugar v0.114)

James Cameron quozl at laptop.org
Thu May 23 00:16:40 EDT 2019


On Wed, May 22, 2019 at 07:05:59PM -0700, Alex Perez wrote:
> 
> 
> James Cameron wrote on 5/22/19 7:01 PM:
> > Thanks for reporting this.
> > 
> > Whether it works or not depends on the version of Debian or Ubuntu you
> > are using.  The sugar-toolkit module is for GTK 2, and was last packaged;
> > 
> > * for Debian 9 (Stretch),
> > * for Ubuntu 16.04 (Xenial).
> > 
> > It was dropped because Rsvg was dropped, in turn because Rsvg was not
> > maintained.
> librsvg itself is not un-maintained, and in fact the most recent release was
> mere days ago:
> 
> https://github.com/GNOME/librsvg/releases
> 
> ...so, presumably, it should be possible to build sugar-toolkit with this
> version of librsvg?

librsvg doesn't help, as far as I can see.

What is needed is rsvg.so, the Python 2 static binding for librsvg,
which is not part of librsvg, but part of gnome-python-desktop on
Debian, or gnome-python2-desktop on Fedora.  Last release was 2.32.0
by Daniel Drake of OLPC in March 2012.

> > You will need sugar-toolkit module to run any Sugar activities that
> > depend on GTK 2.  You will also need sugar-toolkit as part of porting
> > any of these activities to GTK 3; because you must verify the user
> > experience is unchanged.  We saw recently with the Bichos activity how
> > important this is.
> > 
> > For OLPC OS my package archive has sugar-toolkit for Ubuntu 18.04, and
> > an unmaintained Rsvg package.
> > 
> > What changes do you propose for development-environment.md?
> > 
> > On Wed, May 22, 2019 at 04:16:24PM +0530, Swarup N wrote:
> > > Hello,
> > > 
> > > I am trying to setup the sugar development environment via the native build
> > > method as described [1]here.
> > > I am able to clone the respective repositories, however when I run sudo apt
> > > build-dep sugar-toolkit , I get the following error:
> > > E: Unable to find a source package for sugar-toolkit
> > > 
> > > I am however able to run the same build-dep command for the other repositories
> > > such as sugar-datastore, sugar-artwork and so on.
> > > 
> > > I did uncomment all the deb-src lines from /etc/apt/sources.list.
> > > 
> > > Can anyone guide me on how to proceed from here?
> > > 
> > > Thanks and Regards,
> > > Swarup N
> > > 
> > > References:
> > > 
> > > [1] https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md
> > > _______________________________________________
> > > Sugar-devel mailing list
> > > Sugar-devel at lists.sugarlabs.org
> > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > 
> 
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list