Details

This is a port of gzip 1.3.12 to rockbox.

This patch adds a gzip_rb viewer (to compress files in the gzip format) and a gunzip_rb viewer (to decompress files in the gzip format and some other formats handled by gzip). You can also run gzip_rb as a standalone plugin to configure the gzip compression level. gunzip_rb is configured as a viewer for .gz, .tgz, .Z, .z and .taz files.

These files are from gzip 1.3.12 including modifications for rockbox (note that a lot of documentation, build system and optional source code files from the original gzip 1.3.12 tarball have been left out). Some more code cleanup and improvements to the messaging system might be needed (currently uses splash() and DEBUGF() kind of randomly):
A apps/plugins/gzip/tailor.h
A apps/plugins/gzip/unlzh.c
A apps/plugins/gzip/crypt.c
A apps/plugins/gzip/bits.c
A apps/plugins/gzip/zip.c
A apps/plugins/gzip/revision.h
A apps/plugins/gzip/AUTHORS
A apps/plugins/gzip/deflate.c
A apps/plugins/gzip/unzip.c
A apps/plugins/gzip/crypt.h
A apps/plugins/gzip/ChangeLog
A apps/plugins/gzip/THANKS
A apps/plugins/gzip/gzip.c
A apps/plugins/gzip/README
A apps/plugins/gzip/lzw.c
A apps/plugins/gzip/util.c
A apps/plugins/gzip/gzip.h
A apps/plugins/gzip/unlzw.c
A apps/plugins/gzip/unpack.c
A apps/plugins/gzip/lzw.h
A apps/plugins/gzip/trees.c
A apps/plugins/gzip/inflate.c
A apps/plugins/gzip/TODO
A apps/plugins/gzip/INSTALL
A apps/plugins/gzip/COPYING
A apps/plugins/gzip/NEWS

These files are rockbox specific:
A apps/plugins/gzip/Makefile
A apps/plugins/gzip/gzip_rb.c
A apps/plugins/gzip/gunzip_rb.c
A apps/plugins/gzip/malloc.c

The plugins don't build for the archos recorder (and most likely all other hwcodec targets) due to a lack of RAM. This might be fixable at least for the gunzip_rb plugin by making sure that it links only with functions needed for unzipping (gzip and gunzip currently call the same gzip function (~the orignal gzip main()). It would be possible to make a simplified version for gunzip support only)

Closed by Thomas Martitz (kugel.)
Sunday, 05 June 2011, 11:30 GMT Reason for closing: Out of DateAdditional comments about closing: There doesn't seem to be interest
in this anymore. Open a new task if this
is wrong.

I'm currently porting Info-Zip's unzip (which is the unzip program used by most Linux distros, and probably a bunch of other apps on Linux and other OSes). Should be done next week end I guess. Once it is I'll post a new patch to the tracker ... and start porting GNU tar :)

/home/calvin/Desktop/rockbox-20090817/rockbox-21932/apps/plugins/plugins.make:38: /home/calvin/Desktop/rockbox-20090817/rockbox-21932/apps/plugins/gzip/gzip.make: No such file or directory
Any suggestions as to how to fix this?