[med-svn] r2786 - in trunk/packages: . dicom3tools dicom3tools/debian dicom3tools/debian/patches

malat-guest at alioth.debian.org malat-guest at alioth.debian.org
Mon Dec 15 14:38:37 UTC 2008


Author: malat-guest
Date: 2008-12-15 14:38:36 +0000 (Mon, 15 Dec 2008)
New Revision: 2786

Added:
   trunk/packages/dicom3tools/
   trunk/packages/dicom3tools/debian/
   trunk/packages/dicom3tools/debian/README.Debian
   trunk/packages/dicom3tools/debian/changelog
   trunk/packages/dicom3tools/debian/compat
   trunk/packages/dicom3tools/debian/control
   trunk/packages/dicom3tools/debian/copyright
   trunk/packages/dicom3tools/debian/get-orig-source
   trunk/packages/dicom3tools/debian/patches/
   trunk/packages/dicom3tools/debian/patches/project.tmpl.patch
   trunk/packages/dicom3tools/debian/patches/series
   trunk/packages/dicom3tools/debian/rules
Log:
Adding a debian package from David Clunie: dicom3tools package

Added: trunk/packages/dicom3tools/debian/README.Debian
===================================================================
--- trunk/packages/dicom3tools/debian/README.Debian	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/README.Debian	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1,39 @@
+dicom3tools for Debian
+----------------------
+
+What are the dicom3tools ...
+
+Unix, Mac and Windows (Cygwin) command line utilities for creating, modifying, dumping and validating files of DICOM attributes, and conversion of proprietary image formats to DICOM. Can handle older ACR/NEMA format data, and some proprietary versions of that such as SPI.
+
+No networking code ... this is not a complete DICOM implementation or "toolkit".
+
+NB. The older unsupported package is no longer being worked on, and contains significant deficiencies in the handling of DICOM messages, and in particular doesn't support sequences :(. It is kept hanging around because it contains some really old translators and tape tools that could conceivably still be useful on rare occasions, but are not worth the effort of porting to the newer framework.
+
+Features ...
+
+    * Image format support ...
+          o DICOM offline file format as per Part 10, and auto-recognition of transfer syntax if no Part 10 meta information header.
+          o Parsing/validating DICOM data sets as modules and IODs.
+          o Creation/merging of DICOM datasets from text descriptions.
+          o Creation of overlays and lookup tables.
+          o Post scout lines, created 3D volumes from slices, orthogonal reprojection.
+          o Build/dump DICOMDIR.
+          o Dump DICOM Structured Reports.
+          o Pbmplus extended 16 bit raw format, and PGX format.
+          o Raw binary images.
+          o Decompress JPEG and deflate transfer syntaxes (using external codecs). 
+    * Test image generation ...
+          o SMPTE patterns of arbitrary size and bit depth.
+          o Briggs patterns of arbitrary size and bit depth. 
+    * Proprietary image conversions from ...
+          o General Electric CT High Speed Advantage (Genesis)
+          o General Electric MR Signa 5X (Genesis)
+          o General Electric Advantage Windows
+          o General Electric CT Pace
+          o Picker PQ/IQ CT
+          o Siemens CT Somatom Plus family (Native)(incomplete)
+          o Imatron CT (incomplete)
+          o Shimadzu MR (incomplete) 
+
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sun, 14 Dec 2008 17:28:00 +0100

Added: trunk/packages/dicom3tools/debian/changelog
===================================================================
--- trunk/packages/dicom3tools/debian/changelog	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/changelog	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1,5 @@
+dicom3tools (1.0~20081122) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Mon, 15 Dec 2008 12:29:01 +0100


Property changes on: trunk/packages/dicom3tools/debian/changelog
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: trunk/packages/dicom3tools/debian/compat
===================================================================
--- trunk/packages/dicom3tools/debian/compat	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/compat	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1 @@
+7


Property changes on: trunk/packages/dicom3tools/debian/compat
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: trunk/packages/dicom3tools/debian/control
===================================================================
--- trunk/packages/dicom3tools/debian/control	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/control	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1,20 @@
+Source: dicom3tools
+Section: graphics
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+Priority: extra
+Build-Depends: debhelper (>= 4)
+Standards-Version: 3.7.3
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/dicom3tools/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/dicom3tools/trunk/
+Homepage: http://www.dclunie.com/dicom3tools.html
+
+Package: dicom3tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Dicom3tools Software
+ Unix, Mac and Windows (Cygwin) command line utilities for creating, 
+ modifying, dumping and validating files of DICOM attributes, and 
+ conversion of proprietary image formats to DICOM. Can handle older 
+ ACR/NEMA format data, and some proprietary versions of that such as SPI. 


