]> code.ossystems Code Review - openembedded-core.git/commitdiff
libtelepathy: Prefer python 2.5
authorRichard Purdie <richard@openedhand.com>
Fri, 4 Jan 2008 11:49:28 +0000 (11:49 +0000)
committerRichard Purdie <richard@openedhand.com>
Fri, 4 Jan 2008 11:49:28 +0000 (11:49 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3406 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/telepathy/libtelepathy/prefer_python_2.5.patch [new file with mode: 0644]
meta/packages/telepathy/libtelepathy_0.3.1.bb

diff --git a/meta/packages/telepathy/libtelepathy/prefer_python_2.5.patch b/meta/packages/telepathy/libtelepathy/prefer_python_2.5.patch
new file mode 100644 (file)
index 0000000..ec01567
--- /dev/null
@@ -0,0 +1,13 @@
+Index: libtelepathy-0.3.1/configure.ac
+===================================================================
+--- libtelepathy-0.3.1.orig/configure.ac       2007-11-22 19:05:56.000000000 +0000
++++ libtelepathy-0.3.1/configure.ac    2008-01-04 12:07:28.000000000 +0000
+@@ -51,7 +51,7 @@
+   AC_MSG_ERROR([xsltproc (from the libxslt source package) is required])
+ fi
+-AC_CHECK_PROGS([PYTHON], [python2.3 python2.4 python2.5 python])
++AC_CHECK_PROGS([PYTHON], [python2.5 python2.4 python2.3 python])
+ if test -z "$PYTHON"; then
+   AC_MSG_ERROR([Python is required to compile this package])
+ fi
index 898400fa72cea8a6cbfea3cf8d072140996cf31d..b87a72ba673fcc3bb0ad518920030612ec219352 100644 (file)
@@ -2,9 +2,10 @@ DESCRIPTION = "Telepathy framework - GLib library"
 HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
 DEPENDS = "glib-2.0 dbus telepathy-glib"
 LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
 
-SRC_URI = "http://telepathy.freedesktop.org/releases/libtelepathy/libtelepathy-${PV}.tar.gz"
+SRC_URI = "http://telepathy.freedesktop.org/releases/libtelepathy/libtelepathy-${PV}.tar.gz \
+           file://prefer_python_2.5.patch;patch=1 "
 
 inherit autotools pkgconfig