[babl] build: Use 'rsvg-convert' instead of 'rsvg'



commit c348b9e8fd920ea47b9405242baa33f5fcb101f1
Author: Jon Nordby <jononor gmail com>
Date:   Wed Aug 1 12:47:00 2012 +0200

    build: Use 'rsvg-convert' instead of 'rsvg'
    
    rsvg was made obsolete a long time ago by rsvg-convert, and
    was removed in librsvg 2.35.2. rsvg-convert is available
    from at least librsvg 2.26.2 (Debian Squeeze).

 configure.ac              |    2 +-
 docs/graphics/Makefile.am |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f53eb37..b0697ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,7 +166,7 @@ CFLAGS="$CFLAGS $extra_warnings"
 
 fi
 
-AC_PATH_PROG(RSVG, rsvg, no)
+AC_PATH_PROG(RSVG, rsvg-convert, no)
 AM_CONDITIONAL(HAVE_RSVG, test "x$RSVG" != "xno")
 
 AC_PATH_PROG(W3M, w3m, no)
diff --git a/docs/graphics/Makefile.am b/docs/graphics/Makefile.am
index 746b0ce..f201be6 100644
--- a/docs/graphics/Makefile.am
+++ b/docs/graphics/Makefile.am
@@ -22,7 +22,7 @@ MAINTAINERCLEANFILES = $(PNG_FILES)
 all: $(MAINTAINERCLEANFILES)
 
 RSVG_CMD = echo -n " SVG: $@" ;\
-  $(RSVG) $< $ \
+  $(RSVG) -o $@ $< \
     &&\
       echo " [OK]"\
     ||\
@@ -40,7 +40,7 @@ dist-check-rsvg:
 # 0.0
 babl-a4poster.png: babl-a4poster.svg
 	echo -n " SVG: $@" ;\
-	$(RSVG) -w 256 $< $ \
+	$(RSVG) -w 256 -o $@ $< \
 	  &&\
 	    echo " [OK]"\
 	  ||\



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