summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@debian.org>2020-09-26 04:28:51 -0300
committerRafael Laboissière <rafael@debian.org>2020-09-26 04:28:51 -0300
commitd0e2120afb60cadfa0e982a8790e46b216816cb1 (patch)
tree85a2cc14ba524b4132202b4442b50cad7031f5fa
parentbdc47722a00dac8a7ce3dddc568a8c2a2eac138e (diff)
parent7215e1e291b26285bf0aada4d990378043905313 (diff)
octave-dicom (0.4.0-1) unstable; urgency=medium
* New upstream version 0.4.0 [dgit import unpatched octave-dicom 0.4.0-1]
-rw-r--r--debian/autoreconf1
-rw-r--r--debian/changelog113
-rw-r--r--debian/checkvars1
-rw-r--r--debian/clean11
-rw-r--r--debian/control32
-rw-r--r--debian/copyright40
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/skip-unit-test-isdicom.patch18
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
-rw-r--r--debian/upstream/metadata3
-rw-r--r--debian/watch2
13 files changed, 229 insertions, 0 deletions
diff --git a/debian/autoreconf b/debian/autoreconf
new file mode 100644
index 0000000..85de9cf
--- /dev/null
+++ b/debian/autoreconf
@@ -0,0 +1 @@
+src
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4ca90d6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,113 @@
+octave-dicom (0.4.0-1) unstable; urgency=medium
+
+ * New upstream version 0.4.0
+
+ -- Rafael Laboissière <rafael@debian.org> Sat, 26 Sep 2020 04:28:51 -0300
+
+octave-dicom (0.3.0-3) unstable; urgency=medium
+
+ * d/control: Bump debhelper compatibility level to 13
+ * d/u/metadata:
+ + Fix Repository field
+ + Drop Name and Contact fields
+
+ -- Rafael Laboissière <rafael@debian.org> Tue, 28 Jul 2020 05:38:57 -0300
+
+octave-dicom (0.3.0-2) unstable; urgency=medium
+
+ * d/u/metadata: Fix Repository field
+
+ -- Rafael Laboissière <rafael@debian.org> Sat, 28 Mar 2020 15:40:25 -0300
+
+octave-dicom (0.3.0-1) unstable; urgency=medium
+
+ * New upstream version 0.3.0
+ * d/copyright: Reflect upstream changes
+ * d/control:
+ + Specify versioned build-dependency on libgdcm-dev
+ + Update upstream homepage URL
+ + Bump Standards-Version to 4.5.0 (no changes needed)
+ * d/p/skip-unit-test-isdicom.patch: Refresh for new upstream version
+ * d/p/no-addpath-inst.patch: Drop patch (fixed upstream)
+ * d/p/gdcm-3-fallback-detection.patch: Drop patch (applied upstream)
+ * d/u/metadata: Add DEP-12 fields recommended by Lintian
+
+ -- Rafael Laboissière <rafael@debian.org> Wed, 25 Mar 2020 04:53:33 -0300
+
+octave-dicom (0.2.2-5) unstable; urgency=medium
+
+ * d/p/gdcm-3-fallback-detection.patch: New patch.
+ Thanks to Peter Green, for reporting the bug, and Gianfranco
+ Costamagna, for indicating the patch. (Closes: #945976)
+
+ -- Rafael Laboissière <rafael@debian.org> Tue, 03 Dec 2019 05:15:17 -0300
+
+octave-dicom (0.2.2-4) unstable; urgency=medium
+
+ * d/control: Build-depend on libgdcm-dev.
+ Thanks to Steve Langasek, for the patch (Closes: #944718)
+
+ -- Rafael Laboissière <rafael@debian.org> Fri, 29 Nov 2019 05:48:57 -0300
+
+octave-dicom (0.2.2-3) unstable; urgency=medium
+
+ * d/control:
+ + Bump Standards-Version to 4.4.1 (no changes needed)
+ + Bump dependency on dh-octave to >= 0.7.1.
+ This allows the injection of the virtual package octave-abi-N
+ into the package's list of dependencies.
+
+ -- Rafael Laboissiere <rafael@debian.org> Sun, 03 Nov 2019 18:50:27 -0300
+
+octave-dicom (0.2.2-2) unstable; urgency=medium
+
+ * Upload to unstable
+ * d/control: Bump Standards-Version to 4.4.0 (no changes needed)
+
+ -- Rafael Laboissiere <rafael@debian.org> Tue, 09 Jul 2019 10:24:15 -0300
+
+octave-dicom (0.2.2-1) experimental; urgency=medium
+
+ * New upstream version 0.2.2
+ * Refresh patches for new upstream version:
+ + d/p/no-addpath-inst.patch
+ + d/p/skip-unit-test-isdicom.patch
+ * d/copyright: Reflect upstream changes
+
+ -- Rafael Laboissiere <rafael@debian.org> Fri, 12 Apr 2019 17:55:16 -0300
+
+octave-dicom (0.2.1-5) unstable; urgency=medium
+
+ * d/control:
+ + Bump Standards-Version to 4.3.0 (no changes needed)
+ + Bump to debhelper compat level 12
+ * Build-depend on debhelper-compat instead of using d/compat
+
+ -- Rafael Laboissiere <rafael@debian.org> Wed, 02 Jan 2019 22:55:11 -0200
+
+octave-dicom (0.2.1-4) unstable; urgency=medium
+
+ * Exclude failing unit tests for both build and CI runs
+
+ -- Rafael Laboissiere <rafael@debian.org> Fri, 17 Aug 2018 16:34:27 -0300
+
+octave-dicom (0.2.1-3) unstable; urgency=medium
+
+ * d/rules: Exclude unit tests that call urlwrite()
+
+ -- Rafael Laboissiere <rafael@debian.org> Mon, 13 Aug 2018 13:37:24 -0300
+
+octave-dicom (0.2.1-2) unstable; urgency=medium
+
+ * d/control:
+ + Add Rules-Requires-Root: no
+ + Bump Standards-Version to 4.2.0
+ * d/patches/no-addpath-inst.patch: New patch
+
+ -- Rafael Laboissiere <rafael@debian.org> Sat, 11 Aug 2018 06:02:26 -0300
+
+octave-dicom (0.2.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #898289)
+
+ -- Rafael Laboissiere <rafael@debian.org> Sat, 30 Jun 2018 06:32:07 -0300
diff --git a/debian/checkvars b/debian/checkvars
new file mode 100644
index 0000000..9c3d843
--- /dev/null
+++ b/debian/checkvars
@@ -0,0 +1 @@
+DH_OCTAVE_EXCLUDE_TEST="dicominfo.cpp isdicom.cpp dicomread.cpp"
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..a5219c0
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,11 @@
+src/CMakeFiles/CMakeOutput.log
+src/CMakeFiles/CMakeSystem.cmake
+src/Makefile
+src/config.h
+src/config.log
+src/config.status
+src/oct-alt-includes.h
+src/confdefs.h
+src/conftest.cpp
+src/conftest.err
+ \ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a9b6f56
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: octave-dicom
+Section: math
+Priority: optional
+Maintainer: Debian Octave Group <team+pkg-octave-team@tracker.debian.org>
+Uploaders: Rafael Laboissière <rafael@debian.org>
+Build-Depends: cmake,
+ debhelper-compat (= 13),
+ dh-octave (>= 0.7.1),
+ libgdcm-dev (>= 2.0.16)
+Standards-Version: 4.5.0
+Homepage: https://wiki.octave.org/Dicom_package
+Vcs-Git: https://salsa.debian.org/pkg-octave-team/octave-dicom.git
+Vcs-Browser: https://salsa.debian.org/pkg-octave-team/octave-dicom
+Testsuite: autopkgtest-pkg-octave
+Rules-Requires-Root: no
+
+Package: octave-dicom
+Architecture: any
+Depends: ${misc:Depends}, ${octave:Depends}, ${shlibs:Depends}
+Description: manipulate DICOM files in Octave
+ Digital communications in medicine (DICOM) is an information
+ standard, originally created for image transfer, which now deals with
+ a large range of medical data.
+ .
+ This package provides functions to read and (eventually) write DICOM
+ files in Octave, a scientific computation software. The functions in
+ the package are intended to have similar usage as the dicom functions
+ in the Matlab Image Processing Toolbox. In Octave they are separate:
+ most image package users will not use dicom, and its dependency might
+ be considered troublesome.
+ .
+ This Octave add-on package is part of the Octave-Forge project.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..93495e9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: file io for medical images and other data
+Upstream-Contact: Andy Buckle (blondandy using the sf.net system)
+Source: https://octave.sourceforge.io/dicom/
+
+Files: *
+Copyright: 2010 Andy Buckle
+ 2011 Kris Thielemans
+ 2017-2020 John Donoghue
+License: GPL-3+
+
+Files: octave-dicom.metainfo.xml
+Copyright: 2019 John Donoghue
+License: FSFAP
+ Copying and distribution of this file, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved. This file is offered as-is,
+ without any warranty.
+
+Files: debian/*
+Copyright: 2018-2020 Rafael Laboissiere <rafael@debian.org>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License, version 3, can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c0d2b2c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+skip-unit-test-isdicom.patch
diff --git a/debian/patches/skip-unit-test-isdicom.patch b/debian/patches/skip-unit-test-isdicom.patch
new file mode 100644
index 0000000..66887b5
--- /dev/null
+++ b/debian/patches/skip-unit-test-isdicom.patch
@@ -0,0 +1,18 @@
+Description: Skip failing unit test in file isdicom.cpp
+ This test would fail at the autobuilders because it needs to download
+ a DICOM file over HTTP.
+Author: Rafael Laboissiere <rafael@debian.org>
+Forwarded: not-needed
+Last-Update: 2020-22-03
+
+--- octave-dicom-0.2.1.orig/src/isdicom.cpp
++++ octave-dicom-0.2.1/src/isdicom.cpp
+@@ -79,7 +79,7 @@ Return true if @var{filename} is a valid
+ }
+
+ /*
+-%!test
++%!xtest
+ %! fpath = tempname ();
+ %! urlwrite ("http://imagej.nih.gov/ij/images/CT%20Scan.dcm", fpath);
+ %! assert (isdicom (fpath), true);
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..121f3c8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+%:
+ dh $@ --buildsystem=octave --with=octave
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..18f4099
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore=src/config\.sub|src/config\.guess|src/configure|src/aclocal\.m4
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8135abe
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+Bug-Database: https://savannah.gnu.org/bugs/?group=octave
+Bug-Submit: https://savannah.gnu.org/bugs/?func=additem&group=octave
+Repository-Browse: https://octave.sourceforge.io/pkg-repository/dicom/
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..217c6cd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/octave/dicom-(.+)\.tar\.gz