This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7807 - gzip/gunzip port
Attached to Project:
Rockbox
Opened by Antoine Cellerier (dionoea) - Thursday, 20 September 2007, 23:21 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 05 June 2011, 13:30 GMT+2
Opened by Antoine Cellerier (dionoea) - Thursday, 20 September 2007, 23:21 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 05 June 2011, 13:30 GMT+2
|
DetailsThis 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 have been tested and work fine on: * ipod video sim * ipod video * archos recoder sim 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) |
This task depends upon
Closed by Thomas Martitz (kugel.)
Sunday, 05 June 2011, 13:30 GMT+2
Reason for closing: Out of Date
Additional comments about closing: There doesn't seem to be interest in this anymore. Open a new task if this is wrong.
Sunday, 05 June 2011, 13:30 GMT+2
Reason for closing: Out of Date
Additional comments about closing: There doesn't seem to be interest in this anymore. Open a new task if this is wrong.
Any suggestions as to how to fix this?