[med-svn] [plastimatch] 01/01: New upstream version 1.6.5+dfsg
Greg Sharp
gregsharp-guest at moszumanska.debian.org
Wed Oct 11 17:25:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregsharp-guest pushed a commit to annotated tag upstream/1.6.5+dfsg
in repository plastimatch.
commit 55182562b475c10fb60260b5f3df9b8f9182d534
Author: Gregory C. Sharp <gregsharp.geo at yahoo.com>
Date: Wed Oct 11 10:19:42 2017 -0400
New upstream version 1.6.5+dfsg
---
debian/changelog | 257 +++++++++++++++++++
debian/compat | 1 +
debian/control | 59 +++++
debian/copyright | 273 +++++++++++++++++++++
debian/manpages | 4 +
...ated-dlib-configuration-in-Debian-unstabl.patch | 38 +++
...-dependency-of-plmsys-library-depending-o.patch | 29 +++
debian/patches/series | 2 +
debian/plastimatch.lintian-overrides | 2 +
debian/rules | 51 ++++
debian/source/format | 1 +
debian/watch | 5 +
12 files changed, 722 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e549989
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,257 @@
+plastimatch (1.6.6+dfsg-1) UNRELEASED; urgency=medium
+
+ [ Gregory C. Sharp ]
+ * New upstream release
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Wed, 11 Oct 2017 10:15:14 -0400
+
+plastimatch (1.6.5+dfsg.1-1) unstable; urgency=medium
+
+ [ Gregory C. Sharp ]
+ * New upstream version
+ * Use debian libdlib-dev instead of upstream provided dlib
+ * Remove patches Fix-test-dependencies.patch and
+ Remove-plm_version.h-from-list-of-installed-files.patch
+ which are now fixed upstream
+
+ [ Andreas Tille ]
+ * Architecture: any
+ * debhelper 10 (no need to specify --parallel any more)
+ * d/watch:
+ - version=4
+ - adapt dversionmangle to separating dfsg and revision number by '.'
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Sun, 04 Dec 2016 17:34:58 -0500
+
+plastimatch (1.6.4+dfsg1-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Ghislain Antony Vaillant ]
+ * New upstream version 1.6.4+dfsg1
+ * Track GitLab tagged releases.
+ * Fix FTBFS when testing is performed in parallel.
+ New patch Fix-test-dependencies.patch.
+ Thanks to Lucas Nussbaum for reporting (Closes: #844942)
+ * Cherry-pick upstream patch to fix the install.
+ New patch Remove-plm_version.h-from-list-of-installed-files.patch
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com> Wed, 30 Nov 2016 10:48:12 +0000
+
+plastimatch (1.6.3+dfsg-1) unstable; urgency=medium
+
+ [ Gregory C. Sharp ]
+ * New upstream release
+
+ [ Andreas Tille ]
+ * cme fix dpkg-control
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Thu, 30 Jun 2016 13:36:15 -0400
+
+plastimatch (1.6.2+dfsg-3) unstable; urgency=medium
+
+ [ Gregory C. Sharp ]
+ * debian/control: fix i386 build and
+ prevent build on architectures without libinsighttoolkit4-dev
+ Closes: #819316
+
+ [ Andreas Tille ]
+ * Add missing Build-Depends: libgdcm2-dev
+ Closes: #808401
+ * cme fix dpkg-control
+ * better hardening
+
+ -- Andreas Tille <tille at debian.org> Sun, 27 Mar 2016 07:43:49 +0200
+
+plastimatch (1.6.2+dfsg-2) unstable; urgency=medium
+
+ * Move repository from SVN to Git
+ * Build-Depends: libdcmtk-dev instead of libdcmtk2-dev
+ Closes: #804573
+
+ -- Andreas Tille <tille at debian.org> Mon, 09 Nov 2015 21:11:13 +0100
+
+plastimatch (1.6.2+dfsg-1) unstable; urgency=medium
+
+ * New upstream release
+ * Fix FTBFS on several platforms
+ * debian/copyright: remove copyright sections for upstream removed
+ third party libraries
+ * Review GCC 5.0 issues, they are all now resolved
+ Closes: #778066
+ Closes: #793272
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Fri, 24 Jul 2015 15:46:32 -0400
+
+plastimatch (1.6.1+dfsg-2) unstable; urgency=medium
+
+ * debian/rules: fix FTBFS for platforms still on ITK 3.20
+ * debian/patches/fix-regression-plm-reg-align-center:
+ Fix regression test failure on i386
+ Closes: #789314
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Fri, 15 May 2015 11:34:18 -0400
+
+plastimatch (1.6.1+dfsg-1) unstable; urgency=medium
+
+ [ Gregory C. Sharp ]
+ * New upstream release
+ * Fix (upstream) testcase failure on debian i386 platform
+ * debian/copyright: update Files-Excluded to exclude lua; remove
+ outdated entries
+ * debian/rules: build as shared libraries rather than
+ monolithic executable
+ * debian/plastimatch.lintian-overrides: remove warnings due to
+ package-name-doesnt-match-sonames, and non-dev-pkg-with-shlib-symlink
+
+ [ Andreas Tille ]
+ * debian/watch: Fix version mangling
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Mon, 11 May 2015 13:05:31 -0400
+
+plastimatch (1.6.0+dfsg-1) unstable; urgency=medium
+
+ [ Gregory C. Sharp ]
+ * New upstream release
+ * debian/rules: Do not ship *.a and *.h code in binary package any more
+
+ [ Andreas Tille ]
+ * Reformated long description
+
+ -- Andreas Tille <tille at debian.org> Fri, 01 May 2015 23:45:59 +0200
+
+plastimatch (1.5.16+dfsg-2) unstable; urgency=medium
+
+ * Add needed cmake dependencies to enable parallel builds (thanks to
+ Colin Watson <cjwatson at debian.org> for the patch)
+ Closes: #768769
+
+ -- Andreas Tille <tille at debian.org> Wed, 12 Nov 2014 08:24:38 +0100
+
+plastimatch (1.5.16+dfsg-1) unstable; urgency=low
+
+ [ Gregory C. Sharp ]
+ * new upstream release
+ Closes: #748155
+
+ [ Andreas Tille ]
+ * debian/rules: use uscan in get-orig-source target
+ * debian/get-orig-source: deleted since not needed with latest devscripts
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Sun, 18 May 2014 15:59:50 -0400
+
+plastimatch (1.5.15+dfsg-1) unstable; urgency=low
+
+ * new upstream release (possible fix for debian build failure on sparc,
+ mips; fixes crash on drr -i)
+ Closes: #715836
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Tue, 10 Dec 2013 19:59:25 -0500
+
+plastimatch (1.5.14+dfsg-2) unstable; urgency=low
+
+ * debian/control: Enable building against libinsighttoolkit3-dev
+ if libinsighttoolkit4-dev is not available on some specific architecture
+ Closes: #731655
+ * debian/watch: no need for numbered dfsg versions
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Mon, 09 Dec 2013 16:29:00 +0100
+
+plastimatch (1.5.14+dfsg-1) unstable; urgency=low
+
+ [ Gregory C. Sharp ]
+ * new upstream release (all tests are passing)
+ Closes: #683180
+ * debian/control: change to unversion libtiff-dev (Closes: #682809)
+ * debian/control: gfortran is no longer required as dependency,
+ bump libinsighttoolkit3-dev version number
+ * debian/copyright: add license information for nkidecompress,
+ specfun library
+ * debian/get-orig-source: update to match new upstream
+ * debian/rules: update to match new upstream
+
+ [ Andreas Tille ]
+ * debian/copyright: Add Files-Excluded to document what was removed from
+ original source
+ * debian/get-orig-source: Use new uscan if available to repack source
+ * debian/control:
+ - cme fix dpkg-control
+ - canonical Vcs URLs
+
+ -- Andreas Tille <tille at debian.org> Thu, 05 Dec 2013 15:01:22 +0100
+
+plastimatch (1.5.11+dfsg0-1) unstable; urgency=low
+
+ * new upstream release (Closes: #674373)
+ * update compat, control to 9
+ * add full copyright information for included libraries
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Sat, 16 Jun 2012 12:25:19 -0400
+
+plastimatch (1.5.10+dfsg0-1) unstable; urgency=low
+
+ * build with libpng-dev instead of libpng12-dev (Closes: #662467)
+ * add dependency on libdcmtk2-dev
+ * new upstream release
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Fri, 13 Apr 2012 23:17:59 -0400
+
+plastimatch (1.5.9+dfsg0-1) unstable; urgency=low
+
+ * new upstream release (Closes: #658753)
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Sat, 18 Feb 2012 09:36:22 -0500
+
+plastimatch (1.5.7+dfsg0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Mon, 06 Feb 2012 22:16:18 -0500
+
+plastimatch (1.5.6+dfsg0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Wed, 25 Jan 2012 22:44:17 -0500
+
+plastimatch (1.5.5+dfsg0-2) unstable; urgency=low
+
+ * Make the test suite fatal on supported arches
+
+ -- Dominique Belhachemi <domibel at debian.org> Wed, 09 Nov 2011 23:10:50 -0500
+
+plastimatch (1.5.5+dfsg0-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Mon, 31 Oct 2011 22:54:37 -0400
+
+plastimatch (1.5.4+dfsg0-1) unstable; urgency=low
+
+ * upload to unstable (Closes: #629344)
+
+ [Gregory C. Sharp]
+ * new upstream release
+
+ [Andreas Tille]
+ * fixed Vcs fields
+
+ [Dominique Belhachemi]
+ * build depend on libinsighttoolkit3-dev (>= 3.20.0-15)
+ due to the containing multi-arch fix
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Sun, 09 Oct 2011 20:41:35 -0400
+
+plastimatch (1.5.3.dfsg0-1) experimental; urgency=low
+
+ [Dominique Belhachemi]
+ * removed src/plastimatch/opencl* files due to copyright issues
+ * added dfsg0 to package version string
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Sun, 11 Sep 2011 16:58:58 -0400
+
+plastimatch (1.5.3-1) experimental; urgency=low
+
+ * Initial release (Closes: #629344)
+
+ -- Gregory C. Sharp <gregsharp.geo at yahoo.com> Sun, 24 Jul 2011 22:30:24 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f9a6026
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,59 @@
+Source: plastimatch
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Gregory C. Sharp <gregsharp.geo at yahoo.com>,
+ Dominique Belhachemi <domibel at debian.org>,
+ Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 10),
+ cmake,
+ libblas-dev,
+ libdcmtk-dev,
+ libdlib-dev,
+ libfftw3-dev,
+ libgdcm2-dev,
+ libinsighttoolkit4-dev,
+ liblapack-dev,
+ libpng-dev,
+ libsqlite3-dev,
+ libtiff-dev,
+ uuid-dev,
+ zlib1g-dev
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/plastimatch.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/plastimatch.git
+Homepage: http://plastimatch.org
+
+Package: plastimatch
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: medical image reconstruction and registration
+ Plastimatch is an open source software for deformable image
+ registration. It is designed for high-performance volumetric
+ registration of medical images, such as X-ray computed tomography (CT),
+ magnetic resonance imaging (MRI), and positron emission tomography(PET).
+ Software features include:
+ * B-spline method for deformable image registration (GPU and multicore
+ accelerated), including support for image masking, landmark penalties,
+ and regularization
+ * Demons method for deformable image registration (GPU accelerated)
+ * Multi-atlas segmentation
+ * ITK-based algorithms for translation, rigid, affine, multiple demons
+ methods, and B-spline registration
+ * Pipelined, multi-stage registration framework with seamless conversion
+ between most algorithms and transform types
+ * Landmark-based deformable registration using thinplate splines for
+ global registration
+ * Landmark-based deformable registration using radial basis functions
+ for local corrections
+ * Broad support for 3D image file formats (using ITK), including DICOM,
+ Nifti, NRRD, MetaImage, and Analyze
+ * Extensive toolchain for radiotherapy research, including support for
+ DICOM, DICOM-RT, DICOM SRO, XiO file format, gamma analysis, contour
+ manipulation, contour overlap analysis, and vector field analysis
+ Plastimatch also features two handy utilities which are not directly
+ related to image registration:
+ * FDK cone-beam CT reconstruction (GPU and multicore accelerated)
+ * Digitally reconstructed radiograph (DRR) generation (GPU and multicore
+ accelerated)
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7804cae
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,273 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: plastimatch
+Upstream-Contact: Gregory C. Sharp <gregsharp.geo at yahoo.com>
+Source: http://plastimatch.org
+Files-Excluded:
+ doc/*.doc
+ doc/*.odt
+ doc/*.pdf
+ doc/*.ppt
+ doc/*.txt
+ doc/figures
+ doc/man/bspline.7
+ doc/man/proton_dose.7
+ doc/sphinx
+ extra
+ src/fatm
+ src/ise
+ src/mondoshot
+ src/oraifutils
+ src/reg-2-3
+ src/plastimatch/test/opencl_test.*
+ libs/dlib-19.1
+ libs/lua-5.1.4
+ libs/libf2c
+ libs/msinttypes
+ libs/sqlite-3.6.21
+
+Files: *
+Copyright: (c) 2004-2015 Massachusetts General Hospital
+License: Plastimatch-license
+ Plastimatch Software License ("Software License") Version 1.0
+ .
+ This Software License covers downloads from the Plastimatch project
+ ("Plastimatch") maintained by The General Hospital Corporation
+ Inc. ("MGH").
+ .
+ Your downloading, copying, modifying, displaying, distributing or use
+ of any software and/or data from Plastimatch (collectively, the
+ "Software") constitutes acceptance of all of the terms and conditions
+ of this Software License. If you do not agree to such terms and
+ conditions, you have no right to download, copy, modify, display,
+ distribute or use the Software.
+ .
+ 1. As used in this Software License, "you" means the individual
+ downloading and/or using, reproducing, modifying, displaying and/or
+ distributing the Software and the institution or entity which
+ employs or is otherwise affiliated with such individual in
+ connection therewith. The MGH hereby grants you, with right to
+ sublicense, with respect to MGH's rights in the software, and data,
+ if any, which is the subject of this Software License
+ (collectively, the "Software"), a royalty-free, non-exclusive
+ license to use, reproduce, make derivative works of, display and
+ distribute the Software, provided that:
+ .
+ (a) you accept and adhere to all of the terms and conditions of
+ this Software License;
+ .
+ (b) in connection with any copy of or sublicense of all or any
+ portion of the Software, all of the terms and conditions in this
+ Software License shall appear in and shall apply to such copy and
+ such sublicense, including without limitation all source and
+ executable forms and on any user documentation, prefaced with the
+ following words: "All or portions of this licensed product (such
+ portions are the "Software") have been obtained under license from
+ MGH and are subject to the following terms and conditions:"
+ .
+ (c) you preserve and maintain all applicable attributions,
+ copyright notices and licenses included in or applicable to the
+ Software;
+ .
+ (d) modified versions of the Software must be clearly identified
+ and marked as such, and must not be misrepresented as being the
+ original Software; and
+ .
+ (e) you consider making, but are under no obligation to make, the
+ source code of any of your modifications to the Software freely
+ available to others on an open source basis.
+ .
+ 2. The license granted under this Software License includes without
+ limitation the right to (i) incorporate the Software into
+ proprietary programs (subject to any restrictions applicable to
+ such programs), (ii) add your own copyright statement to your
+ modifications of the Software, and (iii) provide additional or
+ different license terms and conditions in your sublicenses of
+ modifications of the Software; provided that in each case your use,
+ reproduction or distribution of such modifications otherwise
+ complies with the conditions stated in this Software License.
+ .
+ 3. This Software License does not grant any rights with respect to
+ third party software, except those rights that MGH has been
+ authorized by a third party to grant to you, and accordingly you
+ are solely responsible for (i) obtaining any permissions from third
+ parties that you need to use, reproduce, make derivative works of,
+ display and distribute the Software, and (ii) informing your
+ sublicensees, including without limitation your end-users, of their
+ obligations to secure any such required permissions.
+ .
+ 4. The Software has been designed for research purposes only and has
+ not been reviewed or approved by the Food and Drug Administration
+ or by any other agency. YOU ACKNOWLEDGE AND AGREE THAT CLINICAL
+ APPLICATIONS ARE NEITHER RECOMMENDED NOR ADVISED. Any
+ commercialization of the Software is at the sole risk of the party
+ or parties engaged in such commercialization. You further agree to
+ use, reproduce, make derivative works of, display and distribute
+ the Software in compliance with all applicable governmental laws,
+ regulations and orders, including without limitation those relating
+ to export and import control.
+ .
+ 5. The Software is provided "AS IS" and neither MGH nor any
+ contributor to the software (each a "Contributor") shall have any
+ obligation to provide maintenance, support, updates, enhancements
+ or modifications thereto. MGH AND ALL CONTRIBUTORS SPECIFICALLY
+ DISCLAIM ALL EXPRESS AND IMPLIED WARRANTIES OF ANY KIND INCLUDING,
+ BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR
+ A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL MGH
+ OR ANY CONTRIBUTOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+ SPECIAL, INCIDENTAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY ARISING IN ANY WAY RELATED TO
+ THE SOFTWARE, EVEN IF MGH OR ANY CONTRIBUTOR HAS BEEN ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGES. TO THE MAXIMUM EXTENT NOT
+ PROHIBITED BY LAW OR REGULATION, YOU FURTHER ASSUME ALL LIABILITY
+ FOR YOUR USE, REPRODUCTION, MAKING OF DERIVATIVE WORKS, DISPLAY,
+ LICENSE OR DISTRIBUTION OF THE SOFTWARE AND AGREE TO INDEMNIFY AND
+ HOLD HARMLESS MGH AND ALL CONTRIBUTORS FROM AND AGAINST ANY AND ALL
+ CLAIMS, SUITS, ACTIONS, DEMANDS AND JUDGMENTS ARISING THEREFROM.
+ .
+ 6. None of the names, logos or trademarks of MGH or any of MGH's
+ affiliates or any of the Contributors, or any funding agency, may
+ be used to endorse or promote products produced in whole or in part
+ by operation of the Software or derived from or based on the
+ Software without specific prior written permission from the
+ applicable party.
+ .
+ 7. Any use, reproduction or distribution of the Software which is not
+ in accordance with this Software License shall automatically revoke
+ all rights granted to you under this Software License and render
+ Paragraphs 1 and 2 of this Software License null and void.
+ .
+ 8. This Software License does not grant any rights in or to any
+ intellectual property owned by MGH or any Contributor except those
+ rights expressly granted hereunder.
+
+Files: debian/*
+Copyright: 2011 Gregory C. Sharp <gregsharp.geo at yahoo.com>
+License: BSD-3-Clause
+
+Files: libs/demons_itk_insight/*
+Copyright: 1999-2003 Insight Software Consortium
+License: BSD-3-Clause
+
+Files: libs/devillard/*
+Copyright: 1998 Nicholas Devillard
+License: public-domain
+
+Files: libs/dlib-*/*
+Copyright: 2003-2011 Davis E. King
+License: BSL-1.0
+ 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: libs/itk-3.20.0/*
+Copyright: 1999-2003 Insight Software Consortium
+License: BSD-3-Clause
+
+Files: libs/liblbfgs-1.9/*
+Copyright: 1990 Jorge Nocedal, 2007-2010 Naoaki Okazaki
+License: MIT
+ 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: libs/nkidecompress/*
+Copyright: Marcel van Herk and Lambert Zijp
+License: public-domain
+
+Files: libs/nocedal/*
+Copyright: 1990 Jorge Nocedal
+License: BSD-3-Clause
+
+Files: libs/nSIFT/*
+Copyright: 2005-2007 Warren Cheung
+License: nSIFT-license
+ 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.
+ * The name of the Insight Consortium, nor the names of any consortium members,
+ nor of any contributors, may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+ * Modified source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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: libs/ransac/*
+Copyright: 2010 Ziv Yaniv
+License: BSD-3-Clause
+
+Files: libs/specfun/*
+Copyright: 1994-2008 Shanjie Zhang, Jianming Jin
+License: BSD-3-Clause
+
+License: BSD-3-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) Neither the name of Georgetown University 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.
+
+License: public-domain
+ This work is available for public use.
+
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..599bd8e
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1,4 @@
+doc/man/drr.1
+doc/man/fdk.1
+doc/man/landmark_warp.1
+doc/man/plastimatch.1
diff --git a/debian/patches/Fix-for-updated-dlib-configuration-in-Debian-unstabl.patch b/debian/patches/Fix-for-updated-dlib-configuration-in-Debian-unstabl.patch
new file mode 100644
index 0000000..0dedf8c
--- /dev/null
+++ b/debian/patches/Fix-for-updated-dlib-configuration-in-Debian-unstabl.patch
@@ -0,0 +1,38 @@
+From e0113cec2339e9f595d8596d6696930fe90136e5 Mon Sep 17 00:00:00 2001
+From: "Gregory C. Sharp" <gregsharp.geo at yahoo.com>
+Date: Mon, 5 Dec 2016 15:32:12 -0500
+Subject: [PATCH] Fix for updated dlib configuration in Debian unstable
+
+---
+ CMakeLists.txt | 15 +++++++++++----
+ 1 file changed, 11 insertions(+), 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a51daaac..e3d690e3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -365,10 +365,17 @@ add_subdirectory (libs/devillard)
+ ##-----------------------------------------------------------------------------
+ ## If using local dlib
+ ##-----------------------------------------------------------------------------
+-if (NOT DLIB_FOUND)
+- set (DLIB_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/libs/dlib-19.1")
+- set (DLIB_LIBRARIES "")
+- set (DLIB_HAVE_LIBRARY FALSE)
++if (dlib_FOUND)
++ set (DLIB_INCLUDE_DIR ${dlib_INCLUDE_DIR})
++ set (DLIB_LIBRARIES ${dlib_LIBRARIES})
++ set (DLIB_FOUND TRUE)
++endif ()
++if (DLIB_FOUND)
++ set (DLIB_HAVE_LIBRARY TRUE)
++else ()
++ set (DLIB_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/libs/dlib-19.1")
++ set (DLIB_LIBRARIES "")
++ set (DLIB_HAVE_LIBRARY FALSE)
+ endif ()
+
+ ##-----------------------------------------------------------------------------
+--
+2.11.0
+
diff --git a/debian/patches/Fix-missing-dependency-of-plmsys-library-depending-o.patch b/debian/patches/Fix-missing-dependency-of-plmsys-library-depending-o.patch
new file mode 100644
index 0000000..56a914b
--- /dev/null
+++ b/debian/patches/Fix-missing-dependency-of-plmsys-library-depending-o.patch
@@ -0,0 +1,29 @@
+From e8304dbcb053e05d48d3743ba7f348e7143356c5 Mon Sep 17 00:00:00 2001
+From: "Gregory C. Sharp" <gregsharp.geo at yahoo.com>
+Date: Mon, 5 Dec 2016 18:24:55 -0500
+Subject: [PATCH] Fix missing dependency of plmsys library depending on dlib
+ library
+
+---
+ src/plastimatch/sys/CMakeLists.txt | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/plastimatch/sys/CMakeLists.txt b/src/plastimatch/sys/CMakeLists.txt
+index c0acc19c..dbb11920 100644
+--- a/src/plastimatch/sys/CMakeLists.txt
++++ b/src/plastimatch/sys/CMakeLists.txt
+@@ -53,8 +53,9 @@ endforeach ()
+ ##-----------------------------------------------------------------------------
+ ## LIBRARY DEPENDENCIES
+ ##-----------------------------------------------------------------------------
+-set (PLMSYS_LIBRARY_DEPENDENCIES
+- )
++set (PLMSYS_LIBRARY_DEPENDENCIES
++ ${DLIB_LIBRARIES}
++ )
+ if (LIBDL_FOUND)
+ set (PLMSYS_LIBRARY_DEPENDENCIES
+ ${PLMSYS_LIBRARY_DEPENDENCIES}
+--
+2.11.0
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..97a68a5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+Fix-for-updated-dlib-configuration-in-Debian-unstabl.patch
+Fix-missing-dependency-of-plmsys-library-depending-o.patch
diff --git a/debian/plastimatch.lintian-overrides b/debian/plastimatch.lintian-overrides
new file mode 100644
index 0000000..5b328a7
--- /dev/null
+++ b/debian/plastimatch.lintian-overrides
@@ -0,0 +1,2 @@
+plastimatch: package-name-doesnt-match-sonames
+plastimatch: non-dev-pkg-with-shlib-symlink
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e3fdac4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,51 @@
+#!/usr/bin/make -f
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
+BUILD_DIR := obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+LD_LIBRARY_PATH := $(LD_LIBRARY_PATH):$(CURDIR)/$(BUILD_DIR):$(TMP)/usr/lib
+export LD_LIBRARY_PATH
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+# CMAKE_PREFIX_PATH is used when building against ITK 3.20
+DEB_CMAKE_EXTRA_FLAGS += \
+ -DCMAKE_PREFIX_PATH=/usr/lib/InsightToolkit \
+ -DCMAKE_BUILD_TYPE:STRING=RELEASE \
+ -DCMAKE_SKIP_RPATH:BOOL=ON \
+ -DPLM_CONFIG_DEBIAN_BUILD:BOOL=ON \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBUILD_TESTING:BOOL=ON
+
+override_dh_auto_configure:
+ dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
+
+override_dh_auto_test:
+#Make the test suit fatal on supported arches
+ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-amd64))
+ dh_auto_test
+else
+ dh_auto_test || true
+endif
+
+override_dh_auto_install:
+ dh_auto_install
+ rm -rfv $(TMP)/usr/lib/*.a
+ rm -rfv $(TMP)/usr/lib/cmake
+ rm -rfv $(TMP)/usr/include
+
+get-orig-source:
+ mkdir -p ../tarballs
+ uscan --verbose --force-download --repack --compression xz --destdir=../tarballs
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/watch b/debian/watch
new file mode 100644
index 0000000..05c7356
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts=repacksuffix=+dfsg.1,\
+dversionmangle=s/\+(debian|dfsg|ds|deb).*(\d+)?$//,\
+filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S+)/plastimatch-$1\.tar\.gz/g \
+https://gitlab.com/plastimatch/plastimatch/tags?sort=updated_desc .*archive\.tar\.gz\?ref=v?(\d\S+)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/plastimatch.git
More information about the debian-med-commit
mailing list