LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File tango-icon-theme-extras-rsvg-2_35_2.patch of Package tango-icon-theme (Project openSUSE:Factory)

Index: tango-icon-theme-extras-0.1.1/configure.ac
===================================================================
--- tango-icon-theme-extras-0.1.1.orig/configure.ac
+++ tango-icon-theme-extras-0.1.1/configure.ac
@@ -68,7 +68,7 @@ if test "x$enable_large_bitmaps" = "xyes
    PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
                     [enable_large_bitmaps=yes], [enable_large_bitmaps=no])
    if test "x$enable_large_bitmaps" = "xyes"; then
-      svgconvert_prog="rsvg"
+      svgconvert_prog="rsvg-convert"
    else
       svgconvert_prog="ksvgtopng"
    fi
Index: tango-icon-theme-extras-0.1.1/svg2png.sh.in
===================================================================
--- tango-icon-theme-extras-0.1.1.orig/svg2png.sh.in
+++ tango-icon-theme-extras-0.1.1/svg2png.sh.in
@@ -8,11 +8,13 @@ if [ ! -z "${ICONTEST}" ]; then
 fi
 
 ICONNAME=`echo ${3} | sed -e "s/.svg//"`
-if test `basename $SVGCONVERT` = "rsvg"; then
+if test `basename $SVGCONVERT` = "rsvg-convert"; then
     OPTIONS="-w ${1} -h ${1}"
+    OUTPUT="-o"
 else
     OPTIONS="${1} ${1}"
+    OUTPUT=""
 fi
 
 
-${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
+${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png