Bug#553707: RFH: lzma -- future of Debian squashfs-lzma
reassign 553707 lzma-source 4.43-14
retitle 553707 please remove squashfs-lzma module (does not work with current kernel)
severity 553707 important
quit
Hi again,
Jonathan Nieder wrote:
> Good news: squashfs maintainer Phillip Lougher is pushing for
> LZMA support in squashfs 4.0 in the mainline kernel
[...]
> 1. How to support current users until an updated kernel enters sid?
squashfs xz landed in 2.6.38. Userspace arrived in Debian in
squashfs-tools 1:4.1-1.
[...]
> 2. Once squashfs 4 + lzma is available, is there a need to continue
> to support squashfs 3 + lzma?
No, unsquashfs takes care of that.
[...]
> 3. More generally, what do people use squashfs-lzma for, and what
> guarantees do they need in order to do it?
LiveCDs. Now that squashfs 4 is in mainline, the format is probably
going to remain supported for a while. Old formats were subject to
change from time to time but unsquashfs can be used to read the older
ones (all the way back to 1.x).
[...]
> I am hoping some squashfs-lzma user can explain how and perhaps take
> on the task of assuring it is well supported for squeeze.
So this is taken care of. It looks like what's left is to remove the
lzma-source package and perhaps lzma-dev (it has one declared
reverse-build-dependency --- chromium --- which I don't think actually
uses the headers). That way the rest of the package can be less scary
to modify. How about something like the following to start?
Thanks,
Jonathan
---
debian/changelog | 7 +++++++
debian/control | 18 ------------------
debian/rules | 20 --------------------
3 files changed, 7 insertions(+), 38 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4eb32b95..a5351a73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+lzma (4.43-14.1) local; urgency=low
+
+ * Drop lzma-source package. It doesn't work with current kernels
+ and SquashFS XZ is part of the standard kernel now.
+
+ -- Jonathan Nieder <jrnieder@gmail.com> Tue, 16 Aug 2011 03:53:31 -0500
+
lzma (4.43-14) unstable; urgency=low
* Bump Standards-Version to 3.8.0.
diff --git a/debian/control b/debian/control
index 05c617c1..8f348b77 100644
--- a/debian/control
+++ b/debian/control
@@ -44,24 +44,6 @@ Description: Compression method of 7z format in 7-Zip program - development file
This package contains the headers and libraries of lzma. It is
experimental and will be replaced by the library as soon as it is
available.
-
-Package: lzma-source
-Architecture: all
-Depends: module-assistant, debhelper (>> 4.0.0), bzip2, make, lzma-dev
-Description: Source for the lzma kernel module
- LZMA is a compression algorithm, based on the famous Lempel Ziv
- compression method.
- .
- The main characteristics of the algorithm are very good compression,
- fast decompression, use of lot of RAM for compression and low usage of
- RAM for decompression.
- .
- LZMA provides high compression ratio and very fast decompression, so it
- is very suitable for embedded applications. For example, it can be used
- for ROM (firmware) compression.
- .
- This package provides the source code for the lzma kernel modules.
- Kernel source and headers are required to compile these modules.
Package: lzma-alone
Architecture: any
diff --git a/debian/rules b/debian/rules
index c432919c..5d81ea55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,6 @@
SRC_DIR_C = C/7zip/Compress/LZMA_C
SRC_DIR_ALONE = C/7zip/Compress/LZMA_Alone
-MOD = $(SRC_DIR_C)/kmod/module.c $(SRC_DIR_C)/uncomp.c
DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -64,25 +63,6 @@ binary-indep: build install
dh_link -i
dh_compress -i
dh_fixperms -i
-
- # Create the temporary directory for lzma-source
- mkdir -m755 -p debian/modules/lzma/debian
-
- # Copy the source and header files
- install -m644 $(MOD) $(SRC_DIR_C)/LzmaDecode.c $(SRC_DIR_C)/kmod/Makefile \
- debian/modules/lzma
-
- # Copy the debian specific files
- install -m644 debian/changelog debian/compat debian/copyright \
- debian/control.modules.in debian/modules/lzma/debian
-
- # This rules file is specific to m-a
- install -m755 debian/rules.modules \
- debian/modules/lzma/debian/rules
-
- # Finally create the tarball which contains the module directory
- cd debian && tar jcf lzma-source/usr/src/lzma.tar.bz2 modules
-
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
--
1.7.6
Reply to: