[pacman-dev] [PATCH] Allow xdelta options to be set per package.

Nathan Jones nathanj at insightbb.com
Thu Nov 8 16:36:08 EST 2007

On Thu, Nov 08, 2007 at 01:46:34PM -0600, Aaron Griffin wrote:
> On Nov 8, 2007 1:37 PM, Nathan Jones <nathanj at insightbb.com> wrote:
> > Setting xdelta (or !xdelta) in the options array in a PKGBUILD will
> > override the makepkg.conf setting.
> So this means we can generate deltas on a package by package basis,
> like for OpenOffice or the like, correct?
> The reason I ask is... well, if it's per-package now, do we really
> need a buildenv option for this as well?

If a person maintains 100 packages and decides to start creating deltas,
I would think he would prefer to add xdelta to makepkg.conf rather than
to 100 different PKGBUILDs.

In regards to the patch, I looked back through makepkg and noticed that
check_option checks the PKGBUILD first then makepkg.conf. I was thinking
that check_option only checked the PKGBUILD. I might resubmit the patch
after I test it.

More information about the pacman-dev mailing list