severity 411243 important
retitle 411243 Broken debconf templates
thanks

Thomas Huriaux <[EMAIL PROTECTED]> (17/02/2007):
> Your po-debconf infrastructure is completly broken. You should:
> - create a debian/po directory
> - add a debian/po/POTFILES.in with the line:
>   [type: gettext/rfc822deb] templates
> - fix your template according to the dev-ref, i.e. removing the
>   question from the long description.
> - run debconf-updatepo (and even better, add it the debian/rules clean
>   target to keep always up-to-date PO files in the source package) to
>   create the debian/po/templates.pot file.
> 
> This will fix the following lintian warning:
>   W: php4-idn source: not-using-po-debconf

I was going to fill a second bug for the broken debconf templates:
while installing your package,

debconf: Unknown template field '_description', in stanza #1 of
/var/lib/dpkg/info/php4-idn.templates

debconf: Unknown template field '_description', in stanza #2 of
/var/lib/dpkg/info/php4-idn.templates

and debconf displays an empty yes/no question.


However, after having a closer look at it, this is in fact the same
issue, as dh_installdebconf fails due to the missing debian/po/
directory and installs the initial template file instead of the
po2debconf-ized one.

This will therefore also fix the following lintian warnings:
  E: php4-idn: no-template-description php4/add_extension
  E: php4-idn: unknown-field-in-templates php4/add_extension _description
  W: php4-idn: malformed-question-in-templates php4/add_extension
  E: php4-idn: no-template-description php4/remove_extension
  E: php4-idn: unknown-field-in-templates php4/remove_extension _description
  W: php4-idn: malformed-question-in-templates php4/remove_extension

Cheers,

-- 
Thomas Huriaux

Attachment: signature.asc
Description: Digital signature

Reply via email to