Package: flumotion
Version: 0.6.1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

Hi,

This has been fixed in flumotion in 0.6.2, so you can either apply this patch 
or update to 0.6.2


*** /tmp/tmpGmWzIS
In Ubuntu, we've applied the attached patch to achieve the following:

  * patches/ubuntu_configure_twisted_10.patch: fix configure file to detect
    correctly twisted > 9.*. This fixes a FTBFS with twisted 10.*

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 
'lucid-proposed'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-24-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- flumotion-0.6.1.orig/debian/patches/ubuntu_configure_twisted_10.patch
+++ flumotion-0.6.1/debian/patches/ubuntu_configure_twisted_10.patch
@@ -0,0 +1,21 @@
+Description: Fix configure script to accept twisted version greater than 9.
+  Patch inspired by what has been done by upstream in 0.6.2
+Author: Fabrice Coutadeur <fabric...@ubuntu.com>
+
+diff -Nur -x '*.orig' -x '*~' flumotion-0.6.1//configure flumotion-0.6.1.new//configure
+--- flumotion-0.6.1//configure	2009-09-09 11:37:51.000000000 +0000
++++ flumotion-0.6.1.new//configure	2010-08-21 07:38:08.815443393 +0000
+@@ -13322,9 +13322,10 @@
+ $as_echo_n "checking for Twisted >= 2.0.1... " >&6; }
+   prog="
+ import sys
+-import twisted.copyright
+-minver = '2.0.1'
+-if twisted.copyright.version < minver:
++from twisted import version as v
++minver = (2, 0, 1)
++curver = (v.major, v.minor, v.micro)
++if curver < minver:
+     sys.exit(1)
+ sys.exit(0)
+ "

Reply via email to