Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94567 - Summary mode patch for media-gfx/optipng
Summary: Summary mode patch for media-gfx/optipng
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Tavis Ormandy (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-05-30 17:33 UTC by René Rhéaume (a.k.a. repzilon, rener)
Modified: 2005-07-10 02:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Summary mode patch for optipng 0.4.7 (optipng-0.4.7-summary-mode-r3.patch,9.41 KB, patch)
2005-05-30 17:39 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details | Diff
Modified 0.4.7 ebuild (optipng-0.4.7-r1.ebuild,942 bytes, text/plain)
2005-05-30 17:44 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details
Summary mode patch for optipng 0.4.8 (optipng-0.4.8-summary-mode.patch,9.45 KB, patch)
2005-05-30 17:47 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume (a.k.a. repzilon, rener) 2005-05-30 17:33:42 UTC
Default output from optipng is verbose and not suitable for batch PNG image
recompression. I made this patch which adds -s (for -summary) to the available
command line options. Using this option, the output becomes similar to the
programs that comprise app-arch/advancecomp, i.e. original size (bytes),
recompressed size (bytes), ratio (%), file name, optimal compression settings
between parenthesis all on one line per file.

Reproducible: Didn't try
Steps to Reproduce:
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2005-05-30 17:39:12 UTC
Created attachment 60224 [details, diff]
Summary mode patch for optipng 0.4.7
Comment 2 René Rhéaume (a.k.a. repzilon, rener) 2005-05-30 17:44:15 UTC
Created attachment 60226 [details]
Modified 0.4.7 ebuild

This ebuild contains the epatch command (obviously) and also support for the
mmx USE flag, so that the embedded libpng is built with MMX optimizations. You
just have to use makefile.gcmmx instead of makefile.gcc.
Comment 3 René Rhéaume (a.k.a. repzilon, rener) 2005-05-30 17:47:44 UTC
Created attachment 60227 [details, diff]
Summary mode patch for optipng 0.4.8

Optipng 0.4.8 was released on 2005-05-10. The 0.4.7 patch does not apply
cleanly because of changes from upstream. That is why I prepared a patch for
0.4.8.

There is no change to the ebuild between 0.4.7 and 0.4.8. A simple copy will
do.
Comment 4 Tavis Ormandy (RETIRED) gentoo-dev 2005-05-31 16:13:48 UTC
Hi rener, have you considered sending this patch upstream? I'll consider adding 
it to the gentoo package, but deviating from upstream can create additional 
maintainance load.

Regarding adding mmx, I did enable this at one point, but received reports of 
unreliable results.

I'll bump optipng to 0.4.8.
Comment 5 Tavis Ormandy (RETIRED) gentoo-dev 2005-07-10 02:16:51 UTC
Resolving WONTFIX, patch looks good but should be submitted upstream for 
inclusion in their package.