aboutsummaryrefslogtreecommitdiff
path: root/repos/xorg/tango-icon-theme-extras/rsvg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/xorg/tango-icon-theme-extras/rsvg.patch')
-rw-r--r--repos/xorg/tango-icon-theme-extras/rsvg.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/repos/xorg/tango-icon-theme-extras/rsvg.patch b/repos/xorg/tango-icon-theme-extras/rsvg.patch
deleted file mode 100644
index 1644c191..00000000
--- a/repos/xorg/tango-icon-theme-extras/rsvg.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- configure.ac 2006-01-10 23:22:31.000000000 +0100
-+++ configure.ac.patched 2016-02-11 12:30:25.093357000 +0100
-@@ -55,7 +55,7 @@
- fi
- fi
-
--# Check for rsvg or ksvgtopng for creating large scale bitmaps from svg
-+# Check for imagemagick for creating large scale bitmaps from svg
- AC_ARG_ENABLE(png-creation,
- AC_HELP_STRING([--enable-png-creation],
- [enable creating png images from svg [default=disabled]]),
-@@ -65,17 +65,13 @@
- SVGCONVERT=""
- AC_MSG_CHECKING([SVG to PNG conversion method])
- if test "x$enable_large_bitmaps" = "xyes"; then
-- PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
-+ PKG_CHECK_EXISTS([imagemagick],
- [enable_large_bitmaps=yes], [enable_large_bitmaps=no])
-- if test "x$enable_large_bitmaps" = "xyes"; then
-- svgconvert_prog="rsvg"
-- else
-- svgconvert_prog="ksvgtopng"
-- fi
-+ svgconvert_prog="convert"
- AC_MSG_RESULT([$svgconvert_prog])
- AC_PATH_PROG(SVGCONVERT, $svgconvert_prog)
- if test -z "$SVGCONVERT"; then
-- AC_MSG_ERROR([You need librsvg >= 2.12.3 or ksvgtopng installed to create large scale bitmaps])
-+ AC_MSG_ERROR([You need imagemagick installed to create large scale bitmaps])
- else
- enable_large_bitmaps=yes
- fi
---- svg2png.sh.in 2006-01-10 23:22:31.000000000 +0100
-+++ svg2png.sh.in.patched 2016-02-11 12:36:00.153362000 +0100
-@@ -8,11 +8,8 @@
- fi
-
- ICONNAME=`echo ${3} | sed -e "s/.svg//"`
--if test `basename $SVGCONVERT` = "rsvg"; then
-- OPTIONS="-w ${1} -h ${1}"
--else
-- OPTIONS="${1} ${1}"
--fi
-
-+OPTIONS="-background none"
-+OUTPUT="-resize ${1}x${1}"
-
--${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
-+${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png