<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    El 20/01/11 04:49, Aleksey Lim escribió:
    <blockquote cite="mid:20110120094935.GA16878@antilopa-gnu"
      type="cite">
      <pre wrap="">On Thu, Jan 20, 2011 at 12:01:45AM -0500, Sebastian Silva wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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
</pre>
      </blockquote>
      <pre wrap="">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<big><big></big></big>
</pre>
    </blockquote>
    Most interesting. <br>
    Will I be able to build these distro packages myself? (my uplink
    connection is mediocre)<br>
    <blockquote cite="mid:20110120094935.GA16878@antilopa-gnu"
      type="cite">
      <pre wrap="">  
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].
</pre>
    </blockquote>
    That is a very accurate! Then what would be the shortest path to
    building my own packages I can use for my TOAST?<br>
    <blockquote cite="mid:20110120094935.GA16878@antilopa-gnu"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">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 
<a class="moz-txt-link-freetext" href="http://sweets.sugarlabs.org/sweets">http://sweets.sugarlabs.org/sweets</a>
/
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?
</pre>
      </blockquote>
      <pre wrap="">
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?

</pre>
    </blockquote>
    Yes I'm running 4.0 Taranis.<br>
    Here's a pastebin of the full output of sweets:<br>
    <a href="http://pastebin.com/fNPkTvEr">http://pastebin.com/fNPkTvEr</a><br>
    <br>
    <blockquote cite="mid:20110120094935.GA16878@antilopa-gnu"
      type="cite">
      <pre wrap="">[1] <a class="moz-txt-link-freetext" href="http://wiki.sugarlabs.org/go/Platform_Team/Recipe_Specification">http://wiki.sugarlabs.org/go/Platform_Team/Recipe_Specification</a>
[2] <a class="moz-txt-link-freetext" href="http://wiki.sugarlabs.org/go/Platform_Team/Guide/Core_development">http://wiki.sugarlabs.org/go/Platform_Team/Guide/Core_development</a>
[3] <a class="moz-txt-link-freetext" href="http://build.opensuse.org/">http://build.opensuse.org/</a>
[4] <a class="moz-txt-link-freetext" href="http://0install.net/">http://0install.net/</a>
[5] <a class="moz-txt-link-freetext" href="http://bazaar-download.sugarlabs.org/">http://bazaar-download.sugarlabs.org/</a>
[6] <a class="moz-txt-link-freetext" href="http://wiki.sugarlabs.org/go/Platform_Team/Roadmap">http://wiki.sugarlabs.org/go/Platform_Team/Roadmap</a>

</pre>
    </blockquote>
    Thanks for all the help!<br>
  </body>
</html>