Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] FYI: libpng16 won't be able to show some broken icons libpng15 was still able to
Date: Thu, 18 Apr 2013 18:25:06
Message-Id: 51703A47.4060304@gentoo.org
1 Short version:
2
3 If you see "PNG IDAT errors" like:
4
5 program: IDAT: invalid distance too far back `test1.png' @
6
7 WARNING **: Icon test1 missing: (0) Fatal error reading PNG image file:
8 Decompression error in IDAT
9
10 Then you should use >=media-gfx/pngcrush-1.7.57 built with
11 USE="-system-libs" to it's using libpng 1.5.15 to correct the IDAT in
12 the .png files using command:
13
14 $ pngcrush -fix -force old.png new.png
15
16 These bogus images were visible with libpng15 and earlier but now that
17 improved code was committed these bogus files stopped showing as a
18 side-effect. If I understood correct this is not going to be fixed in
19 the library itself. Caused by slightly bad combination of libpng and
20 zlib and some tool.
21
22 Long version:
23
24 http://bugs.gentoo.org/466190
25 http://bugzilla.gnome.org/show_bug.cgi?id=698286
26 + the ML links mentioned in the bugs
27
28 Figured this is useful for every maintainer to know.

Replies