Your message dated Tue, 11 Nov 2008 16:02:20 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#457772: fixed in optipng 0.6.2-1
has caused the Debian Bug report #457772,
regarding optipng: less output in non-verbose mode should be kept on screen
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
457772: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457772
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: optipng
Version: 0.5.5-1
Severity: wishlist

IMHO, optipng outputs too much useless information, e.g. lines
of the form:

  zc = 1  zm = 9  zs = 2  f = 5         IDAT too big

so that it is more difficult to notice useful information. Such lines
should not be kept on screen, i.e. OptiPNG should output a "\r" instead
of a "\n" after "IDAT too big". See the attached patch (I've tried it
only with upstream source). Note that:

  * The "IDAT too big" from the previous line is not erased (one
    can see that as a feature, meaning that the previous line gave
    "IDAT too big").

  * When redirecting the output to a file, the \r will still be
    sent instead of \n. This makes the result consistent with
    what one gets on a terminal, but one may want to detect if
    the output is on a terminal and choose to output either a \r
    or a \n (however, when redirecting stdout to a file, one may
    prefer the -v option, for which \n is always output).

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-5-powerpc
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages optipng depends on:
ii  libc6                   2.7-4            GNU C Library: Shared libraries
ii  libpng12-0              1.2.15~beta5-3   PNG library - runtime
ii  zlib1g                  1:1.2.3.3.dfsg-7 compression library - runtime

optipng recommends no packages.

-- no debconf information
--- src/optipng.c.bak   2007-01-28 18:25:00.000000000 +0100
+++ src/optipng.c       2007-12-25 14:55:18.000000000 +0100
@@ -1257,8 +1257,12 @@
                               {
                                  opng_printf(" ... abandoned at ");
                                  opng_progress();
+                                 opng_printf("\n");
+                              }
+                              else
+                              {
+                                 opng_printf("\r");
                               }
-                              opng_printf("\n");
                               continue;
                            }
                            opng_printf("IDAT size = %lu\n",
@@ -1897,6 +1901,7 @@
    int result;
 
    memset(&global, 0, sizeof(global));
+   setvbuf(stdout, (char *) NULL, _IONBF, 0);
 
    Try
    {

--- End Message ---
--- Begin Message ---
Source: optipng
Source-Version: 0.6.2-1

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

optipng_0.6.2-1.diff.gz
  to pool/main/o/optipng/optipng_0.6.2-1.diff.gz
optipng_0.6.2-1.dsc
  to pool/main/o/optipng/optipng_0.6.2-1.dsc
optipng_0.6.2-1_i386.deb
  to pool/main/o/optipng/optipng_0.6.2-1_i386.deb
optipng_0.6.2.orig.tar.gz
  to pool/main/o/optipng/optipng_0.6.2.orig.tar.gz



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.
Nelson A. de Oliveira <[EMAIL PROTECTED]> (supplier of updated optipng 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.8
Date: Tue, 11 Nov 2008 13:26:52 -0200
Source: optipng
Binary: optipng
Architecture: source i386
Version: 0.6.2-1
Distribution: experimental
Urgency: low
Maintainer: Nelson A. de Oliveira <[EMAIL PROTECTED]>
Changed-By: Nelson A. de Oliveira <[EMAIL PROTECTED]>
Description: 
 optipng    - advanced PNG (Portable Network Graphics) optimizer
Closes: 457772
Changes: 
 optipng (0.6.2-1) experimental; urgency=low
 .
   * New upstream release;
   * Fix broken link /usr/share/doc/optipng/changelog.gz;
   * OptiPNG now produces a less verbose output (Closes: #457772).
Checksums-Sha1: 
 9aa86e14c09031ff3574aedffa21259498388d13 1023 optipng_0.6.2-1.dsc
 758247cf1169886a4ed401890136ec70b3aa7864 114384 optipng_0.6.2.orig.tar.gz
 f7742a0f8348b496d283773b8189b0cae79f8551 3124 optipng_0.6.2-1.diff.gz
 a1d972bab533e46a9c07e242c43fd7957e6a243b 80670 optipng_0.6.2-1_i386.deb
Checksums-Sha256: 
 0e440e3f36ebcffa950adb72224a5b7e65bf3e127c5ed38ff590ea32e5d18b48 1023 
optipng_0.6.2-1.dsc
 ee2f84b85f5903cbe204b4aa48826d9d48a0a214ed609ee463375ab2f6980c5a 114384 
optipng_0.6.2.orig.tar.gz
 8f0f4a2447bdf6555752c5aeec7d090abaacf585cad5b80754ddb742d3d6699c 3124 
optipng_0.6.2-1.diff.gz
 254fd6bf9a88f4b7ccffa6094819449675bf9abebd411da190dead950b52a376 80670 
optipng_0.6.2-1_i386.deb
Files: 
 5e7e37244481b84c8a3ce3650115f203 1023 graphics optional optipng_0.6.2-1.dsc
 1c273df8a34f4a9f1bdd725ff007aab6 114384 graphics optional 
optipng_0.6.2.orig.tar.gz
 315fee7cd74f31b5ba033d42c8be70cb 3124 graphics optional optipng_0.6.2-1.diff.gz
 8bf810ae5a2d4d10e51207116d496bf4 80670 graphics optional 
optipng_0.6.2-1_i386.deb

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

iEYEARECAAYFAkkZqYUACgkQAQwuptkwlkThaQCffBJ5sPAhTMhEtumV0caOov8j
I+wAnRdkr+0pGxDxm/ju/5lVZkfekeAw
=7VV/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to