[Sugar-devel] [PATCH] adding support for Tuquito GNU/Linux distribution
Alvar Maciel
alvar at tuquito.org.ar
Fri Apr 1 11:19:22 EDT 2011
On Thu, Mar 31, 2011 at 7:10 PM, Sascha Silbe <silbe at activitycentral.com>wrote:
>
> Thanks for the patch! I'll take a closer look within the next few days
> (if I don't, feel free to ping me).
ok thanks for all
> Just one thing: You need to use
> lower case 'tuquito' in sysdeps.py because we force all names to lower
> case before usage (see _get_distribution() and _pipe_lower()).
>
> I made the corrections to the pacht, I send via git and attach to this mail
to
>From 233589ff2fdc1e862e2eb8b02c66525dd8c9ac5f Mon Sep 17 00:00:00 2001
From: amaciel <alvar at tuquito.org.ar>
Date: Fri, 1 Apr 2011 12:06:00 -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..cf851af 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/20110401/076a14bd/attachment.html>
More information about the Sugar-devel
mailing list