Attached is the patch for this NMU which I just uploaded in unstable. --
diff -Nru gtktrain-0.9b.old/debian/changelog gtktrain-0.9b/debian/changelog
--- gtktrain-0.9b.old/debian/changelog 2006-10-28 15:00:03.848929258 +0200
+++ gtktrain-0.9b/debian/changelog 2006-11-04 09:42:50.659267388 +0100
@@ -1,3 +1,17 @@
+gtktrain (0.9b-9.2) unstable; urgency=low
+
+ * Non-maintainer upload to fix longstanding l10n issues
+ * Remove the debconf note which is abuse. Move the information
+ to README.Debian. Closes: #388900
+ This also removes the need to depend on "debconf | debconf-2.0"
+ Closes: #331844
+ This also removes the need for translations.
+ Closes: #260998, #319264, #330392, #344054
+ * Quote strings in menu. Thanks, lintian.
+ * No mor einclude upstream ChangeLog file...which is empty.
+
+ -- Christian Perrier <[EMAIL PROTECTED]> Sat, 4 Nov 2006 09:39:45 +0100
+
gtktrain (0.9b-9.1) unstable; urgency=low
* Non-maintainer upload.
diff -Nru gtktrain-0.9b.old/debian/config gtktrain-0.9b/debian/config
--- gtktrain-0.9b.old/debian/config 2006-10-28 15:00:03.848929258 +0200
+++ gtktrain-0.9b/debian/config 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-. /usr/share/debconf/confmodule
-
-db_input medium gtktrain/get-train-schedule || true
-
-db_go
diff -Nru gtktrain-0.9b.old/debian/control gtktrain-0.9b/debian/control
--- gtktrain-0.9b.old/debian/control 2006-10-28 15:00:03.848929258 +0200
+++ gtktrain-0.9b/debian/control 2006-10-28 15:03:27.946426975 +0200
@@ -7,7 +7,7 @@
Package: gtktrain
Architecture: any
-Depends: ${shlibs:Depends}, debconf
+Depends: ${shlibs:Depends}
Description: The train-routing calculator with GTK interface
gtktrain is a program to calculate the shortest route from a train
station to another in consideration of time and distance. It tells you
diff -Nru gtktrain-0.9b.old/debian/menu gtktrain-0.9b/debian/menu
--- gtktrain-0.9b.old/debian/menu 2006-10-28 15:00:03.848929258 +0200
+++ gtktrain-0.9b/debian/menu 2006-11-04 09:38:12.261184715 +0100
@@ -1,2 +1,2 @@
-?package(gtktrain):needs=X11 section=Apps/Tools\
+?package(gtktrain):needs="X11" section="Apps/Tools"\
title="gtktrain" command="/usr/bin/gtktrain"
diff -Nru gtktrain-0.9b.old/debian/po/fr.po gtktrain-0.9b/debian/po/fr.po
--- gtktrain-0.9b.old/debian/po/fr.po 2006-10-28 15:00:03.848929258 +0200
+++ gtktrain-0.9b/debian/po/fr.po 1970-01-01 01:00:00.000000000 +0100
@@ -1,67 +0,0 @@
-#
-#
-#
-#
-#. 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.
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2004-02-17 10:30-0800\n"
-"PO-Revision-Date: 2004-02-27 18:52+0100\n"
-"Last-Translator: Christian Perrier <[EMAIL PROTECTED]>\n"
-"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid "You need (possibly non-free) train schedule data"
-msgstr "Horaires de chemins de fer (�ventuellement non libres) indispensables"
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid ""
-"gtktrain (and its backend libtrain library) needs train schedule data. As "
-"far as I know, only Japanese train data are available for the time being."
-msgstr ""
-"Gtktrain et la biblioth�que libtrain ont besoin de donn�es horaires de "
-"chemins de fer. � ce jour, seules les donn�es relatives aux chemins de fer "
-"japonais semblent disponibles."
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid ""
-"Unfortunately, that train schedule data are released under a rather "
-"restrictive license so that I can't include them in this package. You have "
-"to get them by yourself from:"
-msgstr ""
-"Malheureusement, ces donn�es sont publi�es avec une licence d'utilisation "
-"plut�t restrictive et il n'est pas possible de les inclure dans ce paquet. "
-"Vous devez les r�cup�rer vous-m�me � l'adresse suivante�:"
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid "http://www.oohito.com/data/train/index.htm (written in Japanese)"
-msgstr "http://www.oohito.com/data/train/index.htm (page en japonais)"
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid ""
-"And follow the steps described in /usr/share/doc/libtrain1/README.Debian."
-msgstr ""
-"Vous pourrez ensuite suivre les �tapes d�crites dans /usr/share/doc/"
-"libtrain1/README.Debian."
diff -Nru gtktrain-0.9b.old/debian/po/POTFILES.in
gtktrain-0.9b/debian/po/POTFILES.in
--- gtktrain-0.9b.old/debian/po/POTFILES.in 2006-10-28 15:00:03.848929258
+0200
+++ gtktrain-0.9b/debian/po/POTFILES.in 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-[type: gettext/rfc822deb] templates
diff -Nru gtktrain-0.9b.old/debian/po/templates.pot
gtktrain-0.9b/debian/po/templates.pot
--- gtktrain-0.9b.old/debian/po/templates.pot 2006-10-28 15:00:03.848929258
+0200
+++ gtktrain-0.9b/debian/po/templates.pot 1970-01-01 01:00:00.000000000
+0100
@@ -1,61 +0,0 @@
-#
-# 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-17 10:30-0800\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n"
-"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid "You need (possibly non-free) train schedule data"
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid ""
-"gtktrain (and its backend libtrain library) needs train schedule data. As "
-"far as I know, only Japanese train data are available for the time being."
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid ""
-"Unfortunately, that train schedule data are released under a rather "
-"restrictive license so that I can't include them in this package. You have "
-"to get them by yourself from:"
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid "http://www.oohito.com/data/train/index.htm (written in Japanese)"
-msgstr ""
-
-#. Type: note
-#. Description
-#: ../templates:3
-msgid ""
-"And follow the steps described in /usr/share/doc/libtrain1/README.Debian."
-msgstr ""
diff -Nru gtktrain-0.9b.old/debian/README.Debian
gtktrain-0.9b/debian/README.Debian
--- gtktrain-0.9b.old/debian/README.Debian 2006-10-28 15:00:03.848929258
+0200
+++ gtktrain-0.9b/debian/README.Debian 2006-10-28 15:03:04.242252726 +0200
@@ -1,7 +1,17 @@
gtktrain for Debian
-------------------
+gtktrain (and its backend libtrain library) needs train schedule data. As
+far as I know, only Japanese train data are available for the time being.
-Before use this, you might want to read libtrain documentation (installed as
-/usr/share/doc/libtrain1/README.Debian).
+Unfortunately, that train schedule data are released under a rather
+restrictive license so that I can't include them in this package. You
+have to get them by yourself from:
- -- Masayuki Hatta <[EMAIL PROTECTED]>, Thu, 11 Apr 2002 01:33:13 +0900
+http://www.oohito.com/data/train/index.htm (written in Japanese)
+
+And follow the steps described in /usr/share/doc/libtrain1/README.Debian.
+
+Before use this, you might want to read libtrain documentation
+(installed as /usr/share/doc/libtrain1/README.Debian).
+
+ -- Christian Perrier <[EMAIL PROTECTED]>, Sat, 28 Oct 2006 15:03:04 z
diff -Nru gtktrain-0.9b.old/debian/rules gtktrain-0.9b/debian/rules
--- gtktrain-0.9b.old/debian/rules 2006-10-28 15:00:03.848929258 +0200
+++ gtktrain-0.9b/debian/rules 2006-11-04 10:21:08.436120832 +0100
@@ -78,7 +78,6 @@
binary-arch: build install
dh_testdir
dh_testroot
- dh_installdebconf
dh_installdocs
# dh_installexamples
dh_installmenu
@@ -90,7 +89,9 @@
# dh_installcron
# dh_installman
dh_installinfo
- dh_installchangelogs ChangeLog
+# Upstream changelog is empty?
+# dh_installchangelogs ChangeLog
+ dh_installchangelogs
dh_link
dh_strip
dh_compress
diff -Nru gtktrain-0.9b.old/debian/templates gtktrain-0.9b/debian/templates
--- gtktrain-0.9b.old/debian/templates 2006-10-28 15:00:03.848929258 +0200
+++ gtktrain-0.9b/debian/templates 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-Template: gtktrain/get-train-schedule
-Type: note
-_Description: You need (possibly non-free) train schedule data
- gtktrain (and its backend libtrain library) needs train schedule data. As
- far as I know, only Japanese train data are available for the time being.
- .
- Unfortunately, that train schedule data are released under a rather
- restrictive license so that I can't include them in this package. You
- have to get them by yourself from:
- .
- http://www.oohito.com/data/train/index.htm (written in Japanese)
- .
- And follow the steps described in /usr/share/doc/libtrain1/README.Debian.
signature.asc
Description: Digital signature

