Your message dated Fri, 12 Oct 2007 15:24:34 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
and subject line
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: imagej
Version: 1.39b-1
Severity: grave
Tags: patch
I'm excited that ImageJ is finally going to be in Debian!
Unfortunately the current version of the startup script
doesn't work, making the software unusable.
The problem is on line 51 of /usr/bin/imagej. Because
JAVACMD is not defined, running the script terminates with
this error message:
$ /usr/bin/imagej
Starting Imagej with default 128m
/usr/bin/imagej: line 51: -Dplugins.dir=/home/andrel/.imagej: No such file or
directory
The attached patch fixes the problem, and also avoids
spewing error messages about trying to re-symlink macros.
This patch does *not* change the interpreter from /bin/bash
to /bin/sh, though as far as I can tell that should work.
--Andre
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today!
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
--- /usr/bin/imagej 2007-08-02 11:16:11.000000000 -0400
+++ imagej 2007-08-23 11:46:25.000000000 -0400
@@ -25,7 +25,7 @@
done
for p in $(ls /usr/share/imagej/macros) ; do
- if [ ! -h $PLUGINSDIR/macro/$p ] ; then
+ if [ ! -h $PLUGINSDIR/macros/$p ] ; then
ln -s /usr/share/imagej/macros/$p $PLUGINSDIR/macros/$p
fi
done
@@ -43,12 +43,7 @@
# ok now run ImageJ or ...
if [ "$JAVA_HOME" ] ; then
- #$JAVA_HOME/bin/java -Xmx$MEMORY''m -Dplugins.dir=$PLUGINSDIR -cp /usr/share/java/ij.jar:$JAVA_HOME/lib/tools.jar ij.ImageJ
- #$JAVA_HOME/bin/java -Dplugins.dir=$PLUGINSDIR -cp /usr/share/java/ij.jar:$JAVA_HOME/lib/tools.jar ij.ImageJ
- #I've modified my local copy so that the execution of JAVACMD
- #includes a $*. This is useful for passing extra arguments to
- #java, especially -mx (Mike Miller)
- $JAVACMD -Dplugins.dir=$PLUGINSDIR -cp /usr/share/java/ij.jar:$JAVA_HOME/lib/tools.jar $* ij.ImageJ
+ $JAVA_HOME/bin/java -Xmx$MEMORY''m -Dplugins.dir=$PLUGINSDIR -cp /usr/share/java/ij.jar:$JAVA_HOME/lib/tools.jar ij.ImageJ
else
echo "No JVM found to run ImageJ"
echo "Please apt-get install a JVM to run ImageJ or "
--- End Message ---
--- Begin Message ---
changed the imagej.sh script
--- End Message ---