Package: xz-utils Version: 5.1.1alpha+20120614-1 Severity: important Tags: patch
xz-utils/sid has been tracking the 5.1.y branch since the start of the wheezy cycle to help with that branch's stabilization, and although except for threading support that branch is quite stable, no official stable release has been cut from it. As a result, the packaged version of XZ Utils that will most likely be in wheezy has a confusingly alarming version number with "alpha" in the middle. An ideal fix would have been to improve documentation and polish enough that the current upstream version could be called "stable", but that won't help with wheezy anyway since we patch out the threading support. For now the best we can do is to clarify what patches have been applied that make the difference between upstream's alpha version and Debian's soon-to-be-stable one. Documenting the patches applied is a good practice, anyway (idea taken from Matthias's gcc packages).
From: Jonathan Nieder <jrnie...@gmail.com> Date: Wed, 4 Jul 2012 16:18:05 -0500 Subject: xz-utils/README.Debian: Document patches Given that we are packaging an alpha release, end-users and other distributors might wonder how a stable release is made out of that and how the packaged code differs from the original code. Add some words describing each patch to README.Debian to help such people, imitating the gcc packaging. This information does not go in the package description because it is more relevant when using the package than when deciding whether to install it. The package description already mentions that threads are not supported. Thanks to Andrew Pollock, Thorsten Glaser, and Lasse Collin for advice. --- debian/changelog | 6 ++++++ debian/xz-utils.README.Debian | 28 +++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8936da7..a69f889 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xz-utils (5.1.1alpha+20120614-1.1) unstable; urgency=low + + * xz-utils/README.Debian: Document differences from upstream. + + -- Jonathan Nieder <jrnie...@gmail.com> Fri, 17 Aug 2012 19:57:24 -0700 + xz-utils (5.1.1alpha+20120614-1) unstable; urgency=low * New snapshot, taken from upstream commit f1675f76. diff --git a/debian/xz-utils.README.Debian b/debian/xz-utils.README.Debian index 819be5c..b79248a 100644 --- a/debian/xz-utils.README.Debian +++ b/debian/xz-utils.README.Debian @@ -3,8 +3,9 @@ XZ Utils for Debian Contents: 1. History - 2. LZMA Utils compatibility - 3. Configuration + 2. Differences from standard XZ Utils + 3. LZMA Utils compatibility + 4. Configuration History ------- @@ -14,6 +15,27 @@ The old .lzma file format has some problems, worst of which is the lack of magic number, but it gets enough use to still need to be supported. See /usr/share/doc/xz-utils/history.txt.gz for the full story. +Differences from standard XZ Utils +---------------------------------- + +XZ Utils 5.1.y upstream has some experimental features which are +disabled in Debian to allow the interfaces to evolve. The Debian +package also modifies liblzma to avoid breakage when a binary links +indirectly to liblzma from Debian 6.0 (squeeze) and 7.0 (wheezy) at +the same time. + +abi-threaded-encoder: + Disable threaded compression in liblzma and xz. + +abi-version-script: + liblzma: Do not pretend to satisfy dependencies on XZ_5.1.2alpha. + +abi-liblzma2-compat, configure-liblzma2-compat: + liblzma: Do not check reserved space past the historical end of + the lzma_stream structure if liblzma.so.2 is loaded in the same + process image. Likewise when building statically. + (See bug #649522.) + LZMA Utils compatibility ------------------------ @@ -44,4 +66,4 @@ following to your environment (e.g., in ~/.profile): See the "Memory usage" section of the xz(1) manual page for details. - -- Jonathan Nieder <jrnie...@gmail.com> Fri, 18 May 2012 01:14:16 -0500 + -- Jonathan Nieder <jrnie...@gmail.com> Fri, 17 Aug 2012 23:37:47 -0700 -- 1.7.9.6 (Apple Git-31.1)