debian/0000755000000000000000000000000012205652323007166 5ustar debian/README.Debian0000644000000000000000000000225511706570505011241 0ustar 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 Sat, 21 Jan 2012 15:15:57 +0100 debian/source/0000755000000000000000000000000012063612327010470 5ustar debian/source/format0000644000000000000000000000001411533711311011670 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000416512015772752011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MPJ Express Upstream-Contact: mpj-user@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 Bryan Carpenter Mark Baker Guillermo Lopez Taboada 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 License: MIT debian/rules0000755000000000000000000000035612063613355010256 0ustar #!/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 debian/get-orig-source0000755000000000000000000000370511706605572012145 0ustar #!/bin/sh # get source for libmpj-java and remove unneeded jars and binaries set -e NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` if ! echo $@ | grep -q upstream-version ; then VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'` else VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"` if echo "$VERSION" | grep -q "upstream-version" ; then echo "Unable to parse version number" exit fi fi # unmangle version UVERSION=`echo ${VERSION} | sed 's/\./_/'` UARCHIVEDIR=${NAME}-v${UVERSION} UPSTREAMARCHIVE=${UARCHIVEDIR}.zip mkdir -p ../tarballs cd ../tarballs mv ../${UPSTREAMARCHIVE} . unzip -q ${UPSTREAMARCHIVE} cd ${UARCHIVEDIR} # Remove unneeded binaries rm -rf bin/daemon* rm -rf bin/*.bat rm -rf bin/*.exe find . -name "*.dll" -delete find . -name "*macosx*" -delete find . -name "*solaris*" -delete # Unfortunately there is no source for the PDFs find . -name "*.pdf" -delete # Remove binaries which are provided by Debian packages anyway find . -name "libwrapper*" -delete # libservice-wrapper-jni rm -f lib/log4j*.jar # liblog4j1.2-java rm -f lib/wrapper.jar # libservice-wrapper-java # The test suite contains code with unspecified license # because it is not used in the build process it will # be simply removed to enable upload to Debian main. # Volunteers to do further investigation are really welcome rm -rf test # finally all precompiled JARs are either builded in the build process # or not needed for the build process of mpj.jar which is in our main interest rm -f lib/* # After removing the subject of this license file it can be removed as well rm -f THIRDPARTYLICENSES.txt # ... and once we are talking about deleting useless stuff rm -f README-win.txt cd .. GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION"~dfsg.orig.tar.gz "${UARCHIVEDIR}" rm -rf ${UARCHIVEDIR} debian/patches/0000755000000000000000000000000012063612327010617 5ustar debian/patches/series0000644000000000000000000000003711706544651012043 0ustar use_debian_packaged_jars.patch debian/patches/use_debian_packaged_jars.patch0000644000000000000000000000266611706574650016617 0ustar Author: Andreas Tille Date: Sat, 21 Jan 2012 15:15:57 +0100 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 --- mpj-v0_38.orig/build.xml +++ mpj-v0_38/build.xml @@ -79,7 +79,7 @@ depends="generateJava"> @@ -190,7 +190,7 @@ + value="log4j-1.2.11.jar javax.servlet.jar"/> @@ -273,7 +273,7 @@ + classpath="${lib.dir}/javax.servlet.jar:${lib.dir}/wrapper.jar:${lib.dir}/log4j-1.2.11.jar"> debian/watch0000644000000000000000000000022212015766561010224 0ustar version=3 opts="uversionmangle=s/_/./g,dversionmangle=s/\+dfsg//" \ http://sf.net/mpjexpress/mpj-v(.+)\.zip \ debian debian/get-orig-source debian/changelog0000644000000000000000000000155012205652323011041 0ustar 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 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 ) Closes: #684159 -- Andreas Tille Mon, 17 Dec 2012 14:10:59 +0100 mpj (0.38~dfsg-1) unstable; urgency=low * Initial release (Closes: #656790) -- Andreas Tille Sat, 21 Jan 2012 15:15:57 +0100 debian/libmpj-java.jlibs0000644000000000000000000000001411706543641012411 0ustar lib/mpj.jar debian/compat0000644000000000000000000000000212205652222010362 0ustar 9 debian/control0000644000000000000000000000173412205652307010600 0ustar Source: mpj Maintainer: Debian Med Packaging Team Uploaders: Andreas Tille Section: java Priority: optional Build-Depends: debhelper (>= 9), javahelper, default-jdk (>= 1:1.6), ant, liblog4j1.2-java, libservice-wrapper-java Standards-Version: 3.9.4 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.