[gnoduino] Use rsvg-convert instead of rsvg



commit 054e23bf5b844ae48c09b39e06f0b7110f6b26ea
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Oct 15 12:10:40 2011 +0200

    Use rsvg-convert instead of rsvg
    
    When depending on librsvg for the build, rsvg-convert is installed
    while rsvg might not be.

 scripts/gen-pixmaps.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/scripts/gen-pixmaps.sh b/scripts/gen-pixmaps.sh
index a2072bf..40b78e4 100755
--- a/scripts/gen-pixmaps.sh
+++ b/scripts/gen-pixmaps.sh
@@ -2,11 +2,11 @@
 
 for F in `ls pixmaps/*.svg | grep -v gnoduino`
 do
-        rsvg --format=png --width=25 --height=25 ${F} `echo ${F} | sed -e 's#.svg#.png#'`
+    rsvg-convert --format=png --width=25 --height=25 -o `echo ${F} | sed -e 's#.svg#.png#'` ${F}
 done
 
 for F in `ls pixmaps/*.svg | grep gnoduino`
 do
-	rsvg --format=png --width=48 --height=48 ${F} `echo ${F} | sed -e 's#.svg#.png#'`
+    rsvg-convert --format=png --width=48 --height=48 -o `echo ${F} | sed -e 's#.svg#.png#'` ${F}
 done
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]