[mpj] 21/22: Re-add debian/ dir

Andreas Tille tille at debian.org
Wed May 11 06:46:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository mpj.

commit 6a5675054e855bf7edf9e8702d42b4117f5dba83
Author: Andreas Tille <tille at debian.org>
Date:   Wed May 11 08:41:47 2016 +0200

    Re-add debian/ dir
---
 debian/README.Debian                          |  40 +++++++
 debian/changelog                              |  48 +++++++++
 debian/compat                                 |   1 +
 debian/control                                |  28 +++++
 debian/copyright                              |  54 ++++++++++
 debian/libmpj-java.jlibs                      |   1 +
 debian/patches/series                         |   1 +
 debian/patches/use_debian_packaged_jars.patch | 145 ++++++++++++++++++++++++++
 debian/rules                                  |  12 +++
 debian/source/format                          |   1 +
 debian/watch                                  |   3 +
 11 files changed, 334 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..14f720a
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,40 @@
+libmpj-java for Debian
+======================
+
+Documentation
+-------------
+
+The original tarball contained some PDF files without source.  So these
+were stripped from the source to not cause conflicts with DFSG.  Feel
+free to download and read these files at
+
+    http://mpj-express.org/guides.html
+
+
+Other parts of the library
+--------------------------
+
+The mpj-express project builds several different jar files.
+
+This actual package was to build mpj.jar exclusively as a prerequisite
+for the beast-mcmc package.  Because the chances to test the other
+builded JARs are not very good they are not shipped with the binary
+package.
+
+Please feel free to suggest inclusion of other JARs if you have some
+use case.
+
+
+Test suite
+----------
+
+The original tarball contained a complex test suite.  However large
+parts of this suite did not contained any licensing statement.  This
+test suite is even downloadable separately at
+
+   http://www2.epcc.ed.ac.uk/computing/research_activities/java_grande/mpj.html
+
+If you consider using the test suite and want to include it into the
+packaging please clarify the license with the authors.
+
+ -- Andreas Tille <tille at debian.org>  Sat, 21 Jan 2012 15:15:57 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1c9c171
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,48 @@
+mpj (0.42+dfsg-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure caused by the update of commons-codec
+  * Standards-Version updated to 3.9.6 (no changes)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 29 Jun 2015 16:48:07 +0200
+
+mpj (0.42+dfsg-1) unstable; urgency=medium
+
+  * New upstream version (adapted patch)
+  * Adapted d/watch, droped d/get-orig-source
+  * New Build-Depends: libcommons-cli-java, libcommons-codec-java,
+    libcommons-io-java
+  * cme fix dpkg-control
+
+ -- Andreas Tille <tille at debian.org>  Thu, 24 Jul 2014 13:43:16 +0200
+
+mpj (0.38+dfsg-2) unstable; urgency=low
+
+  * Upload to unstable
+    Closes: #720566
+  * debian/control:
+     - cme fix dpkg-control
+     - debhelper 9
+     - anonscm in Vcs fields
+
+ -- Andreas Tille <tille at debian.org>  Fri, 23 Aug 2013 14:23:48 +0200
+
+mpj (0.38+dfsg-1) experimental; urgency=low
+
+  * debian/copyright:
+     - DEP5
+     - Add Files-Excluded to document what was removed from original source
+  * debian/control:
+     - Standards-Version: 3.9.4 (no changes needed)
+     - Architecture: all
+  * debian/{control,rules}: use default java implementation
+    (thanks for the patch to  James Page <james.page at ubuntu.com>)
+    Closes: #684159
+
+ -- Andreas Tille <tille at debian.org>  Mon, 17 Dec 2012 14:10:59 +0100
+
+mpj (0.38~dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #656790)
+
+ -- Andreas Tille <tille at debian.org>  Sat, 21 Jan 2012 15:15:57 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2e6dba8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: mpj
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: java
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               javahelper,
+               default-jdk (>= 1:1.6),
+               ant,
+               liblog4j1.2-java,
+               libservice-wrapper-java,
+               libcommons-cli-java,
+               libcommons-codec-java,
+               libcommons-io-java
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/libmpj-java/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/libmpj-java/trunk/
+Homepage: http://mpj-express.org/
+
+Package: libmpj-java
+Architecture: all
+Depends: ${misc:Depends},
+         ${java:Depends}
+Recommends: ${java:Recommends}
+Description: Java library for parallel applications for multicore processors and clusters
+ MPJ Express is a Java message passing library that allows application
+ developers to write and execute parallel applications for multicore
+ processors and compute clusters/clouds.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a497538
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,54 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: MPJ Express
+Upstream-Contact: mpj-user at lists.reading.ac.uk
+Source: http://sourceforge.net/projects/mpjexpress/files/
+Files-Excluded:
+    bin/daemon*
+    bin/*.bat
+    bin/*.exe
+    *.dll
+    *macosx*
+    *solaris*
+    *.pdf
+    libwrapper*
+    lib/*
+    test/
+    THIRDPARTYLICENSES.txt
+    README-win.txt
+
+Files: *
+Copyright: 2004 - 2007 Distributed Systems Group, University of Portsmouth,
+                       Aamir Shafi <aamir.shafi at seecs.edu.pk>
+                       Bryan Carpenter <bryan.carpenter at port.ac.uk>
+                       Mark Baker <mark.baker at computer.org>
+                       Guillermo Lopez Taboada <taboada at udc.es>
+License: MIT
+
+License: MIT
+ The bulk of code in this distribution was developed by the Distributed Systems
+ Group at the University of Portsmouth. Some sections of the code like
+ the buffering API and derived datatypes include contributions developed at
+ the Community Grids Lab at Indiana University.
+ .
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/*
+Copyright: © 2012 Andreas Tille <tille at debian.org>
+License: MIT
diff --git a/debian/libmpj-java.jlibs b/debian/libmpj-java.jlibs
new file mode 100644
index 0000000..ce9b8fd
--- /dev/null
+++ b/debian/libmpj-java.jlibs
@@ -0,0 +1 @@
+lib/mpj.jar
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a19efd6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use_debian_packaged_jars.patch
diff --git a/debian/patches/use_debian_packaged_jars.patch b/debian/patches/use_debian_packaged_jars.patch
new file mode 100644
index 0000000..fab7951
--- /dev/null
+++ b/debian/patches/use_debian_packaged_jars.patch
@@ -0,0 +1,145 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 24 Jul 2014 13:53:02 +0200
+Description: Use Debian packaged libraries
+ - Set classpath to those Debian JARs which are used
+ - Remove jetty from classpath which is actually not used and thus there
+   is no need to worry about its copyright explicitely
+
+--- a/build.xml
++++ b/build.xml
+@@ -82,7 +82,7 @@
+             depends="generateJava">
+         
+ 	<javac srcdir="${src.dir}" 
+-	classpath="lib/wrapper.jar:lib/org.mortbay.jetty.jar:lib/log4j-1.2.11.jar:lib/commons-cli-1.2.jar:lib\commons-codec-1.8.jar:lib\commons-io-2.4.jar" 
++	classpath="/usr/share/java/wrapper.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/commons-cli.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-io.jar" 
+ 	sourcepath="${src.dir}"
+ 	debug="true"
+ 	/>
+@@ -94,35 +94,35 @@
+           includes="mpi/*.class mpjbuf/*.class mpjdev/*.class mpjdev/javampjdev/*.class xdev/*.class mpjdev/natmpjdev/*.class
+ 	  	    xdev/niodev/*.class xdev/mxdev/*.class xdev/hybdev/*.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/>
++            <attribute name="Class-path" value="log4j-1.2.jar"/>
+           </manifest>
+     </jar>
+ 
+     <jar destfile="${lib.dir}/mpiExp.jar" basedir="src"
+           includes="mpi/MPIException.class,mpjdev/MPJDevException.class,mpjdev/Request.class,mpjdev/Request$WaitanyQue.class,mpjdev/Status.class,mpjdev/CompletionHandler.class, mpjdev/Constants.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/>
++            <attribute name="Class-path" value="log4j-1.2.jar"/>
+           </manifest>
+      </jar>
+  <!-- includes="mpi/MPIException.class,mpjdev/MPJDevException.class,mpjdev/Status.class,mpjdev/Group.class,mpjdev/MPJDev.class,mpjdev/Request.class,mpjdev/Comm.class,mpjdev/Request$WaitanyQue.class,mpjdev/Comm$1.class"> -->
+     <jar destfile="${lib.dir}/mpi.jar" basedir="src"
+           includes="mpi/*.class" excludes="mpi/MPIException.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/> 
++            <attribute name="Class-path" value="log4j-1.2.jar"/> 
+           </manifest>  
+      </jar>
+      
+      <jar destfile="${lib.dir}/mpjbuf.jar" basedir="src"
+           includes="mpjbuf/*.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/> 
++            <attribute name="Class-path" value="log4j-1.2.jar"/> 
+           </manifest>  
+      </jar>
+ 
+      <jar destfile="${lib.dir}/mpjdev.jar" basedir="src"
+         includes="mpjdev/*.class mpjdev/javampjdev/*.class mpjdev/natmpjdev/*.class" excludes="mpjdev/MPJDevException.class,mpjdev/Request.class,mpjdev/Request$WaitanyQue.class,mpjdev/Status.class,mpjdev/CompletionHandler.class, mpjdev/Constants.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/> 
++            <attribute name="Class-path" value="log4j-1.2.jar"/> 
+           </manifest>  
+      </jar>
+ 
+@@ -133,35 +133,35 @@
+      <jar destfile="${lib.dir}/xdev.jar" basedir="src"
+           includes="xdev/*.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/> 
++            <attribute name="Class-path" value="log4j-1.2.jar"/> 
+           </manifest>  
+      </jar>
+ 
+      <jar destfile="${lib.dir}/niodev.jar" basedir="src"
+           includes="xdev/niodev/*.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/> 
++            <attribute name="Class-path" value="log4j-1.2.jar"/> 
+           </manifest>  
+      </jar>
+ 
+      <jar destfile="${lib.dir}/mxdev.jar" basedir="src"
+           includes="xdev/mxdev/*.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/> 
++            <attribute name="Class-path" value="log4j-1.2.jar"/> 
+           </manifest>  
+      </jar>
+ 
+      <jar destfile="${lib.dir}/smpdev.jar" basedir="src"
+           includes="xdev/smpdev/*.class">
+ 	  <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/> 
++            <attribute name="Class-path" value="log4j-1.2.jar"/> 
+           </manifest>  
+      </jar>
+   
+      <jar destfile="${lib.dir}/hybdev.jar" basedir="src"
+           includes="xdev/hybdev/*.class">
+                                 <manifest>
+-            <attribute name="Class-path" value="log4j-1.2.11.jar"/>
++            <attribute name="Class-path" value="log4j-1.2.jar"/>
+         </manifest>
+     </jar>
+ 
+@@ -173,7 +173,7 @@
+ 					<attribute name="Main-class" 
+ 		               value="runtime.daemon.MPJDaemon" /> 
+ 					<attribute name="Class-path" 
+-		    value="log4j-1.2.11.jar commons-codec-1.8.jar commons-io-2.4.jar runtimecommon.jar "/> 
++		    value="log4j-1.2.jar commons-codec.jar commons-io.jar runtimecommon.jar "/> 
+ 				</manifest>  
+ 			</jar>
+ 
+@@ -183,7 +183,7 @@
+             <attribute name="Main-class" 
+ 	               value="runtime.daemon.Wrapper" /> 
+         <!--    <attribute name="Class-path" 
+-	    value="wrapper.jar log4j-1.2.11.jar mpj.jar"/>  -->
++	    value="wrapper.jar log4j-1.2.jar mpj.jar"/>  -->
+           </manifest> 
+      </jar>
+ 
+@@ -193,7 +193,7 @@
+             <attribute name="Main-class" 
+ 	               value="runtime.daemon.ThreadedWrapper" /> 
+         <!--    <attribute name="Class-path" 
+-	    value="wrapper.jar log4j-1.2.11.jar mpj.jar"/>  -->
++	    value="wrapper.jar log4j-1.2.jar mpj.jar"/>  -->
+           </manifest>  
+      </jar>
+ 
+@@ -202,7 +202,7 @@
+ 			<manifest>
+ 				<attribute name="Main-class" value="runtime.starter.MPJRun" />
+ 				<attribute name="Class-path" 
+-	   value="org.mortbay.jetty.jar log4j-1.2.11.jar runtimecommon.jar"/> 
++	   value="log4j-1.2.jar runtimecommon.jar"/> 
+ 			</manifest>  
+ 		</jar>
+      
+@@ -303,7 +303,7 @@
+     <target name="java-docs" depends="figures">
+       <javadoc
+         destdir="${doc.dir}/javadocs"
+-	classpath="${lib.dir}/org.mortbay.jetty.jar:${lib.dir}/javax.servlet.jar:${lib.dir}/wrapper.jar:${lib.dir}/log4j-1.2.11.jar;${lib.dir}/commons-cli-1.2.jar">
++	classpath="${lib.dir}/javax.servlet.jar:${lib.dir}/wrapper.jar:${lib.dir}/log4j-1.2.jar;${lib.dir}/commons-cli.jar">
+ 			<fileset dir="${mpi.dir}" defaultexcludes="yes">
+ 				<include name="**/Cartcomm.java"/>
+ 				<include name="**/CartParms.java"/>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b02b2bb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@ --with javahelper
+
+override_dh_auto_build:
+	dh_auto_build -- -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
+
+get-orig-source:
+	uscan --verbose --force-download --repack --compress xz
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b81fb36
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/_/./g;s/$/+dfsg/" \
+   http://sf.net/mpjexpress/mpj-v(.+)\.zip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mpj.git



More information about the pkg-java-commits mailing list