Ticket #45281: configure.ac-and-svg2png.sh.in.diff
File configure.ac-and-svg2png.sh.in.diff, 1.2 KB (added by Tom.Schoonjans@…, 10 years ago) |
---|
-
tango-icon-theme-0.8.90
old new if test "x$enable_large_bitmaps" = "xyes 82 82 PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3], 83 83 [enable_large_bitmaps=yes], [enable_large_bitmaps=no]) 84 84 if test "x$enable_large_bitmaps" = "xyes"; then 85 svgconvert_prog="rsvg "85 svgconvert_prog="rsvg-convert" 86 86 else 87 87 svgconvert_prog="ksvgtopng" 88 88 fi -
tango-icon-theme-0.8.90
old new fi 9 9 10 10 ICONFILE=`basename ${3}` 11 11 ICONNAME=`echo ${ICONFILE} | sed -e "s/.svg//"` 12 if test `basename $SVGCONVERT` = "rsvg "; then12 if test `basename $SVGCONVERT` = "rsvg-convert"; then 13 13 OPTIONS="-w ${1} -h ${1}" 14 OUTPUT="-o" 14 15 else 15 16 OPTIONS="${1} ${1}" 17 OUTPUT="" 16 18 fi 17 19 18 20 echo "${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png" 19 ${SVGCONVERT} ${OPTIONS} ${3} ${ 2}/${ICONNAME}.png21 ${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png