Author: tille Date: 2009-03-30 09:03:19 +0000 (Mon, 30 Mar 2009) New Revision: 3229
Modified: trunk/packages/imagej/trunk/debian/changelog trunk/packages/imagej/trunk/debian/control trunk/packages/imagej/trunk/debian/imagej.sh Log: Use dirname/readlink /usr/bin/java instead upf update-alternatives to obtain JVM New upstream version; unfortunately there seems to be a regression in Upstream code with JPEGEncoder so this package does not build Modified: trunk/packages/imagej/trunk/debian/changelog =================================================================== --- trunk/packages/imagej/trunk/debian/changelog 2009-03-30 08:24:44 UTC (rev 3228) +++ trunk/packages/imagej/trunk/debian/changelog 2009-03-30 09:03:19 UTC (rev 3229) @@ -1,3 +1,13 @@ +imagej (1.42l-1) UNRELEASED; urgency=low + + * New upstream version + * Standards-Version: 3.8.1 (no changes needed) + * Use dirname/readlink /usr/bin/java instead upf update-alternatives + to obtain JVM (Thanks to "Onkar Shinde" <[email protected]>) + Closes: #505315 + + -- Andreas Tille <[email protected]> Mon, 30 Mar 2009 10:13:09 +0200 + imagej (1.41n-1) unstable; urgency=low [ Andreas Tille ] Modified: trunk/packages/imagej/trunk/debian/control =================================================================== --- trunk/packages/imagej/trunk/debian/control 2009-03-30 08:24:44 UTC (rev 3228) +++ trunk/packages/imagej/trunk/debian/control 2009-03-30 09:03:19 UTC (rev 3229) @@ -6,7 +6,7 @@ Uploaders: Paolo Ariano <[email protected]>, Andreas Tille <[email protected]> Build-Depends: openjdk-6-jdk, cdbs, debhelper, ant, gif2png, debhelper (>= 5) -Standards-Version: 3.8.0 +Standards-Version: 3.8.1 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/imagej/trunk/?rev=0&sc=0 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/imagej/trunk/ Homepage: http://rsb.info.nih.gov/ij/ Modified: trunk/packages/imagej/trunk/debian/imagej.sh =================================================================== --- trunk/packages/imagej/trunk/debian/imagej.sh 2009-03-30 08:24:44 UTC (rev 3228) +++ trunk/packages/imagej/trunk/debian/imagej.sh 2009-03-30 09:03:19 UTC (rev 3229) @@ -26,7 +26,7 @@ ##################### DEFINE JAVA_HOME .DEB ##################### if [ -z "$JAVA_HOME" ] ; then - JAVA_HOME=$(/usr/sbin/update-java-alternatives -l | head -1 | cut -d' ' -f 3) + JAVA_HOME=$(dirname $(dirname $(readlink -e /usr/bin/java))) fi ##################### CREATE THE RIGHT ENVIRONMENT .DEB ##################### _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit
