Bug#235166: marked as done (libmail-bulkmail-perl: Please switch to gettext-based debconf templates)

Debian Bug Tracking System owner at bugs.debian.org
Tue Oct 4 10:03:19 UTC 2005


Your message dated Tue, 04 Oct 2005 02:47:07 -0700
with message-id <E1EMjO7-0002kv-00 at spohr.debian.org>
and subject line Bug#235166: fixed in libmail-bulkmail-perl 3.12-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Feb 2004 18:29:25 +0000
>From mquinson at ens-lyon.fr Fri Feb 27 10:29:25 2004
Return-path: <mquinson at ens-lyon.fr>
Received: from pompone.cs.ucsb.edu [128.111.45.35] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Awmjl-0002jh-00; Fri, 27 Feb 2004 10:29:25 -0800
Received: from [128.111.45.152] (helo=localhost ident=mail)
	by pompone.cs.ucsb.edu with asmtp (Exim 3.35 #1 (Debian))
	id 1Awmjj-0000n5-00; Fri, 27 Feb 2004 10:29:23 -0800
Received: from mquinson by localhost with local (Exim 3.36 #1 (Debian))
	id 1Awaay-0003DQ-00; Thu, 26 Feb 2004 21:31:32 -0800
Content-Type: multipart/mixed; boundary="===============2056901983=="
MIME-Version: 1.0
From: Martin Quinson <Martin.Quinson at tuxfamily.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: libmail-bulkmail-perl: Please switch to gettext-based debconf templates
X-Mailer: reportbug 2.39
Date: Thu, 26 Feb 2004 21:31:31 -0800
Message-Id: <E1Awaay-0003DQ-00 at localhost>
Sender: Martin Quinson <mquinson at ens-lyon.fr>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_27 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_02_27
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============2056901983==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: libmail-bulkmail-perl
Version: n/a
Severity: wishlist
Tags: patch l10n


Using the "new" gettext format for debconf templates helps for templates
translations. For instance, detecting outdated or untranslated strings 
becomes considerably easier. It also keeps track of who did which
translation.

The attached patch does the required modifications :
- debian/control modification for dependencies (see below)
- execute "debconf-gettextize debian/*templates*" 
- mark the right strings as translatable in the templates (see below)
- fix the style of the template (see below)

If you want to reproduce this by yourself instead of applying the
patch, you have to do:

- install po-debconf on your system
- go to the debian directory
- read man po-debconf..:-)
- run "debconf-gettextize *.templates"
- read the output
- change Build-Depends or Build-Depends-Indep (see below)
  They should list "debhelper (>= 4.1.16)" (debhelper depends upon 
  po-debconf) since you use debhelper. 
- update the templates file to mark as translatable only the fields
  which should (ie, not the one containing stuff which cannot be
  translated such as kernel module name, and neither the one not
  shown to the users)

For more details, see po-debconf documentation, especially "man 7
po-debconf"

Read this if you're concerned with backports :
--------------------------------------------

Please note that the suggested modifications will make your
package a little bit harder to backport to earlier Debian releases. If
this is a concern to you, you may try to adopt the method used by the
openssh package and detailed by Colin Watson in
http://lists.debian.org/debian-i18n/2003/debian-i18n-200307/msg00026.html

This patch does not includes this method as this would make it too
invasive, IMHO. So, preserving backportability is up to you...

The rest of the story :
---------------------
While I was working on the convertion to po-debconf, I noticed that the
templates of your package may be easily improved by applying the advices
contained at the following address:

http://people.debian.org/~bubulle/dtsg.txt

I would really appreciate if you could have a look at this, and apply
the advices it contains, such as improving long descriptions to make them
understandable even by the newbies users.

I fixed the blatant error consisting of mixing short description and long
one. But more improvements are possible. Don't get me wrong, I don't want to
criticize, I just want to get the template in a translatable state (ie, kind
of definitive).

Once the switch is achieved, and the style improvement are done, I 
guess that you will receive translations of your templates rather soon. You
may consider asking on the debian-i18n at lists.debian.org mailing list for
translations once you think that your templates are in a sort of final state
where they won't be modified in the near future.


Thanks for helping the translators, and thus your non english speaker
end-users. 

Bye, Mt.



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux galadriel 2.4.22 #1 ven nov 21 16:02:19 CET 2003 i686
Locale: LANG=fr_FR.ISO-8859-1, LC_CTYPE=fr_FR.ISO-8859-1


--===============2056901983==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="/home/mquinson/src/diff-switch-libmail-bulkmail-perl"

diff -ruN libmail-bulkmail-perl-3.12.ori/debian/control libmail-bulkmail-perl-3.12/debian/control
--- libmail-bulkmail-perl-3.12.ori/debian/control	2004-02-26 21:23:39.000000000 -0800
+++ libmail-bulkmail-perl-3.12/debian/control	2004-02-26 21:27:12.000000000 -0800
@@ -4,7 +4,7 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Marc Brockschmidt <marc at dch-faq.de>, Joachim Breitner <nomeata at debian.org>
 Standards-Version: 3.6.1
-Build-Depends: debhelper (>= 4)
+Build-Depends: debhelper (>= 4.1.16)
 Build-Depends-Indep: perl (>= 5.6.0-16)
 
 Package: libmail-bulkmail-perl
diff -ruN libmail-bulkmail-perl-3.12.ori/debian/libmail-bulkmail-perl.templates libmail-bulkmail-perl-3.12/debian/libmail-bulkmail-perl.templates
--- libmail-bulkmail-perl-3.12.ori/debian/libmail-bulkmail-perl.templates	2004-02-26 21:23:39.000000000 -0800
+++ libmail-bulkmail-perl-3.12/debian/libmail-bulkmail-perl.templates	2004-02-26 21:27:22.000000000 -0800
@@ -1,7 +1,9 @@
 Template: libmail-bulkmail-perl/changes
 Type: note
-Description: In 3.09, the config file has changed incompatibly from that in 
- 2.05. (The old format was a Debian-specific patch.  Upstream chose a
- different format.)  Also there have been some architectural changes.
- See /usr/share/doc/libmail-bulkmail-perl/migration.guide.txt and the
- files in /usr/share/doc/libmail-bulkmail-perl/examples.
+_Description: Configuration file format changed!
+ In 3.09, the config file has changed incompatibly from that in 2.05. (The
+ old format was a Debian-specific patch.  Upstream chose a different
+ format.)  Also there have been some architectural changes.
+ .
+ See /usr/share/doc/libmail-bulkmail-perl/migration.guide.txt and the files
+ in /usr/share/doc/libmail-bulkmail-perl/examples.
diff -ruN libmail-bulkmail-perl-3.12.ori/debian/po/POTFILES.in libmail-bulkmail-perl-3.12/debian/po/POTFILES.in
--- libmail-bulkmail-perl-3.12.ori/debian/po/POTFILES.in	1969-12-31 16:00:00.000000000 -0800
+++ libmail-bulkmail-perl-3.12/debian/po/POTFILES.in	2004-02-26 21:27:22.000000000 -0800
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] libmail-bulkmail-perl.templates
diff -ruN libmail-bulkmail-perl-3.12.ori/debian/po/templates.pot libmail-bulkmail-perl-3.12/debian/po/templates.pot
--- libmail-bulkmail-perl-3.12.ori/debian/po/templates.pot	1969-12-31 16:00:00.000000000 -0800
+++ libmail-bulkmail-perl-3.12/debian/po/templates.pot	2004-02-26 21:27:22.000000000 -0800
@@ -0,0 +1,48 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2004-02-26 21:27-0800\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../libmail-bulkmail-perl.templates:3
+msgid "Configuration file format changed!"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../libmail-bulkmail-perl.templates:3
+msgid ""
+"In 3.09, the config file has changed incompatibly from that in 2.05. (The "
+"old format was a Debian-specific patch.  Upstream chose a different "
+"format.)  Also there have been some architectural changes."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../libmail-bulkmail-perl.templates:3
+msgid ""
+"See /usr/share/doc/libmail-bulkmail-perl/migration.guide.txt and the files "
+"in /usr/share/doc/libmail-bulkmail-perl/examples."
+msgstr ""

