[Sugar-devel] [PATCH] adding support for Tuquito GNU/Linux distribution
Simon Schampijer
simon at schampijer.de
Tue Mar 29 09:53:16 EDT 2011
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
On 03/28/2011 10:42 AM, amaciel wrote:
> From: Your Name<you at example.com>
>
> ---
> 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
More information about the Sugar-devel
mailing list