[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r826 - in trunk: checks debian



Author: rra
Date: 2007-02-27 08:53:04 +0100 (Tue, 27 Feb 2007)
New Revision: 826

Modified:
   trunk/checks/po-debconf
   trunk/debian/changelog
Log:
* checks/po-debconf:
  + [RA] Now that we're passing --use-untranslated to msgcmp, we have to
    compare the generated pot file with the one in the package both
    directions to catch all out of date errors.  Thanks, Thomas
    Huriaux.  (Closes: #402662)

Modified: trunk/checks/po-debconf
===================================================================
--- trunk/checks/po-debconf	2007-02-27 07:37:27 UTC (rev 825)
+++ trunk/checks/po-debconf	2007-02-27 07:53:04 UTC (rev 826)
@@ -109,7 +109,8 @@
 	if ($missing_files == 0) {
 		$ENV{"INTLTOOL_EXTRACT"} ||= "/usr/share/intltool-debian/intltool-extract";
 		system_env("cd debfiles/po && /usr/share/intltool-debian/intltool-update --gettext-package=test --pot");
-		system_env("/usr/bin/msgcmp --use-untranslated debfiles/po/test.pot debfiles/po/templates.pot >/dev/null 2>&1") == 0
+		system_env("/usr/bin/msgcmp --use-untranslated debfiles/po/test.pot debfiles/po/templates.pot >/dev/null 2>&1"
+                           . "&& /usr/bin/msgcmp --use-untranslated debfiles/po/templates.pot debfiles/po/test.pot >/dev/null 2>&1") == 0
                 	or tag "newer-debconf-templates";
 	}
 } else {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-02-27 07:37:27 UTC (rev 825)
+++ trunk/debian/changelog	2007-02-27 07:53:04 UTC (rev 826)
@@ -34,6 +34,11 @@
   * checks/nmu.desc:
     + [RA] List the exact phrases recognized by lintian as marking an NMU.
       Reported by Jari Aalto.  (Closes: #409108)
+  * checks/po-debconf:
+    + [RA] Now that we're passing --use-untranslated to msgcmp, we have to
+      compare the generated pot file with the one in the package both
+      directions to catch all out of date errors.  Thanks, Thomas
+      Huriaux.  (Closes: #402662)
   * checks/scripts{.desc,}:
     + [RA] update-inetd is now its own package and netbase may not always
       depend on it.  Update the check to require a dependency on



Reply to: