From 9ce9e30c584de00dff711c5f69e2da85184d04d6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Apr 2008 16:41:30 -0400 Subject: dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and also, for compleness, support .icon files. This matches the set of extensions supported by gtk-update-icon-cache. Closes: #448094 --- debian/changelog | 8 ++++++++ dh_icons | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 40dc133e..76e06707 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debhelper (6.0.12) UNRELEASED; urgency=low + + * dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and + also, for compleness, support .icon files. This matches the set of + extensions supported by gtk-update-icon-cache. Closes: #448094 + + -- Joey Hess Sat, 19 Apr 2008 16:38:43 -0400 + debhelper (6.0.11) unstable; urgency=medium * dh_installman: man --recode transparently uncompresses compressed diff --git a/dh_icons b/dh_icons index 3cf3d262..355a85bc 100755 --- a/dh_icons +++ b/dh_icons @@ -46,7 +46,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { next if $subdir =~ /^\./; my $needs_cache = 0; find sub { - $needs_cache = 1 if -f and (/\.png$/ or /\.svg$/ or /\.jpg$/); + $needs_cache = 1 if -f and (/\.png$/ or /\.svg$/ or /\.xpm$/ or /\.icon$/); }, "$icondir/$subdir" ; push @dirlist, "$baseicondir/$subdir" if $needs_cache; } -- cgit v1.2.3