Package: conserver
Severity: normal
Tags: patch l10n

Last changes to the debconf templates of conserver revealed that problem.
Even though PO files in debian/po are complete, they indeed do not fit the
templates source file anymore. This can be seen by running the following:

$ msgfmt -o /dev/null debian/po/fr.po
16 translated messages
Stats: 16 translated messages
$ debconf-updatepo
$ msgfmt -o /dev/null debian/po/fr.po
Stats: 15 translated messages, 1 fuzzy translation.

This is because nothing takes care to update the contents of debian/po if
changes are emade to templates. Of course, if you run debconf-updatepo
manually, everything is fine, but that doesn't scale very well.

As a consequence, the i18n team recommends running debconf-updatepo in the
clean target of your debian/rules files.

See the attached patch. Please note that I also added the build dependency
on po-debconf which is implied by that patch.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-2-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
--- rules.old   2007-01-04 07:56:05.597910311 +0100
+++ rules       2007-01-04 07:56:19.365999415 +0100
@@ -50,6 +50,8 @@
        # Add here commands to clean up after the build process.
        -$(MAKE) distclean
 
+       debconf-updatepo
+
        dh_clean
 
 install: DH_OPTIONS=
--- control.old 2007-01-04 07:51:58.000000000 +0100
+++ control     2007-01-04 07:56:32.030082109 +0100
@@ -2,7 +2,7 @@
 Section: non-free/comm
 Priority: optional
 Maintainer: Joergen Haegg <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4), po-debconf, libpam0g-dev, libwrap0-dev, 
libssl-dev
+Build-Depends: debhelper (>= 4), po-debconf, libpam0g-dev, libwrap0-dev, 
libssl-dev, po-debconf
 Standards-Version: 3.6.2.2
 
 Package: conserver-server

Reply via email to