[med-svn] r5372 - in trunk/packages/insighttoolkit/tags: . 3.18.0-5/debian

Steven Michael Robbins smr at alioth.debian.org
Thu Oct 21 14:45:00 UTC 2010


Author: smr
Date: 2010-10-21 14:44:58 +0000 (Thu, 21 Oct 2010)
New Revision: 5372

Added:
   trunk/packages/insighttoolkit/tags/3.18.0-5/
   trunk/packages/insighttoolkit/tags/3.18.0-5/debian/README.Debian
   trunk/packages/insighttoolkit/tags/3.18.0-5/debian/changelog
   trunk/packages/insighttoolkit/tags/3.18.0-5/debian/rules
Removed:
   trunk/packages/insighttoolkit/tags/3.18.0-5/debian/README.Debian
   trunk/packages/insighttoolkit/tags/3.18.0-5/debian/changelog
   trunk/packages/insighttoolkit/tags/3.18.0-5/debian/rules
Log:
[svn-buildpackage] Tagging insighttoolkit 3.18.0-5

Deleted: trunk/packages/insighttoolkit/tags/3.18.0-5/debian/README.Debian
===================================================================
--- trunk/packages/insighttoolkit/branches/3.18.0/debian/README.Debian	2010-10-21 08:53:58 UTC (rev 5370)
+++ trunk/packages/insighttoolkit/tags/3.18.0-5/debian/README.Debian	2010-10-21 14:44:58 UTC (rev 5372)
@@ -1,106 +0,0 @@
-                                                             .. -*- rst -*-
-
-======================================================================
-The Insight Segmentation and Registration Toolkit for Debian GNU/Linux
-======================================================================
-
-
-The Insight Toolkit (ITK) homepage is at:
-
-    http://www.itk.org/
-
-
-
-Examples Package
-----------------
-
-The ``insighttoolkit-examples`` package contains a set of C++ samples that
-illustrate how to use various aspects of the toolkit.  The source is located
-in ``/usr/share/doc/insighttoolkit-examples/src``.  The examples come from
-the *ITK Software Guide*.
-
-To build the examples:
-
-1. Create a working directory; e.g. in your home directory::
-
-    % mkdir ~/itk-examples
-    % cd ~/itk-examples
-
-2. Copy and uncompress the sources::
-
-    % cp -a /usr/share/doc/insighttoolkit-examples/examples/* .
-    % find . -name '*.gz' | xargs gunzip
-
-3. Run ``cmake`` in source directory::
-
-    % cmake .
-
-4. Run ``make`` and go make some coffee::
-
-    % make
-
-5. Run the examples, examine the code, read the book, enjoy coffee
-
-The examples should be read in conjunction with the *ITK Developers Guide*.
-The -apps package has some more sophisticated examples, including demos of
-how to integrate ITK with a GUI and 2D/3D visualisation.
-
-
-Related Packages
-~~~~~~~~~~~~~~~~
-
-The Insight Toolkit is normally used in conjunction with other packages
-that provide a GUI, visualisation, and other facilities.
-
-
-  * Graphical User Interface Toolkits
-
-      - FLTK (``libfltk1.1``) : http://www.fltk.org/
-      - GTK+ (``libgtk2``) : http://www.gtk.org/
-      - wxWindows (``libwxgtk2.2``) : http://www.wxwindows.org/
-
-  * Visualisation
-
-      - The Visualisation Toolkit (``libvtk4``) : http://www.vtk.org/
-
-
-Resources
-~~~~~~~~~
-
-The official ITK website is http://www.itk.org/ where other information
-relating to ITK is provided.
-
-From here you can join the mailing list:
-
-  insight-users at www.itk.org
-  http://www.itk.org/mailman/listinfo/insight-users
-
-
-Development
-~~~~~~~~~~~
-
-It is strongly recommended that you use CMake for building ITK applications.
-It greatly simplifies the task of writing Makefiles, and avoids complications
-of compiler settings, paths, and so on.  It is provided in the package
-``cmake``.
-
-When building with CMake, ``ITK_DIR`` should be detected automatically.
-``ITK_DIR`` is still the same as the default ``/usr/lib/InsightToolkit``.
-
-You can add the following code to your CMakeLists.txt file::
-
-    FIND_PACKAGE(ITK)
-    IF(ITK_FOUND)
-      INCLUDE(${ITK_USE_FILE})
-    ELSE(ITK_FOUND)
-      MESSAGE(FATAL_ERROR "Cannot build without ITK.  Please set ITK_DIR.")
-    ENDIF(ITK_FOUND)
-
-
-
-.. This document is written in reStructuredText, and can be processed
-   to generate HTML, LaTeX and other rich output formats.  See the
-   http://docutils.sourceforge.net/ project for more information.
-
-
- -- Gavin Baker <gavinb at antonym.org>, Thu Dec 01 22:42:37 2005

Copied: trunk/packages/insighttoolkit/tags/3.18.0-5/debian/README.Debian (from rev 5371, trunk/packages/insighttoolkit/branches/3.18.0/debian/README.Debian)
===================================================================
--- trunk/packages/insighttoolkit/tags/3.18.0-5/debian/README.Debian	                        (rev 0)
+++ trunk/packages/insighttoolkit/tags/3.18.0-5/debian/README.Debian	2010-10-21 14:44:58 UTC (rev 5372)
@@ -0,0 +1,119 @@
+                                                             .. -*- rst -*-
+
+======================================================================
+The Insight Segmentation and Registration Toolkit for Debian GNU/Linux
+======================================================================
+
+
+The Insight Toolkit (ITK) homepage is at:
+
+    http://www.itk.org/
+
+
+
+Examples Package
+----------------
+
+The ``insighttoolkit-examples`` package contains a set of C++ samples that
+illustrate how to use various aspects of the toolkit.  The source is located
+in ``/usr/share/doc/insighttoolkit-examples/src``.  The examples come from
+the *ITK Software Guide*.
+
+To build the examples:
+
+1. Create a working directory; e.g. in your home directory::
+
+    % mkdir ~/itk-examples
+    % cd ~/itk-examples
+
+2. Copy and uncompress the sources::
+
+    % cp -a /usr/share/doc/insighttoolkit-examples/examples/* .
+    % find . -name '*.gz' | xargs gunzip
+
+3. Run ``cmake`` in source directory::
+
+    % cmake .
+
+4. Run ``make`` and go make some coffee::
+
+    % make
+
+5. Run the examples, examine the code, read the book, enjoy coffee
+
+The examples should be read in conjunction with the *ITK Developers Guide*.
+The -apps package has some more sophisticated examples, including demos of
+how to integrate ITK with a GUI and 2D/3D visualisation.
+
+
+Related Packages
+~~~~~~~~~~~~~~~~
+
+The Insight Toolkit is normally used in conjunction with other packages
+that provide a GUI, visualisation, and other facilities.
+
+
+  * Graphical User Interface Toolkits
+
+      - FLTK (``libfltk1.1``) : http://www.fltk.org/
+      - GTK+ (``libgtk2``) : http://www.gtk.org/
+      - wxWindows (``libwxgtk2.2``) : http://www.wxwindows.org/
+
+  * Visualisation
+
+      - The Visualisation Toolkit (``libvtk4``) : http://www.vtk.org/
+
+
+Resources
+~~~~~~~~~
+
+The official ITK website is http://www.itk.org/ where other information
+relating to ITK is provided.
+
+From here you can join the mailing list:
+
+  insight-users at www.itk.org
+  http://www.itk.org/mailman/listinfo/insight-users
+
+
+Development
+~~~~~~~~~~~
+
+It is strongly recommended that you use CMake for building ITK applications.
+It greatly simplifies the task of writing Makefiles, and avoids complications
+of compiler settings, paths, and so on.  It is provided in the package
+``cmake``.
+
+When building with CMake, ``ITK_DIR`` should be detected automatically.
+``ITK_DIR`` is still the same as the default ``/usr/lib/InsightToolkit``.
+
+You can add the following code to your CMakeLists.txt file::
+
+    FIND_PACKAGE(ITK)
+    IF(ITK_FOUND)
+      INCLUDE(${ITK_USE_FILE})
+    ELSE(ITK_FOUND)
+      MESSAGE(FATAL_ERROR "Cannot build without ITK.  Please set ITK_DIR.")
+    ENDIF(ITK_FOUND)
+
+
+Valgrind
+~~~~~~~~
+
+To facilitate using valgrind with ITK-using packages, two valgrind
+suppression files are shipped with the library package.  To avoid
+conflicts, these files have been renamed.
+
+    CMake/InsightValgrind.supp becomes Insight$(SOVERSION)Valgrind.supp
+    Utilities/vxl/config/valgrind.supp becomes Insight$(SOVERSION)VxlValgrind.supp
+
+Both may be found in /usr/lib/valgrind.
+
+
+
+.. This document is written in reStructuredText, and can be processed
+   to generate HTML, LaTeX and other rich output formats.  See the
+   http://docutils.sourceforge.net/ project for more information.
+
+
+ -- Steve M. Robbins <smr at debian.org>  Thu, 21 Oct 2010 03:55:00 -0500

Deleted: trunk/packages/insighttoolkit/tags/3.18.0-5/debian/changelog
===================================================================
--- trunk/packages/insighttoolkit/branches/3.18.0/debian/changelog	2010-10-21 08:53:58 UTC (rev 5370)
+++ trunk/packages/insighttoolkit/tags/3.18.0-5/debian/changelog	2010-10-21 14:44:58 UTC (rev 5372)
@@ -1,314 +0,0 @@
-insighttoolkit (3.18.0-4) unstable; urgency=low
-
-  * rules: Use cmake.mk instead of makefile.mk; drop common-configure-arch
-    rule.
-
-  * CMakeCache.txt.debian: Remove.
-  * rules: Move contents of CMakeCache.txt.debian into rules as "-D"
-    options to cmake.
-  
-  * patches/nifti-memleak.patch: New.  Fix memory leak in itkNiftiImageIO.
-    Closes: #587200.
-
-  * rules: install InsightValgrind.supp and InsightVxlValgrind.supp.
-    Closes: #586928.
-  
- -- Steve M. Robbins <smr at debian.org>  Fri, 30 Jul 2010 23:42:36 -0500
-
-insighttoolkit (3.18.0-3) unstable; urgency=low
-
-  * patches/hppa-complex-long-double.patch: New (thanks, Denis
-    Barbier). Remove conditional that prevented building long double
-    datastructures on HPPA.  Closes: #558998.
-  
-  * patches/remove-cmake-export-build-settings.patch: New.  Remove
-    deprecated CMAKE_EXPORT_BUILD_SETTINGS from CMakeLists.txt.  Closes:
-    #580816.
-
- -- Steve M. Robbins <smr at debian.org>  Wed, 09 Jun 2010 22:40:32 -0500
-
-insighttoolkit (3.18.0-2) unstable; urgency=low
-
-  * control.in: Remove version restriction (>= 1.6) from default-jdk.
-    Closes: #580527.
-
- -- Steve M. Robbins <smr at debian.org>  Fri, 07 May 2010 02:35:03 -0500
-
-insighttoolkit (3.18.0-1) unstable; urgency=low
-
-  * New upstream.
-    - patches/use_system_vxl.patch: Remove, applied upstream.
-
-  * rules: Override lintian errors embedded-libjpeg and
-    embedded-libopenjpeg.  ITK has extensively modified versions of these
-    libraries, including building libjpeg in 8, 12, and 16-bit versions.
-    Need to investigate feasibility of incorporating such changes into
-    system libjpeg before removing.
-  
-  * rules: Override lintian warnings postinst-has-useless-call-to-ldconfig
-    and postrm-has-useless-call-to-ldconfig for the JNI package, until bug
-    #205142 is fixed.
-  
-  * copyright: Note that ITK is GPL v2, due to linking with FFTW.
-  
- -- Steve M. Robbins <smr at debian.org>  Sun, 02 May 2010 11:16:41 -0500
-
-insighttoolkit (3.16.0-2) unstable; urgency=low
-
-  * Add Java bindings (thanks, Michal Suchanek).  Closes: #572132.
-    Build-depend on default-jdk and javahelper (>= 0.18 to use CDBS
-    class).
-  * patches/jni-dir.patch: New.  Load JNI from /usr/lib/jni.
-  
-  * Build with Tcl version 8.5.  Closes: #572131.
-  * patches/itkTkImageViewer2D.patch: New.  Patch to build with tcl 8.5.
-  
-  * control.in: New packages libinsighttoolkit3-java and
-    libinsighttoolkit3-jni.
-  
-  * patches/use_system_vxl.patch: New.  Preparation for using system VXL;
-    however, presently the CMake variable ITK_USE_SYSTEM_VXL is OFF.
-
- -- Steve M. Robbins <smr at debian.org>  Sun, 11 Apr 2010 17:52:07 -0500
-
-insighttoolkit (3.16.0-1) unstable; urgency=low
-
-  * New upstream.
-    - patches/vnl-math-asm.patch:
-    - patches/sharedforward.patch:
-    - patches/pythonfiles-install.patch:
-    - patches/netlib-slatec-soname.patch: Remove.  Applied upstream.
-
-  * README.source: New.  Refer to quilt README.
-  
-  * control.in: Build depend on current versions of both cableswig and
-    gccxml.
-  
-  * Python-Numarray is removed from Debian.
-    - CMakeCache.txt.debian: Remove ITK_USE_PYTHON_NUMARRAY=ON.
-    - rules: Remove PYTHON_NUMARRAY_INCLUDE_DIR from CMakeCache.txt.
-    - control.in: Remove build-depend on python-numarray.
-  
- -- Steve M. Robbins <smr at debian.org>  Sat, 26 Sep 2009 12:08:01 -0500
-
-insighttoolkit (3.14.0-2) unstable; urgency=low
-
-  * patches/vnl-math-asm.patch: New.  Enable assembly implementation of
-    rounding only on i386 and amd64, as it seems to be x86-specific
-    assembly code.
-  
-  * control:
-  * CMakeCache.txt.debian: Build with system gdcm.
-
- -- Steve M. Robbins <smr at debian.org>  Wed, 22 Jul 2009 01:17:32 -0500
-
-insighttoolkit (3.14.0-1) unstable; urgency=low
-
-  * New upstream.
-    - patches/netlib-slatec-soname.patch: New.  Ensure new slatec library
-      is built with a SOVERSION.
-  
-  * control.in: New.  Template file to generate control using
-    "control-file" rule.
-
-  * control.in (libinsighttoolkit3-dev): Add Recommends dependency on uuid-dev.
-    Closes: #519724.  Change dependency on libfftw3-dev from Depends to
-    Recommends.
-
-  * rules: Remove parallel build, since it is broken.  Closes: #536999.
-
-  * itkwish.1: New.
-
- -- Steve M. Robbins <smr at debian.org>  Sun, 19 Jul 2009 13:01:40 -0500
-
-insighttoolkit (3.12.0-1) unstable; urgency=low
-
-  * New upstream.
-  
-  * rules: Install python module and extensions into
-    /usr/lib/pythonX.Y/site-packages on advice of Josselin Mouette.
-    Closes: #516766.
-
- -- Steve M. Robbins <smr at debian.org>  Sat, 07 Mar 2009 23:04:10 -0600
-
-insighttoolkit (3.10.1-1) unstable; urgency=low
-  
-  * New upstream version.
-    - patches/nifti-versioning.patch: Remove.  Applied upstream.
-    - control:
-    - rules: Update version numbers, package names.
-
-  * control: Build-depend on uuid-dev (gdcm uses it).
-  
-  * copyright: Update download URL.
-  
-  * rules: Adhere to parallel=N in DEB_BUILD_OPTIONS by setting MAKEFLAGS.
-  
-  * compat: Set to 7.
-  * control: Update build-dep on debhelper to version >= 7.
-
-  * CMakeCache.txt.debian: Set CMAKE_BUILD_TYPE to "RELEASE" so that we
-    build with -O3 (not -O2), necessary to optimize the templated code.
-  
- -- Steve M. Robbins <smr at debian.org>  Fri, 19 Dec 2008 20:16:49 -0600
-
-insighttoolkit (3.8.0-1) unstable; urgency=low
-
-  * New upstream release.
-    - patches/gcc43.patch: Remove; incorporated upstream.
-    - control: Update Standards-Version to 3.8.0 (no changes req'd).
-
-  * rules: Add get-orig-source target.  Parameterize all version numbers.
-  
-  * patches/nifti-versioning.patch: New.  Ensure all shared libraries
-    built under Utilities/nifti follow the ITK SOVERSION.
-
- -- Steve M. Robbins <smr at debian.org>  Sun, 24 Aug 2008 07:41:34 -0500
-
-insighttoolkit (3.6.0-4) UNRELEASED; urgency=low
-
-  [Steve M. Robbins]
-  * debian/patches/gcc43.patch: Include <cstring> in itkColorTable.txx and
-    itkMetaDataObject.h.  Qualify typedefs in itkAutomaticTopologyMeshSource.
-  
-  * debian/control: Update dependency on debhelper to (>=6.0.7) to account
-    for use of dh_lintian.  Account for changes insighttoolkit-examples to
-    insighttoolkit3-examples, and libinsighttoolkit-dev to
-    libinsighttoolkit3-dev.
-
-  [Charles Plessy]
-  * debian/control: added `Vcs-Browser' and `Vcs-Svn' fields.
-
- -- Steve M. Robbins <smr at debian.org>  Tue, 08 Jul 2008 23:20:16 -0500
-
-insighttoolkit (3.6.0-3) unstable; urgency=low
-
-  * debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
-    with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
-  * debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
-    This only showed up in the tcl wrapping step.
-
-  * Above two entries fix FTBFS for GCC 4.3-based systems.
-    Closes: #478500.
-  
-  * debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
-    systems are not also configured as a SUN sparc system, which requires
-    SUN header sys/isa_defs.h.  Closes: #478940, #483312.
-
- -- Steve M. Robbins <smr at debian.org>  Sat, 31 May 2008 12:07:29 -0500
-
-insighttoolkit (3.6.0-2) unstable; urgency=low
-
-  * debian/patches/pythonfiles-install.patch: New.  Remove argument
-    "COMPONENTS" from FILE(INSTALL command that cmake 2.6 has started
-    complaining about.  There seems to be no ill effects as the python
-    files are still installed properly.
-  
-  * debian/control: Add versioned build-dep for gccxml, to ensure version
-    with support for gcc 4.3 builtins.
-
- -- Steve M. Robbins <smr at debian.org>  Mon, 26 May 2008 00:25:21 -0500
-
-insighttoolkit (3.6.0-1) unstable; urgency=low
-
-  * New upstream.
-  
-  * debian/control:
-  * debian/rules: Add major version ('3') to all package names,
-    in order to support two major versions in the Debian archive.  
-  
-  * debian/control:
-  * debian/rules:
-  * debian/CMakeCache.txt.debian: New package tcl8.4-insighttoolkit3 for
-    Tcl bindings.
-  * debian/patches/tcl-install.patch: New.  Patch pkgIndex.tcl to search
-    for extension modules (shared libs) in /usr/lib.
-  * debian/patches/series: Add above.
-
- -- Steve M. Robbins <smr at debian.org>  Fri, 16 May 2008 01:01:16 -0500
-
-insighttoolkit (3.4.0-4) unstable; urgency=low
-
-  * rules:
-  * control: 
-  * patches/series: Switch from simple patchsys to quilt.
-  
-  * patches/gcc43.patch: New.  Fix GCC 4.3 build errors.  Closes: #474537.
-
-  * rules: Install libSwigPythonRuntime.so.  Closes: #476632.
-  
- -- Steve M. Robbins <smr at debian.org>  Fri, 25 Apr 2008 20:07:00 -0500
-
-insighttoolkit (3.4.0-3) unstable; urgency=low
-
-  * CMakeCache.txt.debian: Set ITK_USE_PYTHON_NUMARRAY=ON.
-  * rules: Add PYTHON_NUMARRAY_INCLUDE_DIR to CMakeCache.txt.
-  * control: Build-depend on python-numarray.
-
-  * CMakeCache.txt.debian: Set USE_FFTWD=ON and USE_FFTWF=ON.
-  * control: Add libfftw3-dev to Build-deps and -dev deps.
-  
-  * debian/libinsighttoolkit3.4.lintian-overrides:
-  * debian/python-insighttoolkit.lintian-overrides: New.  Override
-    package-name-doesnt-match-sonames.
-
- -- Steve M. Robbins <smr at debian.org>  Sat, 05 Apr 2008 09:36:46 -0500
-
-insighttoolkit (3.4.0-2) unstable; urgency=low
-
-  [ Steve M. Robbins ]
-  * control: Remove the homepage url from each package description.
-
-  * control: New build-depends on cdbs version (for python-support),
-    cableswig, python-support, and python-dev.  New package
-    python-insighttoolkit.
-  * rules: Add PYTHON_EXECUTABLE, PYTHON_INCLUDE_PATH, and PYTHON_LIBRARY
-    to generated CMakeCache.txt.  New rule install/python-insighttoolkit.  
-  * CMakeCache.txt.debian: Enable ITK_CSWIG_PYTHON.
-
-  * insightoolkit.1: Rename to insightoolkit.3.
-  * rules: Adjust accordingly.
-
-  * control (libinsighttoolkit-dev): Change section from lib to libdevel.
-    Change libinsighttoolkit3.4 dependency version from obsolete
-    ${Source-Version} to ${binary:Version}.
-
-  [ David Paleino ]
-  * debian/control:
-    - Standards-Version bumped to 3.7.3
-  * debian/watch added
-
- -- Steve M. Robbins <smr at debian.org>  Tue, 12 Feb 2008 21:17:27 -0600
-
-insighttoolkit (3.4.0-1) unstable; urgency=low
-
-  * New upstream version.
-    - Obsoletes patches: 01_itkPowellOptimizer.patch,
-    02_itkAnalyzeDbh.patch, 04_ITKConfig.patch,
-    05_itkIncludeDirectories.patch
-  
-  * control: Change maintainer to team mailing list.  Add homepage.  
-  
-  * control:
-  * rules: Rename shared library package from libinsighttoolkit3.0 to
-    libinsighttoolkit3.4.
-  
-  * CMakeCache.txt.debian: Enable concept checking.
-
- -- Steve M. Robbins <smr at debian.org>  Thu, 03 Jan 2008 01:21:55 -0600
-
-insighttoolkit (3.2.0-2) unstable; urgency=low
-
-  * debian/patches/04_ITKConfig.patch: Don't export ITK_SOURCE_DIR.
-    Closes: #424132.
-
-  * debian/patches/05_itkIncludeDirectories.patch: Correct include path
-    for gdcm.  Closes: #424134.
-
- -- Steve M. Robbins <smr at debian.org>  Wed, 13 Jun 2007 00:59:13 -0500
-
-insighttoolkit (3.2.0-1) unstable; urgency=low
-
-  * Initial upload.
-
- -- Steve M. Robbins <smr at debian.org>  Sun, 29 Apr 2007 20:19:27 -0500

Copied: trunk/packages/insighttoolkit/tags/3.18.0-5/debian/changelog (from rev 5371, trunk/packages/insighttoolkit/branches/3.18.0/debian/changelog)
===================================================================
--- trunk/packages/insighttoolkit/tags/3.18.0-5/debian/changelog	                        (rev 0)
+++ trunk/packages/insighttoolkit/tags/3.18.0-5/debian/changelog	2010-10-21 14:44:58 UTC (rev 5372)
@@ -0,0 +1,322 @@
+insighttoolkit (3.18.0-5) unstable; urgency=low
+
+  * rules: Embed SOVERSION in valgrind suppression files to avoid file
+    conflicts on upgrade to new versions of insighttoolkit.  Closes:
+    #600867.
+
+ -- Steve M. Robbins <smr at debian.org>  Thu, 21 Oct 2010 04:11:33 -0500
+
+insighttoolkit (3.18.0-4) unstable; urgency=low
+
+  * rules: Use cmake.mk instead of makefile.mk; drop common-configure-arch
+    rule.
+
+  * CMakeCache.txt.debian: Remove.
+  * rules: Move contents of CMakeCache.txt.debian into rules as "-D"
+    options to cmake.
+  
+  * patches/nifti-memleak.patch: New.  Fix memory leak in itkNiftiImageIO.
+    Closes: #587200.
+
+  * rules: install InsightValgrind.supp and InsightVxlValgrind.supp.
+    Closes: #586928.
+  
+ -- Steve M. Robbins <smr at debian.org>  Fri, 30 Jul 2010 23:42:36 -0500
+
+insighttoolkit (3.18.0-3) unstable; urgency=low
+
+  * patches/hppa-complex-long-double.patch: New (thanks, Denis
+    Barbier). Remove conditional that prevented building long double
+    datastructures on HPPA.  Closes: #558998.
+  
+  * patches/remove-cmake-export-build-settings.patch: New.  Remove
+    deprecated CMAKE_EXPORT_BUILD_SETTINGS from CMakeLists.txt.  Closes:
+    #580816.
+
+ -- Steve M. Robbins <smr at debian.org>  Wed, 09 Jun 2010 22:40:32 -0500
+
+insighttoolkit (3.18.0-2) unstable; urgency=low
+
+  * control.in: Remove version restriction (>= 1.6) from default-jdk.
+    Closes: #580527.
+
+ -- Steve M. Robbins <smr at debian.org>  Fri, 07 May 2010 02:35:03 -0500
+
+insighttoolkit (3.18.0-1) unstable; urgency=low
+
+  * New upstream.
+    - patches/use_system_vxl.patch: Remove, applied upstream.
+
+  * rules: Override lintian errors embedded-libjpeg and
+    embedded-libopenjpeg.  ITK has extensively modified versions of these
+    libraries, including building libjpeg in 8, 12, and 16-bit versions.
+    Need to investigate feasibility of incorporating such changes into
+    system libjpeg before removing.
+  
+  * rules: Override lintian warnings postinst-has-useless-call-to-ldconfig
+    and postrm-has-useless-call-to-ldconfig for the JNI package, until bug
+    #205142 is fixed.
+  
+  * copyright: Note that ITK is GPL v2, due to linking with FFTW.
+  
+ -- Steve M. Robbins <smr at debian.org>  Sun, 02 May 2010 11:16:41 -0500
+
+insighttoolkit (3.16.0-2) unstable; urgency=low
+
+  * Add Java bindings (thanks, Michal Suchanek).  Closes: #572132.
+    Build-depend on default-jdk and javahelper (>= 0.18 to use CDBS
+    class).
+  * patches/jni-dir.patch: New.  Load JNI from /usr/lib/jni.
+  
+  * Build with Tcl version 8.5.  Closes: #572131.
+  * patches/itkTkImageViewer2D.patch: New.  Patch to build with tcl 8.5.
+  
+  * control.in: New packages libinsighttoolkit3-java and
+    libinsighttoolkit3-jni.
+  
+  * patches/use_system_vxl.patch: New.  Preparation for using system VXL;
+    however, presently the CMake variable ITK_USE_SYSTEM_VXL is OFF.
+
+ -- Steve M. Robbins <smr at debian.org>  Sun, 11 Apr 2010 17:52:07 -0500
+
+insighttoolkit (3.16.0-1) unstable; urgency=low
+
+  * New upstream.
+    - patches/vnl-math-asm.patch:
+    - patches/sharedforward.patch:
+    - patches/pythonfiles-install.patch:
+    - patches/netlib-slatec-soname.patch: Remove.  Applied upstream.
+
+  * README.source: New.  Refer to quilt README.
+  
+  * control.in: Build depend on current versions of both cableswig and
+    gccxml.
+  
+  * Python-Numarray is removed from Debian.
+    - CMakeCache.txt.debian: Remove ITK_USE_PYTHON_NUMARRAY=ON.
+    - rules: Remove PYTHON_NUMARRAY_INCLUDE_DIR from CMakeCache.txt.
+    - control.in: Remove build-depend on python-numarray.
+  
+ -- Steve M. Robbins <smr at debian.org>  Sat, 26 Sep 2009 12:08:01 -0500
+
+insighttoolkit (3.14.0-2) unstable; urgency=low
+
+  * patches/vnl-math-asm.patch: New.  Enable assembly implementation of
+    rounding only on i386 and amd64, as it seems to be x86-specific
+    assembly code.
+  
+  * control:
+  * CMakeCache.txt.debian: Build with system gdcm.
+
+ -- Steve M. Robbins <smr at debian.org>  Wed, 22 Jul 2009 01:17:32 -0500
+
+insighttoolkit (3.14.0-1) unstable; urgency=low
+
+  * New upstream.
+    - patches/netlib-slatec-soname.patch: New.  Ensure new slatec library
+      is built with a SOVERSION.
+  
+  * control.in: New.  Template file to generate control using
+    "control-file" rule.
+
+  * control.in (libinsighttoolkit3-dev): Add Recommends dependency on uuid-dev.
+    Closes: #519724.  Change dependency on libfftw3-dev from Depends to
+    Recommends.
+
+  * rules: Remove parallel build, since it is broken.  Closes: #536999.
+
+  * itkwish.1: New.
+
+ -- Steve M. Robbins <smr at debian.org>  Sun, 19 Jul 2009 13:01:40 -0500
+
+insighttoolkit (3.12.0-1) unstable; urgency=low
+
+  * New upstream.
+  
+  * rules: Install python module and extensions into
+    /usr/lib/pythonX.Y/site-packages on advice of Josselin Mouette.
+    Closes: #516766.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 07 Mar 2009 23:04:10 -0600
+
+insighttoolkit (3.10.1-1) unstable; urgency=low
+  
+  * New upstream version.
+    - patches/nifti-versioning.patch: Remove.  Applied upstream.
+    - control:
+    - rules: Update version numbers, package names.
+
+  * control: Build-depend on uuid-dev (gdcm uses it).
+  
+  * copyright: Update download URL.
+  
+  * rules: Adhere to parallel=N in DEB_BUILD_OPTIONS by setting MAKEFLAGS.
+  
+  * compat: Set to 7.
+  * control: Update build-dep on debhelper to version >= 7.
+
+  * CMakeCache.txt.debian: Set CMAKE_BUILD_TYPE to "RELEASE" so that we
+    build with -O3 (not -O2), necessary to optimize the templated code.
+  
+ -- Steve M. Robbins <smr at debian.org>  Fri, 19 Dec 2008 20:16:49 -0600
+
+insighttoolkit (3.8.0-1) unstable; urgency=low
+
+  * New upstream release.
+    - patches/gcc43.patch: Remove; incorporated upstream.
+    - control: Update Standards-Version to 3.8.0 (no changes req'd).
+
+  * rules: Add get-orig-source target.  Parameterize all version numbers.
+  
+  * patches/nifti-versioning.patch: New.  Ensure all shared libraries
+    built under Utilities/nifti follow the ITK SOVERSION.
+
+ -- Steve M. Robbins <smr at debian.org>  Sun, 24 Aug 2008 07:41:34 -0500
+
+insighttoolkit (3.6.0-4) UNRELEASED; urgency=low
+
+  [Steve M. Robbins]
+  * debian/patches/gcc43.patch: Include <cstring> in itkColorTable.txx and
+    itkMetaDataObject.h.  Qualify typedefs in itkAutomaticTopologyMeshSource.
+  
+  * debian/control: Update dependency on debhelper to (>=6.0.7) to account
+    for use of dh_lintian.  Account for changes insighttoolkit-examples to
+    insighttoolkit3-examples, and libinsighttoolkit-dev to
+    libinsighttoolkit3-dev.
+
+  [Charles Plessy]
+  * debian/control: added `Vcs-Browser' and `Vcs-Svn' fields.
+
+ -- Steve M. Robbins <smr at debian.org>  Tue, 08 Jul 2008 23:20:16 -0500
+
+insighttoolkit (3.6.0-3) unstable; urgency=low
+
+  * debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
+    with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
+  * debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
+    This only showed up in the tcl wrapping step.
+
+  * Above two entries fix FTBFS for GCC 4.3-based systems.
+    Closes: #478500.
+  
+  * debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
+    systems are not also configured as a SUN sparc system, which requires
+    SUN header sys/isa_defs.h.  Closes: #478940, #483312.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 31 May 2008 12:07:29 -0500
+
+insighttoolkit (3.6.0-2) unstable; urgency=low
+
+  * debian/patches/pythonfiles-install.patch: New.  Remove argument
+    "COMPONENTS" from FILE(INSTALL command that cmake 2.6 has started
+    complaining about.  There seems to be no ill effects as the python
+    files are still installed properly.
+  
+  * debian/control: Add versioned build-dep for gccxml, to ensure version
+    with support for gcc 4.3 builtins.
+
+ -- Steve M. Robbins <smr at debian.org>  Mon, 26 May 2008 00:25:21 -0500
+
+insighttoolkit (3.6.0-1) unstable; urgency=low
+
+  * New upstream.
+  
+  * debian/control:
+  * debian/rules: Add major version ('3') to all package names,
+    in order to support two major versions in the Debian archive.  
+  
+  * debian/control:
+  * debian/rules:
+  * debian/CMakeCache.txt.debian: New package tcl8.4-insighttoolkit3 for
+    Tcl bindings.
+  * debian/patches/tcl-install.patch: New.  Patch pkgIndex.tcl to search
+    for extension modules (shared libs) in /usr/lib.
+  * debian/patches/series: Add above.
+
+ -- Steve M. Robbins <smr at debian.org>  Fri, 16 May 2008 01:01:16 -0500
+
+insighttoolkit (3.4.0-4) unstable; urgency=low
+
+  * rules:
+  * control: 
+  * patches/series: Switch from simple patchsys to quilt.
+  
+  * patches/gcc43.patch: New.  Fix GCC 4.3 build errors.  Closes: #474537.
+
+  * rules: Install libSwigPythonRuntime.so.  Closes: #476632.
+  
+ -- Steve M. Robbins <smr at debian.org>  Fri, 25 Apr 2008 20:07:00 -0500
+
+insighttoolkit (3.4.0-3) unstable; urgency=low
+
+  * CMakeCache.txt.debian: Set ITK_USE_PYTHON_NUMARRAY=ON.
+  * rules: Add PYTHON_NUMARRAY_INCLUDE_DIR to CMakeCache.txt.
+  * control: Build-depend on python-numarray.
+
+  * CMakeCache.txt.debian: Set USE_FFTWD=ON and USE_FFTWF=ON.
+  * control: Add libfftw3-dev to Build-deps and -dev deps.
+  
+  * debian/libinsighttoolkit3.4.lintian-overrides:
+  * debian/python-insighttoolkit.lintian-overrides: New.  Override
+    package-name-doesnt-match-sonames.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 05 Apr 2008 09:36:46 -0500
+
+insighttoolkit (3.4.0-2) unstable; urgency=low
+
+  [ Steve M. Robbins ]
+  * control: Remove the homepage url from each package description.
+
+  * control: New build-depends on cdbs version (for python-support),
+    cableswig, python-support, and python-dev.  New package
+    python-insighttoolkit.
+  * rules: Add PYTHON_EXECUTABLE, PYTHON_INCLUDE_PATH, and PYTHON_LIBRARY
+    to generated CMakeCache.txt.  New rule install/python-insighttoolkit.  
+  * CMakeCache.txt.debian: Enable ITK_CSWIG_PYTHON.
+
+  * insightoolkit.1: Rename to insightoolkit.3.
+  * rules: Adjust accordingly.
+
+  * control (libinsighttoolkit-dev): Change section from lib to libdevel.
+    Change libinsighttoolkit3.4 dependency version from obsolete
+    ${Source-Version} to ${binary:Version}.
+
+  [ David Paleino ]
+  * debian/control:
+    - Standards-Version bumped to 3.7.3
+  * debian/watch added
+
+ -- Steve M. Robbins <smr at debian.org>  Tue, 12 Feb 2008 21:17:27 -0600
+
+insighttoolkit (3.4.0-1) unstable; urgency=low
+
+  * New upstream version.
+    - Obsoletes patches: 01_itkPowellOptimizer.patch,
+    02_itkAnalyzeDbh.patch, 04_ITKConfig.patch,
+    05_itkIncludeDirectories.patch
+  
+  * control: Change maintainer to team mailing list.  Add homepage.  
+  
+  * control:
+  * rules: Rename shared library package from libinsighttoolkit3.0 to
+    libinsighttoolkit3.4.
+  
+  * CMakeCache.txt.debian: Enable concept checking.
+
+ -- Steve M. Robbins <smr at debian.org>  Thu, 03 Jan 2008 01:21:55 -0600
+
+insighttoolkit (3.2.0-2) unstable; urgency=low
+
+  * debian/patches/04_ITKConfig.patch: Don't export ITK_SOURCE_DIR.
+    Closes: #424132.
+
+  * debian/patches/05_itkIncludeDirectories.patch: Correct include path
+    for gdcm.  Closes: #424134.
+
+ -- Steve M. Robbins <smr at debian.org>  Wed, 13 Jun 2007 00:59:13 -0500
+
+insighttoolkit (3.2.0-1) unstable; urgency=low
+
+  * Initial upload.
+
+ -- Steve M. Robbins <smr at debian.org>  Sun, 29 Apr 2007 20:19:27 -0500

Deleted: trunk/packages/insighttoolkit/tags/3.18.0-5/debian/rules
===================================================================
--- trunk/packages/insighttoolkit/branches/3.18.0/debian/rules	2010-10-21 08:53:58 UTC (rev 5370)
+++ trunk/packages/insighttoolkit/tags/3.18.0-5/debian/rules	2010-10-21 14:44:58 UTC (rev 5372)
@@ -1,147 +0,0 @@
-#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/class/javahelper.mk
-
-VER_MAJOR = 3
-VER_MINOR = 18
-VER_PATCH = 0
-
-PYVERS = $(shell pyversions -r debian/control)
-TCLVERS = 8.5
-
-VER_FULL = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
-SOVERSION = $(VER_MAJOR).$(VER_MINOR)
-
-UPSTREAM_SRC = InsightToolkit-$(VER_FULL)
-DEBIAN_SRC_DIR = insighttoolkit-$(VER_FULL)
-DEBIAN_SRC_TAR = insighttoolkit_$(VER_FULL).orig.tar.gz
-
-pkg_lib = libinsighttoolkit$(SOVERSION)
-pkg_dev = libinsighttoolkit$(VER_MAJOR)-dev
-pkg_java = libinsighttoolkit$(VER_MAJOR)-java
-pkg_jni = libinsighttoolkit$(VER_MAJOR)-jni
-pkg_python = python-insighttoolkit$(VER_MAJOR)
-pkg_tcl = tcl$(TCLVERS)-insighttoolkit$(VER_MAJOR)
-pkg_examples = insighttoolkit$(VER_MAJOR)-examples
-
-JAVA_HOME = /usr/lib/jvm/default-java
-JAVA_JNIDIR = /usr/lib/jni
-
-PYMODDIR = usr/lib/$(PYVERS)/site-packages
-PYEXTDIR = $(PYMODDIR)
-
-TCLMODDIR = usr/share/tcltk/tcl$(TCLVERS)/insighttoolkit$(VER_MAJOR)
-
-# Parallel build of wrapping code is broken (e.g. tcl, python),
-# so can't use DEB_BUILD_OPTIONS.  However parallel build is 
-# useful in limited circumstances, so we leave a hook to enable it.
-#
-ifneq (,$(filter parallel=%,$(SMR_BUILD_OPTIONS)))
-	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(SMR_BUILD_OPTIONS)))
-	SMR_MAKE_BUILD_TARGET = -j$(NUMJOBS) all
-endif
-
-
-DEB_CMAKE_EXTRA_FLAGS = \
-	-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-	-DBUILD_EXAMPLES:BOOL=OFF \
-	-DBUILD_SHARED_LIBS:BOOL=ON \
-	-DBUILD_TESTING:BOOL=OFF \
-	-DCMAKE_BUILD_TYPE:STRING=RELEASE \
-	-DBUILD_DOXYGEN:BOOL=OFF \
-	-DCMAKE_CXX_FLAGS:STRING=-Wno-deprecated \
-	-DCMAKE_SKIP_RPATH:BOOL=ON \
-	-DITK_CSWIG_JAVA:BOOL=ON \
-	-DITK_CSWIG_PYTHON:BOOL=ON \
-	-DITK_CSWIG_TCL:BOOL=ON \
-	-DITK_DATA_ROOT:PATH=ITK_DATA_ROOT_NOTFOUND \
-	-DITK_USE_SYSTEM_GDCM:BOOL=ON \
-	-DITK_USE_SYSTEM_JPEG:BOOL=ON \
-	-DITK_USE_SYSTEM_PNG:BOOL=ON \
-	-DITK_USE_SYSTEM_TIFF:BOOL=ON \
-	-DITK_USE_SYSTEM_ZLIB:BOOL=ON \
-	-DITK_USE_SYSTEM_VXL:BOOL=OFF \
-	-DUSE_FFTWD:BOOL=ON \
-	-DUSE_FFTWF:BOOL=ON \
-	-DITK_USE_CONCEPT_CHECKING:BOOL=ON \
-	-DITK_USE_STRICT_CONCEPT_CHECKING:BOOL=ON \
-	-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$(PYVERS) \
-	-DPYTHON_INCLUDE_PATH:PATH=/usr/include/$(PYVERS) \
-	-DPYTHON_LIBRARY:FILEPATH=/usr/lib/lib$(PYVERS).so \
-	-DTCL_INCLUDE_PATH:PATH=/usr/include/tcl$(TCLVERS) \
-	-DTCL_LIBRARY:FILEPATH=/usr/lib/libtcl$(TCLVERS).so \
-	-DTCL_TCLSH:FILEPATH=/usr/bin/tclsh$(TCLVERS) \
-	-DTK_INCLUDE_PATH:PATH=/usr/include/tcl$(TCLVERS) \
-	-DTK_LIBRARY:FILEPATH=/usr/lib/libtk$(TCLVERS).so
-
-common-build-arch::
-	echo "$(pkg_tcl): non-dev-pkg-with-shlib-symlink" > debian/$(pkg_tcl).lintian-overrides
-	echo "$(pkg_tcl): package-name-doesnt-match-sonames" >> debian/$(pkg_tcl).lintian-overrides
-	echo "$(pkg_python): non-dev-pkg-with-shlib-symlink" > debian/$(pkg_python).lintian-overrides
-	echo "$(pkg_python): package-name-doesnt-match-sonames" >> debian/$(pkg_python).lintian-overrides
-	echo "$(pkg_lib): package-name-doesnt-match-sonames" > debian/$(pkg_lib).lintian-overrides
-	echo "$(pkg_lib): embedded-libjpeg" >> debian/$(pkg_lib).lintian-overrides
-	echo "$(pkg_lib): embedded-libopenjpeg" >> debian/$(pkg_lib).lintian-overrides
-	echo "$(pkg_jni): postinst-has-useless-call-to-ldconfig" >> debian/$(pkg_jni).lintian-overrides
-	echo "$(pkg_jni): postrm-has-useless-call-to-ldconfig" >> debian/$(pkg_jni).lintian-overrides
-	dh_lintian
-
-install/$(pkg_lib)::
-	dh_install -p$(pkg_lib) -XJava -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so.* usr/lib
-	cp Utilities/vxl/config/valgrind.supp InsightVxlValgrind.supp
-	dh_install -p$(pkg_lib) InsightVxlValgrind.supp usr/lib/valgrind
-	dh_install -p$(pkg_lib) CMake/InsightValgrind.supp usr/lib/valgrind
-
-install/$(pkg_dev)::
-	dh_installman -p$(pkg_dev) debian/insighttoolkit.3
-	dh_installdocs -p$(pkg_dev) Documentation/*
-	dh_install -p$(pkg_dev) -XJava -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so usr/lib
-	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/InsightToolkit/*
-	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/InsightToolkit/*.cmake 
-
-install/$(pkg_java)::
-	jh_installlibs -p$(pkg_java) debian/tmp/usr/lib/InsightToolkit/*.jar
-
-install/$(pkg_jni)::
-	dh_install -p$(pkg_jni) debian/tmp/usr/lib/InsightToolkit/*Java.so* $(JAVA_JNIDIR)
-
-install/$(pkg_python)::
-	dh_install -p$(pkg_python) -XlibSwig debian/tmp/usr/lib/InsightToolkit/*Python.so* $(PYEXTDIR)
-	dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/libSwigRuntimePython.so* usr/lib
-	dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/python/* $(PYMODDIR)
-	dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/*.py   $(PYMODDIR)
-	dh_pysupport -p$(pkg_python)
-
-install/$(pkg_tcl)::
-	mv debian/tmp/usr/lib/InsightToolkit/itkwish-* debian/tmp/usr/bin/itkwish
-	dh_install -p$(pkg_tcl) --autodest debian/tmp/usr/bin/itkwish
-	dh_install -p$(pkg_tcl) debian/tmp/usr/lib/InsightToolkit/*Tcl.so* usr/lib
-	dh_install -p$(pkg_tcl) debian/tmp/usr/lib/InsightToolkit/tcl/* $(TCLMODDIR)
-	dh_installman -p$(pkg_tcl) debian/itkwish.1
-
-install/$(pkg_examples)::
-	dh_installexamples -p$(pkg_examples) Examples/*
-	find debian/$(pkg_examples)/usr/share/doc/$(pkg_examples)/examples \
-	    -type f -print0 | xargs -0 chmod 644
-
-$(UPSTREAM_SRC).tar.gz:
-	wget http://voxel.dl.sourceforge.net/sourceforge/itk/$@
-
-get-orig-source: $(UPSTREAM_SRC).tar.gz
-	tar xzf $(UPSTREAM_SRC).tar.gz
-	find $(UPSTREAM_SRC) -name CVS -o -name Patented | xargs rm -rf
-	rm -rf $(UPSTREAM_SRC)/Code/Review
-	mv $(UPSTREAM_SRC) $(DEBIAN_SRC_DIR)
-	GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
-
-control-file:
-	sed -e "s/@VER_MAJOR@/$(VER_MAJOR)/g" \
-	    -e "s/@SOVERSION@/$(SOVERSION)/g" \
-	    < debian/control.in > debian/control.tmp
-	[ -e debian/control ] \
-	  && cmp -s debian/control debian/control.tmp \
-	  && rm -f debian/control.tmp && exit 0; \
-	  mv debian/control.tmp debian/control

Copied: trunk/packages/insighttoolkit/tags/3.18.0-5/debian/rules (from rev 5371, trunk/packages/insighttoolkit/branches/3.18.0/debian/rules)
===================================================================
--- trunk/packages/insighttoolkit/tags/3.18.0-5/debian/rules	                        (rev 0)
+++ trunk/packages/insighttoolkit/tags/3.18.0-5/debian/rules	2010-10-21 14:44:58 UTC (rev 5372)
@@ -0,0 +1,147 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/javahelper.mk
+
+VER_MAJOR = 3
+VER_MINOR = 18
+VER_PATCH = 0
+
+PYVERS = $(shell pyversions -r debian/control)
+TCLVERS = 8.5
+
+VER_FULL = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
+SOVERSION = $(VER_MAJOR).$(VER_MINOR)
+
+UPSTREAM_SRC = InsightToolkit-$(VER_FULL)
+DEBIAN_SRC_DIR = insighttoolkit-$(VER_FULL)
+DEBIAN_SRC_TAR = insighttoolkit_$(VER_FULL).orig.tar.gz
+
+pkg_lib = libinsighttoolkit$(SOVERSION)
+pkg_dev = libinsighttoolkit$(VER_MAJOR)-dev
+pkg_java = libinsighttoolkit$(VER_MAJOR)-java
+pkg_jni = libinsighttoolkit$(VER_MAJOR)-jni
+pkg_python = python-insighttoolkit$(VER_MAJOR)
+pkg_tcl = tcl$(TCLVERS)-insighttoolkit$(VER_MAJOR)
+pkg_examples = insighttoolkit$(VER_MAJOR)-examples
+
+JAVA_HOME = /usr/lib/jvm/default-java
+JAVA_JNIDIR = /usr/lib/jni
+
+PYMODDIR = usr/lib/$(PYVERS)/site-packages
+PYEXTDIR = $(PYMODDIR)
+
+TCLMODDIR = usr/share/tcltk/tcl$(TCLVERS)/insighttoolkit$(VER_MAJOR)
+
+# Parallel build of wrapping code is broken (e.g. tcl, python),
+# so can't use DEB_BUILD_OPTIONS.  However parallel build is 
+# useful in limited circumstances, so we leave a hook to enable it.
+#
+ifneq (,$(filter parallel=%,$(SMR_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(SMR_BUILD_OPTIONS)))
+	SMR_MAKE_BUILD_TARGET = -j$(NUMJOBS) all
+endif
+
+
+DEB_CMAKE_EXTRA_FLAGS = \
+	-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
+	-DBUILD_EXAMPLES:BOOL=OFF \
+	-DBUILD_SHARED_LIBS:BOOL=ON \
+	-DBUILD_TESTING:BOOL=OFF \
+	-DCMAKE_BUILD_TYPE:STRING=RELEASE \
+	-DBUILD_DOXYGEN:BOOL=OFF \
+	-DCMAKE_CXX_FLAGS:STRING=-Wno-deprecated \
+	-DCMAKE_SKIP_RPATH:BOOL=ON \
+	-DITK_CSWIG_JAVA:BOOL=ON \
+	-DITK_CSWIG_PYTHON:BOOL=ON \
+	-DITK_CSWIG_TCL:BOOL=ON \
+	-DITK_DATA_ROOT:PATH=ITK_DATA_ROOT_NOTFOUND \
+	-DITK_USE_SYSTEM_GDCM:BOOL=ON \
+	-DITK_USE_SYSTEM_JPEG:BOOL=ON \
+	-DITK_USE_SYSTEM_PNG:BOOL=ON \
+	-DITK_USE_SYSTEM_TIFF:BOOL=ON \
+	-DITK_USE_SYSTEM_ZLIB:BOOL=ON \
+	-DITK_USE_SYSTEM_VXL:BOOL=OFF \
+	-DUSE_FFTWD:BOOL=ON \
+	-DUSE_FFTWF:BOOL=ON \
+	-DITK_USE_CONCEPT_CHECKING:BOOL=ON \
+	-DITK_USE_STRICT_CONCEPT_CHECKING:BOOL=ON \
+	-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/$(PYVERS) \
+	-DPYTHON_INCLUDE_PATH:PATH=/usr/include/$(PYVERS) \
+	-DPYTHON_LIBRARY:FILEPATH=/usr/lib/lib$(PYVERS).so \
+	-DTCL_INCLUDE_PATH:PATH=/usr/include/tcl$(TCLVERS) \
+	-DTCL_LIBRARY:FILEPATH=/usr/lib/libtcl$(TCLVERS).so \
+	-DTCL_TCLSH:FILEPATH=/usr/bin/tclsh$(TCLVERS) \
+	-DTK_INCLUDE_PATH:PATH=/usr/include/tcl$(TCLVERS) \
+	-DTK_LIBRARY:FILEPATH=/usr/lib/libtk$(TCLVERS).so
+
+common-build-arch::
+	echo "$(pkg_tcl): non-dev-pkg-with-shlib-symlink" > debian/$(pkg_tcl).lintian-overrides
+	echo "$(pkg_tcl): package-name-doesnt-match-sonames" >> debian/$(pkg_tcl).lintian-overrides
+	echo "$(pkg_python): non-dev-pkg-with-shlib-symlink" > debian/$(pkg_python).lintian-overrides
+	echo "$(pkg_python): package-name-doesnt-match-sonames" >> debian/$(pkg_python).lintian-overrides
+	echo "$(pkg_lib): package-name-doesnt-match-sonames" > debian/$(pkg_lib).lintian-overrides
+	echo "$(pkg_lib): embedded-libjpeg" >> debian/$(pkg_lib).lintian-overrides
+	echo "$(pkg_lib): embedded-libopenjpeg" >> debian/$(pkg_lib).lintian-overrides
+	echo "$(pkg_jni): postinst-has-useless-call-to-ldconfig" >> debian/$(pkg_jni).lintian-overrides
+	echo "$(pkg_jni): postrm-has-useless-call-to-ldconfig" >> debian/$(pkg_jni).lintian-overrides
+	dh_lintian
+
+install/$(pkg_lib)::
+	dh_install -p$(pkg_lib) -XJava -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so.* usr/lib
+	cp CMake/InsightValgrind.supp Insight$(SOVERSION)Valgrind.supp
+	cp Utilities/vxl/config/valgrind.supp Insight$(SOVERSION)VxlValgrind.supp
+	dh_install -p$(pkg_lib) Insight$(SOVERSION)*.supp usr/lib/valgrind
+
+install/$(pkg_dev)::
+	dh_installman -p$(pkg_dev) debian/insighttoolkit.3
+	dh_installdocs -p$(pkg_dev) Documentation/*
+	dh_install -p$(pkg_dev) -XJava -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so usr/lib
+	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/InsightToolkit/*
+	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/InsightToolkit/*.cmake 
+
+install/$(pkg_java)::
+	jh_installlibs -p$(pkg_java) debian/tmp/usr/lib/InsightToolkit/*.jar
+
+install/$(pkg_jni)::
+	dh_install -p$(pkg_jni) debian/tmp/usr/lib/InsightToolkit/*Java.so* $(JAVA_JNIDIR)
+
+install/$(pkg_python)::
+	dh_install -p$(pkg_python) -XlibSwig debian/tmp/usr/lib/InsightToolkit/*Python.so* $(PYEXTDIR)
+	dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/libSwigRuntimePython.so* usr/lib
+	dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/python/* $(PYMODDIR)
+	dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/*.py   $(PYMODDIR)
+	dh_pysupport -p$(pkg_python)
+
+install/$(pkg_tcl)::
+	mv debian/tmp/usr/lib/InsightToolkit/itkwish-* debian/tmp/usr/bin/itkwish
+	dh_install -p$(pkg_tcl) --autodest debian/tmp/usr/bin/itkwish
+	dh_install -p$(pkg_tcl) debian/tmp/usr/lib/InsightToolkit/*Tcl.so* usr/lib
+	dh_install -p$(pkg_tcl) debian/tmp/usr/lib/InsightToolkit/tcl/* $(TCLMODDIR)
+	dh_installman -p$(pkg_tcl) debian/itkwish.1
+
+install/$(pkg_examples)::
+	dh_installexamples -p$(pkg_examples) Examples/*
+	find debian/$(pkg_examples)/usr/share/doc/$(pkg_examples)/examples \
+	    -type f -print0 | xargs -0 chmod 644
+
+$(UPSTREAM_SRC).tar.gz:
+	wget http://voxel.dl.sourceforge.net/sourceforge/itk/$@
+
+get-orig-source: $(UPSTREAM_SRC).tar.gz
+	tar xzf $(UPSTREAM_SRC).tar.gz
+	find $(UPSTREAM_SRC) -name CVS -o -name Patented | xargs rm -rf
+	rm -rf $(UPSTREAM_SRC)/Code/Review
+	mv $(UPSTREAM_SRC) $(DEBIAN_SRC_DIR)
+	GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
+
+control-file:
+	sed -e "s/@VER_MAJOR@/$(VER_MAJOR)/g" \
+	    -e "s/@SOVERSION@/$(SOVERSION)/g" \
+	    < debian/control.in > debian/control.tmp
+	[ -e debian/control ] \
+	  && cmp -s debian/control debian/control.tmp \
+	  && rm -f debian/control.tmp && exit 0; \
+	  mv debian/control.tmp debian/control




More information about the debian-med-commit mailing list