[SCM] hydrogen/master: Replace rsvg with rsvg-convert to convert SVG to PNG image.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sat Feb 18 16:45:22 UTC 2012


The following commit has been merged in the master branch:
commit 4941ed8ee3146cc233bb197d83ddcdf74410e1cd
Author: Alessio Treglia <alessio at debian.org>
Date:   Sat Feb 18 17:44:14 2012 +0100

    Replace rsvg with rsvg-convert to convert SVG to PNG image.
    
    - Future versions of librsvg won't provide the 'rsvg' tool anymore.
    
    LP: #935170

diff --git a/debian/rules b/debian/rules
index f6a5f72..1be7f85 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,7 @@ clean::
 imgstub = data/img/gray/h2-icon
 common-build-arch::
 	#inkscape -z -e$(imgstub).png -D -w32 -h32 --export-area-snap $(imgstub).svg
-	rsvg -w32 -h32 $(imgstub).svg $(imgstub).png
+	rsvg-convert -w 32 -h 32 -f png -o $(imgstub).png $(imgstub).svg
 	pngtopnm -alpha $(imgstub).png > $(imgstub).alpha.pgm
 	pngtopnm $(imgstub).png | ppmtoxpm -alphamask=$(imgstub).alpha.pgm > $(imgstub).xpm
 	rm -f $(imgstub).png $(imgstub).alpha.pgm

-- 
hydrogen packaging



More information about the pkg-multimedia-commits mailing list