From 4baf952f552b421ff5c16578deee6db3f56c6e48 Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Sat, 11 Aug 2012 21:21:11 +1000 Subject: [PATCH] =?utf8?q?Switch=20from=20deprecated=20=E2=80=98rsvg(1)?= =?utf8?q?=E2=80=99=20to=20=E2=80=98rsvg-convert(1)=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- debian/changelog | 8 ++++++++ debian/patches/02-rsvg-convert.patch | 22 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 31 insertions(+) create mode 100644 debian/patches/02-rsvg-convert.patch diff --git a/debian/changelog b/debian/changelog index fc29c03..439b975 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +comixcursors (0.7.2-3) UNRELEASED; urgency=low + + * debian/patches/02-rsvg-convert.patch: + + Switch from deprecated ‘rsvg(1)’ to ‘rsvg-convert(1)’. + Closes: bug#666473. + + -- + comixcursors (0.7.2-2) unstable; urgency=low * The “Midgard serpent” release. diff --git a/debian/patches/02-rsvg-convert.patch b/debian/patches/02-rsvg-convert.patch new file mode 100644 index 0000000..df3e68d --- /dev/null +++ b/debian/patches/02-rsvg-convert.patch @@ -0,0 +1,22 @@ +Description: Switch from deprecated ‘rsvg(1)’ to ‘rsvg-convert(1)’. +Origin: Created to fix Debian bug#666473. +Author: Ben Finney +Last-Update: 2012-08-11 + +=== modified file 'bin/render-cursor-image' +--- old/bin/render-cursor-image 2010-06-02 11:53:50 +0000 ++++ new/bin/render-cursor-image 2012-08-11 07:10:46 +0000 +@@ -158,10 +158,10 @@ + local outfile="$2" + local size=$3 + +- rsvg --format png \ ++ rsvg-convert --format png \ + --dpi-x 72 --dpi-y 72 \ + --width $size --height $size \ +- "$infile" "$outfile" ++ "$infile" > "$outfile" + } + + function make_shadow_image { + diff --git a/debian/patches/series b/debian/patches/series index aa5e357..b4992ac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 01-custom-destdir.patch +02-rsvg-convert.patch -- 2.11.4.GIT