[med-svn] r23910 - trunk/packages/insighttoolkit/trunk/debian
Gert Wollny
gewo at moszumanska.debian.org
Wed Aug 16 08:57:43 UTC 2017
Author: gewo
Date: 2017-08-16 08:57:41 +0000 (Wed, 16 Aug 2017)
New Revision: 23910
Modified:
trunk/packages/insighttoolkit/trunk/debian/changelog
trunk/packages/insighttoolkit/trunk/debian/control
trunk/packages/insighttoolkit/trunk/debian/rules
Log:
Upload without python bindings to avouid autoremval
Modified: trunk/packages/insighttoolkit/trunk/debian/changelog
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/changelog 2017-08-15 22:12:56 UTC (rev 23909)
+++ trunk/packages/insighttoolkit/trunk/debian/changelog 2017-08-16 08:57:41 UTC (rev 23910)
@@ -1,5 +1,7 @@
-insighttoolkit4 (4.12.0-dfsg1-2) UNRELEASED; urgency=medium
+insighttoolkit4 (4.12.0-dfsg1-2) unstable; urgency=medium
+ * d/control, d/rules: Disable Python bindings, Closes: #871677
+ * d/control: force dependency on gdcm-2.8 Closes: #871930
* d/rules, d/control: Setup shlib handling for g++-7
Closes: #871282
Modified: trunk/packages/insighttoolkit/trunk/debian/control
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/control 2017-08-15 22:12:56 UTC (rev 23909)
+++ trunk/packages/insighttoolkit/trunk/debian/control 2017-08-16 08:57:41 UTC (rev 23910)
@@ -7,8 +7,8 @@
Gert Wollny <gewo at debian.org>
Build-Depends: debhelper (>= 9),
cmake (>= 2.8.9),
- swig3.0,
- castxml (>= 0.1+git20160202-1.1),
+# swig3.0,
+# castxml (>= 0.1+git20160202-1.1),
g++ (>= 4:7),
zlib1g-dev (>= 1.2.2),
libdouble-conversion-dev,
@@ -21,8 +21,8 @@
uuid-dev,
libminc-dev,
libnifti-dev,
- libhdf5-dev,
- python-all-dev
+ libhdf5-dev
+# ,python-all-dev
# libvtk6-dev -- only needed if we enable one of the following modules:
# VtkGlue, LevelSetsv4Visualization
Standards-Version: 3.9.8
@@ -88,21 +88,21 @@
.
This package contains the source for example programs.
-Package: insighttoolkit4-python
-Section: python
-Architecture: amd64 i386
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Conflicts: insighttoolkit-python
-Replaces: insighttoolkit-python
-Description: Image processing toolkit for registration and segmentation - Python bindings
- ITK is an open-source software toolkit for performing registration and
- segmentation. Segmentation is the process of identifying and
- classifying data found in a digitally sampled
- representation. Typically the sampled representation is an image
- acquired from such medical instrumentation as CT or MRI
- scanners. Registration is the task of aligning or developing
- correspondences between data. For example, in the medical
- environment, a CT scan may be aligned with a MRI scan in order to
- combine the information contained in both.
- .
- This package contains the Python bindings.
+#Package: insighttoolkit4-python
+#Section: python
+#Architecture: amd64 i386
+#Depends: ${misc:Depends}, ${shlibs:Depends}
+#Conflicts: insighttoolkit-python
+#Replaces: insighttoolkit-python
+#Description: Image processing toolkit for registration and segmentation - Python bindings
+# ITK is an open-source software toolkit for performing registration and
+# segmentation. Segmentation is the process of identifying and
+# classifying data found in a digitally sampled
+# representation. Typically the sampled representation is an image
+# acquired from such medical instrumentation as CT or MRI
+# scanners. Registration is the task of aligning or developing
+# correspondences between data. For example, in the medical
+# environment, a CT scan may be aligned with a MRI scan in order to
+# combine the information contained in both.
+# .
+# This package contains the Python bindings.
Modified: trunk/packages/insighttoolkit/trunk/debian/rules
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/rules 2017-08-15 22:12:56 UTC (rev 23909)
+++ trunk/packages/insighttoolkit/trunk/debian/rules 2017-08-16 08:57:41 UTC (rev 23910)
@@ -11,6 +11,8 @@
#ITK is not properly using system provided headers
export DEB_CPPFLAGS_MAINT_APPEND = -I/usr/include/nifti
+ENABLE_PYTHON=0
+
ifeq ($(DEB_BUILD_ARCH),i386)
ENABLE_FFTW=OFF
#(unsigned long) == (unsigned int) on 32 bit, since itk 4.10 or g++-5.4
@@ -67,8 +69,8 @@
-DITK_WRAP_vector_double:BOOL=ON \
-DITK_WRAP_covariant_vector_double:BOOL=ON \
-DITK_WRAP_complex_double:BOOL=ON \
- -DITK_WRAPPING:BOOL=ON \
- -DITK_WRAP_PYTHON:BOOL=ON \
+ -DITK_WRAPPING:BOOL=$(ENABLE_PYTHON) \
+ -DITK_WRAP_PYTHON:BOOL=$(ENABLE_PYTHON) \
-DPython_ADDITIONAL_VERSIONS=2.7
@@ -121,14 +123,17 @@
dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/ITK-$(SOVERSION)/*
dh_install -p$(pkg_dev) --autodest debian/tmp/usr/bin/itkTestDriver
+ifeq ($(ENABLE_PYTHON),1)
# remove wrapping related cmake files, and tools. They should not be needed.
rm -r debian/tmp/usr/lib/cmake/ITK-$(SOVERSION)/WrapITK
+endif
dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/cmake
# dh_install -p$(pkg_dev) Wrapping/WrapITK /usr/src
#
# pkg_python
+ifeq ($(ENABLE_PYTHON),1)
dh_install -p$(pkg_python) debian/tmp/usr/lib/python2.7/* usr/lib/python2.7/
-# dh_install -p$(pkg_python) usr/lib/ITK-$(SOVERSION)/Python usr/lib/ITK-$(SOVERSION)
+endif
# remove build directory to save space
rm -rf BUILD debian/tmp
More information about the debian-med-commit
mailing list