Hi there.

Would it be possible to upgrade to a newer version? I see that the
packaging of lzma could use quite a lot of help.

Anyway, I just took some minutes reviewing the situation and I came up
with a patch that seems to address the problem that Arnaud seemed to
have with lzmp.cpp (the diff.gz is attached here).

Unfortunately, too much time has passed and upstream has changed the
tree quite a bit, leading to a breakage of interfaces. Anyway, here are
my offered changes:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 lzma (4.65-0.1) UNRELEASED; urgency=low
 .
   * New upstream release. Closes: #460501.
   * The sqlzma patch doesn't work, since upstream changed the directory
     tree a lot. TODO:
     + contact the squashfs people for the sqlzma patch updated.
     + contact upstream people and push as many of the debian/patches as
       possible (read Debian's "Social Contract" item #2).
   * The library interface is probably broken and the SONAME should be
     adjusted (taken from the lzma.txt file):
   .
       : Please note that interfaces for ANSI-C code were changed in LZMA
       : SDK 4.58. If you want to use old interfaces you can download previous
       : version of LZMA SDK from sourceforge.net site.
   .
   * As a consequence, the kernel module doesn't work (but LZMA is
     integrated in the Linux kernel).
   * The package should respect DEB_BUILD_OPTIONS.
   * The build system is *MESSY*.
   * ../lzmp.cpp:
     + fixed some warnings in the lzmp.cpp program.
     + fixed spelling error.
     + the gzip-like utility could be cleaned further.
   * debian/patches:
     + 07_un-private_file_object.diff: included to fix compilation.
     + 02_lzmp.diff: updated the version claimed in the makefile (this
       should really, really, really be automated---like, for instance,
       taken from Debian's changelog).
     + refreshed all patches.
   * debian/rules:
     + commented out some parts to build the main binaries.
     + avoid building lzma-source twice (use -a's with debhelper).
     + remove the lzma binary after being built.
   * debian/NEWS:
     + create with important information to end users.
   * debian/control.modules.in:
     + convert the encoding to utf-8.
   * debian/README.source:
     + include instructions containing modifications, per Debian Policy 4.9.
   * The package is now in the public domain, according to the
     documentation in lzma.txt and the site.
   * debian/control:
     + improve descriptions. Closes: #535776 (Thanks Justin B Rye).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I may have probably messed a lot of things, and there seems to be a lot
of low-hanging fruits.

Well, that's it for now.


Hope this helps, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

Attachment: lzma_4.65-0.1.diff.gz
Description: Binary data

Reply via email to