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)

patch file

  • tango-icon-theme-0.8.90

    old new if test "x$enable_large_bitmaps" = "xyes 
    8282   PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
    8383                    [enable_large_bitmaps=yes], [enable_large_bitmaps=no])
    8484   if test "x$enable_large_bitmaps" = "xyes"; then
    85       svgconvert_prog="rsvg"
     85      svgconvert_prog="rsvg-convert"
    8686   else
    8787      svgconvert_prog="ksvgtopng"
    8888   fi
  • tango-icon-theme-0.8.90

    old new fi 
    99
    1010ICONFILE=`basename ${3}`
    1111ICONNAME=`echo ${ICONFILE} | sed -e "s/.svg//"`
    12 if test `basename $SVGCONVERT` = "rsvg"; then
     12if test `basename $SVGCONVERT` = "rsvg-convert"; then
    1313    OPTIONS="-w ${1} -h ${1}"
     14    OUTPUT="-o"
    1415else
    1516    OPTIONS="${1} ${1}"
     17    OUTPUT=""
    1618fi
    1719
    1820echo "${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png"
    19 ${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
     21${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png