[med-svn] r6591 - in trunk/packages/dcm4che: . trunk trunk/debian trunk/debian/source

Andreas Tille tille at alioth.debian.org
Tue Apr 19 12:21:31 UTC 2011


Author: tille
Date: 2011-04-19 12:21:26 +0000 (Tue, 19 Apr 2011)
New Revision: 6591

Added:
   trunk/packages/dcm4che/trunk/
   trunk/packages/dcm4che/trunk/debian/
   trunk/packages/dcm4che/trunk/debian/README.source
   trunk/packages/dcm4che/trunk/debian/changelog
   trunk/packages/dcm4che/trunk/debian/compat
   trunk/packages/dcm4che/trunk/debian/control
   trunk/packages/dcm4che/trunk/debian/copyright
   trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.doc-base.api
   trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.install
   trunk/packages/dcm4che/trunk/debian/libdcm4che-java.poms
   trunk/packages/dcm4che/trunk/debian/maven.cleanIgnoreRules
   trunk/packages/dcm4che/trunk/debian/maven.ignoreRules
   trunk/packages/dcm4che/trunk/debian/maven.properties
   trunk/packages/dcm4che/trunk/debian/maven.publishedRules
   trunk/packages/dcm4che/trunk/debian/maven.rules
   trunk/packages/dcm4che/trunk/debian/rules
   trunk/packages/dcm4che/trunk/debian/source/
   trunk/packages/dcm4che/trunk/debian/source/format
   trunk/packages/dcm4che/trunk/debian/watch
Log:
Try to package dcm4che from one single source - probably/hopefully core can be removed again


Added: trunk/packages/dcm4che/trunk/debian/README.source
===================================================================
--- trunk/packages/dcm4che/trunk/debian/README.source	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/README.source	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,9 @@
+Information about dcm4che-core
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.

Added: trunk/packages/dcm4che/trunk/debian/changelog
===================================================================
--- trunk/packages/dcm4che/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/changelog	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,6 @@
+dcm4che (2.0.25-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your
+    ITP>
+
+ -- Andreas Tille <tille at debian.org>  Mon, 28 Mar 2011 21:23:00 +0200

Added: trunk/packages/dcm4che/trunk/debian/compat
===================================================================
--- trunk/packages/dcm4che/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/compat	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1 @@
+7

Added: trunk/packages/dcm4che/trunk/debian/control
===================================================================
--- trunk/packages/dcm4che/trunk/debian/control	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/control	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,31 @@
+Source: dcm4che
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <Andreas Tille <tille at debian.org>>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4)
+Build-Depends-Indep: libcommons-cli-java, liblog4j1.2-java, libslf4j-java, junit, junit4, libslf4j-java,  
+ default-jdk-doc, liblog4j1.2-java-doc, libmaven-javadoc-plugin-java 
+Standards-Version: 3.9.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/dcm4che-core
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/dcm4che-core
+Homepage: http://www.dcm4che.org/maven2/dcm4che/dcm4che-core/2.0.25/ 
+
+Package: libdcm4che-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libdcm4che-core-java-doc
+Description: dcm4che
+ dcm4che DICOM toolkit
+
+Package: libdcm4che-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libdcm4che-core-java
+Description: Documentation for dcm4che
+ dcm4che DICOM toolkit
+ .
+ This package contains the API documentation of libdcm4che-core-java.

