Package: python-freenect
Version: 1:0.0.1+20101211+2-2
Severity: grave
Tags: patch
Justification: renders package unusable

python-freenect ships only extensions for Python 2.7 (which is not the default
version yet):

$ dpkg -c python-freenect_0.0.1+20101211+2-2_i386.deb | grep python2
drwxr-xr-x root/root         0 2011-06-27 07:11 ./usr/lib/python2.7/
drwxr-xr-x root/root         0 2011-06-27 07:11 
./usr/lib/python2.7/dist-packages/
-rw-r--r-- root/root     62204 2011-06-27 07:11 
./usr/lib/python2.7/dist-packages/freenect.so

--
Jakub Wilk
diff -u libfreenect-0.0.1+20101211+2/debian/rules libfreenect-0.0.1+20101211+2/debian/rules
--- libfreenect-0.0.1+20101211+2/debian/rules
+++ libfreenect-0.0.1+20101211+2/debian/rules
@@ -5,7 +5,7 @@
 include /usr/share/cdbs/1/class/cmake.mk
 
 DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
-DEB_CMAKE_EXTRA_FLAGS = -DBUILD_PYTHON:Bool=True
+DEB_CMAKE_EXTRA_FLAGS = -DBUILD_PYTHON:Bool=True -DPython_ADDITIONAL_VERSIONS=$(shell pyversions -dv)
 DEB_INSTALL_DOCS_ALL += CONTRIB
 
 install/libfreenect-demos::
diff -u libfreenect-0.0.1+20101211+2/debian/control libfreenect-0.0.1+20101211+2/debian/control
--- libfreenect-0.0.1+20101211+2/debian/control
+++ libfreenect-0.0.1+20101211+2/debian/control
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Arne Bernin <a...@alamut.de>
 Uploaders: Yaroslav Halchenko <deb...@onerussian.com>, Mark Renouf <mark.ren...@gmail.com>
-Build-Depends: debhelper (>= 7), libusb-1.0-0-dev, freeglut3-dev | libglut3-dev, cdbs, cmake,  pkg-config, libxmu-dev, libxi-dev, python-dev, cython, python-numpy
+Build-Depends: debhelper (>= 7), libusb-1.0-0-dev, freeglut3-dev | libglut3-dev, cdbs, cmake (>= 2.8.4),  pkg-config, libxmu-dev, libxi-dev, python-dev, cython, python-numpy
 Standards-Version: 3.9.1
 Vcs-Git: git://github.com/arnebe/libfreenect.git
 Vcs-Browser: https://github.com/arnebe/libfreenect

Reply via email to