[Sugar-devel] [PATCH] Support isolated start

Aleksey Lim alsroot at member.fsf.org
Fri Oct 22 12:01:03 EDT 2010


Running process is based on injection (how 0install works) of evironment
variables to final application process, e.g., via PYTHONPATH. Patch will let
bazaar.sugarlabs.org build sugar packages, also runnning from git cloned
directories will be supported (i.e., without jhbuild).
---
 .gitignore    |    2 ++
 sweets.recipe |   29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 sweets.recipe

diff --git a/.gitignore b/.gitignore
index 9acb07c..4ad2f8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,3 +38,5 @@ test/exported_*
 .DS_Store
 gtk/theme/sugar-100.gtkrc
 gtk/theme/sugar-72.gtkrc
+*.tar.*
+.sweets
diff --git a/sweets.recipe b/sweets.recipe
new file mode 100644
index 0000000..5e39563
--- /dev/null
+++ b/sweets.recipe
@@ -0,0 +1,29 @@
+[DEFAULT]
+sweet     = sugar-artwork
+summary   = Themes and icons
+license   = LGPLv2.1+
+homepage  = http://git.sugarlabs.org/projects/sugar-artwork
+
+version   = 0.90.0
+stability = testing
+
+depends   = gtk; pygobject; cairo >= 0.1.1
+
+[Component]
+requires  = %(depends)s
+binding   = GTK_PATH lib/gtk-2.0
+            replace GTK_DATA_PREFIX
+            XDG_DATA_DIRS share
+            XCURSOR_PATH share/icons
+arch      = any
+
+[Build]
+requires  = %(depends)s; icon-slicer; icon-naming-utils; xcursorgen
+            pkg-config; make; gcc-c
+cleanup   = make distclean; ./autogen.sh
+configure = ./configure --prefix=%(PREFIX)s CFLAGS="%(CFLAGS)s"
+make      = make
+install   = make DESTDIR=%(DESTDIR)s install
+
+[Source]
+exec      = ./autogen.sh && make dist
-- 
1.7.2.2



More information about the Sugar-devel mailing list