ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #02525
Re: Speeding up sbuild / PPA / distro builds (optiPNG)
On Fri, Jun 21, 2013 at 07:46:51PM -0600, Adam Conrad wrote:
> On Fri, Jun 21, 2013 at 11:22:47PM +0200, Michał Sawicz wrote:
> >
> > Because of -o7 (slowest) we saved another 112kB, or 2%. Then, added
> > export NO_PNG_PKG_MANGLE=1 to debian/rules and voilá! that's a _lot_ of
> > our pandas' time saved.
>
> Please don't upload packages to the archive with NO_PNG_PKG_MANGLE set,
> optimizing PNGs isn't the only thing it does. Maybe we should have a
> second flag just for turning off PNG optimization, but the better answer
> for many (admittedly, not all) packages is to split PNGs into arch-indep
> packages, so they only build on i386.
It's been pointed out that I can't read. I saw NO_PNG_PKG_MANGLE as
NO_PKG_MANGLE, completely failing to notice that NO_PNG_PKG_MANGLE is
actually a real thing (thanks, Martin).
Ignore me. If you want to pre-optimize your PNGs and set the above
variable, by all means: do so. Forget the noise. :P
... Adam
References