[SCM] Debian package checker branch, master, updated. 2.2.5-18-gf8064af
The following commit has been merged in the master branch:
commit 0b9601aec0bb036382ad98baf12dfebd03a8a382
Author: Russ Allbery <rra@debian.org>
Date: Fri Feb 13 15:56:18 2009 -0800
Add change log and test case for icon size mismatch
Also tweak the tag description just a little.
diff --git a/checks/files.desc b/checks/files.desc
index 1e51bbe..35cc247 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -955,5 +955,6 @@ Info: This package appears to include a font file that is already provided
Tag: icon-size-and-directory-name-mismatch
Severity: normal
Certainty: certain
-Info: The icon has a size that differs from the size specified by the name of
- the directory under which it was installed.
+Info: The icon has a size that differs from the size specified by the name
+ of the directory under which it was installed. The icon was probably
+ mistakenly installed into the wrong directory.
diff --git a/debian/changelog b/debian/changelog
index 6884b49..e4469e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+lintian (2.2.6) UNRELEASED; urgency=low
+
+ * Summary of tag changes:
+ + Added
+ - icon-size-and-directory-name-mismatch
+
+ * checks/files{,.desc}:
+ + [RA] Warn of PNG icons whose size doesn't match the size indicated
+ by the directory in which they're installed. Patch from Raphael
+ Geissert. (Closes: #509624)
+
+ -- Russ Allbery <rra@debian.org> Fri, 13 Feb 2009 15:48:50 -0800
+
lintian (2.2.5) unstable; urgency=low
* lib/Lintian/Collect/{Binary,Source}.pm:
diff --git a/t/tests/files-general/debian/debian/install b/t/tests/files-general/debian/debian/install
new file mode 100644
index 0000000..f484604
--- /dev/null
+++ b/t/tests/files-general/debian/debian/install
@@ -0,0 +1,2 @@
+lintian-16x16.png usr/share/apps/lintian/icons/hicolor/22x22
+lintian-22x22.png usr/share/apps/lintian/icons/hicolor/22x22
diff --git a/reporting/images/ico.png b/t/tests/files-general/debian/lintian-16x16.png
similarity index 100%
copy from reporting/images/ico.png
copy to t/tests/files-general/debian/lintian-16x16.png
diff --git a/t/tests/files-general/debian/lintian-22x22.png b/t/tests/files-general/debian/lintian-22x22.png
new file mode 100644
index 0000000..efc9af0
Binary files /dev/null and b/t/tests/files-general/debian/lintian-22x22.png differ
diff --git a/t/tests/files-general/desc b/t/tests/files-general/desc
new file mode 100644
index 0000000..6ed2685
--- /dev/null
+++ b/t/tests/files-general/desc
@@ -0,0 +1,5 @@
+Testname: files-general
+Sequence: 6000
+Version: 1.0
+Description: Test tags about file paths and names
+Test-For: icon-size-and-directory-name-mismatch
diff --git a/t/tests/files-general/tags b/t/tests/files-general/tags
new file mode 100644
index 0000000..6b3df73
--- /dev/null
+++ b/t/tests/files-general/tags
@@ -0,0 +1 @@
+W: files-general: icon-size-and-directory-name-mismatch usr/share/apps/lintian/icons/hicolor/22x22/lintian-16x16.png 16x16
--
Debian package checker
Reply to: