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

ghisvail-guest pushed a commit to branch debian/master
in repository dcm2niix.

commit 489b1b149e6d5bd3c5a70fddf8b9a01a444706f4
Author: Ghislain Antony Vaillant <ghisv...@gmail.com>
Date:   Thu Dec 1 16:47:25 2016 +0000

    Initial debianization.
---
 debian/changelog                            |   5 ++
 debian/compat                               |   1 +
 debian/control                              |  23 +++++
 debian/copyright                            | 125 ++++++++++++++++++++++++++++
 debian/gbp.conf                             |   9 ++
 debian/lintian-overrides                    |   3 +
 debian/patches/Fix-install-of-runtime.patch |  23 +++++
 debian/patches/series                       |   1 +
 debian/rules                                |  15 ++++
 debian/source/format                        |   1 +
 debian/upstream/metadata                    |   7 ++
 debian/watch                                |   3 +
 12 files changed, 216 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bb24fad
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+dcm2niix (1.0.20161101-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #843799)
+
+ -- Ghislain Antony Vaillant <ghisv...@gmail.com>  Thu, 01 Dec 2016 16:43:41 
+0000
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..969dcb7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: dcm2niix
+Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisv...@gmail.com>
+Section: science
+Priority: optional
+Build-Depends: cmake,
+               debhelper (>= 10),
+               libyaml-cpp-dev
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/dcm2niix.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/dcm2niix.git
+Homepage: https://github.com/rordenlab/dcm2niix
+
+Package: dcm2niix
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Description: next generation DICOM to NIfTI converter
+ dcm2niix is the successor of dcm2nii, a popular tool for converting images
+ from the complicated formats used by scanner manufacturers (DICOM, PAR/REC)
+ to the simpler NIfTI format used by many scientific tools. It works for all
+ modalities (CT, MRI, PET, SPECT) and sequence types.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f485a54
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,125 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dcm2niix
+Upstream-Contact: Chris Rorden <ror...@mailbox.sc.edu>
+Source: https://github.com/rordenlab/dcm2niix
+
+Files: *
+Copyright: 2014-2016 Chris Rorden
+License: BSD-3-Clause
+
+Files: console/miniz.c
+Copyright: None
+License: Unlicense
+
+Files: console/nifti*.*
+Copyright: None
+License: Expat
+
+Files: console/tinydir.h
+Copyright: 2013-2014 Cong Xu
+License: BSD-2-Clause
+
+Files: console/ujpeg.*
+Copyright: 2009-2016 Martin J. Fiedler <martin.fied...@gmx.net>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Ghislain Antony Vaillant <ghisv...@gmail.com>
+License: BSD-3-Clause
+
+Files: ucm.cmake
+Copyright: 2016 Viktor Kirilov
+License: Expat
+
+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 HOLDER 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: 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 the copyright holder 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 HOLDER 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: 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.
+
+License: Unlicense
+ This is free and unencumbered software released into the public domain.
+ .
+ Anyone is free to copy, modify, publish, use, compile, sell, or
+ distribute this software, either in source code form or as a compiled
+ binary, for any purpose, commercial or non-commercial, and by any
+ means.
+ .
+ In jurisdictions that recognize copyright laws, the author or authors
+ of this software dedicate any and all copyright interest in the
+ software to the public domain. We make this dedication for the benefit
+ of the public at large and to the detriment of our heirs and
+ successors. We intend this dedication to be an overt act of
+ relinquishment in perpetuity of all present and future rights to this
+ software under copyright law.
+ .
+ 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 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.
+ .
+ For more information, please refer to <http://unlicense.org>
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..ea5c858
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+upstream-branch = upstream/latest
+debian-branch = debian/master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[pq]
+patch-numbers = False
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..998cb48
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,3 @@
+# Upstream does not provide manpages yet.
+# https://github.com/rordenlab/dcm2niix/issues/64
+binary-without-manpage
diff --git a/debian/patches/Fix-install-of-runtime.patch 
b/debian/patches/Fix-install-of-runtime.patch
new file mode 100644
index 0000000..c21b1a9
--- /dev/null
+++ b/debian/patches/Fix-install-of-runtime.patch
@@ -0,0 +1,23 @@
+From: Ghislain Antony Vaillant <ghisv...@gmail.com>
+Date: Thu, 1 Dec 2016 17:44:03 +0000
+Subject: Fix install of runtime.
+
+---
+ console/CMakeLists.txt | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/console/CMakeLists.txt b/console/CMakeLists.txt
+index 30199f8..3256690 100644
+--- a/console/CMakeLists.txt
++++ b/console/CMakeLists.txt
+@@ -88,6 +88,9 @@ if (BATCH_VERSION)
+     if (YAML_CPP_INCLUDE_DIR)
+         include_directories(${YAML_CPP_INCLUDE_DIR})
+     endif ()
++
++    install(TARGETS dcm2niibatch DESTINATION bin)
++
+ endif ()
+ 
+-install(TARGETS ${PROGRAMS} DESTINATION bin)
++install(TARGETS dcm2niix DESTINATION bin)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b69a7b9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Fix-install-of-runtime.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c280180
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE = 1
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+       dh $@
+
+override_dh_auto_configure:
+       dh_auto_configure -- -DBATCH_VERSION=ON -DUSE_STATIC_RUNTIME=OFF
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5ba3aa1
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+Bug-Database: https://github.com/rordenlab/dcm2niix/issues
+Bug-Submit: https://github.com/rordenlab/dcm2niix/new
+Contact: Chris Rorden <ror...@mailbox.sc.edu>
+FAQ: http://www.nitrc.org/forum/forum.php?forum_id=4703
+Name: dcm2niix
+Repository: g...@github.com:rordenlab/dcm2niix.git
+Repository-Browse: https://github.com/rordenlab/dcm2niix
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..06e33b7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/dcm2niix-$1\.tar\.gz/ \
+https://github.com/rordenlab/dcm2niix/tags .*/v(\d\S+)\.tar\.gz

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

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to