Property changes on: trunk/packages/dicom3tools/debian/control
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: trunk/packages/dicom3tools/debian/copyright
===================================================================
--- trunk/packages/dicom3tools/debian/copyright	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/copyright	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1,40 @@
+This package was debianized by Mathieu Malaterre <mathieu.malaterre at gmail.com> on
+Sun, 14 Dec 2008 17:28:00 +0100.
+
+It was downloaded from http://www.dclunie.com/dicom3tools/workinprogress/ 
+
+Upstream Author(s):
+
+    David A. Clunie dclunie at dclunie.com
+
+Copyright:
+
+    Copyright (c) 1993-2006, David A. Clunie DBA PixelMed Publishing. All rights reserved.
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+
+On Debian systems, the complete text of the BSD License can be
+found in `/usr/share/common-licenses/BSD'.
+
+
+The Debian packaging is (C) 2008, Mathieu Malaterre <mathieu.malaterre at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added: trunk/packages/dicom3tools/debian/get-orig-source
===================================================================
--- trunk/packages/dicom3tools/debian/get-orig-source	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/get-orig-source	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+set -e
+#set -x
+URL=http://www.dclunie.com/dicom3tools/workinprogress/
+NAME=dicom3tools
+UVERSION=1.00.snapshot
+DVERSION=20081122
+UPSTREAMDIR="$NAME"_"$UVERSION"."$DVERSION"
+VERSION=1.0\~"$DVERSION"
+UPSTREAMTAR="$UPSTREAMDIR".tar.bz2
+
+
+TMPDIR=../tarballs
+mkdir -p "$TMPDIR"
+cd "$TMPDIR"
+
+if [ -e ${UPSTREAMTAR} ] ; then
+    echo "Using existing tarball ${UPSTREAMTAR}"
+else
+    wget --quiet ${URL}/${UPSTREAMTAR}
+fi
+
+DISTDIR=${NAME}-${VERSION}
+tar -xjf "$UPSTREAMTAR"
+mv "$UPSTREAMDIR" "$DISTDIR"
+
+GZIP=-9 tar -czf "$NAME"_"$VERSION".orig.tar.gz "$DISTDIR"
+
+rm -rf "$NAME"-"$VERSION"


Property changes on: trunk/packages/dicom3tools/debian/get-orig-source
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: trunk/packages/dicom3tools/debian/patches/project.tmpl.patch
===================================================================
--- trunk/packages/dicom3tools/debian/patches/project.tmpl.patch	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/patches/project.tmpl.patch	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1,25 @@
+This is a patch to install in /usr/bin instead of /local
+
+--- dicom3tools-1.0~20081122.orig/config/Project.tmpl	2001-11-11 15:57:50.000000000 +0100
++++ dicom3tools-1.0~20081122/config/Project.tmpl	2008-12-15 14:38:11.000000000 +0100
+@@ -18,16 +18,16 @@
+    PRIVCONFIGDIR = PrivConfigDir
+ 
+ #ifndef InstallBinDir
+-#define InstallBinDir /usr/local/bin
++#define InstallBinDir /usr/bin
+ #endif
+ #ifndef InstallIncDir
+-#define InstallIncDir /usr/local/include
++#define InstallIncDir /usr/include
+ #endif
+ #ifndef InstallLibDir
+-#define InstallLibDir /usr/local/lib
++#define InstallLibDir /usr/lib
+ #endif
+ #ifndef InstallManDir
+-#define InstallManDir /usr/local/man
++#define InstallManDir /usr/man
+ #endif
+ 
+           PATHSEP = /			/* for building filenames */

Added: trunk/packages/dicom3tools/debian/patches/series
===================================================================
--- trunk/packages/dicom3tools/debian/patches/series	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/patches/series	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1 @@
+project.tmpl.patch

Added: trunk/packages/dicom3tools/debian/rules
===================================================================
--- trunk/packages/dicom3tools/debian/rules	                        (rev 0)
+++ trunk/packages/dicom3tools/debian/rules	2008-12-15 14:38:36 UTC (rev 2786)
@@ -0,0 +1,110 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+include /usr/share/quilt/quilt.make
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	OPT_FLAGS = -O0
+else
+	OPT_FLAGS = -O2
+endif
+
+configure: configure-stamp
+configure-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+	# Add here commands to configure the package.
+	sh Configure
+	imake -I./config -DInstallBinDir=/usr/bin -DInstallIncDir=/usr/include -DInstallLibDir=/usr/lib -DInstallManDir=/usr/man -DTmpPath=/tmp -DOptimizeLevel=$(OPT_FLAGS)
+
+
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) World "C_DEBUGFLAGS=$(CFLAGS)" "CPLUSPLUS_DEBUGFLAGS=$(CFLAGS)"
+	#docbook-to-man debian/dicom3tools.sgml > dicom3tools.1
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/dicom3tools.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/dicom3tools install
+	# man pages:
+	$(MAKE) DESTDIR=$(CURDIR)/debian/dicom3tools install.man
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+get-orig-source:
+	. debian/get-orig-source
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: trunk/packages/dicom3tools/debian/rules
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native




More information about the debian-med-commit mailing list