Package: vtk
Version: 5.4.2-6
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

Hi,

After applying the patch to fix the FTBFS with boost1.42, the package FTBFS in
Ubuntu because of python 2.6.

*** /tmp/tmpUOfWSo
In Ubuntu, the following changes are required to make the package build with
 python 2.6:

  * debian/rules: deleted commands to copy the python package
  * python-vtk.install: install also the python part, deleted from debian/rules

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-22-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u vtk-5.4.2/debian/python-vtk.install vtk-5.4.2/debian/python-vtk.install
--- vtk-5.4.2/debian/python-vtk.install
+++ vtk-5.4.2/debian/python-vtk.install
@@ -5,0 +6 @@
+usr/lib/python2.*/*-packages/*
diff -u vtk-5.4.2/debian/rules vtk-5.4.2/debian/rules
--- vtk-5.4.2/debian/rules
+++ vtk-5.4.2/debian/rules
@@ -234,10 +234,6 @@
 
 	chmod +x debian/vtk-tcl/usr/share/tcltk/tcl8.5/vtk/FindString.tcl
 	chmod +x debian/python-vtk/usr/lib/vtk-5.4/testing/*py
-	# install python-vtk files where the default Python version expects
-	mkdir -p debian/python-vtk/usr/lib/$(PYVERS)/site-packages/vtk
-	cp -p -r debian/tmp/usr/lib/$(PYVERS)/site-packages/vtk/*  debian/python-vtk/usr/lib/$(PYVERS)/site-packages/vtk/
-	cp -p debian/tmp/usr/lib/$(PYVERS)/site-packages/VTK-5.4.2*.egg-info  debian/python-vtk/usr/lib/$(PYVERS)/site-packages/vtk/
 
 	dh_installmenu -a
 	dh_installman -a

Reply via email to