Added: trunk/packages/dcm4che/trunk/debian/copyright
===================================================================
--- trunk/packages/dcm4che/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/copyright	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,24 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: dcm4che
+Source: http://sourceforge.net/projects/dcm4che/files/dcm4che2/
+
+Files: *
+Copyright: 2011, dcm4che
+License: Apache-2.0 or LGPL-2
+
+Files: debian/*
+Copyright: 2011, Andreas Tille <Andreas Tille <tille at debian.org>>
+License: GPL-3+
+
+License: Apache-2.0
+  On Debian GNU/Linux system you can find the complete text of the
+  Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0'
+
+License: GPL-3+
+  TODO: include the full text of the license here
+
+License: LGPL-2
+  On Debian GNU/Linux system you can find the complete text of the
+  LGPL-2 license in '/usr/share/common-licenses/LGPL-2'
+
+

Added: trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.doc-base.api
===================================================================
--- trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.doc-base.api	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.doc-base.api	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,10 @@
+Document: libdcm4che-java
+Title: API Javadoc for dcm4che
+Author: dcm4che developers
+Abstract: This is the API Javadoc provided for the
+ libdcm4che-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libdcm4che-java/api/index.html
+Files: /usr/share/doc/libdcm4che-java/api/*

Added: trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.install
===================================================================
--- trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.install	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/libdcm4che-java-doc.install	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/libdcm4che-java/api
+

Added: trunk/packages/dcm4che/trunk/debian/libdcm4che-java.poms
===================================================================
--- trunk/packages/dcm4che/trunk/debian/libdcm4che-java.poms	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/libdcm4che-java.poms	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,64 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM or
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar
+#   it will be installed with mh_install.
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars.
+#
+pom.xml
+dcm4che-audit/pom.xml
+dcm4che-base64/pom.xml
+dcm4che-code/pom.xml
+dcm4che-core/pom.xml
+dcm4che-core-test-dictionary/pom.xml
+dcm4che-filecache/pom.xml
+dcm4che-iod/pom.xml
+dcm4che-image/pom.xml
+dcm4che-imageio/pom.xml
+dcm4che-imageio-rle/pom.xml
+dcm4che-net/pom.xml
+dcm4che-hp/pom.xml
+dcm4che-soundex/pom.xml
+dcm4che-tool/pom.xml
+dcm4che-tool/dcm4che-tool-dcm2dcm/pom.xml
+dcm4che-tool/dcm4che-tool-dcm2jpg/pom.xml
+dcm4che-tool/dcm4che-tool-dcm2txt/pom.xml
+dcm4che-tool/dcm4che-tool-dcm2xml/pom.xml
+dcm4che-tool/dcm4che-tool-dcmdir/pom.xml
+dcm4che-tool/dcm4che-tool-dcmecho/pom.xml
+dcm4che-tool/dcm4che-tool-dcmgpwl/pom.xml
+dcm4che-tool/dcm4che-tool-dcmhpqr/pom.xml
+dcm4che-tool/dcm4che-tool-dcmmv/pom.xml
+dcm4che-tool/dcm4che-tool-dcmmwl/pom.xml
+dcm4che-tool/dcm4che-tool-dcmof/pom.xml
+dcm4che-tool/dcm4che-tool-dcmqr/pom.xml
+dcm4che-tool/dcm4che-tool-dcmrcv/pom.xml
+dcm4che-tool/dcm4che-tool-dcmsnd/pom.xml
+dcm4che-tool/dcm4che-tool-dcmups/pom.xml
+dcm4che-tool/dcm4che-tool-dcmwado/pom.xml
+dcm4che-tool/dcm4che-tool-logger/pom.xml
+dcm4che-tool/dcm4che-tool-jpg2dcm/pom.xml
+dcm4che-tool/dcm4che-tool-pdf2dcm/pom.xml
+dcm4che-tool/dcm4che-tool-rgb2ybr/pom.xml
+dcm4che-tool/dcm4che-tool-txt2dcmsr/pom.xml
+dcm4che-tool/dcm4che-tool-xml2dcm/pom.xml
+dcm4che-tool/dcm4che-tool-chess3d/pom.xml
+dcm4che-tool/dcm4che-tool-fixjpegls/pom.xml

Added: trunk/packages/dcm4che/trunk/debian/maven.cleanIgnoreRules
===================================================================
--- trunk/packages/dcm4che/trunk/debian/maven.cleanIgnoreRules	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/maven.cleanIgnoreRules	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,17 @@
+# Maven clean ignore rules - ignore some Maven dependencies and plugins
+# during the clean phase of a Maven build
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM before mvn clean is called
+#   junit junit jar s/3\\..*/3.x/
+

Added: trunk/packages/dcm4che/trunk/debian/maven.ignoreRules
===================================================================
--- trunk/packages/dcm4che/trunk/debian/maven.ignoreRules	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/maven.ignoreRules	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,21 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+#   junit junit jar s/3\\..*/3.x/
+
+com.sun.media jai_imageio * * * *
+org.apache.felix maven-bundle-plugin * * * *
+org.apache.maven.plugins maven-assembly-plugin * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.dcm4che.test dcm4che-test-image * * * *

