tag 311435 + patch
unblock 311435 by 364295
unblock 192827 by 364295
kthxbye

Hi,

D. Goel wrote in 2005:
> Package: xdiskusage
> Version: 1.48-4
> Severity: normal
> 
> I also tried this with version 1.48-5. 
> 
> xdiskusage -a ~/ causes this error "output does not look like du output"
> 
> I have no funny mounts in ~/
> 
> Digging, the problem seems to happen because some lines in the du
> output changes the terminal's character encoding.  (pardon my poor
> terminology) causing the terminal output to become all funny.

I suspect that "funny" means that UTF-8 characters are displayed as if
they were ISO-Latin-1, i.e. "ö" (o with two umlaut dots above) becomes
"ö" (capital A with tilda and a [end-of-]paragraph sign).

If that's the case, using FLTK 1.3 instead 1.1 solves the issue for
me (the patch below is actually from before the current NMU):

--- xdiskusage-1.48/debian/changelog    2010-04-04 12:16:28.000000000 +0200
+++ xdiskusage-1.48/debian/changelog    2011-08-01 13:07:14.000000000 +0200
@@ -1,3 +1,9 @@
+xdiskusage (1.48-10.1) unstable; urgency=low
+
+  * Build against FLTK 1.3; fixes displaying UTF-8 filenames(Closes: #311435)
+
+ -- Axel Beckert <a...@debian.org>  Mon, 01 Aug 2011 13:07:14 +0200
+
 xdiskusage (1.48-10) unstable; urgency=low
 
   * Support disk >4.3TB from upstream cvs rev1.22 (Closes: #555323)
diff -Nru xdiskusage-1.48/debian/control xdiskusage-1.48/debian/control
--- xdiskusage-1.48/debian/control      2010-03-30 15:24:57.000000000 +0200
+++ xdiskusage-1.48/debian/control      2011-08-01 13:07:26.000000000 +0200
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: Thierry Randrianiriana <randrianiri...@gmail.com>
-Build-Depends: debhelper (>= 6), libfltk1.1-dev (>= 1.1.3-2.1), 
libglu1-mesa-dev, libx11-dev, libxinerama-dev, quilt (>= 0.40)
+Build-Depends: debhelper (>= 6), libfltk1.3-dev, libglu1-mesa-dev, libx11-dev, 
libxinerama-dev, quilt (>= 0.40)
 Standards-Version: 3.8.4
 Homepage: http://xdiskusage.sourceforge.net/

Nevertheless this doesn't fix http://bugs.debian.org/192827 (Printing
doesn't manage non-ASCII characters) so far.

But maybe the following entry from the list of new features in FLTK
1.3 helps to fix #192827: "Added printing support (Fl_Printer class
and friends) for native printing on Windows and Mac OS X, PostScript
printing on X11 with CUPS or lp, and PostScript file output on all
platforms". See also http://www.fltk.org/doc-1.3/classFl__Printer.html

I hence remove the "blocked by" references to the FLTK 2.x RFP
(http://bugs.debian.org/364295) with this mail.

> Specifically, some file in xdiskusage -a ~/.gnome/accels/ causes this.
> (This directory tends to contain weirdly named files).  

JFTR: Neither ~/.gnome/accels nor ~/.gnome2/accels nor
~/.config/*/accels contains such files for me, so I can't use that as
test example.

P.S. to Thierry: I read in http://bugs.debian.org/668201 that you're
quite busy currently. Do you want someone to co-maintain the package?
I already maintain two other FLTK applications, flwm and dillo, so
FLTK is anything but new to me.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to