Package: gnome-nds-thumbnailer Severity: normal Tags: patch The package gnome-nds-thumbnailer has a patch supplied. However, since there is no patch-hook in debian/rules, this patch won't ever get applied.
-- System Information: Architecture: i386 (i686) Kernel: Linux 2.6.28-11-generic (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nurp gnome-nds-thumbnailer-1.2.0/debian/rules gnome-nds-thumbnailer-1.2.0.new/debian/rules --- gnome-nds-thumbnailer-1.2.0/debian/rules 2009-04-06 15:40:20.000000000 +0200 +++ gnome-nds-thumbnailer-1.2.0.new/debian/rules 2009-04-06 15:31:11.000000000 +0200 @@ -1,3 +1,34 @@ #!/usr/bin/make -f %: dh $@ + +# Apply patches to the package +patch: + dh_testdir + @patches=debian/patches/*.patch; for patch in $$patches; do \ + test -f $$patch || continue; \ + echo "Applying $$patch"; \ + patch -stuN -p1 < $$patch || exit 1; \ + done + touch $@ + +# Remove patches from the package +unpatch: + dh_testdir + @if test -f patch-stamp; then \ + patches=debian/patches/*.patch; \ + for patch in $$patches; do \ + reversepatches="$$patch $$reversepatches"; \ + done; \ + for patch in $$reversepatches; do \ + test -f $$patch || continue; \ + echo "Reversing $$patch"; \ + patch -suRf -p1 < $$patch || exit 1; \ + done; \ + rm -f patch-stamp; \ + fi + +clean: unpatch + +build: patch +

