--- configure.ac 2009-02-13 11:26:05.163719908 +0100 +++ configure.ac-peach 2009-02-13 11:26:44.184721740 +0100 @@ -132,8 +132,8 @@ CFLAGS="$CFLAGS $extra_warnings" -AC_PATH_PROG(INKSCAPE, inkscape, no) -AM_CONDITIONAL(HAVE_INKSCAPE, test "x$INKSCAPE" != "xno") +AC_PATH_PROG(RSVG, rsvg, no) +AM_CONDITIONAL(HAVE_RSVG, test "x$RSVG" != "xno") AC_PATH_PROG(W3M, w3m, no) AM_CONDITIONAL(HAVE_W3M, test "x$W3M" != "xno") --- docs/graphics/Makefile.am 2009-02-13 11:26:05.386720946 +0100 +++ docs/graphics/Makefile.am-peach 2009-02-13 11:26:33.320720867 +0100 @@ -1,6 +1,6 @@ .SILENT: -if HAVE_INKSCAPE +if HAVE_RSVG PNG_FILES = \ babl-a4poster.png \ babl-16x16.png \ @@ -21,35 +21,34 @@ all: $(MAINTAINERCLEANFILES) -INKSCAPE_CMD = echo -n " SVG: $@" ;\ - $(INKSCAPE) -e $@ $< 2&>/dev/null\ +RSVG_CMD = echo -n " SVG: $@" ;\ + $(RSVG) $< $@\ &&\ echo " [OK]"\ ||\ echo " FAIL" -if HAVE_INKSCAPE -dist-check-inkscape: +if HAVE_RSVG +dist-check-rsvg: %.png: %.svg - $(INKSCAPE_CMD) -#-e $@ $< 2>/dev/null + $(RSVG_CMD) # the png version of the a4 poster is used as a webgraphic # , thus it is rendered with the background alpha set to # 0.0 babl-a4poster.png: babl-a4poster.svg echo -n " SVG: $@" ;\ - $(INKSCAPE) -e $@ $< -w 256 -y 0 2&>/dev/null\ + $(RSVG) -w 256 $< $@\ &&\ echo " [OK]"\ ||\ echo " FAIL" else -dist-check-inkscape: - @echo "*** inkscape must be available in order to make dist" +dist-check-rsvg: + @echo "*** rsvg must be available in order to make dist" @false endif -dist-hook: dist-check-inkscape +dist-hook: dist-check-rsvg