Bug#172579: xfree86: do not call debconf2po-update in debian/rules
On Tue, Dec 10, 2002 at 09:02:38PM -0500, Branden Robinson wrote:
> On Wed, Dec 11, 2002 at 01:43:56AM +0100, Denis Barbier wrote:
> > despite your comments in debian/rules and debian/changelog, I am pretty
> > sure that running debconf2po-update in debian/rules is meaningless.
> > You might want to call it in order to update PO files, but
> > xserver-xfree86-dbg has nothing to do with it. Here is a patch.
> > If you find some behaviour changes, please let me know.
>
> How does po-debconf know those templates belong to the
> xserver-xfree86-dbg package otherwise?
Templates and PO files are merged by po2debconf. This script parses
debian/po/*.po files, and then reads the file given as argument.
This file is supposed to be a master templates file in the new format,
i.e. lines in the form
Field: value
are kept unchanged and
_Field: value
lines are processed to display original and l10n'ed fields.
No checks are performed on this file and on its name, it could also
be stdin in a future version.
Passing the right file to po2debconf is done automagically by
dh_installdebconf.
Denis
Reply to: