program startup Reply-To: In-Reply-To: <[EMAIL PROTECTED]> I have created a complete patch for this bug. I will ask for sponsorship to upload this as an NMU in 7 days.
---------------------------------------------------------------------- diff -u grun-0.9.2/debian/changelog grun-0.9.2/debian/changelog --- grun-0.9.2/debian/changelog +++ grun-0.9.2/debian/changelog @@ -1,3 +1,13 @@ +grun (0.9.2-14.1) unstable; urgency=low + + * grun.c: Call bind_textdomain_codeset() to have gettext recode strings + to UTF-8. (Closes: #438704). + * po/*.po: Set ISO-8859-1 encoding headers. + * debian/rules: Remove po/*gmo files on configure, to force regenerating + with correct encoding headers. + + -- Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> Mon, 24 Sep 2007 14:26:41 -0500 + grun (0.9.2-14) unstable; urgency=low * grun.c: yet another fix of auto-completion (closes: #281334) diff -u grun-0.9.2/debian/rules grun-0.9.2/debian/rules --- grun-0.9.2/debian/rules +++ grun-0.9.2/debian/rules @@ -23,7 +23,7 @@ dh_testdir # Add here commands to configure the package. ./configure --with-default-xterm=x-terminal-emulator --enable-testfile --enable-associations --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info - + -rm po/*gmo touch configure-stamp build: configure-stamp build-stamp diff -u grun-0.9.2/config.guess grun-0.9.2/config.guess diff -u grun-0.9.2/config.sub grun-0.9.2/config.sub diff -u grun-0.9.2/grun.c grun-0.9.2/grun.c --- grun-0.9.2/grun.c +++ grun-0.9.2/grun.c @@ -40,6 +40,7 @@ #include "grun2.xpm" #if defined (HAVE_GETTEXT) || defined (HAVE_CATGETS) #include <libintl.h> +#define UTF8 "UTF-8" #else #include "intl/libintl.h" #endif @@ -1107,6 +1108,7 @@ #ifndef WIN32 setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); + bind_textdomain_codeset (PACKAGE, UTF8); textdomain (PACKAGE); #endif /* WIN32 */ only in patch2: unchanged: --- grun-0.9.2.orig/po/de.po +++ grun-0.9.2/po/de.po @@ -7,12 +7,12 @@ msgstr "" "Project-Id-Version: gRun 0.9.2\n" "POT-Creation-Date: 1999-02-06 15:28+0200\n" -"PO-Revision-Date: 1999-02-06 13:54+0200\n" +"PO-Revision-Date: 2007-09-24 14:24-0500\n" "Last-Translator: Dominik Brettnacher <[EMAIL PROTECTED]>\n" "Language-Team: Dominik Brettnacher <[EMAIL PROTECTED]>\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: ENCODING\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" #: grun.c:838 msgid "Choose Application" only in patch2: unchanged: --- grun-0.9.2.orig/po/es.po +++ grun-0.9.2/po/es.po @@ -2,17 +2,16 @@ # Copyright (C) 1999 Southern Gold Development # Esteban Manchado <[EMAIL PROTECTED]>, 1999. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: gRun 0.9.2\n" "POT-Creation-Date: 1999-02-06 15:28+0200\n" -"PO-Revision-Date: 1999-02-06 13:54+0200\n" +"PO-Revision-Date: 2007-09-21 19:51-0500\n" "Last-Translator: Esteban Manchado <[EMAIL PROTECTED]>\n" "Language-Team: Esteban Manchado <[EMAIL PROTECTED]>\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: ENCODING\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" #: grun.c:838 msgid "Choose Application" only in patch2: unchanged: --- grun-0.9.2.orig/po/fr.po +++ grun-0.9.2/po/fr.po @@ -7,12 +7,12 @@ msgstr "" "Project-Id-Version: gRun 0.9.2 \n" "POT-Creation-Date: 1999-02-06 15:28+0200\n" -"PO-Revision-Date: 1999-02-06 14:+0200\n" +"PO-Revision-Date: 2007-09-24 14:23-0500\n" "Last-Translator: Mathieu Lutfy <[EMAIL PROTECTED]>\n" "Language-Team: Mathieu Lutfy <[EMAIL PROTECTED]>\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: ENCODING\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" #: grun.c:838 msgid "Choose Application" only in patch2: unchanged: --- grun-0.9.2.orig/po/pt.po +++ grun-0.9.2/po/pt.po @@ -7,12 +7,12 @@ msgstr "" "Project-Id-Version: gRun 0.9.2\n" "POT-Creation-Date: 1999-02-06 15:28+0200\n" -"PO-Revision-Date: 1999-02-06 13:58+0200\n" +"PO-Revision-Date: 2007-09-24 14:23-0500\n" "Last-Translator: Frédéric L.W.Meunier <[EMAIL PROTECTED]>\n" "Language-Team: Frédéric L.W.Meunier <[EMAIL PROTECTED]>\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: ENCODING\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" #: grun.c:838 msgid "Choose Application" ---------------------------------------------------------------------- -- Rodrigo Gallardo GPG-Fingerprint: 7C81 E60C 442E 8FBC D975 2F49 0199 8318 ADC9 BC28
signature.asc
Description: Digital signature