[med-svn] [gdcm] 02/05: Add debian directory

Gert Wollny gert-guest at moszumanska.debian.org
Sun Dec 13 19:57:17 UTC 2015


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

gert-guest pushed a commit to branch master
in repository gdcm.

commit fb4f90d571c7798728ceec164e048721538648e4
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Sun Dec 13 20:01:33 2015 +0100

    Add debian directory
---
 debian/README.Debian                               |  23 +
 debian/README.source                               |   3 +
 debian/changelog                                   | 631 +++++++++++++++++++++
 debian/compat                                      |   1 +
 debian/control                                     | 225 ++++++++
 debian/control.in                                  | 225 ++++++++
 debian/copyright                                   | 476 ++++++++++++++++
 debian/gdcm-doc.dirs                               |   1 +
 debian/gdcm-doc.doc-base                           |  12 +
 debian/gdcm-doc.docs                               |   2 +
 debian/gdcm-doc.install                            |   2 +
 debian/gdcm-doc.lintian-overrides                  |   5 +
 debian/gdcm.ini                                    |   3 +
 debian/libgdcm-cil.install                         |   2 +
 debian/libgdcm-cil.installcligac                   |   1 +
 debian/libgdcm-java.install                        |   2 +
 debian/libgdcm-tools.install                       |  29 +
 debian/libgdcm-tools.lintian-overrides             |   5 +
 debian/libgdcm2-dev.install                        |  16 +
 debian/libgdcm2.6.docs                             |   1 +
 debian/libgdcm2.6.install                          |   2 +
 debian/libgdcm2.6.lintian-overrides                |   7 +
 debian/libvtkgdcm-cil.install                      |   2 +
 debian/libvtkgdcm-cil.installcligac                |   1 +
 debian/libvtkgdcm-java.install                     |   2 +
 debian/libvtkgdcm-tools.install                    |   6 +
 debian/libvtkgdcm.lintian-override                 |   2 +
 debian/libvtkgdcm2-dev.install                     |   2 +
 debian/libvtkgdcm2.6.install                       |   1 +
 debian/libvtkgdcm2.6.lintian-overrides             |   4 +
 debian/patches/01_toplevelskip.patch               |  22 +
 debian/patches/02_fixhurd.patch                    |  61 ++
 debian/patches/03_linkvtkdoc.patch                 | 113 ++++
 debian/patches/04_multiarch.patch                  |  18 +
 debian/patches/05_enable-vtk6-bindings.patch       |  78 +++
 .../06_add-csharp-keyfile-from-commandline.patch   |  36 ++
 debian/patches/07_vtkgdcm-sharp-siging.patch       |  28 +
 debian/patches/series                              |   7 +
 debian/php5-gdcm.install                           |   3 +
 debian/php5-gdcm.postinst                          |   8 +
 debian/php5-gdcm.prerm                             |   8 +
 debian/php5-vtkgdcm.install                        |   3 +
 debian/php5-vtkgdcm.postinst                       |   8 +
 debian/php5-vtkgdcm.prerm                          |   8 +
 debian/python-gdcm.install                         |   3 +
 debian/python-vtkgdcm.install                      |   3 +
 debian/python-vtkgdcm.lintian-overrides            |  11 +
 debian/rules                                       | 145 +++++
 debian/source/format                               |   1 +
 debian/source/options                              |   2 +
 debian/symbols.sh                                  |  17 +
 debian/upstream/metadata                           |  12 +
 debian/vtkgdcm.ini                                 |   3 +
 debian/watch                                       |   3 +
 54 files changed, 2295 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..af635cd
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,23 @@
+Debian packages of gdcm
+---------------------------
+
+There are 3 primary packages at this point:
+libgdcm2, libgdcm2-dev and libgdcm2-dbg, which respectively
+provide the library, static and headers for the library, and debug symbols for
+the shared library.
+
+C#:
+In order to use GDCM C#, you can use:
+$ gmcs ReformatFile.cs /r:/usr/lib/libgdcm-cil/gdcm-sharp.dll
+$ MONO_PATH=/usr/lib/libgdcm-cil/ LD_LIBRARY_PATH=/usr/lib/libgdcm-cil/  mono ReformatFile.exe  input.dcm output.dcm
+
+where ReformatFile.cs is an example taken from the src tarball of gdcm (Examples subdir)
+
+Java side:
+gdcm.jar will automatically load the jni glue lib (currently called gdcmjni.so), but programmer are 
+still required to change the value of LD_LIBRARY_PATH and CLASSPATH:
+
+$ javac HelloSimple.java -classpath /usr/share/java/gdcm.jar
+$ LD_LIBRARY_PATH=/usr/lib/jni/ java HelloSimple -classpath /usr/share/java/gdcm.jar:.
+
+- Mathieu Malaterre.
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..958ca54
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,3 @@
+GDCM ships a customized IJG lib (62 aka 6.b) with the famous lossless patch.
+We will be using GDCM SOVERSION to work around lintian issue.
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..057bc47
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,631 @@
+gdcm (2.6.0+dfsg-1) unstable; urgency=medium
+
+  [Gert Wollny]
+  * new upstream version. Closes: #797738
+  * Apply patch provided by Mathieu (see below) Closes: #797673
+  * d/* update all files to use 2.6 instead of 2.4
+  * Transition to use vtk6, Related: #798164
+  * remove java bindings because they depend on libvtk*-java but
+    vtk6 currently doesn't provide these bindings Related: 798963
+  * Add patch enable-vtk6-bindings.patch to correct bindings for VTK6
+  * Add patch linkvtkdoc.patch to use compressed vtk6-doc helpers
+    Related: #751395,  #751412
+  * Add patches to properly sign C# files
+  * d/copyright update copyrights to satisfy DEP5 
+  * add dependency on dh-python, Closes: #797655
+  * removing some static VC++ libs from tarball to make it follow DFSG
+  * add lintian overrides for
+    - embedded javascript (rationale: src:doxygen/debian/Readme.jquery)
+  * Add build-conflict: libopenjp2-7-dev, Closes: #801228
+
+  [Mathieu Malaterre]
+  * Do not use activiz.net anymore
+
+  [Andreas Tille]
+  * Switched to Sébastien Jodogne's correct e-mail
+
+ -- Gert Wollny <gw.fossdev at gmail.com>  Fri, 16 Oct 2015 18:21:58 +0200
+
+gdcm (2.4.4-4) unstable; urgency=medium
+
+  [ Andreas Tille ]
+  * Standard-Version: 3.9.6
+  * Add Sébastien Jodogne <s.jodogne at gmail.com> as Uploader
+
+  [ Sébastien Jodogne ]
+  * Build-Depends: castxml instead of gccxml
+    Closes: #777868, #791508
+
+ -- Sébastien Jodogne <s.jodogne at gmail.com>  Fri, 07 Aug 2015 08:56:02 +0200
+
+gdcm (2.4.4-3) unstable; urgency=medium
+
+  * Fix issue introduced by multiarch switch. Closes: #764029
+
+ -- Mathieu Malaterre <malat at debian.org>  Mon, 06 Oct 2014 09:08:02 +0200
+
+gdcm (2.4.4-2) unstable; urgency=low
+
+  * Make package multiarch capable
+  * Fix lintian warnings about d/copyright
+
+ -- Mathieu Malaterre <malat at debian.org>  Tue, 30 Sep 2014 13:04:57 +0200
+
+gdcm (2.4.4-1) unstable; urgency=low
+
+  * New upstream. Closes: #759957
+
+ -- Mathieu Malaterre <malat at debian.org>  Wed, 24 Sep 2014 10:19:37 +0200
+
+gdcm (2.4.3-1) unstable; urgency=low
+
+  * New upstream. Closes: #745074
+  * Refresh patch, removed applied upstreams:
+    - d/p/upstream_gdcminfo-support-poppler-0.25.1.patch
+    - d/p/upstream_cmake-proper-handle-the-extra-poppler-CFLAGS.patch
+
+ -- Mathieu Malaterre <malat at debian.org>  Tue, 29 Jul 2014 15:15:22 +0200
+
+gdcm (2.4.2-1.1) sid; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream commits 096e5b84d9e241b6e5203904846454f7d7058e01 and
+    1da0cab121782f1a63a84a9bcc90da6c337dc2e3 to support building with
+    Poppler 0.26.x; patches
+    upstream_cmake-proper-handle-the-extra-poppler-CFLAGS.patch and
+    upstream_gdcminfo-support-poppler-0.25.1.patch. (Closes: #751432)
+
+ -- Pino Toscano <pino at debian.org>  Thu, 03 Jul 2014 22:34:02 +0200
+
+gdcm (2.4.2-1) sid; urgency=low
+
+  * New upstream
+  * Remove piwiki footer. Fix lintian error privacy-breach-logo/piwik
+  * Remove patch applied upstream:
+    - d/p/socket.patch
+
+ -- Mathieu Malaterre <malat at debian.org>  Mon, 07 Apr 2014 11:25:27 +0200
+
+gdcm (2.4.1-2) sid; urgency=low
+
+  * Upload to sid
+
+ -- Mathieu Malaterre <malat at debian.org>  Mon, 20 Jan 2014 12:45:07 +0100
+
+gdcm (2.4.1-1) experimental; urgency=low
+
+  * New upstream: 2.4.1. Closes: #727154
+  * Update d/copyright. Closes: #729748
+  * Bump Std-Vers to 3.9.5, no changes needed
+  * Refreshed patches, removed patches applied upstream
+
+ -- Mathieu Malaterre <malat at debian.org>  Tue, 10 Dec 2013 09:42:08 +0100
+
+gdcm (2.4.0-2) experimental; urgency=low
+
+  * Use socket++ system installed lib. Closes: #727154
+  * Update d/copyright. Closes: #729748
+  * Compile code with java 1.5. Closes: #729515
+  * Compile gdcmpap3 command line application
+
+ -- Mathieu Malaterre <malat at debian.org>  Tue, 03 Dec 2013 08:08:13 +0100
+
+gdcm (2.4.0-1) experimental; urgency=low
+
+  * New upstream
+    - upload to experimental, since change of API
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 17 Oct 2013 11:08:37 +0200
+
+gdcm (2.2.4-1) unstable; urgency=low
+
+  * New upstream. Closes: #713988
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 11 Jul 2013 12:09:37 +0200
+
+gdcm (2.2.3-2) unstable; urgency=low
+
+  * Fix compilation with multi-arch python
+  * Fix GDCM import (new CMake generated files breaks compat). Closes: #711214
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 06 Jun 2013 17:32:30 +0200
+
+gdcm (2.2.3-1) unstable; urgency=low
+
+  * New upstream
+  * Bump to Std-Vers 3.9.4, no changes needed
+  * Fix issues with armhf (again)
+
+ -- Mathieu Malaterre <malat at debian.org>  Tue, 02 Apr 2013 09:00:35 +0200
+
+gdcm (2.2.2-1) unstable; urgency=low
+
+  * New upstream
+    - refresh patches
+  * Use tar.bz2 for source upstream
+  * Update d/copyright (missing utfcpp license). Closes: #690373
+
+ -- Mathieu Malaterre <malat at debian.org>  Fri, 15 Mar 2013 10:45:55 +0100
+
+gdcm (2.2.1-1.1) sid; urgency=low
+
+  * Non-maintainer upload.
+  * Remove armhf from mono architectures (closes: #699379)
+
+ -- Julien Cristau <jcristau at debian.org>  Tue, 05 Feb 2013 19:25:05 +0100
+
+gdcm (2.2.1-1) unstable; urgency=low
+
+  * New upstream: 2.2.1. Update to lastest DICOM standard (2011)
+    Remove patches applied upstream:
+     - removedocfromall.patch
+     - fixgcj.patch
+     - fixgcj2.patch
+     - stableapi.patch
+     - activiz.net.patch
+     - kfreebsdfix.patch
+     - removepythonlink.patch
+     - fixundef.patch
+     - removesonamepython.patch
+     - sonameprops.patch
+     - csharpfixes.patch
+     - removetransitivepython.patch
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 20 Sep 2012 11:06:19 +0200
+
+gdcm (2.2.0-13) unstable; urgency=medium
+
+  [ Andreas Tille ]
+  * debian/upstream: Add citation
+
+  [ Mathieu Malaterre ]
+  * Fix typo in d/control. Closes: #675685
+  * Update d/control to make sure to use swig 2.0.7
+  * Fix d/rules to pass CPFLAGS properly (hardening)
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 14 Jun 2012 16:43:52 +0200
+
+gdcm (2.2.0-12) unstable; urgency=low
+
+  * Fix installation issue of PDF doc, on buildd. Closes: #672863
+  * Aggregate *.doc-base.* into a single *.doc-base
+
+ -- Mathieu Malaterre <malat at debian.org>  Fri, 18 May 2012 18:28:50 +0200
+
+gdcm (2.2.0-11) unstable; urgency=low
+
+  * Remove SONAME from python module, as per policy
+  * Build PHP5 bindings
+  * Fix issue with python 3.2 vs 2.7
+  * Adding a gdcm-doc package
+
+ -- Mathieu Malaterre <malat at debian.org>  Tue, 08 May 2012 21:28:05 +0200
+
+gdcm (2.2.0-10) unstable; urgency=low
+
+  * Fix some undefined symbols (reported upstream)
+  * Use javahelper to resolve java dependencies
+
+ -- Mathieu Malaterre <malat at debian.org>  Wed, 11 Apr 2012 16:09:49 +0200
+
+gdcm (2.2.0-9) unstable; urgency=low
+
+  * Another attempt to really fix hurd-i386 compilation,
+  * Remove DMUA:yes since not needed,
+  * Use my debian alias
+
+ -- Mathieu Malaterre <malat at debian.org>  Fri, 30 Mar 2012 09:24:16 +0200
+
+gdcm (2.2.0-8) unstable; urgency=medium
+
+  * Fix error introduced by new cmake 2.8.7 behavior for monolithic export file.
+    Closes: #664188
+  * Yet another compilation fix for hurd-i386.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 20 Mar 2012 13:45:17 +0100
+
+gdcm (2.2.0-7) unstable; urgency=low
+
+  * Another compilation fix for hurd-i386.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 19 Mar 2012 09:49:39 +0100
+
+gdcm (2.2.0-6) unstable; urgency=low
+
+  * Yet another compilation fix for hurd-i386.
+  * add missing *.installcligac files.
+  * use new libpoppler-private-dev (poppler transition). Closes: #660101
+  * Bump Standards-Version to 3.9.3. No changes needed
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sun, 26 Feb 2012 20:43:56 +0100
+
+gdcm (2.2.0-5) unstable; urgency=low
+
+  * Another compilation fix for hurd-i386.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 02 Feb 2012 16:41:42 +0100
+
+gdcm (2.2.0-4) unstable; urgency=low
+
+  * Fix compilation on hurd-i386 (PATH_MAX).
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 02 Feb 2012 13:41:43 +0100
+
+gdcm (2.2.0-3) unstable; urgency=low
+
+  * Another compilation fix for kFreeBSD.
+  * Use a generated d/control to prevent mistakes.
+  * Adding Break/Replace for libgdcm2.0-dbg. Closes: #658218
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 01 Feb 2012 14:55:07 +0100
+
+gdcm (2.2.0-2) unstable; urgency=low
+
+  * Fix compilation on kFreeBSD.
+  * Add a check to match DEB_MONO_ARCHS value.
+  * Update list of supported arch for mono (remove s390). Closes: #657779
+  * Remove explicit link to libpython2.7. Closes: #658137
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 31 Jan 2012 17:03:26 +0100
+
+gdcm (2.2.0-1) experimental; urgency=low
+
+  * New upstream. Closes: #655783, #656969
+    - Adding DICOM Q/R tools
+  * Sign the API. Closes: #531181
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 24 Jan 2012 11:58:09 +0100
+
+gdcm (2.0.19-3) unstable; urgency=low
+
+  * Another attempt at fixing kFreeBSD:
+    - debian/patches/fixgcj2.patch
+  * Prefer SVG output over PNG for doxygen:
+    - debian/patches/doxygen_svg.patch
+  * Work around bug #654587 and explicitly B-D on ghostscript
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 04 Jan 2012 14:25:57 +0100
+
+gdcm (2.0.19-2) unstable; urgency=low
+
+  * Fix compilation on kFreeBSD when using gcj:
+    - debian/patches/fixgcj.patch
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 04 Jan 2012 09:58:37 +0100
+
+gdcm (2.0.19-1) unstable; urgency=low
+
+  * New upstream: 2.0.19
+  * Adding back missing gdcm2pnm tools
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 03 Jan 2012 14:13:03 +0100
+
+gdcm (2.0.18-7) unstable; urgency=low
+
+  * Cleanup cmake transitive linking issue with VTK. Closes: #650116
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 19 Dec 2011 10:26:44 +0100
+
+gdcm (2.0.18-6) unstable; urgency=low
+
+  * Cleanup compilation flags settings
+  * Build against vtk 5.8.0. Fix DSO issues.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 08 Nov 2011 15:36:02 +0100
+
+gdcm (2.0.18-5) unstable; urgency=low
+
+  * Properly compile against a single python version (X-Python-Version)
+  * Forward CFLAGS/CXXFLAGS to cmake
+  * Remove dep on paraview-dev for now
+  * Remove deprecated XB-Python-Version
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 10 Oct 2011 15:38:45 +0200
+
+gdcm (2.0.18-4) unstable; urgency=low
+
+  * One cannot call --with cli when mono is not available
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 07 Sep 2011 20:20:59 +0200
+
+gdcm (2.0.18-3) unstable; urgency=low
+
+  * Redo d/rules files to use dh(8)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 06 Sep 2011 17:12:24 +0200
+
+gdcm (2.0.18-2) unstable; urgency=low
+
+  * Remove call to dh_makeclilibs since GDCM does not install in the GAC
+  * Fix URL for ViewVC convention 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 06 Sep 2011 12:07:12 +0200
+
+gdcm (2.0.18-1) unstable; urgency=low
+
+  * New upstream
+  * Use system CharLS library. Closes: #631099
+  * Bump Standard Version to 3.9.2, no change needed
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sat, 03 Sep 2011 16:45:59 +0200
+
+gdcm (2.0.17-3.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * debian/rules: call dh_clideps, so valid dependencies are tracked.
+    (Closes: #632747)
+
+ -- Jo Shields <directhex at apebox.org>  Mon, 11 Jul 2011 23:58:54 +0100
+
+gdcm (2.0.17-3) unstable; urgency=low
+
+  * patches/ptrdiff.patch: New.  Include stddef.h, to define ptrdiff_t.
+    Closes: #624902.
+
+ -- Steve M. Robbins <smr at debian.org>  Sun, 08 May 2011 23:28:20 -0500
+
+gdcm (2.0.17-2) unstable; urgency=low
+
+  * Use doxygen-latex package. Closes: #616216
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 08 Mar 2011 13:46:41 +0100
+
+gdcm (2.0.16-2.1) unstable; urgency=low
+
+  * Non maintainer upload.
+  * FTBFS with --no-copy-dt-needed-entries. Patch taken from Ubuntu.
+    Closes: #614953.
+
+ -- Matthias Klose <doko at debian.org>  Sat, 26 Feb 2011 17:42:27 +0100
+
+gdcm (2.0.17-1) experimental; urgency=low
+
+  * New upstream
+  * Do not use system OpenJPEG v1, prefer OpenJPEG v2
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Fri, 28 Jan 2011 10:19:57 +0100
+
+gdcm (2.0.16-2) unstable; urgency=low
+
+  * Fix FTBFS where doxygen/dot threading is not working (Closes: #593578)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 19 Aug 2010 12:38:58 +0200
+
+gdcm (2.0.16-1) unstable; urgency=low
+
+  * New upstream
+  * Fix lintian warning (non-dev-pkg-with-shlib-symlink)
+  * Update Standard-Version to 3.9.1
+  * Switch to dpkg-source 3.0 (quilt) format
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 18 Aug 2010 11:18:08 +0200
+
+gdcm (2.0.15-1) unstable; urgency=low
+
+  * New upstream
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Fri, 09 Jul 2010 15:36:01 +0200
+
+gdcm (2.0.14-9) unstable; urgency=low
+
+  * Completely remove findjni.cmake from GDCM. 
+    Failure on hppa was caused by dangling symlink
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 05 May 2010 16:01:23 +0200
+
+gdcm (2.0.14-8) unstable; urgency=low
+
+  * FTBFS on hppa. Fix the local findjni.cmake to search include dir properly
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 04 May 2010 16:24:41 +0200
+
+gdcm (2.0.14-7) unstable; urgency=low
+
+  * FTBFS on hppa. Enhance the local findjni.cmake to search in hppa subdir
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 04 May 2010 10:17:25 +0200
+
+gdcm (2.0.14-6) unstable; urgency=low
+
+  * FTBFS on mipsel and armel, unable to find java. Closes: #579959
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 03 May 2010 19:12:03 +0200
+
+gdcm (2.0.14-5) unstable; urgency=low
+
+  * Fix a lintian issue about embedded-libjpeg
+  * Fix CMake viral dependency propagation . Closes: #579642
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Fri, 30 Apr 2010 12:43:35 +0200
+
+gdcm (2.0.14-4) unstable; urgency=low
+
+  * Fix more lintian issue about debhelper-but-no-misc-depends
+  * Fix python issue. Closes: #567694
+  * Use virtual package for jpeg, tiff and expat
+  * Update debian policy 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 08 Feb 2010 22:06:23 +0100
+
+gdcm (2.0.14-3) unstable; urgency=low
+
+  * csc has been removed, renamed to mono-csc. Closes: #563020
+  * Fix some lintian issues (${misc:Depends} and XS-Python-Version)
+  * Fix FTBS due to broken symlink in libvtk-java. Closes: #564246
+  * Update control file to deal with cmake/vtk transitive behavior. 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sun, 17 Jan 2010 18:35:45 +0100
+
+gdcm (2.0.14-2) unstable; urgency=low
+
+  * Fix issue on buildd machine with cmake 2.8.
+  * Move the python library to the python-vtkgdcm package
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 16 Nov 2009 11:52:45 +0100
+
+gdcm (2.0.14-1) unstable; urgency=low
+
+  * New upstream.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 12 Nov 2009 16:38:52 +0100
+
+gdcm (2.0.13-2) unstable; urgency=low
+
+  * Fix SONAME for gdcmDict / gdcmcharls. Closes: #553410
+  * Fix some lintian issue (need to escape double dots).
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sun, 01 Nov 2009 16:05:47 +0100
+
+gdcm (2.0.13-1) unstable; urgency=low
+
+  * New release: GDCM 2.0.13. Closes: #552552
+  * Fix debian layout to deal with new CharLS (JPEG-LS) library.
+  * Fix issue with java covariant return type. Closes: #542253
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 27 Oct 2009 09:57:23 +0100
+
+gdcm (2.0.12-11) unstable; urgency=low
+
+  * XML files are part of the runtime lib (used by gdcminfo as ressources).
+  * Recommends pvrg-jpeg
+  * Suggest dicom3tools
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 28 Jul 2009 10:32:00 +0200
+
+gdcm (2.0.12-10) unstable; urgency=low
+
+  * Reactivate build on armel since mono team fixed the FTBS issue.
+  * Fix lintian: dh_clean -k is deprecated. Use dh_prep
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 16 Jul 2009 16:00:06 +0200
+
+gdcm (2.0.12-9) unstable; urgency=low
+
+  * Fix FTBS on hppa, with gcj 4.4. javac does not support -cp cmd line option 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 16 Jul 2009 14:38:58 +0200
+
+gdcm (2.0.12-8) unstable; urgency=low
+
+  * Fix issue with LD_LIBRARY_PATH and dh_shlibdeps on private libs
+    This should fix the FTBS on alpha/buildd system:
+    install: cannot change owner and permissions of `debian/libgdcm-cil/DEBIAN': 
+    Operation not permitted
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 15 Jul 2009 13:53:23 +0200
+
+gdcm (2.0.12-7) unstable; urgency=low
+
+  * Fix debhelper-script-needs-versioned-build-depends
+  * Add dependency on ghostscript 
+  * Remove mips (mono not available)
+  * Fix lintian missing-dependency-on-libc on libvtkgdcm-java package
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 13 Jul 2009 12:20:04 +0200
+
+gdcm (2.0.12-6) unstable; urgency=low
+
+  * dh_shlibdeps -Nlibvtkgdcm-java so that we avoid issues with private libs.
+  * Bug #533198, moved vtk Java libraries from /usr/lib to /usr/lib/jni. Support
+    both old and new layout.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 13 Jul 2009 10:39:12 +0200
+
+gdcm (2.0.12-5) unstable; urgency=low
+
+  * Yet-Another-Attempt at fixing armel/alpha. Thanks to George Danchev
+    (debian-mentors) for patch. 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 13 Jul 2009 09:24:25 +0200
+
+gdcm (2.0.12-4) unstable; urgency=low
+
+  * Another attempt at fixing armel
+  * Fix swig/C# wrapper to load gdcmsharpglue (instead of gdcm)
+  * Reactivate the missing gcc44.patch (gdcm svn rev: 5852). 
+    Thanks to Andrea Gasparini for report 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 08 Jul 2009 09:48:32 +0200
+
+gdcm (2.0.12-3) unstable; urgency=low
+
+  * Fix build on system without mono
+  * Remove armel (for now)
+  * Fix remaining lintian issue
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 06 Jul 2009 10:00:10 +0200
+
+gdcm (2.0.12-2) unstable; urgency=low
+
+  * Update to gdcm 2.0.12. Closes: #534694
+  * Fix Build-Depends so that csc is found. Closes: #535567
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Fri, 03 Jul 2009 11:38:23 +0200
+
+gdcm (2.0.12-1) unstable; urgency=low
+
+  * Skipping 2.0.11 packaging as it does not provides anything more than 2.0.12
+  * Adding libvtkgdcm-cil, libgdcm-java and libvtkgdcm-java which provides,
+    namely the CLI binding to VTK/GDCM, the Java binding to gdcm and the Java
+    binding to VTK/GDCM.
+  * New cmd line tools: gdcmanon, gdcmpdf and gdcmgendir
+  * Adding man pages for all tools
+  * Transition of Mono 2.0. Closes: #534297
+  * Adding a special patch for the Eclipse Java Compiler 0.894_R34x as it does
+    not support covariant return type.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 15 Jun 2009 16:56:43 +0200
+
+gdcm (2.0.10-7) unstable; urgency=low
+
+  * Try to fix /usr/bin/csc vs mono-devel >= 2.0 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 24 Jun 2009 18:32:56 +0200
+
+gdcm (2.0.10-6) unstable; urgency=low
+
+  * Fix Path to GMCS to csc compiler. 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 24 Jun 2009 16:18:03 +0200
+
+gdcm (2.0.10-5) unstable; urgency=low
+
+  * Fix python-policy: python-support (>= 0.5.3) 
+  * Fix cli-policy: cli-common-dev (>= 0.4.4) (copied from gmime2.4)
+  * Handle "Mono Architecture" [!alpha !m68k !hppa]
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 22 Jun 2009 17:57:18 +0200
+
+gdcm (2.0.10-4) unstable; urgency=low
+
+  * Adding another patch for gcc 4.4. Closes: #529276 
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 22 Jun 2009 14:33:55 +0200
+
+gdcm (2.0.10-3) unstable; urgency=low
+
+  * Do not build libgdcm-cil when mono is not available. Closes: #531174 
+  * Apply patch from Dominique Belhachemi to fix parallel builds.
+  * Remove suggests on dicom3tools, pvrg until they are packaged.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sat, 30 May 2009 16:17:30 +0200
+
+gdcm (2.0.10-2) unstable; urgency=low
+
+  [ Steve M. Robbins ]
+  * debian/libgdcm2.docs: Rename to ...
+  * debian/libgdcm2.0.docs: New.
+
+  [ Mathieu Malaterre ]
+  * debian/patches/gdcm210_tagbackport.patch: Patch released on gdcm 2.0.10 svn tag
+  * debian/patches/dcm210_branchbackport.patch: Patch released on gdcm-2-0 branch
+    Closes: #529276.
+  * Use vtk/5.2.1-4, Closes: #529193
+
+ -- Mathieu Malaterre (malat) <mathieu.malaterre at gmail.com>  Mon, 18 May 2009 14:31:47 +0200
+
+gdcm (2.0.10-1) unstable; urgency=low
+
+  * Initial upload to Debian.  Closes: #509021.
+
+ -- Steve M. Robbins <smr at debian.org>  Wed, 22 Apr 2009 00:38:48 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..243f7c6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,225 @@
+Source: gdcm
+Section: libs
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>,
+ Steve M. Robbins <smr at debian.org>,
+ Sébastien Jodogne <s.jodogne at gmail.com>, 
+ Gert Wollny <gw.fossdev at gmail.com> 
+Build-Depends: debhelper (>= 9),
+               dh-strip-nondeterminism, 
+               dh-python, 
+	       python-all-dev,
+	       pvrg-jpeg,
+	       uuid-dev,
+	       libz-dev,
+	       libexpat-dev,
+	       doxygen,
+	       swig3.0,
+	       cmake (>= 2.8.9),
+	       libvtk6-dev,
+	       libcharls-dev, 
+	       libopenjpeg-dev,
+	       php5-dev,
+	       php5-cli,
+	       libxml2-dev,
+	       libjson-c-dev,
+	       libpoppler-private-dev,
+	       libssl-dev,
+	       python-vtk6,
+	       castxml,
+	       libsocket++-dev,
+	       libpapyrus3-dev,
+	       cli-common-dev (>= 0.9) [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 s390x],
+	       mono-devel (>= 2.10.5) [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 s390x]
+Build-Depends-Indep: vtk6-doc,
+		     doxygen-latex,
+		     ghostscript, 
+                     graphviz
+Build-Conflicts: libopenjp2-7-dev 
+Standards-Version: 3.9.6
+X-Python-Version: 2.7
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/gdcm/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/gdcm/trunk/
+Homepage: http://gdcm.sourceforge.net/
+
+Package: libgdcm2.6
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Grassroots DICOM runtime libraries
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated. It also
+ comes with DICOM Part 3,6 & 7 of the standard as XML files.
+ .
+ This package contains the libraries needed to run GDCM applications.
+
+Package: libgdcm-tools
+Architecture: any
+Section: utils
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: pvrg-jpeg
+Suggests: dcmtk, dicom3tools
+Description: Grassroots DICOM tools and utilities
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Install this package for the gdcmanon, gdcmconv, gdcmdiff, gdcmdump, gdcmpap3,
+ gdcmgendir, gdcmimg, gdcminfo, gdcmpdf, gdcmraw, gdcmscanner, gdcmscu, gdcmtar,
+ gdcmxml programs.
+
+Package: libgdcm2-dev
+Section: libdevel
+Architecture: any
+Depends: libgdcm2.6 (= ${binary:Version}), ${misc:Depends}
+Description: Grassroots DICOM development libraries and headers
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Headers and static libraries for libgdcm. These are not needed to use
+ GDCM, but are needed to build plugins or programs that link against
+ libgdcm.
+
+Package: libgdcm2.6-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Multi-Arch: same
+Depends: libgdcm2.6 (= ${binary:Version}), ${misc:Depends}
+Description: Grassroots DICOM runtime libraries, debug version
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Debug symbols for libgdcm that will allow useful tracebacks and
+ debugging on end user machines.
+
+Package: libgdcm-cil
+Section: cli-mono
+Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 s390x
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}
+Description: Grassroots DICOM CLI bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ CLI bindings to the GDCM DICOM library. It allows developers to use
+ GDCM from C# environment.
+
+Package: php5-gdcm
+Section: php
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}
+Description: Grassroots DICOM PHP5 bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ PHP5 bindings to the GDCM DICOM library. It allows developers to use
+ GDCM from PHP5 environment.
+
+Package: python-gdcm
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libgdcm2.6 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Grassroots DICOM Python bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Python bindings to the GDCM DICOM library.
+
+Package: libvtkgdcm2.6
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, 
+Description: Grassroots DICOM VTK runtime libraries
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Libvtkgdcm is a library that quickly allow programmer to use GDCM
+ from a VTK environment.
+
+Package: libvtkgdcm2-dev
+Section: libdevel
+Architecture: any
+Depends: libvtkgdcm2.6 (= ${binary:Version}), libgdcm2-dev, ${misc:Depends}
+Description: Grassroots DICOM VTK development libraries and headers
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Headers and static libraries for libvtkgdcm. These are not needed to
+ use GDCM, but are needed to build plugins or programs that link
+ against libvtkgdcm.
+
+Package: libvtkgdcm-cil
+Section: cli-mono
+Architecture: amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 s390x
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}, libgdcm2.6 (= ${binary:Version})
+Suggests: libgdcm-cil
+Description: Grassroots DICOM VTK CLI bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ VTK CLI bindings to the GDCM DICOM library.
+
+Package: php5-vtkgdcm
+Section: php
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, libgdcm2.6 (= ${binary:Version})
+Suggests: php-gdcm
+Description: Grassroots DICOM VTK PHP bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ VTK PHP bindings to the GDCM DICOM library.
+
+Package: python-vtkgdcm
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libvtkgdcm2.6 (= ${binary:Version})
+Provides: ${python:Provides}
+Suggests: python-gdcm
+Description: Grassroots DICOM VTK/Python bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ VTK/Python bindings to the GDCM DICOM library.
+
+Package: libvtkgdcm-tools
+Architecture: any
+Section: utils
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libgdcm-tools
+Description: Grassroots DICOM VTK tools and utilities
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Libvtkgdcm-tools provides a number of command line debugging and utility
+ tool. Install this package for the gdcmviewer, gdcm2pnm and gdcm2vtk
+ programs.
+
+Package: gdcm-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, vtk6-doc, doc-base
+Description: Grassroots DICOM documentation
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ This is the documentation for gdcm and vtkgdcm
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..682db61
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,225 @@
+Source: gdcm
+Section: libs
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>,
+ Steve M. Robbins <smr at debian.org>,
+ Sébastien Jodogne <s.jodogne at gmail.com>, 
+ Gert Wollny <gw.fossdev at gmail.com> 
+Build-Depends: debhelper (>= 9),
+               dh-strip-nondeterminism, 
+               dh-python, 
+	       python-all-dev,
+	       pvrg-jpeg,
+	       uuid-dev,
+	       libz-dev,
+	       libexpat-dev,
+	       doxygen,
+	       swig3.0,
+	       cmake (>= 2.8.9),
+	       libvtk6-dev,
+	       libcharls-dev, 
+	       libopenjpeg-dev,
+	       php5-dev,
+	       php5-cli,
+	       libxml2-dev,
+	       libjson-c-dev,
+	       libpoppler-private-dev,
+	       libssl-dev,
+	       python-vtk6,
+	       castxml,
+	       libsocket++-dev,
+	       libpapyrus3-dev,
+	       cli-common-dev (>= 0.9) [@DEB_MONO_ARCHS@],
+	       mono-devel (>= 2.10.5) [@DEB_MONO_ARCHS@]
+Build-Depends-Indep: vtk6-doc,
+		     doxygen-latex,
+		     ghostscript, 
+                     graphviz
+Build-Conflicts: libopenjp2-7-dev 		     
+Standards-Version: 3.9.6
+X-Python-Version: @PYVER@
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/gdcm/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/gdcm/trunk/
+Homepage: http://gdcm.sourceforge.net/
+
+Package: libgdcm2.6
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Grassroots DICOM runtime libraries
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated. It also
+ comes with DICOM Part 3,6 & 7 of the standard as XML files.
+ .
+ This package contains the libraries needed to run GDCM applications.
+
+Package: libgdcm-tools
+Architecture: any
+Section: utils
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: pvrg-jpeg
+Suggests: dcmtk, dicom3tools
+Description: Grassroots DICOM tools and utilities
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Install this package for the gdcmanon, gdcmconv, gdcmdiff, gdcmdump, gdcmpap3,
+ gdcmgendir, gdcmimg, gdcminfo, gdcmpdf, gdcmraw, gdcmscanner, gdcmscu, gdcmtar,
+ gdcmxml programs.
+
+Package: libgdcm2-dev
+Section: libdevel
+Architecture: any
+Depends: libgdcm2.6 (= ${binary:Version}), ${misc:Depends}
+Description: Grassroots DICOM development libraries and headers
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Headers and static libraries for libgdcm. These are not needed to use
+ GDCM, but are needed to build plugins or programs that link against
+ libgdcm.
+
+Package: libgdcm2.6-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Multi-Arch: same
+Depends: libgdcm2.6 (= ${binary:Version}), ${misc:Depends}
+Description: Grassroots DICOM runtime libraries, debug version
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Debug symbols for libgdcm that will allow useful tracebacks and
+ debugging on end user machines.
+
+Package: libgdcm-cil
+Section: cli-mono
+Architecture: @DEB_MONO_ARCHS@
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}
+Description: Grassroots DICOM CLI bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ CLI bindings to the GDCM DICOM library. It allows developers to use
+ GDCM from C# environment.
+
+Package: php5-gdcm
+Section: php
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}
+Description: Grassroots DICOM PHP5 bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ PHP5 bindings to the GDCM DICOM library. It allows developers to use
+ GDCM from PHP5 environment.
+
+Package: python-gdcm
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libgdcm2.6 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Grassroots DICOM Python bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Python bindings to the GDCM DICOM library.
+
+Package: libvtkgdcm2.6
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, 
+Description: Grassroots DICOM VTK runtime libraries
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Libvtkgdcm is a library that quickly allow programmer to use GDCM
+ from a VTK environment.
+
+Package: libvtkgdcm2-dev
+Section: libdevel
+Architecture: any
+Depends: libvtkgdcm2.6 (= ${binary:Version}), libgdcm2-dev, ${misc:Depends}
+Description: Grassroots DICOM VTK development libraries and headers
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Headers and static libraries for libvtkgdcm. These are not needed to
+ use GDCM, but are needed to build plugins or programs that link
+ against libvtkgdcm.
+
+Package: libvtkgdcm-cil
+Section: cli-mono
+Architecture: @DEB_MONO_ARCHS@
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}, libgdcm2.6 (= ${binary:Version})
+Suggests: libgdcm-cil
+Description: Grassroots DICOM VTK CLI bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ VTK CLI bindings to the GDCM DICOM library.
+
+Package: php5-vtkgdcm
+Section: php
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}, libgdcm2.6 (= ${binary:Version})
+Suggests: php-gdcm
+Description: Grassroots DICOM VTK PHP bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ VTK PHP bindings to the GDCM DICOM library.
+
+Package: python-vtkgdcm
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libvtkgdcm2.6 (= ${binary:Version})
+Provides: ${python:Provides}
+Suggests: python-gdcm
+Description: Grassroots DICOM VTK/Python bindings
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ VTK/Python bindings to the GDCM DICOM library.
+
+Package: libvtkgdcm-tools
+Architecture: any
+Section: utils
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libgdcm-tools
+Description: Grassroots DICOM VTK tools and utilities
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ Libvtkgdcm-tools provides a number of command line debugging and utility
+ tool. Install this package for the gdcmviewer, gdcm2pnm and gdcm2vtk
+ programs.
+
+Package: gdcm-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, vtk6-doc, doc-base
+Description: Grassroots DICOM documentation
+ Grassroots DiCoM is a C++ library for DICOM medical files. It is
+ automatically wrapped to python/C#/Java (using swig). It supports
+ RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated.
+ .
+ This is the documentation for gdcm and vtkgdcm
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..24a7ea4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,476 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gdcm
+Upstream-Contact: malat at users.sf.net
+Source: http://gdcm.sf.net
+
+Files: *
+Copyright: 2006-2011 Mathieu Malaterre
+ 1993-2005 CREATIS
+License: BSD-3-clause-alike-CREATIS
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+  * Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+ .
+  * Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+ .
+  * Neither name of Mathieu Malaterre, or CREATIS, nor the names of any
+    contributors (CNRS, INSERM, UCB, Universite Lyon I), may be used to
+    endorse or promote products derived from this software without specific
+    prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files:Source/MediaStorageAndFileFormat/gdcmStreamImageReader.cxx
+ Source/MediaStorageAndFileFormat/gdcmStreamImageReader.h
+ Source/MediaStorageAndFileFormat/gdcmStreamImageWriter.h
+ Source/MediaStorageAndFileFormat/gdcmStreamImageWriter.cxx
+ Source/MessageExchangeDefinition/gdcmULActionAE.cxx
+ Source/MessageExchangeDefinition/gdcmQueryImage.h
+ Source/MessageExchangeDefinition/gdcmCFindMessages.h
+ Source/MessageExchangeDefinition/gdcmULEvent.h
+ Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.h
+ Source/MessageExchangeDefinition/gdcmQuerySeries.cxx
+ Source/MessageExchangeDefinition/gdcmARTIMTimer.h
+ Source/MessageExchangeDefinition/gdcmULConnectionInfo.cxx
+ Source/MessageExchangeDefinition/gdcmNetworkStateID.h
+ Source/MessageExchangeDefinition/gdcmQueryStudy.h
+ Source/MessageExchangeDefinition/gdcmCEchoMessages.cxx
+ Source/MessageExchangeDefinition/gdcmCEchoMessages.h
+ Source/MessageExchangeDefinition/gdcmULBasicCallback.h
+ Source/MessageExchangeDefinition/gdcmULActionAE.h
+ Source/MessageExchangeDefinition/gdcmULConnectionManager.h
+ Source/MessageExchangeDefinition/gdcmULWritingCallback.h
+ Source/MessageExchangeDefinition/gdcmQueryImage.cxx
+ Source/MessageExchangeDefinition/gdcmULActionDT.h
+ Source/MessageExchangeDefinition/gdcmBaseRootQuery.h
+ Source/MessageExchangeDefinition/gdcmCompositeMessageFactory.cxx
+ Source/MessageExchangeDefinition/gdcmQueryFactory.cxx
+ Source/MessageExchangeDefinition/gdcmULConnection.h
+ Source/MessageExchangeDefinition/gdcmBaseRootQuery.cxx
+ Source/MessageExchangeDefinition/gdcmULWritingCallback.cxx
+ Source/MessageExchangeDefinition/gdcmULConnectionInfo.h
+ Source/MessageExchangeDefinition/gdcmULActionAA.h
+ Source/MessageExchangeDefinition/gdcmPDUFactory.cxx
+ Source/MessageExchangeDefinition/gdcmULTransitionTable.h
+ Source/MessageExchangeDefinition/gdcmARTIMTimer.cxx
+ Source/MessageExchangeDefinition/gdcmULBasicCallback.cxx
+ Source/MessageExchangeDefinition/gdcmCMoveMessages.h
+ Source/MessageExchangeDefinition/gdcmULActionDT.cxx
+ Source/MessageExchangeDefinition/gdcmULActionAR.h
+ Source/MessageExchangeDefinition/gdcmQueryPatient.cxx
+ Source/MessageExchangeDefinition/gdcmCMoveMessages.cxx
+ Source/MessageExchangeDefinition/gdcmULConnectionManager.cxx
+ Source/MessageExchangeDefinition/gdcmBasePDU.h
+ Source/MessageExchangeDefinition/gdcmULActionAA.cxx
+ Source/MessageExchangeDefinition/gdcmULAction.h
+ Source/MessageExchangeDefinition/gdcmULTransitionTable.cxx
+ Source/MessageExchangeDefinition/gdcmQuerySeries.h
+ Source/MessageExchangeDefinition/gdcmULConnection.cxx
+ Source/MessageExchangeDefinition/gdcmBaseQuery.h
+ Source/MessageExchangeDefinition/gdcmBaseQuery.cxx
+ Source/MessageExchangeDefinition/gdcmQueryStudy.cxx
+ Source/MessageExchangeDefinition/gdcmULActionAR.cxx
+ Source/MessageExchangeDefinition/gdcmPDUFactory.h
+ Source/MessageExchangeDefinition/gdcmCFindMessages.cxx
+ Source/MessageExchangeDefinition/gdcmBaseCompositeMessage.h
+ Source/MessageExchangeDefinition/gdcmNetworkEvents.h
+ Source/MessageExchangeDefinition/gdcmULConnectionCallback.h
+ Source/MessageExchangeDefinition/gdcmQueryFactory.h
+ Source/MessageExchangeDefinition/gdcmCStoreMessages.h
+ Source/MessageExchangeDefinition/gdcmCStoreMessages.cxx
+ Source/MessageExchangeDefinition/gdcmQueryPatient.h
+ Source/MessageExchangeDefinition/gdcmCompositeNetworkFunctions.cxx
+ Source/MessageExchangeDefinition/gdcmQueryBase.h
+ Source/MessageExchangeDefinition/gdcmCompositeMessageFactory.h
+ Testing/Source/MessageExchangeDefinition/Cxx/TestEcho.cxx
+ Testing/Source/MessageExchangeDefinition/Cxx/TestFind.cxx
+ Testing/Source/MessageExchangeDefinition/Cxx/TestULConnectionManager.cxx
+ Testing/Source/MessageExchangeDefinition/Cxx/TestQueryFactory.cxx
+ Testing/Source/MessageExchangeDefinition/Cxx/TestPresentationContextRQ.cxx
+ Testing/Source/MessageExchangeDefinition/Cxx/TestSCUFunctions.cxx
+Copyright: Insight Software Consortium
+License: Apache-2.0 
+
+Files: Applications/Python/*
+Copyright:  2008 Emanuele Rocca <ema at galliera.it>
+ 2008 Marco De Benedetto <debe at galliera.it>
+ 2006-2011 Mathieu Malaterre
+License: Apache-2.0 
+
+Files:Examples/Csharp/MpegVideoInfo.cs
+Copyright: 2007 Chris Anderson >chrisa at wordpress.com>
+License: LGPL-2+ 
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2 can be found in
+ "/usr/share/common-licenses/LGPL-2".
+
+Files: CMake/*.cmake
+Copyright: 2006-2011 Mathieu Malaterre <mathieu.malaterre at gmail.com>
+License: BSD-3-clause-alike-Mathieu-Malaterre
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ . 
+ 1. Redistributions of source code must retain the copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: Utilities/C99/*
+Copyright: 2006 Alexander Chemeris
+License: BSD-3-clause-alike-Alexander-Chemeris
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+   1. Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+ .
+   2. Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ .
+   3. The name of the author may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+ EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: Utilities/gdcmcharls/*
+Copyright: 2007-2010, Jan de Vaan
+License: BSD-3-clause-alike-Jan-de-Vaan
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+ .
+ * Neither the name of my employer, nor the names of its contributors may be
+   used to endorse or promote products derived from this software without
+   specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: Utilities/gdcmexpat/*
+Copyright: 1998, 1999, 2000 Thai Open Source Software Center Ltd
+                               and Clark Cooper
+ 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: Utilities/gdcmjpeg/*
+Copyright: 1991-1998, Thomas G. Lane.
+License: gdcmjpeg 
+ Permission is hereby granted to use, copy, modify, and distribute this
+ software (or portions thereof) for any purpose, without fee, subject to these
+ conditions:
+ (1) If any part of the source code for this software is distributed, then this
+ README file must be included, with this copyright and no-warranty notice
+ unaltered and any additions, deletions, or changes to the original files
+ must be clearly indicated in accompanying documentation.
+ (2) If only executable code is distributed, then the accompanying
+ documentation must state that "this software is based in part on the work of
+ the Independent JPEG Group".
+ (3) Permission for use of this software is granted only if the user accepts
+ full responsibility for any undesirable consequences the authors accept
+ NO LIABILITY for damages of any kind.
+ .
+ These conditions apply to any software derived from or based on the IJG code,
+ not just to the unmodified library.  If you use our work, you ought to
+ acknowledge us.
+ .
+ Permission is NOT granted for the use of any IJG author's name or company name
+ in advertising or publicity relating to this software or products derived from
+ it.  This software may be referred to only as "the Independent JPEG Group's
+ software".
+ .
+ We specifically permit and encourage the use of this software as the basis of
+ commercial products, provided that all warranty or liability claims are
+ assumed by the product vendor.
+
+
+Files: Utilities/gdcmmd5/md5main.c
+ Utilities/gdcmmd5/md5.c
+ Utilities/gdcmmd5/md5.h 
+Copyright: 1999, 2002 Aladdin Enterprises.  All rights reserved.
+License: zlib/libpng
+ This software is provided 'as-is', without any express or implied
+ warranty.  In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must not
+    claim that you wrote the original software. If you use this software
+    in a product, an acknowledgment in the product documentation would be
+    appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+    misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+Files: Utilities/gdcmopenjpeg-v*/*
+Copyright: Copyright (c) 2002-2007, Communications and Remote Sensing Laboratory,
+                                    Universite catholique de Louvain (UCL), Belgium
+ 2002-2007, Professor Benoit Macq
+ 2001-2003, David Janssens
+ 2002-2003, Yannick Verschueren
+ 2003-2007, Francois-Olivier Devaux and Antonin Descampe
+ 2005, Herve Drolon, FreeImage Team
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files: Utilities/gdcmutfcpp/*
+Copyright: 2006 Nemanja Trifunovic
+License: BSL
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+ .
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: Utilities/gdcmuuid/*
+Copyright: 1996, 1997 Theodore Ts'o.
+License: BSD-3-clause-alike-Theodore-Ts
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, and the entire permission notice in its entirety,
+    including the disclaimer of warranties.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote
+    products derived from this software without specific prior
+    written permission.
+ .
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
+ WHICH ARE HEREBY DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+
+Files: Utilities/gdcmzlib/*
+Copyright: 1995-2005 Jean-loup Gailly and Mark Adler
+License: Zlib
+ This software is provided 'as-is', without any express or implied
+ warranty.  In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must not
+    claim that you wrote the original software. If you use this software
+    in a product, an acknowledgment in the product documentation would be
+    appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+    misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+Files: Utilities/getopt/*
+Copyright: 2000 The NetBSD Foundation, Inc.                      
+License: BSD-4-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. All advertising materials mentioning features or use of this software
+    must display the following acknowledgement:
+        This product includes software developed by the NetBSD
+        Foundation, Inc. and its contributors.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files: Utilities/pvrg/*
+Copyright: Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved.
+License: public-domain
+ PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research
+ Group. If you use this software, you agree to the following: This
+ program package is purely experimental, and is licensed "as is".
+ Permission is granted to use, modify, and distribute this program
+ q without charge for any purpose, provided this license/ disclaimer
+ notice appears in the copies.  No warranty or maintenance is given,
+ either expressed or implied.  In no event shall the author(s) be
+ liable to you or a third party for any special, incidental,
+ consequential, or other damages, arising out of the use or inability
+ to use the program for any purpose (or the loss of data), even if we
+ have been advised of such possibilities.  Any public reference or
+ advertisement of this source code should refer to it as the Portable
+ Video Research Group (PVRG) code, and not by any author(s) (or
+ Stanford University) name.
+
+Files: Utilities/socketxx/*
+Copyright: 1992-1996 Gnanasekaran Swaminathan <gs4t at virginia.edu>
+ 2002-2004 Herbert Straub <herbert at linuxhacker.at>
+License: socketxx
+ Permission is granted to use at your own risk and distribute this software
+ in source and  binary forms provided  the above copyright notice and  this
+ paragraph are  preserved on all copies.  This software is provided "as is"
+ with no express or implied warranty
+
+Files: Utilities/wxWidgets/*
+Copyright: 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
+License: BSD-3-clause-alike-wxWidgets
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+  * Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+ .
+  * Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+ .
+  * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names
+    of any contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+License: Apache-2.0
+ On Debian GNU/Linux system you can find the complete text of the
+ Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
diff --git a/debian/gdcm-doc.dirs b/debian/gdcm-doc.dirs
new file mode 100644
index 0000000..dedc169
--- /dev/null
+++ b/debian/gdcm-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc/gdcm-doc
diff --git a/debian/gdcm-doc.doc-base b/debian/gdcm-doc.doc-base
new file mode 100644
index 0000000..0cae88b
--- /dev/null
+++ b/debian/gdcm-doc.doc-base
@@ -0,0 +1,12 @@
+Document: gdcm-doc
+Title: GDCM User's Guide
+Author: Mathieu Malaterre
+Abstract: Doxygen documentation of GDCM
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/gdcm-doc/html/index.html
+Files: /usr/share/doc/gdcm-doc/html/*
+
+Format: PDF
+Files: /usr/share/doc/gdcm-doc/gdcm-2.6.0.pdf
diff --git a/debian/gdcm-doc.docs b/debian/gdcm-doc.docs
new file mode 100644
index 0000000..2c78ee8
--- /dev/null
+++ b/debian/gdcm-doc.docs
@@ -0,0 +1,2 @@
+usr/share/doc/gdcm-*/html/
+usr/share/doc/gdcm-*/gdcm-2*.pdf
diff --git a/debian/gdcm-doc.install b/debian/gdcm-doc.install
new file mode 100644
index 0000000..2c78ee8
--- /dev/null
+++ b/debian/gdcm-doc.install
@@ -0,0 +1,2 @@
+usr/share/doc/gdcm-*/html/
+usr/share/doc/gdcm-*/gdcm-2*.pdf
diff --git a/debian/gdcm-doc.lintian-overrides b/debian/gdcm-doc.lintian-overrides
new file mode 100644
index 0000000..cb40a3e
--- /dev/null
+++ b/debian/gdcm-doc.lintian-overrides
@@ -0,0 +1,5 @@
+# The embedded jquery.js is generated by Doxygen and can not be replaced 
+# by the one provided by libjs-jquery.  
+# For a rationale please see src::Doxygen/debian/README.jquery. 
+
+gdcm-doc binary: embedded-javascript-library
diff --git a/debian/gdcm.ini b/debian/gdcm.ini
new file mode 100644
index 0000000..53184ab
--- /dev/null
+++ b/debian/gdcm.ini
@@ -0,0 +1,3 @@
+; configuration for the php5-gdcm module
+
+extension=gdcm.so
diff --git a/debian/libgdcm-cil.install b/debian/libgdcm-cil.install
new file mode 100644
index 0000000..05a1a94
--- /dev/null
+++ b/debian/libgdcm-cil.install
@@ -0,0 +1,2 @@
+usr/lib/*/gdcm-sharp.dll          usr/lib/cli/gdcm-sharp-2.6
+usr/lib/*/libgdcmsharpglue.so     usr/lib/cli/gdcm-sharp-2.6
diff --git a/debian/libgdcm-cil.installcligac b/debian/libgdcm-cil.installcligac
new file mode 100644
index 0000000..58786ad
--- /dev/null
+++ b/debian/libgdcm-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/gdcm-sharp-2.6/gdcm-sharp.dll
diff --git a/debian/libgdcm-java.install b/debian/libgdcm-java.install
new file mode 100644
index 0000000..f5fb66f
--- /dev/null
+++ b/debian/libgdcm-java.install
@@ -0,0 +1,2 @@
+usr/lib/*/gdcm.jar      usr/share/java
+usr/lib/*/jni/libgdcmjni.so
diff --git a/debian/libgdcm-tools.install b/debian/libgdcm-tools.install
new file mode 100644
index 0000000..29afa8f
--- /dev/null
+++ b/debian/libgdcm-tools.install
@@ -0,0 +1,29 @@
+usr/bin/gdcmanon
+usr/bin/gdcmconv
+usr/bin/gdcmdump
+usr/bin/gdcmgendir
+usr/bin/gdcmimg
+usr/bin/gdcminfo
+usr/bin/gdcmpdf
+usr/bin/gdcmraw
+usr/bin/gdcmscanner
+usr/bin/gdcmtar
+usr/bin/gdcmscu
+#usr/bin/gdcmstream
+usr/bin/gdcmxml
+usr/bin/gdcmpap3
+usr/bin/gdcmdiff
+usr/share/man/man1/gdcmanon.1
+usr/share/man/man1/gdcmconv.1
+usr/share/man/man1/gdcmdump.1
+usr/share/man/man1/gdcmgendir.1
+usr/share/man/man1/gdcmimg.1
+usr/share/man/man1/gdcminfo.1
+usr/share/man/man1/gdcmpdf.1
+usr/share/man/man1/gdcmraw.1
+usr/share/man/man1/gdcmscanner.1
+usr/share/man/man1/gdcmtar.1
+usr/share/man/man1/gdcmdiff.1
+usr/share/man/man1/gdcmxml.1
+usr/share/man/man1/gdcmpap3.1
+usr/share/man/man1/gdcmscu.1
diff --git a/debian/libgdcm-tools.lintian-overrides b/debian/libgdcm-tools.lintian-overrides
new file mode 100644
index 0000000..dbb0ea7
--- /dev/null
+++ b/debian/libgdcm-tools.lintian-overrides
@@ -0,0 +1,5 @@
+# according to Utilities/gdcmjpeg/README.GDCM.txt 
+# the embedded library is a variation of libjpeg that supports 
+# lossless compression 
+#
+libgdcm-tools: embedded-library usr/bin/gdcmpap3: libjpeg
diff --git a/debian/libgdcm2-dev.install b/debian/libgdcm2-dev.install
new file mode 100644
index 0000000..4762003
--- /dev/null
+++ b/debian/libgdcm2-dev.install
@@ -0,0 +1,16 @@
+usr/lib/*/libgdcmCommon.so
+usr/lib/*/libgdcmDICT.so
+usr/lib/*/libgdcmDSED.so
+usr/lib/*/libgdcmIOD.so
+usr/lib/*/libgdcmMSFF.so
+usr/lib/*/libgdcmjpeg12.so
+usr/lib/*/libgdcmjpeg16.so
+usr/lib/*/libgdcmjpeg8.so
+usr/lib/*/libgdcmMEXD.so
+usr/lib/*/gdcm-2.*/*.cmake
+usr/include/gdcm-2.*/gdcm*
+usr/include/gdcm-2.*/zip*
+usr/include/gdcm-2.*/gdcmjpeg/12/*
+usr/include/gdcm-2.*/gdcmjpeg/16/*
+usr/include/gdcm-2.*/gdcmjpeg/8/*
+usr/include/gdcm-2.*/gdcmjpeg/j*.h
diff --git a/debian/libgdcm2.6.docs b/debian/libgdcm2.6.docs
new file mode 100644
index 0000000..71dfd5b
--- /dev/null
+++ b/debian/libgdcm2.6.docs
@@ -0,0 +1 @@
+README.txt
diff --git a/debian/libgdcm2.6.install b/debian/libgdcm2.6.install
new file mode 100644
index 0000000..62be730
--- /dev/null
+++ b/debian/libgdcm2.6.install
@@ -0,0 +1,2 @@
+usr/lib/*/libgdcm*.so.*
+usr/share/gdcm-2.*/XML
diff --git a/debian/libgdcm2.6.lintian-overrides b/debian/libgdcm2.6.lintian-overrides
new file mode 100644
index 0000000..7023912
--- /dev/null
+++ b/debian/libgdcm2.6.lintian-overrides
@@ -0,0 +1,7 @@
+# this is a multi-lib library package
+#
+libgdcm2.6: package-name-doesnt-match-sonames
+
+# This is a C++ library, using symbols files here is quite a challange
+libgdcm2.6: no-symbols-control-file
+
diff --git a/debian/libvtkgdcm-cil.install b/debian/libvtkgdcm-cil.install
new file mode 100644
index 0000000..573bc2e
--- /dev/null
+++ b/debian/libvtkgdcm-cil.install
@@ -0,0 +1,2 @@
+usr/lib/*/vtkgdcm-sharp.dll                   usr/lib/cli/vtkgdcm-sharp-2.6
+usr/lib/*/libvtkgdcmsharpglue.so              usr/lib/cli/vtkgdcm-sharp-2.6
diff --git a/debian/libvtkgdcm-cil.installcligac b/debian/libvtkgdcm-cil.installcligac
new file mode 100644
index 0000000..0e3c12b
--- /dev/null
+++ b/debian/libvtkgdcm-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/vtkgdcm-sharp-2.6/vtkgdcm-sharp.dll
diff --git a/debian/libvtkgdcm-java.install b/debian/libvtkgdcm-java.install
new file mode 100644
index 0000000..2c235fb
--- /dev/null
+++ b/debian/libvtkgdcm-java.install
@@ -0,0 +1,2 @@
+usr/lib/*/vtkgdcm.jar       usr/share/java
+usr/lib/*/jni/libvtkgdcmJava.so
diff --git a/debian/libvtkgdcm-tools.install b/debian/libvtkgdcm-tools.install
new file mode 100644
index 0000000..0adf943
--- /dev/null
+++ b/debian/libvtkgdcm-tools.install
@@ -0,0 +1,6 @@
+usr/bin/gdcmviewer
+usr/bin/gdcm2vtk
+usr/bin/gdcm2pnm
+usr/share/man/man1/gdcmviewer.1
+usr/share/man/man1/gdcm2vtk.1
+usr/share/man/man1/gdcm2pnm.1
diff --git a/debian/libvtkgdcm.lintian-override b/debian/libvtkgdcm.lintian-override
new file mode 100644
index 0000000..6b77c9b
--- /dev/null
+++ b/debian/libvtkgdcm.lintian-override
@@ -0,0 +1,2 @@
+# This is a C++ library, using symbols files here is quite a challange
+libvtkgdcm2.6: no-symbols-control-file
diff --git a/debian/libvtkgdcm2-dev.install b/debian/libvtkgdcm2-dev.install
new file mode 100644
index 0000000..089a6a2
--- /dev/null
+++ b/debian/libvtkgdcm2-dev.install
@@ -0,0 +1,2 @@
+usr/lib/*/libvtkgdcm.so
+usr/include/gdcm-2.*/vtk*
diff --git a/debian/libvtkgdcm2.6.install b/debian/libvtkgdcm2.6.install
new file mode 100644
index 0000000..bded75f
--- /dev/null
+++ b/debian/libvtkgdcm2.6.install
@@ -0,0 +1 @@
+usr/lib/*/libvtkgdcm.so.*
diff --git a/debian/libvtkgdcm2.6.lintian-overrides b/debian/libvtkgdcm2.6.lintian-overrides
new file mode 100644
index 0000000..41b0f6f
--- /dev/null
+++ b/debian/libvtkgdcm2.6.lintian-overrides
@@ -0,0 +1,4 @@
+
+# C++ library, Symbols files are really difficult here
+libvtkgdcm2.6: no-symbols-control-file
+
diff --git a/debian/patches/01_toplevelskip.patch b/debian/patches/01_toplevelskip.patch
new file mode 100644
index 0000000..5955a22
--- /dev/null
+++ b/debian/patches/01_toplevelskip.patch
@@ -0,0 +1,22 @@
+Description: fix in source builds
+ buildd machine wants insource build. upstream does not allow
+ insource build since it break cpack source packaging
+Author: Mathieu Malaterre <malat at debian.org>
+
+Index: gdcm-2.4.3/CMakeLists.txt
+===================================================================
+--- gdcm-2.6.0.old/CMakeLists.txt	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/CMakeLists.txt	2015-10-16 14:10:37.474589397 +0200
+@@ -36,9 +36,9 @@
+   get_filename_component(PARENTDIR ${GDCM_BINARY_DIR} PATH)
+   string(COMPARE EQUAL "${GDCM_SOURCE_DIR}" "${PARENTDIR}" INSOURCESUBDIR)
+   if(INSOURCE OR INSOURCESUBDIR)
+-    message(FATAL_ERROR "GDCM requires an out of source Build. "
+-      "Please create a separate binary directory and run CMake there. "
+-      "Or explicitly define GDCM_ALLOW_INSOURCE_BUILD")
++#    message(FATAL_ERROR "GDCM requires an out of source Build. "
++#      "Please create a separate binary directory and run CMake there. "
++#      "Or explicitly define GDCM_ALLOW_INSOURCE_BUILD")
+   endif()
+ endif()
+ #----------------------------------------------------------------------------
diff --git a/debian/patches/02_fixhurd.patch b/debian/patches/02_fixhurd.patch
new file mode 100644
index 0000000..5df250b
--- /dev/null
+++ b/debian/patches/02_fixhurd.patch
@@ -0,0 +1,61 @@
+Description: Fix compilation on GNU/Hurd
+ According to explanation from:
+ http://www.gnu.org/software/hurd/hurd/porting/guidelines.html#GNU_specific_define_tt_
+Author: Mathieu Malaterre <malat at debian.org>
+
+Index: gdcm-2.4.1/Source/Common/gdcmSystem.cxx
+===================================================================
+--- gdcm-2.4.1.orig/Source/Common/gdcmSystem.cxx	2013-12-09 18:22:40.000000000 +0100
++++ gdcm-2.4.1/Source/Common/gdcmSystem.cxx	2013-12-10 09:15:48.378563355 +0100
+@@ -363,6 +363,10 @@
+   return Rmdir(source) == 0;
+ }
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ // return size of file; also returns zero if no file exists
+ size_t System::FileSize(const char* filename)
+ {
+Index: gdcm-2.4.1/Source/DataDictionary/gdcmGlobal.cxx
+===================================================================
+--- gdcm-2.4.1.orig/Source/DataDictionary/gdcmGlobal.cxx	2013-12-09 18:22:40.000000000 +0100
++++ gdcm-2.4.1/Source/DataDictionary/gdcmGlobal.cxx	2013-12-10 09:15:48.378563355 +0100
+@@ -133,6 +133,10 @@
+   return true;
+ }
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ const char *Global::Locate(const char *resfile) const
+ {
+ #ifdef _WIN32
+Index: gdcm-2.4.1/Utilities/socketxx/socket++/sockstream.h
+===================================================================
+--- gdcm-2.6.0.old/Utilities/socketxx/socket++/local.h	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/socketxx/socket++/local.h	2015-10-16 14:20:06.073470902 +0200
+@@ -97,7 +97,7 @@
+ //  extern "C" int gethostname (char* hostname, size_t len);
+ // the above breaks on some old MacOSX system where prototype is:
+ //  extern "C" int gethostname (char* hostname, int len);
+-#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
++#if !(defined(__FreeBSD__) || defined(__GNU__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
+   extern char* SYS_SIGLIST [];
+ #endif
+ #endif
+Index: gdcm-2.4.1/Utilities/socketxx/socket++/local.h
+===================================================================
+--- gdcm-2.6.0.old/Utilities/socketxx/socket++/sockstream.h	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/socketxx/socket++/sockstream.h	2015-10-16 14:18:20.516146044 +0200
+@@ -163,7 +163,7 @@
+             msg_peek            = MSG_PEEK,
+             msg_dontroute    = MSG_DONTROUTE
+ 
+-#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__EMSCRIPTEN__))
++#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__GNU__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__EMSCRIPTEN__) )
+             ,msg_maxiovlen    = MSG_MAXIOVLEN
+ #endif
+         };
diff --git a/debian/patches/03_linkvtkdoc.patch b/debian/patches/03_linkvtkdoc.patch
new file mode 100644
index 0000000..d2beb48
--- /dev/null
+++ b/debian/patches/03_linkvtkdoc.patch
@@ -0,0 +1,113 @@
+Description: Correct use of scripts from vtk6-doc 
+ In vtk6-doc these scripts are installed compresses. The patch
+ takes care of providing uncompressed versions.  
+ In addition the patch changes the vtk doxygen source directory and
+ incorporates an patch to link to the VTK doc and replace PNG by SVG,
+ Merged to one patch because they overlap partially. 
+Author: Gert Wollny <gw.fossdev at gmail.com>, Mathieu Malaterre <malat at debian.org>
+
+diff -ru gdcm-2.6.0.old/Utilities/doxygen/vtk/CMakeLists.txt gdcm-2.6.0/Utilities/doxygen/vtk/CMakeLists.txt
+--- gdcm-2.6.0.old/Utilities/doxygen/vtk/CMakeLists.txt	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/doxygen/vtk/CMakeLists.txt	2015-10-16 17:06:34.550679081 +0200
+@@ -22,7 +22,7 @@
+     set (QT_TAG_FILE "${CMAKE_CURRENT_BINARY_DIR}/Qt.tag")
+   endif ()
+   set(BUILD_DOXYGEN ON)
+-  set(DOCUMENTATION_DOWNLOAD_VTK_TAGFILE ON)
++  set(DOCUMENTATION_DOWNLOAD_VTK_TAGFILE OFF)
+   set(DOCUMENTATION_HTML_TARZ ON)
+   set(DOXYGEN_PROJECT_NAME "vtkgdcm")
+   if(VTK_SOURCE_DIR)
+@@ -31,7 +31,7 @@
+   set(DOXYGEN_SOURCE_DIR "${VTK_SOURCE_DIR}/Utilities/Doxygen")
+   else()
+       # sudo apt-get install vtk-doc
+-  set(DOXYGEN_SOURCE_DIR "/usr/share/doc/vtk-doc/html/")
++  set(DOXYGEN_SOURCE_DIR "/usr/share/doc/vtk6-doc/doxygen/")
+   endif()
+   set(DOXYGEN_PROJECT_SOURCE_DIR "${vtkgdcm_SOURCE_DIR}")
+   set(VTK_DOXYGEN_HOME "${vtkgdcm_SOURCE_DIR}/VTK/Utilities/Doxygen")
+@@ -89,7 +89,7 @@
+     get_filename_component(DOT_PATH ${DOT} PATH)
+   endif()
+ 
+-  set(TAGFILES "\"${CMAKE_CURRENT_BINARY_DIR}/vtkNightlyDoc.tag=http://www.vtk.org/doc/nightly/html\"")
++  #set(TAGFILES "\"${CMAKE_CURRENT_BINARY_DIR}/vtkNightlyDoc.tag=http://www.vtk.org/doc/nightly/html\"")
+   if(INCLUDE_QT_DOCUMENTATION)
+     set (TAGFILES "${TAGFILES} \"${QT_TAG_FILE}=http://doc.trolltech.com/4.2\"")
+   endif()
+@@ -103,7 +103,7 @@
+     ${CMAKE_CURRENT_BINARY_DIR}/doc_makeall.sh @ONLY )
+ 
+   add_custom_target(${DOXYGEN_PROJECT_NAME}DoxygenDoc
+-    #ALL
++    ALL
+     ${BASH}
+     ${CMAKE_CURRENT_BINARY_DIR}/doc_makeall.sh)
+ 
+diff -ru gdcm-2.6.0.old/Utilities/doxygen/vtk/doc_makeall.sh.in gdcm-2.6.0/Utilities/doxygen/vtk/doc_makeall.sh.in
+--- gdcm-2.6.0.old/Utilities/doxygen/vtk/doc_makeall.sh.in	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/doxygen/vtk/doc_makeall.sh.in	2015-10-16 17:20:10.811973984 +0200
+@@ -169,12 +169,12 @@
+ # Convert the VTK headers to the Doxygen format.
+ echo "Convert the VTK headers to the Doxygen format."
+ if test "x$PERL_PROG" != "xNOTFOUND" ; then
+-    $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl" \
++    gzip -cd "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl.gz" | $PERL_PROG - \
+         --to "$INTERMEDIATE_DOX_DIR" \
+         --relativeto "@DOXYGEN_SOURCE_LOCATIONS_DIR@" \
+         @DOXYGEN_SOURCE_LOCATIONS@ || echoexit "Problem converting VTK headers"
+     if test "x at DOXYGEN_BINARY_LOCATIONS_DIR@" != "x"; then
+-      $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl" \
++    gzip -cd "$PATH_TO_VTK_DOX_SCRIPTS/doc_header2doxygen.pl.gz" | $PERL_PROG - \
+         --to "$INTERMEDIATE_DOX_DIR" \
+         --relativeto "@DOXYGEN_BINARY_LOCATIONS_DIR@" \
+         @DOXYGEN_BINARY_LOCATIONS@ || echoexit "Problem converting VTK headers"
+@@ -186,13 +186,16 @@
+ # Build the full-text index.
+ echo "Build the full-text index."
+ if test "x$PERL_PROG" != "xNOTFOUND" ; then
+-    $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_index.pl" \
++    gzip -dc "$PATH_TO_VTK_DOX_SCRIPTS/doc_index.stop.gz" > doc_index.stop
++
++    gzip -dc "$PATH_TO_VTK_DOX_SCRIPTS/doc_index.pl.gz" | $PERL_PROG - \
+         --project "$PROJECT_NAME" \
+-        --stop  "$PATH_TO_VTK_DOX_SCRIPTS/doc_index.stop" \
++        --stop  "doc_index.stop" \
+         --store "doc_""$PROJECT_NAME""_index.dox" \
+         --to "$INTERMEDIATE_DOX_DIR" \
+         @DOXYGEN_SOURCE_LOCATIONS@ \
+         @DOXYGEN_BINARY_LOCATIONS@ || echoexit "Problem building full-text index"
++   rm -f doc_index.stop
+ fi
+ echo "Build the full-text index - done"
+ 
+@@ -201,7 +204,7 @@
+ #  # demos that use that class.
+ 
+ #  if test "x$PERL_PROG" != "xNOTFOUND" ; then
+-#      $PERL_PROG $PATH_TO_VTK_DOX_SCRIPTS/doc_class2example.pl \
++#      gzip -dc $PATH_TO_VTK_DOX_SCRIPTS/doc_class2example.pl | $PERL_PROG - \
+ #          --datamatch "\W((VTK|ParaView)_DATA_ROOT|(VTK|MedVIP)Data|(vtk)?GetDataRoot|ExpandDataFileName)\W" \
+ #          --dataicon "paper-clip.gif" \
+ #          --dirmatch "^demos$" \
+@@ -246,7 +249,7 @@
+ # Clean the HTML pages to remove the path to the intermediate Doxygen dir.
+ 
+ if test "x$PERL_PROG" != "xNOTFOUND" ; then
+-    $PERL_PROG "$PATH_TO_VTK_DOX_SCRIPTS/doc_rmpath.pl" \
++    gzip -dc "$PATH_TO_VTK_DOX_SCRIPTS/doc_rmpath.pl.gz" | $PERL_PROG - \
+         --to "$INTERMEDIATE_DOX_DIR" \
+         --html "$OUTPUT_DIRECTORY/html" || echoexit "Problem cleaning HTML pages"
+ fi
+diff -ru gdcm-2.6.0.old/Utilities/doxygen/vtk/doxyfile.in gdcm-2.6.0/Utilities/doxygen/vtk/doxyfile.in
+--- gdcm-2.6.0.old/Utilities/doxygen/vtk/doxyfile.in	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/doxygen/vtk/doxyfile.in	2015-10-16 16:32:10.000000000 +0200
+@@ -23,6 +23,7 @@
+ HAVE_DOT             = YES
+ #HAVE_DOT            = NO
+ DOT_PATH             = "@DOT_PATH@"
++DOT_IMAGE_FORMAT     = svg
+ CLASS_GRAPH          = YES
+ COLLABORATION_GRAPH  = YES
+ TEMPLATE_RELATIONS   = YES
diff --git a/debian/patches/04_multiarch.patch b/debian/patches/04_multiarch.patch
new file mode 100644
index 0000000..0590ae9
--- /dev/null
+++ b/debian/patches/04_multiarch.patch
@@ -0,0 +1,18 @@
+Description: fix relative links now that gdcm is multi-arched
+Author: Mathieu Malaterre <malat at debian.org>
+Bug-Debian: http://bugs.debian.org/764029
+
+--- a/CMake/ExportConfiguration/GDCMConfig.cmake.in
++++ b/CMake/ExportConfiguration/GDCMConfig.cmake.in
+@@ -37,9 +37,9 @@
+ if(EXISTS ${SELF_DIR}/GDCMTargets.cmake)
+   # This is an install tree
+   include(${SELF_DIR}/GDCMTargets.cmake)
+-  get_filename_component(GDCM_INCLUDE_ROOT "${SELF_DIR}/../../@GDCM_INSTALL_INCLUDE_DIR@" ABSOLUTE)
++  get_filename_component(GDCM_INCLUDE_ROOT "${SELF_DIR}/../../../@GDCM_INSTALL_INCLUDE_DIR@" ABSOLUTE)
+   set(GDCM_INCLUDE_DIRS ${GDCM_INCLUDE_ROOT})
+-  get_filename_component(GDCM_LIB_ROOT "${SELF_DIR}/../../@GDCM_INSTALL_LIB_DIR@" ABSOLUTE)
++  get_filename_component(GDCM_LIB_ROOT "${SELF_DIR}/../../../@GDCM_INSTALL_LIB_DIR@" ABSOLUTE)
+   set(GDCM_LIBRARY_DIRS ${GDCM_LIB_ROOT})
+ else()
+   if(EXISTS ${SELF_DIR}/GDCMExports.cmake)
diff --git a/debian/patches/05_enable-vtk6-bindings.patch b/debian/patches/05_enable-vtk6-bindings.patch
new file mode 100644
index 0000000..e4d6ae7
--- /dev/null
+++ b/debian/patches/05_enable-vtk6-bindings.patch
@@ -0,0 +1,78 @@
+Description: Correct bindings for use with VTK6 
+ Add VTK6 export defines and remove some vtk-python libraries
+ that no longer exist from the link command 
+Author: Gert Wollny <gw.fossdev at gmail.com>
+
+diff -ru gdcm-2.6.0.old/Utilities/VTK/CMakeLists.txt gdcm-2.6.0/Utilities/VTK/CMakeLists.txt
+--- gdcm-2.6.0.old/Utilities/VTK/CMakeLists.txt	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/VTK/CMakeLists.txt	2015-10-16 17:28:48.000000000 +0200
+@@ -740,9 +740,9 @@
+     # do not set the version on the Python module:
+     #set_target_properties(${VTKGDCM_NAME}Python PROPERTIES ${GDCM_LIBRARY_PROPERTIES})
+     target_link_libraries(${VTKGDCM_NAME}PythonD ${VTKGDCM_NAME} ${PYTHON_LIBRARY})
+-    foreach(c ${vtkgdcm_LIBS} vtkFiltering)
+-      target_link_libraries(${VTKGDCM_NAME}PythonD ${c}Python${DEXTENSION})
+-    endforeach()
++#    foreach(c ${vtkgdcm_LIBS} vtkFiltering)
++#      target_link_libraries(${VTKGDCM_NAME}PythonD ${c}Python${DEXTENSION})
++#    endforeach()
+     if(TARGET vtkPythonCore)
+       target_link_libraries(${VTKGDCM_NAME}PythonD vtkPythonCore)
+     endif()
+diff -ru gdcm-2.6.0.old/Utilities/VTK/vtkgdcm.i gdcm-2.6.0/Utilities/VTK/vtkgdcm.i
+--- gdcm-2.6.0.old/Utilities/VTK/vtkgdcm.i	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/VTK/vtkgdcm.i	2015-10-16 17:42:20.541502614 +0200
+@@ -31,10 +31,10 @@
+ #endif
+ 
+ %{
+-//#define VTK_MAJOR_VERSION 5
+-//#define VTK_MINOR_VERSION 4
++//#define VTK_MAJOR_VERSION 6
++//#define VTK_MINOR_VERSION 2
+ //#define VTK_BUILD_VERSION 0
+-//#define VTK_VERSION "5.4.0"
++//#define VTK_VERSION "6.2.0"
+ %}
+ 
+ 
+@@ -101,17 +101,24 @@
+ //using My.Own.Namespace;
+ //%}
+ 
+-#ifdef USEACTIVIZ
++#if defined( USEACTIVIZ ) || defined (SWIGCSHARP) 
+ %typemap(csimports) SWIGTYPE %{
+ // I need to duplicate those also:
+ using System;
+ using System.Runtime.InteropServices;
++%}
++#endif
++
++#if defined( USEACTIVIZ )
++%typemap(csimports) SWIGTYPE %{
+ // my special import:
+ using Kitware.VTK;
+ //using Kitware.mummy.Runtime;
+ %}
+ #endif
+ 
++
++
+ #define GDCM_EXPORT
+ #define VTK_EXPORT
+ #define VTK_COMMON_EXPORT
+@@ -119,6 +126,13 @@
+ #define VTK_IO_EXPORT
+ #define VTK_IMAGING_EXPORT
+ #define VTK_RENDERING_EXPORT
++#define VTKCOMMONCORE_EXPORT
++#define VTKCOMMONMATH_EXPORT
++#define VTKIOIMAGE_EXPORT
++#define VTKCOMMONDATAMODEL_EXPORT
++#define VTKCOMMONEXECUTIONMODEL_EXPORT
++#define VTKRENDERINGCORE_EXPORT
++#define VTKIMAGINGCORE_EXPORT
+ 
+ 
+ // FIXME. Including #include vtkSetGet would not work on siwg 1.3.33 ...
diff --git a/debian/patches/06_add-csharp-keyfile-from-commandline.patch b/debian/patches/06_add-csharp-keyfile-from-commandline.patch
new file mode 100644
index 0000000..3a6079e
--- /dev/null
+++ b/debian/patches/06_add-csharp-keyfile-from-commandline.patch
@@ -0,0 +1,36 @@
+Description: Correct the key handling for the gdcm-sharp module
+ This patch moves the addign of the key to the command line and
+ adds the signing of the module after it is build. 
+Author: Gert Wollny <gw.fossdev at gmail.com>
+
+diff -ru gdcm-2.6.0.old/Wrapping/Csharp/AssemblyInfo.cs.in gdcm-2.6.0/Wrapping/Csharp/AssemblyInfo.cs.in
+--- gdcm-2.6.0.old/Wrapping/Csharp/AssemblyInfo.cs.in	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Wrapping/Csharp/AssemblyInfo.cs.in	2015-10-17 10:59:49.764531268 +0200
+@@ -70,7 +70,7 @@
+ // This is not required, if you don't want signing let these attributes like they're.
+ [assembly: AssemblyDelaySign(false)]
+ // http://msdn.microsoft.com/en-us/library/6f05ezxy(VS.80).aspx
+-[assembly: AssemblyKeyFile("key.snk")]
++//[assembly: AssemblyKeyFile("key.snk")]
+ //[assembly: AssemblyKeyFile("")]
+ //[assembly: AssemblyKeyName("GDCM Key")]
+ //[assembly: AssemblyKeyName("")]
+Nur in gdcm-2.6.0/Wrapping/Csharp/: AssemblyInfo.cs.in~.
+diff -ru gdcm-2.6.0.old/Wrapping/Csharp/CMakeLists.txt gdcm-2.6.0/Wrapping/Csharp/CMakeLists.txt
+--- gdcm-2.6.0.old/Wrapping/Csharp/CMakeLists.txt	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Wrapping/Csharp/CMakeLists.txt	2015-10-17 10:59:37.408588478 +0200
+@@ -69,11 +69,12 @@
+ 
+   add_custom_command(
+     OUTPUT ${GDCM_LIBRARY_DIR}/gdcm-sharp.dll
+-    COMMAND ${CMAKE_CSHARP_COMPILER} ARGS "/t:library" "/doc:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll.xml" "/out:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll" "*.cs"
++    COMMAND ${CMAKE_CSHARP_COMPILER} ARGS "/t:library" "/doc:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll.xml" "/out:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll" "*.cs" "/keyfile:key.snk"
++    COMMAND "/usr/bin/sn" "-R" "${GDCM_LIBRARY_DIR}/gdcm-sharp.dll" "${CMAKE_CURRENT_SOURCE_DIR}/key.snk"
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     DEPENDS "${swig_generated_file_fullname}"
+     ${CMAKE_CURRENT_BINARY_DIR}/AssemblyInfo.cs
+-    COMMENT "csc *.cs"
++    COMMENT "csc *.cs" 
+     )
+ 
+   if(BUILD_EXAMPLES)
diff --git a/debian/patches/07_vtkgdcm-sharp-siging.patch b/debian/patches/07_vtkgdcm-sharp-siging.patch
new file mode 100644
index 0000000..95658e4
--- /dev/null
+++ b/debian/patches/07_vtkgdcm-sharp-siging.patch
@@ -0,0 +1,28 @@
+Description: Correct the key handling for the vtkgdcm-sharp module
+ This patch moves the addign of the key to the command line and
+ adds the signing of the module after it is build. 
+Author: Gert Wollny <gw.fossdev at gmail.com>
+
+diff -ru gdcm-2.6.0.old/Utilities/VTK/AssemblyInfo.cs.in gdcm-2.6.0/Utilities/VTK/AssemblyInfo.cs.in
+--- gdcm-2.6.0.old/Utilities/VTK/AssemblyInfo.cs.in	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/VTK/AssemblyInfo.cs.in	2015-10-17 11:10:53.112614510 +0200
+@@ -69,5 +69,5 @@
+ // .NET Framework documentation for more information about signing.
+ // This is not required, if you don't want signing let these attributes like they're.
+ [assembly: AssemblyDelaySign(false)]
+-[assembly: AssemblyKeyFile("key.snk")]
++//[assembly: AssemblyKeyFile("key.snk")]
+ //[assembly: AssemblyKeyName("")]
+diff -ru gdcm-2.6.0.old/Utilities/VTK/CMakeLists.txt gdcm-2.6.0/Utilities/VTK/CMakeLists.txt
+--- gdcm-2.6.0.old/Utilities/VTK/CMakeLists.txt	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Utilities/VTK/CMakeLists.txt	2015-10-17 11:10:55.356721743 +0200
+@@ -598,7 +598,8 @@
+ 
+     add_custom_command(
+       OUTPUT ${GDCM_LIBRARY_DIR}/vtkgdcm-sharp.dll
+-      COMMAND ${CMAKE_CSHARP_COMPILER} ARGS "/t:library" "/out:${GDCM_LIBRARY_DIR}/vtkgdcm-sharp.dll" "*.cs"
++      COMMAND ${CMAKE_CSHARP_COMPILER} ARGS "/t:library" "/out:${GDCM_LIBRARY_DIR}/vtkgdcm-sharp.dll" "/keyfile:key.snk" "*.cs"
++      COMMAND "/usr/bin/sn" "-R" "${GDCM_LIBRARY_DIR}/vtkgdcm-sharp.dll" "key.snk" 
+       WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+       DEPENDS "${swig_generated_file_fullname}"
+       ${CMAKE_CURRENT_BINARY_DIR}/AssemblyInfo.cs
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6c23dbf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,7 @@
+#01_toplevelskip.patch
+02_fixhurd.patch
+03_linkvtkdoc.patch
+04_multiarch.patch
+#05_enable-vtk6-bindings.patch
+#06_add-csharp-keyfile-from-commandline.patch
+#07_vtkgdcm-sharp-siging.patch
diff --git a/debian/php5-gdcm.install b/debian/php5-gdcm.install
new file mode 100644
index 0000000..7a69ecc
--- /dev/null
+++ b/debian/php5-gdcm.install
@@ -0,0 +1,3 @@
+usr/share/php/gdcm.php
+usr/lib/php5/*/gdcm.so
+debian/gdcm.ini etc/php5/mods-available
diff --git a/debian/php5-gdcm.postinst b/debian/php5-gdcm.postinst
new file mode 100644
index 0000000..6e3b2b5
--- /dev/null
+++ b/debian/php5-gdcm.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+[ "$1" = "configure" ] && php5enmod gdcm
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/php5-gdcm.prerm b/debian/php5-gdcm.prerm
new file mode 100644
index 0000000..8d9d23e
--- /dev/null
+++ b/debian/php5-gdcm.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+[ "$1" = "remove" ] && php5dismod gdcm
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/php5-vtkgdcm.install b/debian/php5-vtkgdcm.install
new file mode 100644
index 0000000..bda67ec
--- /dev/null
+++ b/debian/php5-vtkgdcm.install
@@ -0,0 +1,3 @@
+usr/share/php/vtkgdcm.php
+usr/lib/php5/*/vtkgdcm.so
+debian/vtkgdcm.ini etc/php5/mods-available
diff --git a/debian/php5-vtkgdcm.postinst b/debian/php5-vtkgdcm.postinst
new file mode 100644
index 0000000..6917fca
--- /dev/null
+++ b/debian/php5-vtkgdcm.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+[ "$1" = "configure" ] && php5enmod vtkgdcm
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/php5-vtkgdcm.prerm b/debian/php5-vtkgdcm.prerm
new file mode 100644
index 0000000..8325e92
--- /dev/null
+++ b/debian/php5-vtkgdcm.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+[ "$1" = "remove" ] && php5dismod vtkgdcm
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/python-gdcm.install b/debian/python-gdcm.install
new file mode 100644
index 0000000..3ceec24
--- /dev/null
+++ b/debian/python-gdcm.install
@@ -0,0 +1,3 @@
+usr/lib/python*/dist-packages/gdcm.py
+usr/lib/python*/dist-packages/gdcmswig.py
+usr/lib/python*/dist-packages/_gdcmswig.so*
diff --git a/debian/python-vtkgdcm.install b/debian/python-vtkgdcm.install
new file mode 100644
index 0000000..18b04d2
--- /dev/null
+++ b/debian/python-vtkgdcm.install
@@ -0,0 +1,3 @@
+usr/lib/python*/dist-packages/vtkgdcm.py
+usr/lib/python*/dist-packages/libvtkgdcmPython.so*
+usr/lib/*/libvtkgdcmPythonD.so*
diff --git a/debian/python-vtkgdcm.lintian-overrides b/debian/python-vtkgdcm.lintian-overrides
new file mode 100644
index 0000000..0dbbfb4
--- /dev/null
+++ b/debian/python-vtkgdcm.lintian-overrides
@@ -0,0 +1,11 @@
+#
+# This is a C++ library, using symbols files here is quite a challange
+#
+python-vtkgdcm: no-symbols-control-file
+
+
+# This package provids a helper library for Python bindings 
+python-vtkgdcm: package-name-doesnt-match-sonames
+
+# This seems to be needed for the python module 
+python-vtkgdcm: non-dev-pkg-with-shlib-symlink
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..04c1d14
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,145 @@
+#!/usr/bin/make -f
+# export DH_VERBOSE=1
+
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+# to please dpkg-shlibdeps and java private libs in /usr/lib/jni
+LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):/usr/lib/jni
+
+# PHP5 extensions dir:
+PHP_EX=$(shell /usr/bin/php-config5 --extension-dir)
+
+# required for DEB_MONO_ARCHS (debian/control.in)
+-include /usr/share/mono/mono-archs.make
+
+# Mono is not available for all Debian architectures.
+ifeq ($(shell dh_listpackages | grep -q cil && echo yes),yes)
+WITH_CLI = --with cli
+DEB_WRAP_CSHARP = 1
+# dpkg-shlibdeps needs to know where is libKitware.mummy.Runtime.Unmanaged.so
+LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):/usr/lib/cli/Kitware.mummy.Runtime-1.0
+else
+WITH_CLI =
+DEB_WRAP_CSHARP = 0
+endif
+export LD_LIBRARY_PATH
+
+# deduce documentation option (build-indep target)
+ifeq "" "$(filter %-doc,$(shell dh_listpackages))"
+  BUILDDOC = OFF
+else
+  BUILDDOC = ON
+endif
+
+%:
+	dh $@ $(WITH_CLI) --with python2 --parallel
+
+PYVER 	 := $(shell pyversions -dv)
+PYMODDIR := /usr/lib/$(shell pyversions -r)
+VTKVERS=$(shell apt-cache policy libvtk6-dev | grep "Installed:" | cut -d: -f2 | cut -d' ' -f2 | cut -d- -f1 | cut -d. -f1-2)
+
+# GDCM_DOCUMENTATION:BOOL=ON is required to build man page (build target)
+# Need to make sure to build using the same vtk/python version:
+CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_BUILD_TYPE:STRING=None \
+		-DGDCM_DOXYGEN_NO_FOOTER:BOOL=ON \
+		-DGDCM_BUILD_APPLICATIONS:BOOL=ON \
+		-DGDCM_DOCUMENTATION:BOOL=ON \
+		-DGDCM_VTK_DOCUMENTATION:BOOL=$(BUILDDOC) \
+		-DDOCUMENTATION_DOWNLOAD_VTK_TAGFILE:BOOL=OFF \
+		-DGDCM_PDF_DOCUMENTATION:BOOL=$(BUILDDOC) \
+		-DGDCM_BUILD_SHARED_LIBS:BOOL=ON \
+		-DGDCM_WRAP_PYTHON:BOOL=ON \
+		-DGDCM_WRAP_CSHARP:BOOL=$(DEB_WRAP_CSHARP) \
+		-DGDCM_WRAP_JAVA:BOOL=OFF \
+		-DGDCM_WRAP_PHP:BOOL=ON \
+		-DGDCM_USE_PVRG:BOOL=ON \
+		-DGDCM_USE_SYSTEM_PVRG:BOOL=ON \
+		-DGMCS_EXECUTABLE:FILEPATH=/usr/bin/mono-csc \
+		-DGDCM_BUILD_TESTING:BOOL=OFF \
+		-DGDCM_USE_SYSTEM_EXPAT:BOOL=ON \
+		-DGDCM_USE_SYSTEM_UUID:BOOL=ON \
+		-DGDCM_USE_SYSTEM_ZLIB:BOOL=ON \
+		-DGDCM_USE_SYSTEM_OPENJPEG:BOOL=ON \
+		-DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON \
+		-DGDCM_USE_SYSTEM_CHARLS:BOOL=ON \
+		-DGDCM_USE_SYSTEM_POPPLER:BOOL=ON \
+		-DGDCM_USE_SYSTEM_LIBXML2:BOOL=ON \
+		-DGDCM_USE_SYSTEM_JSON:BOOL=ON \
+		-DGDCM_USE_PARAVIEW:BOOL=OFF \
+		-DGDCM_USE_ACTIVIZ:BOOL=OFF \
+		-DGDCM_USE_SYSTEM_PAPYRUS3:BOOL=ON \
+		-DGDCM_USE_SYSTEM_SOCKETXX:BOOL=ON \
+		-DPython_ADDITIONAL_VERSIONS:STRING=$(PYVER) \
+		-DGDCM_INSTALL_DOC_DIR:STRING=share/doc/gdcm-doc \
+		-DTAGFILES:STRING="/usr/share/doc/vtk-doc/html/vtk$(VTKVERS).tag=/usr/share/doc/vtk-doc/html/" \
+		-DGDCM_INSTALL_PYTHONMODULE_DIR:STRING=lib/python/dist-packages \
+		-DGDCM_INSTALL_JAVAMODULE_DIR:STRING=lib/$(DEB_HOST_MULTIARCH)/jni \
+		-DGDCM_NO_PYTHON_LIBS_LINKING:BOOL=ON \
+		-DGDCM_INSTALL_LIB_DIR:STRING=lib/$(DEB_HOST_MULTIARCH) \
+		-DGDCM_USE_VTK:BOOL=ON
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
+
+override_dh_install-arch:
+	dh_install --list-missing
+
+override_dh_auto_install:
+	# See #664188
+	sed -i -e "s/FATAL_ERROR/STATUS/g" obj-*/CMake/ExportConfiguration/CMakeFiles/Export/lib/$(DEB_HOST_MULTIARCH)/gdcm-2.6/GDCMTargets-*.cmake
+	# See #711214
+	sed -i -e "s/FATAL_ERROR/STATUS/g" obj-*/CMake/ExportConfiguration/CMakeFiles/Export/lib/$(DEB_HOST_MULTIARCH)/gdcm-2.6/GDCMTargets.cmake
+	dh_auto_install
+	# PHP
+	mkdir -p debian/tmp/$(PHP_EX)
+	mkdir -p debian/tmp/usr/share/php
+	mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gdcm.php debian/tmp/usr/share/php
+	mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gdcm.so debian/tmp/$(PHP_EX)
+	mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/vtkgdcm.php debian/tmp/usr/share/php
+	mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/vtkgdcm.so debian/tmp/$(PHP_EX)
+	echo "php:Depends=phpapi-`php-config5 --phpapi`" >> debian/php5-gdcm.substvars
+	echo "php:Depends=phpapi-`php-config5 --phpapi`" >> debian/php5-vtkgdcm.substvars
+	# Python
+	mv debian/tmp/usr/lib/python debian/tmp/$(PYMODDIR)
+	#mv debian/tmp/usr/lib/_gdcmswig.so* debian/tmp/$(PYMODDIR)/dist-packages/
+
+override_dh_strip:
+	dh_strip --dbg-package=libgdcm2.6-dbg
+
+override_dh_strip_nondeterminism:
+	dh_strip_nondeterminism -Xsharp 
+
+override_dh_clideps:
+ifeq ($(DEB_WRAP_CSHARP), 1)
+	dh_clideps
+endif
+
+# Let's be smart with building doc
+override_dh_auto_build-indep:
+	-$(MAKE) -C obj-* vtkgdcmDoxygenDoc
+
+# No tests needed for docs
+override_dh_auto_test-indep:
+
+pkg_doc = gdcm-doc
+pkg_exa = gdcm-examples
+
+override_dh_compress:
+	# do not compress .map file for doxygen graph
+	dh_compress -X.map -X.pdf
+
+# TODO I cannot set documentation to separate build target as man page
+# depends on doc, and bin tools depends on man page
+#build-indep:
+#	$(MAKE) GDCMDoxygenDoc
+#build-arch:
+#	$(MAKE)
+
+debian/control: debian/control.in
+	sed -e"s/@PYVER@/$(PYVER)/g" -e "s/@DEB_MONO_ARCHS@/$(DEB_MONO_ARCHS)/g" $< > $@
+
+get-orig-source:
+	uscan --verbose --force-download --rename
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..22a4de9
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+compression = xz
+compression-level = 9
diff --git a/debian/symbols.sh b/debian/symbols.sh
new file mode 100755
index 0000000..ef633c2
--- /dev/null
+++ b/debian/symbols.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -ex
+# Help in generating symbols file:
+
+# http://wiki.debian.org/UsingSymbolsFiles
+# http://www.eyrie.org/~eagle/journal/2012-01/008.html
+# http://pkg-kde.alioth.debian.org/symbolfiles.html
+
+# libgdcm2.2:
+VERS=2.2.0
+pkgkde-gensymbols -plibgdcm2.2 -v$VERS   -Osymbols.amd64 -edebian/tmp/usr/lib/libgdcmMSFF.so.2.2 -edebian/tmp/usr/lib/libsocketxx.so.1.2 -edebian/tmp/usr/lib/libgdcmMEXD.so.2.2 -edebian/tmp/usr/lib/libgdcmjpeg8.so.2.2 -edebian/tmp/usr/lib/libgdcmjpeg16.so.2.2 -edebian/tmp/usr/lib/libgdcmjpeg12.so.2.2 -edebian/tmp/usr/lib/libgdcmIOD.so.2.2 -edebian/tmp/usr/lib/libgdcmDSED.so.2.2 -edebian/tmp/usr/lib/libgdcmDICT.so.2.2 -edebian/tmp/usr/lib/libgdcmCommon.so.2.2
+
+pkgkde-symbolshelper create -o debian/libgdcm2.2.symbols -v $VERS symbols.amd64
+
+# libvtkgdcm2.2:
+pkgkde-gensymbols -plibvtkgdcm2.2 -v$VERS -Osymbols.amd64 -edebian/tmp/usr/lib/libvtkgdcm.so.2.2 
+
+pkgkde-symbolshelper create -o debian/libvtkgdcm2.2.symbols -v $VERS symbols.amd64
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2a941bd
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,12 @@
+Reference:
+  Author: David Rodríguez González and Trevor Carpenter and Jano I. van Hemert and Joanna Wardlaw
+  Title: An open source toolkit for medical imaging de-identification
+  Journal: European Radiology 
+  Year: 2010
+  Volume: 20
+  Number: 8
+  Pages: 1896-1904
+  DOI: 10.1007/s00330-010-1745-3
+  PMID: 20204640
+  URL: http://www.springerlink.com/content/j20844338623m167
+  eprint: http://www.springerlink.com/content/j20844338623m167/fulltext.pdf
diff --git a/debian/vtkgdcm.ini b/debian/vtkgdcm.ini
new file mode 100644
index 0000000..d0fb484
--- /dev/null
+++ b/debian/vtkgdcm.ini
@@ -0,0 +1,3 @@
+; configuration for the php5-vtkgdcm module
+
+extension=vtkgdcm.so
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3e14f62
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+#opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg\d*$//" 
+http://sf.net/gdcm/gdcm-([\d\.]+)\.tar\.bz2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gdcm.git



More information about the debian-med-commit mailing list