[med-svn] r20205 - in trunk/packages: . pixelmed-codec pixelmed-codec/trunk pixelmed-codec/trunk/debian pixelmed-codec/trunk/debian/patches pixelmed-codec/trunk/debian/source
Andreas Tille
tille at moszumanska.debian.org
Thu Oct 8 10:58:28 UTC 2015
Author: tille
Date: 2015-10-08 10:58:27 +0000 (Thu, 08 Oct 2015)
New Revision: 20205
Added:
trunk/packages/pixelmed-codec/
trunk/packages/pixelmed-codec/trunk/
trunk/packages/pixelmed-codec/trunk/debian/
trunk/packages/pixelmed-codec/trunk/debian/changelog
trunk/packages/pixelmed-codec/trunk/debian/compat
trunk/packages/pixelmed-codec/trunk/debian/control
trunk/packages/pixelmed-codec/trunk/debian/copyright
trunk/packages/pixelmed-codec/trunk/debian/libpixelmed-codec-java.jlibs
trunk/packages/pixelmed-codec/trunk/debian/patches/
trunk/packages/pixelmed-codec/trunk/debian/patches/debian_jars.patch
trunk/packages/pixelmed-codec/trunk/debian/patches/series
trunk/packages/pixelmed-codec/trunk/debian/patches/set_java_home.patch
trunk/packages/pixelmed-codec/trunk/debian/rules
trunk/packages/pixelmed-codec/trunk/debian/source/
trunk/packages/pixelmed-codec/trunk/debian/source/format
trunk/packages/pixelmed-codec/trunk/debian/source/options
trunk/packages/pixelmed-codec/trunk/debian/watch
Log:
Inject pixelmed-codec which is an offspring of pixelmed and needed to build the latest version of it
Added: trunk/packages/pixelmed-codec/trunk/debian/changelog
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/changelog (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/changelog 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,5 @@
+pixelmed-codec (20141206-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org> Thu, 08 Oct 2015 10:39:14 +0200
Added: trunk/packages/pixelmed-codec/trunk/debian/compat
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/compat (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/compat 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1 @@
+9
Added: trunk/packages/pixelmed-codec/trunk/debian/control
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/control (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/control 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,29 @@
+Source: pixelmed-codec
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: graphics
+Priority: optional
+Build-Depends: debhelper (>= 9)
+Build-Depends-Indep: default-jdk,
+ javahelper,
+ junit4,
+ libhsqldb-java
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/pixelmed-codec/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/pixelmed-codec/trunk/
+Homepage: http://www.pixelmed.com
+
+Package: libpixelmed-codec-java
+Architecture: all
+Section: java
+Depends: ${java:Depends},
+ ${misc:Depends}
+Description: some imaging codices for pixelmed DICOM image and ECG viewer
+ Pixelmed is a stand-alone DICOM toolkit that implements code for reading
+ and creating DICOM data, DICOM network and file support, a database of
+ DICOM objects, support for display of directories, images, reports and
+ spectra, and DICOM object validation.
+ .
+ This package contains some file format codecs used by pixelmed but
+ provided as a separate tarball.
+
Added: trunk/packages/pixelmed-codec/trunk/debian/copyright
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/copyright (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/copyright 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: PixelMed Java DICOM Toolkit
+Upstream-Contact: pixelmed_dicom at yahoogroups.com
+Source: http://www.dclunie.com/pixelmed/software/codec/
+
+Files: *
+Copyright: 2014, David A. Clunie DBA PixelMed Publishing. All rights reserved.
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2015, Andreas Tille <tille at debian.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ 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 above copyright notice, this list of
+ conditions and the following disclaimers.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of
+ conditions and the following disclaimers in the documentation and/or other materials
+ provided with the distribution.
+ .
+ 3. Neither the name of PixelMed Publishing nor the names of its contributors may
+ be used to endorse or promote products derived from this 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 copyright owner 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.
+ .
+ This software has neither been tested nor approved for clinical use or for incorporation in
+ a medical device. It is the redistributor's or user's responsibility to comply with any
+ applicable local, state, national or international regulations.
+
Added: trunk/packages/pixelmed-codec/trunk/debian/libpixelmed-codec-java.jlibs
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/libpixelmed-codec-java.jlibs (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/libpixelmed-codec-java.jlibs 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1 @@
+pixelmed_codec.jar
Added: trunk/packages/pixelmed-codec/trunk/debian/patches/debian_jars.patch
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/patches/debian_jars.patch (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/patches/debian_jars.patch 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,40 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 08 Oct 2015 10:39:14 +0200
+Description: Set explicit PATH to Debian jars
+ Might be only needed to generate javadoc
+
+--- a/Makefile.common.mk
++++ b/Makefile.common.mk
+@@ -2,7 +2,7 @@
+ # Note that PATHTOROOT must have been specified prior to including this file
+ #
+
+-JUNITJAR = ${PATHTOROOT}/lib/junit/junit-4.8.1.jar
++JUNITJAR = /usr/share/java/junit4.jar
+
+ PATHTOTESTFILESFROMROOT = ./testpaths
+
+--- a/Makefile
++++ b/Makefile
+@@ -31,7 +31,7 @@ SOURCERELEASEFILES = \
+ ${SUBDIRS}
+
+ DEPENDENCYRELEASEFILESWITHOUTREADME = \
+- lib/junit/junit-4.8.1.jar \
++ /usr/share/java/junit4.jar \
+ LICENSES
+
+ DEPENDENCYRELEASEFILES = \
+@@ -148,11 +148,7 @@ doxygenrelease: .exclude.list #clean jav
+ javadoc:
+ rm -rf docs/javadoc
+ javadoc \
+- -classpath .:lib/additional/excalibur-bzip2-1.0.jar:lib/additional/hsqldb.jar:lib/additional/vecmath1.2-1.14.jar:lib/additional/commons-codec-1.3.jar:lib/additional/commons-net-ftp-2.0.jar:lib/additional/jmdns.jar:lib/additional/jpedalSTD.jar:lib/junit/junit-4.8.1.jar \
+- -link http://download.oracle.com/javase/1.5.0/docs/api/ \
+- -link http://jpedal.org/javadoc/ \
+- -link http://www.hsqldb.org/doc/src/ \
+- -link http://javasourcecode.org/html/open-source/junit/junit-4.8.1/ \
++ -classpath .:lib/additional/excalibur-bzip2-1.0.jar:/usr/share/java/hsqldb.jar:lib/additional/vecmath1.2-1.14.jar:lib/additional/commons-codec-1.3.jar:lib/additional/commons-net-ftp-2.0.jar:lib/additional/jmdns.jar:lib/additional/jpedalSTD.jar:/usr/share/java/junit4.jar \
+ -protected -d docs/javadoc \
+ -encoding "UTF8" \
+ ${SUBPACKAGES}
Added: trunk/packages/pixelmed-codec/trunk/debian/patches/series
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/patches/series (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/patches/series 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,2 @@
+set_java_home.patch
+# debian_jars.patch
Added: trunk/packages/pixelmed-codec/trunk/debian/patches/set_java_home.patch
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/patches/set_java_home.patch (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/patches/set_java_home.patch 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 08 Oct 2015 10:39:14 +0200
+Description: Work around OSX specific way to set JAVA_HOME
+
+--- a/Makefile.common.mk
++++ b/Makefile.common.mk
+@@ -17,7 +17,7 @@ JAVACTARGETOPTIONS=-target ${JAVAVERSION
+ JAVACOPTIONS = -O ${JAVACTARGETOPTIONS} -encoding "UTF8" -Xlint:deprecation
+
+ .java.class:
+- export JAVAVERSIONTARGETJARFILE=`/usr/libexec/java_home -v ${JAVAVERSIONTARGET} | tail -1`/jre/lib/rt.jar; javac ${JAVACOPTIONS} \
++ export JAVAVERSIONTARGETJARFILE=${JAVA_HOME}/jre/lib/rt.jar; javac ${JAVACOPTIONS} \
+ -classpath ${PATHTOROOT} \
+ -sourcepath ${PATHTOROOT} $<
+
Added: trunk/packages/pixelmed-codec/trunk/debian/rules
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/rules (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/rules 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+VERSION = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d- | cut -f2 -d~)
+
+%:
+ dh $@ --with javahelper
+
+#override_dh_auto_build:
+# $(MAKE) all
+# $(MAKE) javadoc
Property changes on: trunk/packages/pixelmed-codec/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/pixelmed-codec/trunk/debian/source/format
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/source/format (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/source/format 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/pixelmed-codec/trunk/debian/source/options
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/source/options (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/source/options 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,2 @@
+compression = xz
+compression-level = 9
Added: trunk/packages/pixelmed-codec/trunk/debian/watch
===================================================================
--- trunk/packages/pixelmed-codec/trunk/debian/watch (rev 0)
+++ trunk/packages/pixelmed-codec/trunk/debian/watch 2015-10-08 10:58:27 UTC (rev 20205)
@@ -0,0 +1,2 @@
+version=3
+http://www.dclunie.com/pixelmed/software/codec/([b\d]+)_current/pixelmedjavacodec_sourcerelease.([\d]+).tar.bz2
More information about the debian-med-commit
mailing list