Ticket #45282: 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-extras-0.1.1

    old new if test "x$enable_large_bitmaps" = "xyes 
    6868   PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
    6969                    [enable_large_bitmaps=yes], [enable_large_bitmaps=no])
    7070   if test "x$enable_large_bitmaps" = "xyes"; then
    71       svgconvert_prog="rsvg"
     71      svgconvert_prog="rsvg-convert"
    7272   else
    7373      svgconvert_prog="ksvgtopng"
    7474   fi
  • tango-icon-theme-extras-0.1.1

    old new if [ ! -z "${ICONTEST}" ]; then 
    88fi
    99
    1010ICONNAME=`echo ${3} | sed -e "s/.svg//"`
    11 if test `basename $SVGCONVERT` = "rsvg"; then
     11if test `basename $SVGCONVERT` = "rsvg-convert"; then
    1212    OPTIONS="-w ${1} -h ${1}"
     13    OUTPUT="-o"
    1314else
    1415    OPTIONS="${1} ${1}"
     16    OUTPUT=""
    1517fi
    1618
    1719
    18 ${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
     20${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png