Added: trunk/packages/dcm4che/trunk/debian/maven.properties
===================================================================
--- trunk/packages/dcm4che/trunk/debian/maven.properties	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/maven.properties	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,4 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+

Added: trunk/packages/dcm4che/trunk/debian/maven.publishedRules
===================================================================
--- trunk/packages/dcm4che/trunk/debian/maven.publishedRules	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/maven.publishedRules	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,19 @@
+# Maven published rules - additional rules to publish, to help
+# the packaging work of Debian maintainers using mh_make
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+

Added: trunk/packages/dcm4che/trunk/debian/maven.rules
===================================================================
--- trunk/packages/dcm4che/trunk/debian/maven.rules	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/maven.rules	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,60 @@
+# Maven rules - transform Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+
+dcm4che dcm4che-audit jar * * *
+dcm4che dcm4che-base64 jar * * *
+dcm4che dcm4che-code jar * * *
+dcm4che dcm4che-core-test-dictionary jar * * *
+dcm4che dcm4che-core jar * * *
+dcm4che dcm4che-filecache jar * * *
+dcm4che dcm4che-hp jar * * *
+dcm4che dcm4che-image jar * * *
+dcm4che dcm4che-imageio-rle jar * * *
+dcm4che dcm4che-imageio jar * * *
+dcm4che dcm4che-iod jar * * *
+dcm4che dcm4che-net jar * * *
+dcm4che dcm4che-soundex jar * * *
+dcm4che dcm4che pom * * *
+dcm4che.tool dcm4che-tool-chess3d jar * * *
+dcm4che.tool dcm4che-tool-dcm2dcm jar * * *
+dcm4che.tool dcm4che-tool-dcm2jpg jar * * *
+dcm4che.tool dcm4che-tool-dcm2txt jar * * *
+dcm4che.tool dcm4che-tool-dcm2xml jar * * *
+dcm4che.tool dcm4che-tool-dcmdir jar * * *
+dcm4che.tool dcm4che-tool-dcmecho jar * * *
+dcm4che.tool dcm4che-tool-dcmgpwl jar * * *
+dcm4che.tool dcm4che-tool-dcmhpqr jar * * *
+dcm4che.tool dcm4che-tool-dcmmv jar * * *
+dcm4che.tool dcm4che-tool-dcmmwl jar * * *
+dcm4che.tool dcm4che-tool-dcmof jar * * *
+dcm4che.tool dcm4che-tool-dcmqr jar * * *
+dcm4che.tool dcm4che-tool-dcmrcv jar * * *
+dcm4che.tool dcm4che-tool-dcmsnd jar * * *
+dcm4che.tool dcm4che-tool-dcmups jar * * *
+dcm4che.tool dcm4che-tool-dcmwado jar * * *
+dcm4che.tool dcm4che-tool-fixjpegls jar * * *
+dcm4che.tool dcm4che-tool-jpg2dcm jar * * *
+dcm4che.tool dcm4che-tool-logger jar * * *
+dcm4che.tool dcm4che-tool-pdf2dcm jar * * *
+dcm4che.tool dcm4che-tool-rgb2ybr jar * * *
+dcm4che.tool dcm4che-tool-txt2dcmsr jar * * *
+dcm4che.tool dcm4che-tool-xml2dcm jar * * *
+dcm4che.tool dcm4che-tool pom * * *
+junit junit jar s/3\..*/3.x/ * *
+junit junit jar s/4\..*/4.x/ * *
+log4j log4j jar s/1\.2\..*/1.2.x/ * *

Added: trunk/packages/dcm4che/trunk/debian/rules
===================================================================
--- trunk/packages/dcm4che/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/rules	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_MAVEN_DOC_TARGET := javadoc:jar javadoc:aggregate
+
+get-orig-source:
+	# uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+	uscan --verbose --force-download --rename --repack


Property changes on: trunk/packages/dcm4che/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/dcm4che/trunk/debian/source/format
===================================================================
--- trunk/packages/dcm4che/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/source/format	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/dcm4che/trunk/debian/watch
===================================================================
--- trunk/packages/dcm4che/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/dcm4che/trunk/debian/watch	2011-04-19 12:21:26 UTC (rev 6591)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/dcm4che/dcm4che-([\d.]+)-src\.zip




More information about the debian-med-commit mailing list