[SCM] Debian package checker branch, master, updated. 2.5.7-19-gd11d4ab
The following commit has been merged in the master branch:
commit 5a301f8f157e2812b0c9146b8c0f6d839358f548
Author: Felix Geyer <debfx-pkg@fobos.de>
Date: Tue May 15 12:13:43 2012 +0200
Exclude animations from icon-size-and-directory-name-mismatch check
They contain the icon for each frame so naturally are larger than
the directory name size.
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/files b/checks/files
index e99fa41..70d62a1 100644
--- a/checks/files
+++ b/checks/files
@@ -918,7 +918,7 @@ foreach my $file (@{$info->sorted_index}) {
tag 'python-module-in-wrong-location', @correction if (@correction);
}
- if ($file =~ m,/icons/[^/]+/(\d+x\d+)/.*\.png$,) {
+ if ($file =~ m,/icons/[^/]+/(\d+x\d+)/(?!animations/).*\.png$,) {
my ($dsize, $fsize) = ($1);
$info->file_info->{$file} =~ m/,\s*(\d+)\s*x\s*(\d+)\s*,/;
$fsize = $1.'x'.$2;
--
Debian package checker
Reply to: