[med-svn] r2936 - trunk/packages/dicomscope/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Fri Jan 9 13:10:10 UTC 2009


Author: tille
Date: 2009-01-09 13:10:10 +0000 (Fri, 09 Jan 2009)
New Revision: 2936

Added:
   trunk/packages/dicomscope/trunk/debian/doc-base.dscs35
   trunk/packages/dicomscope/trunk/debian/doc-base.dsum351
   trunk/packages/dicomscope/trunk/debian/docs
Removed:
   trunk/packages/dicomscope/trunk/debian/dicomscope.install
Modified:
   trunk/packages/dicomscope/trunk/debian/rules
Log:
Install PDF documents, provide docbase control files, clean up source tree in clean target, use debian/dicomscope as install target directly instead of copying files from debian/tmp later


Deleted: trunk/packages/dicomscope/trunk/debian/dicomscope.install
===================================================================
--- trunk/packages/dicomscope/trunk/debian/dicomscope.install	2009-01-09 12:59:21 UTC (rev 2935)
+++ trunk/packages/dicomscope/trunk/debian/dicomscope.install	2009-01-09 13:10:10 UTC (rev 2936)
@@ -1,10 +0,0 @@
-usr/lib/libjInterface.so
-usr/share/dicomscope/DICOMscope.jar
-usr/share/dicomscope/codes.dic
-usr/share/dicomscope/lut/*.lut
-usr/share/dicomscope/reports/*.dcm
-etc/dcmtk/DICOMscope.cfg
-usr/share/dicomscope/tcl/dcmpsdmp.tcl
-usr/share/dicomscope/tcl/dcmpschk.tcl
-usr/share/dcmtk/codes.dic
-usr/bin/dicomscope

Added: trunk/packages/dicomscope/trunk/debian/doc-base.dscs35
===================================================================
--- trunk/packages/dicomscope/trunk/debian/doc-base.dscs35	                        (rev 0)
+++ trunk/packages/dicomscope/trunk/debian/doc-base.dscs35	2009-01-09 13:10:10 UTC (rev 2936)
@@ -0,0 +1,21 @@
+Document: dicomscope
+Title: DICOM Conformance Statement
+Author: M. Eichelberg, K. Kleber, J. Riesmeier, A. Schröter, A. Thiel
+Abstract: The OFFIS DICOM Viewer
+ DICOMscope is a free DICOM viewer which can display uncompressed,
+ monochrome DICOM images from all modalities and which supports
+ monitor calibration according to DICOM part 14 as well as
+ presentation states. DICOMscope offers a print client (DICOM Basic
+ Grayscale Print Management) which also implements the optional
+ Presentation LUT SOP Class. The development of this prototype was
+ commissioned by the "Committee for the Advancement of DICOM" and
+ demonstrated at the European Congress of Radiology ECR 1999. An
+ enhanced version was developed for the "DICOM Display Consistency
+ Demonstration" at RSNA InfoRAD 1999. The current release 3.5.1 has
+ been demonstrated at ECR 2001 and contains numerous extensions,
+ including a print server, support for encrypted DICOM communication,
+ digital signatures and structured reporting.
+Section: Science/Imaging
+
+Format: PDF
+Files: /usr/share/doc/dicomscope/dscs35.pdf

Added: trunk/packages/dicomscope/trunk/debian/doc-base.dsum351
===================================================================
--- trunk/packages/dicomscope/trunk/debian/doc-base.dsum351	                        (rev 0)
+++ trunk/packages/dicomscope/trunk/debian/doc-base.dsum351	2009-01-09 13:10:10 UTC (rev 2936)
@@ -0,0 +1,21 @@
+Document: dicomscope
+Title: DICOMscope 3.5.1 User Manual
+Author: M. Eichelberg, K. Kleber, J. Riesmeier, A. Schröter, A. Thiel
+Abstract: The OFFIS DICOM Viewer
+ DICOMscope is a free DICOM viewer which can display uncompressed,
+ monochrome DICOM images from all modalities and which supports
+ monitor calibration according to DICOM part 14 as well as
+ presentation states. DICOMscope offers a print client (DICOM Basic
+ Grayscale Print Management) which also implements the optional
+ Presentation LUT SOP Class. The development of this prototype was
+ commissioned by the "Committee for the Advancement of DICOM" and
+ demonstrated at the European Congress of Radiology ECR 1999. An
+ enhanced version was developed for the "DICOM Display Consistency
+ Demonstration" at RSNA InfoRAD 1999. The current release 3.5.1 has
+ been demonstrated at ECR 2001 and contains numerous extensions,
+ including a print server, support for encrypted DICOM communication,
+ digital signatures and structured reporting.
+Section: Science/Imaging
+
+Format: PDF
+Files: /usr/share/doc/dicomscope/dsum351.pdf

Added: trunk/packages/dicomscope/trunk/debian/docs
===================================================================
--- trunk/packages/dicomscope/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/dicomscope/trunk/debian/docs	2009-01-09 13:10:10 UTC (rev 2936)
@@ -0,0 +1 @@
+DICOMscope/docs/*

Modified: trunk/packages/dicomscope/trunk/debian/rules
===================================================================
--- trunk/packages/dicomscope/trunk/debian/rules	2009-01-09 12:59:21 UTC (rev 2935)
+++ trunk/packages/dicomscope/trunk/debian/rules	2009-01-09 13:10:10 UTC (rev 2936)
@@ -1,17 +1,15 @@
 #!/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.
+# debian/rules for dicomscope
+# (C) 2008 Mathieu Malaterre <mathieu.malaterre at gmail.com>,
+#          Andreas Tille <tille at debian.org
+# License: GPL
 
 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)
@@ -35,8 +33,11 @@
 
 SRC	:= $(CURDIR)
 BUILD	:= $(CURDIR)/debian/build
-TARGET	:= $(CURDIR)/debian/tmp
+TARGET	:= $(CURDIR)/debian/$(shell dh_listpackages)
+# TARGET	:= $(CURDIR)/debian/tmp
 
+DICOMscope_TO_REMOVE := J2Ci about browser de dicomPrint dicomscope jToolkit main processCommunication viewer
+
 configure: configure-stamp
 configure-stamp: $(QUILT_STAMPFN)
 	dh_testdir
@@ -71,9 +72,15 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
-	# Add here commands to clean up after the build process.
 	rm -rf debian/build
 
+	# The build process obviosely leaves several files behind in other
+	# directories than the BUILD target. These have to removed manually
+	for dir in $(DICOMscope_TO_REMOVE); do \
+	    rm -rf DICOMscope/"$$dir" ; \
+	done
+	rm -rf tkgui/dicomscope
+
 	dh_clean 
 
 install: build
@@ -101,11 +108,11 @@
 	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
-	dh_install --sourcedir=$(TARGET) --fail-missing
+	dh_install ## --sourcedir=$(TARGET) --fail-missing
 	dh_installman
 	dh_link
 	dh_strip
-	dh_compress
+	dh_compress --exclude=.pdf
 	dh_fixperms
 	dh_makeshlibs
 	dh_shlibdeps # -LlibjInterface -l/usr/lib




More information about the debian-med-commit mailing list