[med-svn] r2093 - in trunk/packages: . gdcm gdcm/trunk gdcm/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Wed Jun 25 09:19:54 UTC 2008


Author: tille
Date: 2008-06-25 09:19:53 +0000 (Wed, 25 Jun 2008)
New Revision: 2093

Added:
   trunk/packages/gdcm/
   trunk/packages/gdcm/tags/
   trunk/packages/gdcm/trunk/
   trunk/packages/gdcm/trunk/debian/
   trunk/packages/gdcm/trunk/debian/README.Debian
   trunk/packages/gdcm/trunk/debian/changelog
   trunk/packages/gdcm/trunk/debian/compat
   trunk/packages/gdcm/trunk/debian/control
   trunk/packages/gdcm/trunk/debian/copyright
   trunk/packages/gdcm/trunk/debian/libgdcm-tools.install
   trunk/packages/gdcm/trunk/debian/libgdcm2-dev.install
   trunk/packages/gdcm/trunk/debian/libgdcm2.docs
   trunk/packages/gdcm/trunk/debian/libgdcm2.install
   trunk/packages/gdcm/trunk/debian/libvtkgdcm-dev.install
   trunk/packages/gdcm/trunk/debian/libvtkgdcm-tools.install
   trunk/packages/gdcm/trunk/debian/libvtkgdcm.install
   trunk/packages/gdcm/trunk/debian/pycompat
   trunk/packages/gdcm/trunk/debian/python-gdcm.install
   trunk/packages/gdcm/trunk/debian/python-vtkgdcm.install
   trunk/packages/gdcm/trunk/debian/rules
Removed:
   trunk/packages/gdmc/
Log:
Added gdcm project in properly spelled dir


Added: trunk/packages/gdcm/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gdcm/trunk/debian/README.Debian	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/README.Debian	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,9 @@
+Debian packages of gdcm
+---------------------------
+
+There are 3 primary packages at this point:
+libgdcm, libgdcm-dev and libgdcm-dbg, which respectively
+provide the library, static and headers for the library, and debug symbols for
+the shared library.
+
+- Mathieu Malaterre.

Added: trunk/packages/gdcm/trunk/debian/changelog
===================================================================
--- trunk/packages/gdcm/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/changelog	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,57 @@
+gdcm (2.0.6) experimental; urgency=low
+
+  [ Mathieu Malaterre ]
+  * Bump up
+
+  [ Andreas Tille ]
+  * debian/control
+    - Group maintenance by Debian Med team
+    - Vcs fields
+    - Homepage field
+    - Standards-Version: 3.8.0 (no changes needed)
+  * debian/rules: Patch suggested by Mathieu
+
+ -- Andreas Tille <tille at debian.org>  Wed, 25 Jun 2008 10:12:45 +0200
+
+gdcm (2.0.5) experimental; urgency=low
+
+  * Bump up
+
+ -- Mathieu Malaterre <gdcm-developers at lists.sourceforge.net>  Tue, 30 May 2008 16:15:26 -0500
+
+
+gdcm (2.0.4) unstable; urgency=low
+
+  * Bump up
+
+ -- Mathieu Malaterre <gdcm-developers at lists.sourceforge.net>  Tue, 20 May 2008 16:15:26 -0500
+
+
+gdcm (2.0.3) unstable; urgency=low
+
+  * Bump up
+
+ -- Mathieu Malaterre <gdcm-developers at lists.sourceforge.net>  Tue, 20 May 2008 16:15:25 -0500
+
+
+gdcm (2.0.2) unstable; urgency=low
+
+  * Bump up
+
+ -- Mathieu Malaterre <gdcm-developers at lists.sourceforge.net>  Tue, 20 May 2008 16:15:24 -0500
+
+
+gdcm (2.0.1) unstable; urgency=low
+
+  * Bump up
+
+ -- Mathieu Malaterre <gdcm-developers at lists.sourceforge.net>  Tue, 20 May 2008 16:15:23 -0500
+
+
+gdcm (2.0.0) unstable; urgency=low
+
+  * Initial Release. This is a dummy file, discard
+
+ -- Mathieu Malaterre <gdcm-developers at lists.sourceforge.net>  Tue, 20 May 2008 16:15:22 -0500
+
+

Added: trunk/packages/gdcm/trunk/debian/compat
===================================================================
--- trunk/packages/gdcm/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/compat	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1 @@
+5

