Your message dated Mon, 22 Oct 2007 21:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#438704: fixed in grun 0.9.2-14.1
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)

--- Begin Message ---
Package: grun
Version: 0.9.2-14
Severity: normal
Tags: patch l10n

When using locales other than C, translated strings are being passed
to Gtk functions in the locale's encoding, while gtk expects them to
be in utf-8. The attached patch ensures gettext will recode the
strings.

*This is not a complete patch*

The *po files included in the package *must* be fixed to correctly
declare their encoding, and the package's build system must ensure
that the *gmo files are rebuilt with that information. Otherwise
gettext will not have the necesary info to perform the recoding.

I can attest that the es.po file is encoded in ISO-8859-1. Someone with
knowdledge of the other languages present needs to determine the
encoding of the rest of the po files.

------------------------------[Patch]---------------------------------
diff -r a7e1f1d8c9ef grun.c
--- a/grun.c    Tue Aug 14 23:29:02 2007 -0500
+++ b/grun.c    Sun Aug 19 00:32:39 2007 -0500
@@ -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 @@ int PASCAL WinMain(HINSTANCE hInst, HINS
 #ifndef WIN32
        setlocale (LC_ALL, "");
        bindtextdomain (PACKAGE, LOCALEDIR);
+       bind_textdomain_codeset (PACKAGE, UTF8);
        textdomain (PACKAGE);
 #endif /* WIN32 */
  
------------------------------[/Patch]--------------------------------

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-3-k7 (SMP w/1 CPU core)
Locale: LANG=es_MX, LC_CTYPE=es_MX (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages grun depends on:
ii  libatk1.0-0                   1.18.0-2   The ATK accessibility toolkit
ii  libc6                         2.6-2      GNU C Library: Shared libraries
ii  libcairo2                     1.4.10-1   The Cairo 2D vector graphics libra
ii  libfontconfig1                2.4.2-1.2  generic font configuration library
ii  libglib2.0-0                  2.12.13-1  The GLib library of C routines
ii  libgtk2.0-0                   2.10.13-1  The GTK+ graphical user interface 
ii  libpango1.0-0                 1.16.5-1   Layout and rendering of internatio
ii  libx11-6                      2:1.1.1-1  X11 client-side library
ii  libxcursor1                   1:1.1.8-2  X cursor management library
ii  libxext6                      1:1.0.3-2  X11 miscellaneous extension librar
ii  libxfixes3                    1:4.0.3-2  X11 miscellaneous 'fixes' extensio
ii  libxi6                        2:1.1.2-1  X11 Input extension library
ii  libxinerama1                  1:1.0.2-1  X11 Xinerama extension library
ii  libxrandr2                    2:1.2.1-1  X11 RandR extension library
ii  libxrender1                   1:0.9.2-1  X Rendering Extension client libra

grun recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: grun
Source-Version: 0.9.2-14.1

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

grun_0.9.2-14.1.diff.gz
  to pool/main/g/grun/grun_0.9.2-14.1.diff.gz
grun_0.9.2-14.1.dsc
  to pool/main/g/grun/grun_0.9.2-14.1.dsc
grun_0.9.2-14.1_i386.deb
  to pool/main/g/grun/grun_0.9.2-14.1_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> (supplier of updated grun 
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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Mon, 24 Sep 2007 14:26:41 -0500
Source: grun
Binary: grun
Architecture: source i386
Version: 0.9.2-14.1
Distribution: unstable
Urgency: low
Maintainer: Oohara Yuuma <[EMAIL PROTECTED]>
Changed-By: Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]>
Description: 
 grun       - GTK based Run dialog
Closes: 438704
Changes: 
 grun (0.9.2-14.1) unstable; urgency=low
 .
   * NMU.
   * 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.
Files: 
 07f96702c74d2e0bf341bc7e76fea78e 647 x11 optional grun_0.9.2-14.1.dsc
 a0f817fd0f6603844204c69af26fef5a 142379 x11 optional grun_0.9.2-14.1.diff.gz
 05187c6138882005b12c5a80059b1b02 28964 x11 optional grun_0.9.2-14.1_i386.deb

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

iD8DBQFHFQMrFShl+2J8z5URAuAaAKCxVhuJGNo4qNa3OTbYMSj69zOfigCgqys6
BHkm2L2+ZWBq5h74fvRMzjE=
=EqHX
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to