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

Andreas Tille tille at alioth.debian.org
Mon Apr 18 06:53:13 UTC 2011


Author: tille
Date: 2011-04-18 06:53:10 +0000 (Mon, 18 Apr 2011)
New Revision: 6580

Added:
   trunk/packages/dcm4che/
   trunk/packages/dcm4che/core/
   trunk/packages/dcm4che/core/trunk/
   trunk/packages/dcm4che/core/trunk/debian/
   trunk/packages/dcm4che/core/trunk/debian/README.source
   trunk/packages/dcm4che/core/trunk/debian/changelog
   trunk/packages/dcm4che/core/trunk/debian/compat
   trunk/packages/dcm4che/core/trunk/debian/control
   trunk/packages/dcm4che/core/trunk/debian/copyright
   trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java-doc.doc-base.api
   trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java-doc.install
   trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java.poms
   trunk/packages/dcm4che/core/trunk/debian/maven.cleanIgnoreRules
   trunk/packages/dcm4che/core/trunk/debian/maven.ignoreRules
   trunk/packages/dcm4che/core/trunk/debian/maven.properties
   trunk/packages/dcm4che/core/trunk/debian/maven.publishedRules
   trunk/packages/dcm4che/core/trunk/debian/maven.rules
   trunk/packages/dcm4che/core/trunk/debian/rules
   trunk/packages/dcm4che/core/trunk/debian/source/
   trunk/packages/dcm4che/core/trunk/debian/source/format
Log:
Commit initial packaging of cvm4che-core; Build fails because of compile errors which need to be clarified


Added: trunk/packages/dcm4che/core/trunk/debian/README.source
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/README.source	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/README.source	2011-04-18 06:53:10 UTC (rev 6580)
@@ -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/core/trunk/debian/changelog
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/changelog	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,6 @@
+dcm4che-core (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/core/trunk/debian/compat
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/compat	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1 @@
+7

Added: trunk/packages/dcm4che/core/trunk/debian/control
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/control	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/control	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,32 @@
+Source: dcm4che-core
+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)
+# , javahelper
+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-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/dcm4che/core/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/dcm4che/core/trunk/
+Homepage: http://www.dcm4che.org/maven2/dcm4che/dcm4che-core/2.0.25/ 
+
+Package: libdcm4che-core-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libdcm4che-core-java-doc
+Description: dcm4che
+ dcm4che DICOM toolkit
+
+Package: libdcm4che-core-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/core/trunk/debian/copyright
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/copyright	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,15 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: dcm4che-core
+Source: http://www.dcm4che.org/maven2/dcm4che/dcm4che-core/2.0.25/
+
+Files: *
+Copyright: 2011, dcm4che
+License: Apache-2.0 or LGPL-2
+
+Files: debian/*
+Copyright: 2011, Andreas Tille <Andreas Tille <tille at debian.org>>
+License: Apache-2.0
+
+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'

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

Added: trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java-doc.install
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java-doc.install	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java-doc.install	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/libdcm4che-core-java/api
+

Added: trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java.poms
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java.poms	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/libdcm4che-core-java.poms	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,26 @@
+# 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 --has-package-version --no-parent

Added: trunk/packages/dcm4che/core/trunk/debian/maven.cleanIgnoreRules
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/maven.cleanIgnoreRules	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/maven.cleanIgnoreRules	2011-04-18 06:53:10 UTC (rev 6580)
@@ -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/core/trunk/debian/maven.ignoreRules
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/maven.ignoreRules	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/maven.ignoreRules	2011-04-18 06:53:10 UTC (rev 6580)
@@ -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/core/trunk/debian/maven.properties
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/maven.properties	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/maven.properties	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,4 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+

Added: trunk/packages/dcm4che/core/trunk/debian/maven.publishedRules
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/maven.publishedRules	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/maven.publishedRules	2011-04-18 06:53:10 UTC (rev 6580)
@@ -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/core/trunk/debian/maven.rules
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/maven.rules	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/maven.rules	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,22 @@
+# 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-core jar * * *
+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/core/trunk/debian/rules
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/rules	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1,10 @@
+#!/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


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

Added: trunk/packages/dcm4che/core/trunk/debian/source/format
===================================================================
--- trunk/packages/dcm4che/core/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/dcm4che/core/trunk/debian/source/format	2011-04-18 06:53:10 UTC (rev 6580)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the debian-med-commit mailing list