Added: trunk/packages/gdcm/trunk/debian/control
===================================================================
--- trunk/packages/gdcm/trunk/debian/control	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/control	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,101 @@
+Source: gdcm
+Section: libs
+Priority: optional
+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>,
+ Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
+ python-support (>= 0.3.9), uuid-dev, zlib1g-dev, libexpat1-dev,
+ swig, cmake, libvtk5-dev, python-vtk, libpng12-dev | libpng-dev
+Standards-Version: 3.8.0
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/gdmc/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/gdmc/trunk/
+Homepage: http://gdcm.sourceforge.net/
+
+Package: libgdcm2
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: dcmtk
+Description: DICOM library
+ Grassroots DiCoM is a C++ library for dealing with DICOM medical files. 
+ It is automatically wrapped to python (using swig). It supports RAW,JPEG,
+ J2K,JPEG lossless,RLE and deflate(zlib). It also comes with DICOM Part 
+ 3,6 & 7 of the standard as XML files.
+
+Package: libgdcm-tools
+Architecture: any
+Section: utils
+Depends: ${shlibs:Depends}
+Description: Command line utilities for libgdcm
+ Libgdcm provides a number of command line debugging and utility programs.
+ Install this package for the gdcmdump, gdcmconv, gdcmimg, gdcmscanner,
+ gdcminfo, gdcmraw programs.
+
+Package: libgdcm2-dev
+Section: libdevel
+Provides: libgdcm-dev
+Conflicts: libgdcm-dev
+Architecture: any
+Depends: libgdcm2 (= ${binary:Version}), libuuid1
+Description: Headers and static libraries for libgdcm
+ 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-dbg
+Architecture: any
+Priority: extra
+Depends: libgdcm2 (= ${binary:Version})
+Description: Debug symbols for libgdcm2
+ Debug symbols for libgdcm that will allow useful tracebacks and debugging
+ on end user machines.
+
+Package: python-gdcm
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, libgdcm2 (= ${binary:Version})
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings to the gdcm DICOM library
+ Python bindings to the gdcm DICOM library.
+
+Package: libvtkgdcm
+Architecture: any
+Depends: ${shlibs:Depends}, libvtk5
+Recommends: dcmtk
+Description: DICOM library
+ Grassroots DiCoM is a C++ library for dealing with DICOM medical files. 
+ It is automatically wrapped to python (using swig). It supports RAW,JPEG,
+ J2K,JPEG lossless,RLE and deflate(zlib). It also comes with DICOM Part 
+ 3,6 & 7 of the standard as XML files.
+
+Package: libvtkgdcm-dev
+Section: libdevel
+Provides: libvtkgdcm-dev
+Conflicts: libvtkgdcm-dev
+Architecture: any
+Depends: libgdcm2 (= ${binary:Version})
+Description: Headers and static libraries for libvtkgdcm
+ 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: python-vtkgdcm
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, libgdcm2 (= ${binary:Version})
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings to the gdcm DICOM library
+ Python bindings to the gdcm DICOM library.
+
+Package: libvtkgdcm-tools
+Architecture: any
+Section: utils
+Depends: ${shlibs:Depends}
+Description: Command line utilities for libvtkgdcm
+ Libvtkgdcm provides a number of command line debugging and utility programs.
+ Install this package for the gdcmviewer programs.
+
+

Added: trunk/packages/gdcm/trunk/debian/copyright
===================================================================
--- trunk/packages/gdcm/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/copyright	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,70 @@
+This package was debianized by Mathieu Malaterre <mathieu.malaterre at gmail.com> on
+Wed, 18 Jun 2008 09:52:35 +1100
+
+It was downloaded from http://sf.net/projects/gdcm
+
+Upstream Authors:
+
+  Mathieu Malaterre <mathieu.malaterre at gmail.com>
+
+Copyright:
+
+  Copyright (c) 2006-2008 Mathieu Malaterre
+  Copyright (c) 1993-2005 CREATIS
+
+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.
+
+ * 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.
+
+ * 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 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 for the cmake scripts:
+
+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.

Added: trunk/packages/gdcm/trunk/debian/libgdcm-tools.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/libgdcm-tools.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/libgdcm-tools.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,6 @@
+usr/bin/gdcmdump*
+usr/bin/gdcmconv*
+usr/bin/gdcmimg*
+usr/bin/gdcminfo*
+usr/bin/gdcmraw*
+usr/bin/gdcmscanner*

Added: trunk/packages/gdcm/trunk/debian/libgdcm2-dev.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/libgdcm2-dev.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/libgdcm2-dev.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,5 @@
+usr/lib/libgdcm*.so
+usr/lib/gdcm-2.*/*
+usr/include/gdcm-2.*/gdcm*
+usr/include/gdcm-2.*/zip*
+usr/include/gdcm-2.*/XML/*

Added: trunk/packages/gdcm/trunk/debian/libgdcm2.docs
===================================================================
--- trunk/packages/gdcm/trunk/debian/libgdcm2.docs	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/libgdcm2.docs	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1 @@
+README.txt

Added: trunk/packages/gdcm/trunk/debian/libgdcm2.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/libgdcm2.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/libgdcm2.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1 @@
+usr/lib/libgdcm*.so.*

Added: trunk/packages/gdcm/trunk/debian/libvtkgdcm-dev.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/libvtkgdcm-dev.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/libvtkgdcm-dev.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,2 @@
+usr/lib/libvtkgdcm*.so
+usr/include/gdcm-2.*/vtk*

Added: trunk/packages/gdcm/trunk/debian/libvtkgdcm-tools.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/libvtkgdcm-tools.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/libvtkgdcm-tools.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1 @@
+usr/bin/gdcmviewer*