--===============2056901983==--

---------------------------------------
Received: (at 235166-close) by bugs.debian.org; 4 Oct 2005 09:48:03 +0000
>From katie at spohr.debian.org Tue Oct 04 02:48:03 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EMjO7-0002kv-00; Tue, 04 Oct 2005 02:47:07 -0700
From: Joachim Breitner <nomeata at debian.org>
To: 235166-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#235166: fixed in libmail-bulkmail-perl 3.12-2
Message-Id: <E1EMjO7-0002kv-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Tue, 04 Oct 2005 02:47:07 -0700
Delivered-To: 235166-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: libmail-bulkmail-perl
Source-Version: 3.12-2

We believe that the bug you reported is fixed in the latest version of
libmail-bulkmail-perl, which is due to be installed in the Debian FTP archive:

libmail-bulkmail-perl_3.12-2.diff.gz
  to pool/main/libm/libmail-bulkmail-perl/libmail-bulkmail-perl_3.12-2.diff.gz
libmail-bulkmail-perl_3.12-2.dsc
  to pool/main/libm/libmail-bulkmail-perl/libmail-bulkmail-perl_3.12-2.dsc
libmail-bulkmail-perl_3.12-2_all.deb
  to pool/main/libm/libmail-bulkmail-perl/libmail-bulkmail-perl_3.12-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 235166 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Breitner <nomeata at debian.org> (supplier of updated libmail-bulkmail-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  4 Oct 2005 11:36:06 +0200
Source: libmail-bulkmail-perl
Binary: libmail-bulkmail-perl
Architecture: source all
Version: 3.12-2
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Changed-By: Joachim Breitner <nomeata at debian.org>
Description: 
 libmail-bulkmail-perl - Platform independent mailing list module
Closes: 235166 331364
Changes: 
 libmail-bulkmail-perl (3.12-2) unstable; urgency=low
 .
   * Remove the debconf message, we don't support woody->etch upgrades
     (Closes: #331364 and Closes: #235166, sorry to Daniel Nylander <yeager at lidkoping.net>
     and  Martin Quinson <martin.quinson at imag.fr> for not using their work)
   * remove debconf dependency and debconf debhelper
   * Bump Standards version, no change
Files: 
 5efa864510b40fec9228cc5caef8522d 884 perl optional libmail-bulkmail-perl_3.12-2.dsc
 ff05d6d876191bd9526036b261cdea97 3640 perl optional libmail-bulkmail-perl_3.12-2.diff.gz
 ebddff49460e3bd62e78496bc65b16a8 132286 perl optional libmail-bulkmail-perl_3.12-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQCVAwUBQ0JNbL8Zfhn2SkeXAQJFHAP/cENfZMSyEAEFB83JnP3UZugKqu8gfTGE
4zz7i7MaWikyu8gmsgou9nfGMGCQYv8A8sfXxyn0L/NRTu40xw7l2kahLUr7ZCfw
+KVklBQd7jpr7ek/XYC1OzCdEJsLMJKa6v+neoCO7ycZwN7wxnbkdcoS34NmYlzP
L68Qbp5eNcI=
=3ulf
-----END PGP SIGNATURE-----




More information about the pkg-perl-maintainers mailing list