use liblzma-dev to provide xz/lzma support
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 12 Mar 2014 13:39:18 +0000 (14:39 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 13 Mar 2014 13:00:38 +0000 (14:00 +0100)
commit7f350a377e0c65a656b9b5437e27d037fd742901
treeda88009c697866f376cdbcd39dabc381b29ca9ba
parent0ec6b98b24939100a6d4c333abe5bc62a4455f9f
use liblzma-dev to provide xz/lzma support

We have xz/lzma support for a while, but only via an external binary
provided by xz-utils. Now that the Debian archive provides xz by default
and dpkg pre-depends on the library provided by liblzma-dev we can switch
now to use this library as well to avoid requiring an external binary.
For now the binary is in a prio:required package, but this might change
in the future.

API wise it is quiet similar to bz2 code expect that it doesn't provide
file I/O methods, so we piece this together on our own.
apt-pkg/aptconfiguration.cc
apt-pkg/contrib/fileutl.cc
apt-pkg/makefile
buildlib/config.h.in
buildlib/environment.mak.in
configure.ac
debian/control