tag 448094 + patch
thanks

Le vendredi 26 octobre 2007 à 00:36 +0200, Per Olofsson a écrit :
> Currently, dh_icons look only for png, svg and jpg format icons.
> However, according to the freedesktop.org icon theme specification:
> 
> "The image files must be one of the types: PNG, XPM, or SVG, and the
> extension must be ".png", ".xpm", or ".svg" (lower case)."[1]
> 
> Please add support for xpm icons, and maybe also remove jpg.

The attached trivial patch fixes the issue.

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
--- /usr/bin/dh_icons	2007-11-03 04:18:55.000000000 +0100
+++ dh_icons	2008-01-03 11:53:49.000000000 +0100
@@ -46,7 +46,7 @@
 			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$/);
 			}, "$icondir/$subdir" ;
 			push @dirlist, "$baseicondir/$subdir" if $needs_cache;
 		}

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to