Package: libdpkg-dev
Version: 1.19.2
Tags: patch

Please see the patch in my follow up email.

Ubuntu uses pkgbinarymangler by default to do several different tasks
to packages.

Test Case
-------------
I'd like to disable the png optimization when using sbuild to build
Ubuntu packages to speed up local test builds.

So I add this to my ~/.sbuildrc
$ENV{'NO_PNG_PKG_MANGLE'} = '1';

Currently, dpkg doesn't allow that environment variable to be passed
through so I would have to make this change in debian/rules directly.
I don't want to do that since it's fine for the official builds to
have that png optimization done.

Other Info
------------
This is partially documented at

http://manpages.ubuntu.com/manpages/pkgstriptranslations
http://manpages.ubuntu.com/manpages/pkgmaintainermangler

Unfortunately, there is no manpage provided for pkgstripfiles which is
the source of the two specific environment variables:
NO_PNG_PKG_MANGLE & NO_DOC_PKG_MANGLE

Thanks,
Jeremy Bicha

Reply via email to