[Sugar-devel] [PATCH] adding support for Tuquito GNU/Linux distribution

Alvar Maciel alvar at tuquito.org.ar
Thu Mar 31 11:53:28 EDT 2011


On Tue, Mar 29, 2011 at 10:53 AM, Simon Schampijer <simon at schampijer.de>wrote:

> Hi Amaciel,
>
> thanks very much for your patch! Maybe you can add a few secondary lines
> about the patch describing it - is Tuqito Debian based, a link to the
> project page?
>
> And maybe you can tell gt your name that it does come up in your patch [1].
>
> Regards,
>   Simon
>
> [1]
> http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#telling-git-your-name
>
>
hi simon tanks a lot for the advisors I sent again the patch to sugar devel
with more information  in this email too maybe you can add this directly or
could you explain how to upload directly using git (I think I did but I am
very new at this, really I'm just a teacher)

>From 50c37da039dc8baafccd925b6b3f034a4ffbaaa9 Mon Sep 17 00:00:00 2001
From: amaciel <alvar at tuquito.org.ar>
Date: Tue, 29 Mar 2011 15:10:53 -0300
Subject: [PATCH] Adding support for Tuquito GNU/Linux distribution

Tuquito is a Ubuntu based distribution - http://www.tuquito.org.ar
Made in Argentina our goal is to make an usable distribution whit
support for educators from a collaborative learning  perspective.
---
 config/sysdeps/10tuquito-allversions.xml |    1 +
 config/sysdeps/50tuquito-4.1.xml         |   25 +++++++++++++++++++++++++
 config/sysdeps/50tuquito-allversions.xml |    5 +++++
 sjhbuild/sysdeps.py                      |    3 ++-
 4 files changed, 33 insertions(+), 1 deletions(-)
 create mode 120000 config/sysdeps/10tuquito-allversions.xml
 create mode 100644 config/sysdeps/50tuquito-4.1.xml
 create mode 100644 config/sysdeps/50tuquito-allversions.xml

diff --git a/config/sysdeps/10tuquito-allversions.xml
b/config/sysdeps/10tuquito-allversions.xml
new file mode 120000
index 0000000..ce85b51
--- /dev/null
+++ b/config/sysdeps/10tuquito-allversions.xml
@@ -0,0 +1 @@
+debian-family.xml
\ No newline at end of file
diff --git a/config/sysdeps/50tuquito-4.1.xml b/config/sysdeps/50tuquito-4.1.xml
new file mode 100644
index 0000000..5ed0ce8
--- /dev/null
+++ b/config/sysdeps/50tuquito-4.1.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<dependencies>
+  <package name="abiword" source="abiword-plugins"/>
+  <package name="espeak"/>
+  <package name="espeak-data"/>
+  <package name="libabiword-2.8-dev" source="abiword"/>
+  <package name="libtelepathy-glib0" source="telepathy-glib"/>
+  <package name="libdbus-glib-1-dev" source="dbus-glib"/>
+  <package name="metacity" source="metacity"/>
+  <package name="pep8" source="pep8"/>
+  <package name="pylint" source="pylint"/>
+  <package name="python-abiword" source="pyabiword"/>
+  <package name="python-evince" source="gnome-python-desktop"/>
+  <package name=" python-lxml" source=" python-lxml"/>
+  <package name="python-beautifulsoup" source="python-beautifulsoup"/>
+<!--  <package name="python-metacity" source="gnome-python-desktop"/> -->
+  <package name="python-rsvg" source="gnome-python-desktop"/>
+  <package name="python-telepathy" source="telepathy-python"/>
+  <package name="python-wnck" source="gnome-python-desktop"/>
+  <package name="python-xklavier" source="python-xklavier"/>
+  <!-- python-xpcom still isn't packaged so hulahop won't work, but
it builds -->
+  <package name="telepathy-gabble" source="telepathy-gabble"/>
+  <package name="telepathy-salut" source="telepathy-salut"/>
+  <package name="xulrunner-1.9.2" source="xulrunner"/><!-- for hulahop -->
+</dependencies>
diff --git a/config/sysdeps/50tuquito-allversions.xml
b/config/sysdeps/50tuquito-allversions.xml
new file mode 100644
index 0000000..e523b3a
--- /dev/null
+++ b/config/sysdeps/50tuquito-allversions.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<dependencies>
+  <!-- TODO: check whether we actually need these (commented out for
Debian) -->
+  <package name="libpoppler-dev"/>
+</dependencies>
diff --git a/sjhbuild/sysdeps.py b/sjhbuild/sysdeps.py
index 7aeb026..aac1af9 100644
--- a/sjhbuild/sysdeps.py
+++ b/sjhbuild/sysdeps.py
@@ -15,6 +15,7 @@ _UNSTABLE_NAMES = {
     'fedora': 'rawhide',
     'mandrivalinux': 'cooker',
     'ubuntu': 'unstable',
+    'Tuquito':'unstable',
 }


@@ -49,7 +50,7 @@ def check_package(package):
     if name in ['fedora', 'mandrivalinux']:
         ret = subprocess.call(['rpm', '--quiet', '-q', package])
         return ret == 0
-    elif name in ['ubuntu', 'debian']:
+    elif name in ['ubuntu', 'debian', 'Tuquito']:
         cmd = ["dpkg-query", "-f='${status}'", "-W", package]
         out, err_ = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()
         return out.find('install ok installed') != -1
-- 
1.7.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110331/f199dc52/attachment-0001.html>


More information about the Sugar-devel mailing list