Hi! Since we probably will have to fix the files coming out of tarballs until the various upstreams have fixed them, I propose running a PNG fixer during or after the install phase. Since having pngcrush as dep for everything is not exactly lightweight, I hacked together a PNG file fixer in pure(ish, see below) Python:
http://git.schwarzvogel.de/?p=pngfixer;a=summary Feel free to send patches Note that all I wrote is the mind-numbingly simple pngfixer.py script. The rest of the Python code is excised from PIL (http://www.pythonware.com/products/pil/index.htm). I didn't have to change anything there. Also note that it is not _strictly_ pure Python I'm using: the PIL components use Python's zlib.so and therefore are subject to bugs in _that_ code. Still needed: - How do we ship this? - How do we run it for every ebuild? (probably something like find /var/tmp/portage/.../image/ -iname \*.png -exec {...}\;) Regards, Tobias