[vmtk] 09/17: Fix FTBFS (Python.h not found).

Mattia Rizzolo mattia at debian.org
Sun Apr 17 14:34:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository vmtk.

commit 7f11fbe53018850ede1a98e39bcb0e2ec9ac5f10
Author: Johannes Ring <johannr at simula.no>
Date:   Mon Dec 19 10:40:32 2011 +0000

    Fix FTBFS (Python.h not found).
---
 debian/changelog                             |  6 ++++++
 debian/patches/series                        |  1 +
 debian/patches/vtk-python-include-path.patch | 12 ++++++++++++
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6084b77..7faaf46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+vmtk (0.9.0-6) unstable; urgency=low
+
+  * Add patch to fix problem with Python.h not found (closes: 650586).
+
+ -- Johannes Ring <johannr at simula.no>  Mon, 19 Dec 2011 11:18:55 +0100
+
 vmtk (0.9.0-5) unstable; urgency=low
 
   * debian/rules: Enable contrib scripts.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a13aeec
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+vtk-python-include-path.patch
diff --git a/debian/patches/vtk-python-include-path.patch b/debian/patches/vtk-python-include-path.patch
new file mode 100644
index 0000000..507adf1
--- /dev/null
+++ b/debian/patches/vtk-python-include-path.patch
@@ -0,0 +1,12 @@
+Fix problem with Python.h not found when building against newer VTK.
+
+--- vmtk-0.9.0.orig/vtkVmtk/CMakeLists.txt
++++ vmtk-0.9.0/vtkVmtk/CMakeLists.txt
+@@ -76,6 +76,7 @@ INSTALL(FILES ${files}
+   COMPONENT Development)
+ 
+ IF (VTK_WRAP_PYTHON AND VTK_VMTK_WRAP_PYTHON)
++  INCLUDE_DIRECTORIES(${VTK_PYTHON_INCLUDE_DIR})
+   CONFIGURE_FILE(${VTK_VMTK_SOURCE_DIR}/vtkvmtk.py ${VTK_VMTK_BINARY_DIR}/vtkvmtk.py COPYONLY)
+   #INSTALL_FILES(${VTK_VMTK_MODULE_INSTALL_LIB_DIR} FILES ${VTK_VMTK_BINARY_DIR}/vtkvmtk.py)
+   INSTALL(FILES ${VTK_VMTK_BINARY_DIR}/vtkvmtk.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vmtk.git



More information about the debian-science-commits mailing list