Added: trunk/packages/gdcm/trunk/debian/libvtkgdcm.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/libvtkgdcm.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/libvtkgdcm.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1 @@
+usr/lib/libvtkgdcm*.so.*

Added: trunk/packages/gdcm/trunk/debian/pycompat
===================================================================
--- trunk/packages/gdcm/trunk/debian/pycompat	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/pycompat	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1 @@
+2

Added: trunk/packages/gdcm/trunk/debian/python-gdcm.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/python-gdcm.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/python-gdcm.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,3 @@
+usr/lib/python*/site-packages/gdcm-2.*/gdcm.py
+usr/lib/python*/site-packages/gdcm-2.*/_gdcm.so
+usr/lib/python*/site-packages/gdcm.pth

Added: trunk/packages/gdcm/trunk/debian/python-vtkgdcm.install
===================================================================
--- trunk/packages/gdcm/trunk/debian/python-vtkgdcm.install	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/python-vtkgdcm.install	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,2 @@
+usr/lib/python*/site-packages/vtkgdcm.py
+usr/lib/python*/site-packages/libvtkgdcmPython.so

Added: trunk/packages/gdcm/trunk/debian/rules
===================================================================
--- trunk/packages/gdcm/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/rules	2008-06-25 09:19:53 UTC (rev 2093)
@@ -0,0 +1,140 @@
+#!/usr/bin/make -f
+# Based on the multi2 sample debian/rules file:
+# ---
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess.
+#
+# This version is for a multibinary package. It also allows you to build any
+# of the binary packages independantly, via binary-<package> targets.
+# ---
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# 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 = -Werror -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+export CFLAGS
+
+SRC	:= $(CURDIR)
+BUILD	:= $(CURDIR)/debian/build
+TARGET	:= $(CURDIR)/debian/tmp
+
+PYVERS  := $(shell pyversions -vs)
+
+debian/configure-stamp: $(PYVERS:%=debian/configure-python%-stamp) 
+	touch $@
+
+debian/configure-python%-stamp: 
+	dh_testdir
+	[ -d $(BUILD)-python$* ] || mkdir $(BUILD)-python$*
+	cd $(BUILD)-python$* && cmake $(CURDIR) -DCMAKE_INSTALL_PREFIX="/usr" \
+		-DCMAKE_C_COMPILER="/usr/bin/cc" \
+		-DCMAKE_C_FLAGS="-g -Wall -O2" \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_VERBOSE_MAKEFILE=ON \
+		-DGDCM_BUILD_APPLICATIONS=ON \
+		-DGDCM_BUILD_SHARED_LIBS=ON \
+		-DGDCM_WRAP_PYTHON=ON \
+		-DGDCM_BUILD_TESTING:BOOL=OFF \
+		-DCMAKE_BUILD_TYPE:STRING=Release \
+		-DGDCM_USE_SYSTEM_EXPAT:BOOL=ON \
+		-DGDCM_USE_SYSTEM_UUID:BOOL=ON \
+		-DGDCM_USE_SYSTEM_ZLIB:BOOL=ON \
+		-DGDCM_USE_VTK:BOOL=ON \
+		-DVTK_DIR:PATH=/usr/lib/vtk-5.0/ \
+		-DPREFERRED_PYTHON_VERSION=python$*
+	touch $@
+
+build: debian/build-stamp
+
+debian/build-stamp: debian/configure-stamp $(PYVERS:%=debian/build-python%-stamp)
+	touch $@
+
+debian/build-python%-stamp: 
+	dh_testdir
+	$(MAKE) -j4 -C $(BUILD)-python$*
+	-(cd $(BUILD)-python$* && LD_LIBRARY_PATH=$(BUILD)-python$*/gdcm ctest --force-new-ctest-process -V)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f debian/configure*stamp debian/build*stamp 
+	rm -rf debian/build*
+	dh_clean
+
+install: DH_OPTIONS=
+install: debian/build-stamp install-common $(PYVERS:%=install-python%)
+install-common:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+install-python%:
+	$(MAKE) -j4 -C $(BUILD)-python$* install DESTDIR=$(TARGET)
+
+# This single target is used to build all the packages, all at once, or
+# one at a time. So keep in mind: any options passed to commands here will
+# affect _all_ packages. Anything you want to only affect one package
+# should be put in another target, such as the install target.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installcatalogs
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installman
+#	dh_installcron
+#	dh_installinfo
+	dh_install --sourcedir=$(TARGET) --fail-missing
+	dh_strip --dbg-package=libgdcm2-dbg
+	dh_link
+	dh_compress
+	dh_fixperms
+#	dh_perl
+	dh_pysupport
+	dh_python
+	dh_makeshlibs -Xformats -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build install
+# (Uncomment this next line if you have such packages.)
+#	 $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+	$(MAKE) -f $(SRC)/debian/rules DH_OPTIONS=-a binary-common
+
+# Any other binary targets build just one binary package at a time.
+binary-%: build install
+	make -f $(SRC)/debian/rules binary-common DH_OPTIONS=-p$*
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary-common binary install install-common


Property changes on: trunk/packages/gdcm/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the debian-med-commit mailing list