Le dimanche 13 novembre 2005 à 22:22 +0000, Chris Cannam a écrit :

> I honestly can't remember -- what does rosegarden-lilypondview do if 
> xdialog isn't found?  It's probably supposed to work, but without the 
> progress meter.

No. A message is displayed on console, and nothing else.

Here is another patch that fixed the problem for me (and it works both
with and without Xdialog).

Bye

--- rosegarden-lilypondview.orig	2005-11-13 22:32:33.000000000 +0100
+++ rosegarden-lilypondview	2005-11-13 23:51:54.000000000 +0100
@@ -72,12 +72,7 @@
     if [ -z "$prog_xdialog" ]; then
 	# can't do graphical mode
 	echo "rosegarden-lilypondview: Graphical progress dialog requires Xdialog utility" 1>&2
-	command="$0 $@"
-	case "$command" in 
-	    /*) ;;
-	    *) command="`pwd`/$command";;
-	esac
-	exec "$prog_terminal" -e "$command" # run without graphical mode instead
+	graphical=""
     fi
 fi
 
@@ -167,7 +162,7 @@
 	    count=$(($bars * 7 / 3))
 	
 	    indev=/dev/pts/0
-	    if [ ! -f "$indev" ]; then indev=/dev/ptya0; fi
+	    if [ ! -c "$indev" ]; then indev=/dev/ptya0; fi
 
 	    $prog_lilypond $args "$base" <$indev 2>&1 | tee -a "$logfile" | \
 	      perl -e '

Reply via email to