[pacman-dev] [PATCH] Add support for the xz archive format

Xavier shiningxc at gmail.com
Tue May 19 09:56:26 EDT 2009


On Wed, May 13, 2009 at 10:00 AM, Xavier <shiningxc at gmail.com> wrote:
>
> To sum up the problems I expect :
> * xdelta will be inefficient with xz packages since it does not recognize it
> * when it recognizes it, the sync.c code will need to be updated.
>

The good part is that it is very easy to add xz support to xdelta,
just a one line patch :
http://bbs.archlinux.org/viewtopic.php?pid=552545#p552545

Also we do not have the same problem than with gzip timestamps. the
md5sum of the patched file is identical without any tricks. I wonder
about bzip2.

In any cases, the sync.c code will needs to be patched, and maybe it
is possible to do it now by reworking the code a bit, to support both
the current and future situation.


More information about the pacman-dev mailing list