blob: 6b71c38cb0f200060518c1eaf293881cf85d72bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
Index: tango-icon-theme-0.8.90/configure.ac
===================================================================
--- tango-icon-theme-0.8.90.orig/configure.ac
+++ tango-icon-theme-0.8.90/configure.ac
@@ -82,7 +82,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-0.8.90/svg2png.sh.in
===================================================================
--- tango-icon-theme-0.8.90.orig/svg2png.sh.in
+++ tango-icon-theme-0.8.90/svg2png.sh.in
@@ -9,12 +9,14 @@ fi
ICONFILE=`basename ${3}`
ICONNAME=`echo ${ICONFILE} | 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
echo "${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png"
-${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
+${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png
|