[Sugar-devel] Sugar TOAST instructions

Aleksey Lim alsroot at member.fsf.org
Thu Jan 20 04:49:35 EST 2011


On Thu, Jan 20, 2011 at 12:01:45AM -0500, Sebastian Silva wrote:
> Hi friends,
> I want to build a Trisquel Toast like we had in 3.0.
> I know others are working on it, so perhaps we can sync.
> I'd like to setup for myself a development environment where I can:
> 
> 01 Build Sugar packages from source and test them
> 02 Build a TOAST 4.0 or 4.5 from said packages into ISO for booting from USB
> 
> This way we'll be able to customize a TOAST for regional use, add 
> content/activities,
> which we plan to distribute to children in rural parts, starting here in 
> Colombia.

> For 0:
> Seems to me this is exactly what 
> http://wiki.sugarlabs.org/go/Platform_Team/Guide/Core_development
> is for,

It depends on the way you like to follow..

Sweets is the system (in design, but not yet fully implemented)
exactly about not using "regular" packaging in sugar workflow.

It will look like:

* in your software project (sugar activity/library/sugar-core)
  you create recipe file[1] that looks like, eg, rpm spec
  it describes dependencies for your software, how to build it, etc
* using [2], you can build your software locally (ie, w/o any packaging
  at all)
* you can upload sources tarball with your project (and recipe file)
  to bazaar.sugarlabs.org (which is patched version of OBS[3], ie,
  universal system to build/host packages for all (in theory) deb/rpm
  based distros).
* bazaar.sugarlabs.org will build
  * 0install "packages", that is the primal packaging method in sweets
  * it is possible to build regular packages for rpm/deb distros that
    are supported on bazaar
  
What I did for Trisquel [5], is the deb packages that were built using
intermediate distro support in sweets, it is not yet fully implemented.
The plan is having ready-to-use initial implementation at 2011-04-06 [6].

> but when I run "sweets --deep clone sugar" i get:
> /Gtk-Message: Failed to load module "pk-gtk-module": 
> libpk-gtk-module.so: cannot open shared object file: No such file or 
> directory
> WARNING:root:Trying mirror server for feed 
> http://sweets.sugarlabs.org/sweets
> /
> followed by a dialog box saying:
> /Unknown scheme in download URL 'git://git.sugarlabs.org/0sugar/sweets.git'
> /
> Aleksey, I can you help me on how to build these packages from sources?

Hmm.. I can't reproduce this issue in my Lucid VM (which should be the
same as Trisquel-4.0 in case of using sweets). Could you post outputs of
sweets.sh execution? btw, what is your system, Trisquel-4?

[1] http://wiki.sugarlabs.org/go/Platform_Team/Recipe_Specification
[2] http://wiki.sugarlabs.org/go/Platform_Team/Guide/Core_development
[3] http://build.opensuse.org/
[4] http://0install.net/
[5] http://bazaar-download.sugarlabs.org/
[6] http://wiki.sugarlabs.org/go/Platform_Team/Roadmap

-- 
Aleksey


More information about the Sugar-devel mailing list