File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -459,7 +459,12 @@ make_artwork()
459459 fi
460460 fi
461461 asserttool $inkscape
462- veval " $inkscape -z $svgsrc -w 1200 -o $pngtgt "
462+ inkscapemajorversion=` inkscape --version | cut -d' ' -f2 | cut -d' .' -f1`
463+ if [ inkscapemajorversion -ge 1 ]; then
464+ veval " $inkscape -z $svgsrc -w 1200 -o $pngtgt "
465+ else
466+ veval " $inkscape -z $svgsrc -w 1200 -e $pngtgt "
467+ fi
463468 fi
464469 else
465470 if [ " X$epssrc " = " X" ]; then
@@ -1528,7 +1533,6 @@ smoke_one()
15281533 appdir=` ls -1d $SYS_HOSTPREFIX /${SYS_APPNAME}${SYS_APPFIX} `
15291534 appexe=` ls -1 $SYS_HOSTPREFIX /${SYS_APPNAME}${SYS_APPFIX} /${SYS_APPNAME} `
15301535 appexelocal=" ./" ` basename $appexe `
1531- echo $appexelocal
15321536 if [ " X$appexe " = " X" ] || [ ! -x " $appexe " ]; then
15331537 smoke_result $smoker " **FAIL"
15341538 echo " ERROR: make failed"
@@ -1546,7 +1550,12 @@ smoke_one()
15461550 ) &
15471551 here=` pwd`
15481552 cd " $appdir "
1549- xvfb-run $appexelocal
1553+ if [ ` havetool xvfb-run` = yes ]; then
1554+ runapp=` xvfb-run $appexelocal `
1555+ else
1556+ runapp=` $appexelocal `
1557+ fi
1558+ $runapp
15501559 res=$?
15511560 cd $here
15521561 if [ $res = 0 ] || [ $res = 137 ]; then
You can’t perform that action at this time.
0 commit comments