]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and also, for compl...
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 19 Apr 2008 20:41:30 +0000 (16:41 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 19 Apr 2008 20:41:30 +0000 (16:41 -0400)
debian/changelog
dh_icons

index 40dc133e01d61bc73e344d0d548f2de1377a1831..76e06707d61feb5ff551d61df36379d1ec2b2a4d 100644 (file)
@@ -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 <joeyh@debian.org>  Sat, 19 Apr 2008 16:38:43 -0400
+
 debhelper (6.0.11) unstable; urgency=medium
 
   * dh_installman: man --recode transparently uncompresses compressed
index 3cf3d262d3c6178c78aefe0a21ab34ff7c08ecc1..355a85bc04dac4038f489d66915c404203ad9b2b 100755 (executable)
--- 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;
                }