[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Replaced bz2 decompression code with libbz2

From: Justus Winter
Subject: Re: [PATCH] Replaced bz2 decompression code with libbz2
Date: Mon, 10 Feb 2014 12:01:25 +0100
User-agent: alot/0.3.4

Hi Ignazio :)

Quoting Samuel Thibault (2014-02-09 21:39:07)
> Hello,
> Ignazio Sgalmuzzo, le Sat 04 Jan 2014 22:59:25 +0000, a écrit :
> > configure.ac: added check for libbz2
> > libstore/Makefile: linked libbz2
> > ext2fs/Makefile: linked libbz2
> > do-bunzip2.c: rewritten do_bunzip2 using libbz2 calls. Removed no longer 
> > needed functions.
> This is now applied, thanks!

Awesome :)

> You're welcome working on gz support too. I don't think losing zip
> support is really concerning. Perhaps you can add a separate support
> for it afterwards, but in any case, losing zip support shouldn't hinder
> moving to using libz.

Hum, screw zip support.  If we're talking features for a moment, I'd
wish for a compression method in libstore that supports seeking in the
compressed stream.  I understand that for that one needs some kind of
index.  Support for this in decompression libraries is surprisingly
poor, but liblzma seems to support it.  The high-level stuff is
missing from liblzma though, even though there is a java
implementation in the liblzma source, and someone created a python


I believe the grub2 contains a patched xz embedded library that
supports that, maybe we could steal that.  Grub2 has more stuff worth
stealing, such as a large number of standalone (though read-only)
filesystem implementations.  I'd really love a squashfs translator for


reply via email to

[Prev in Thread] Current Thread [Next in Thread]