El 09/03/14 06:32, Daniel Narvaez escribió:
Finally when building sugar-base I had to set up the environment
variable PYTHON=/usr/bin/python2.7 in order for it to build.
In sugar-toolkit-gtk3 we have
PYTHON=python2
AM_PATH_PYTHON
I don't remember why python2 instead of python2.7 but I think that was
probably what the python documentation suggested..
I think we should do the same in sugar-base. I don't think I have
write access to that repo, but if you make that change and test it in
archlinux, consider it reviewed :)
What is the the patch process nowadays? Merge request, pull request,
patch to list... ?
Regards,
Sebastian
>From b708d2ce4308657fe30622e3fb1677ac686d07b7 Mon Sep 17 00:00:00 2001
From: Sebastian Silva <[email protected]>
Date: Sun, 9 Mar 2014 23:05:44 -0500
Subject: [PATCH] Follow best practices, explicitly require python2 (fixes
ArchLinux).
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index cb7806d..2f4aca4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,7 @@ AC_PROG_LIBTOOL
GNOME_COMPILE_WARNINGS(maximum)
+PYTHON=python2
AM_PATH_PYTHON
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
--
1.9.0
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel