{"id":16953236,"url":"https://github.com/c4milo/bzip2","last_synced_at":"2025-03-21T11:28:13.750Z","repository":{"id":16630663,"uuid":"19385779","full_name":"c4milo/bzip2","owner":"c4milo","description":"Unofficial mirror of bzip2","archived":false,"fork":false,"pushed_at":"2014-05-02T19:15:17.000Z","size":872,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T07:44:41.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.bzip.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c4milo.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-02T19:14:46.000Z","updated_at":"2014-05-02T19:32:30.000Z","dependencies_parsed_at":"2022-08-04T10:15:14.573Z","dependency_job_id":null,"html_url":"https://github.com/c4milo/bzip2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fbzip2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fbzip2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fbzip2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fbzip2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c4milo","download_url":"https://codeload.github.com/c4milo/bzip2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244789505,"owners_count":20510567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T22:06:43.077Z","updated_at":"2025-03-21T11:28:13.722Z","avatar_url":"https://github.com/c4milo.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nThis is the README for bzip2/libzip2.\nThis version is fully compatible with the previous public releases.\n\n------------------------------------------------------------------\nThis file is part of bzip2/libbzip2, a program and library for\nlossless, block-sorting data compression.\n\nbzip2/libbzip2 version 1.0.6 of 6 September 2010\nCopyright (C) 1996-2010 Julian Seward \u003cjseward@bzip.org\u003e\n\nPlease read the WARNING, DISCLAIMER and PATENTS sections in this file.\n\nThis program is released under the terms of the license contained\nin the file LICENSE.\n------------------------------------------------------------------\n\nComplete documentation is available in Postscript form (manual.ps),\nPDF (manual.pdf) or html (manual.html).  A plain-text version of the\nmanual page is available as bzip2.txt.\n\n\nHOW TO BUILD -- UNIX\n\nType 'make'.  This builds the library libbz2.a and then the programs\nbzip2 and bzip2recover.  Six self-tests are run.  If the self-tests\ncomplete ok, carry on to installation:\n\nTo install in /usr/local/bin, /usr/local/lib, /usr/local/man and\n/usr/local/include, type\n\n   make install\n\nTo install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type\n\n   make install PREFIX=/xxx/yyy\n\nIf you are (justifiably) paranoid and want to see what 'make install'\nis going to do, you can first do\n\n   make -n install                      or\n   make -n install PREFIX=/xxx/yyy      respectively.\n\nThe -n instructs make to show the commands it would execute, but not\nactually execute them.\n\n\nHOW TO BUILD -- UNIX, shared library libbz2.so.\n\nDo 'make -f Makefile-libbz2_so'.  This Makefile seems to work for\nLinux-ELF (RedHat 7.2 on an x86 box), with gcc.  I make no claims\nthat it works for any other platform, though I suspect it probably\nwill work for most platforms employing both ELF and gcc.\n\nbzip2-shared, a client of the shared library, is also built, but not\nself-tested.  So I suggest you also build using the normal Makefile,\nsince that conducts a self-test.  A second reason to prefer the\nversion statically linked to the library is that, on x86 platforms,\nbuilding shared objects makes a valuable register (%ebx) unavailable\nto gcc, resulting in a slowdown of 10%-20%, at least for bzip2.\n\nImportant note for people upgrading .so's from 0.9.0/0.9.5 to version\n1.0.X.  All the functions in the library have been renamed, from (eg)\nbzCompress to BZ2_bzCompress, to avoid namespace pollution.\nUnfortunately this means that the libbz2.so created by\nMakefile-libbz2_so will not work with any program which used an older\nversion of the library.  I do encourage library clients to make the\neffort to upgrade to use version 1.0, since it is both faster and more\nrobust than previous versions.\n\n\nHOW TO BUILD -- Windows 95, NT, DOS, Mac, etc.\n\nIt's difficult for me to support compilation on all these platforms.\nMy approach is to collect binaries for these platforms, and put them\non the master web site (http://www.bzip.org).  Look there.  However\n(FWIW), bzip2-1.0.X is very standard ANSI C and should compile\nunmodified with MS Visual C.  If you have difficulties building, you\nmight want to read README.COMPILATION.PROBLEMS.\n\nAt least using MS Visual C++ 6, you can build from the unmodified\nsources by issuing, in a command shell: \n\n   nmake -f makefile.msc\n\n(you may need to first run the MSVC-provided script VCVARS32.BAT\n so as to set up paths to the MSVC tools correctly).\n\n\nVALIDATION\n\nCorrect operation, in the sense that a compressed file can always be\ndecompressed to reproduce the original, is obviously of paramount\nimportance.  To validate bzip2, I used a modified version of Mark\nNelson's churn program.  Churn is an automated test driver which\nrecursively traverses a directory structure, using bzip2 to compress\nand then decompress each file it encounters, and checking that the\ndecompressed data is the same as the original.\n\n\n\nPlease read and be aware of the following:\n\nWARNING:\n\n   This program and library (attempts to) compress data by \n   performing several non-trivial transformations on it.  \n   Unless you are 100% familiar with *all* the algorithms \n   contained herein, and with the consequences of modifying them, \n   you should NOT meddle with the compression or decompression \n   machinery.  Incorrect changes can and very likely *will* \n   lead to disastrous loss of data.\n\n\nDISCLAIMER:\n\n   I TAKE NO RESPONSIBILITY FOR ANY LOSS OF DATA ARISING FROM THE\n   USE OF THIS PROGRAM/LIBRARY, HOWSOEVER CAUSED.\n\n   Every compression of a file implies an assumption that the\n   compressed file can be decompressed to reproduce the original.\n   Great efforts in design, coding and testing have been made to\n   ensure that this program works correctly.  However, the complexity\n   of the algorithms, and, in particular, the presence of various\n   special cases in the code which occur with very low but non-zero\n   probability make it impossible to rule out the possibility of bugs\n   remaining in the program.  DO NOT COMPRESS ANY DATA WITH THIS\n   PROGRAM UNLESS YOU ARE PREPARED TO ACCEPT THE POSSIBILITY, HOWEVER\n   SMALL, THAT THE DATA WILL NOT BE RECOVERABLE.\n\n   That is not to say this program is inherently unreliable.  \n   Indeed, I very much hope the opposite is true.  bzip2/libbzip2 \n   has been carefully constructed and extensively tested.\n\n\nPATENTS:\n\n   To the best of my knowledge, bzip2/libbzip2 does not use any \n   patented algorithms.  However, I do not have the resources \n   to carry out a patent search.  Therefore I cannot give any \n   guarantee of the above statement.\n\n\n\nWHAT'S NEW IN 0.9.0 (as compared to 0.1pl2) ?\n\n   * Approx 10% faster compression, 30% faster decompression\n   * -t (test mode) is a lot quicker\n   * Can decompress concatenated compressed files\n   * Programming interface, so programs can directly read/write .bz2 files\n   * Less restrictive (BSD-style) licensing\n   * Flag handling more compatible with GNU gzip\n   * Much more documentation, i.e., a proper user manual\n   * Hopefully, improved portability (at least of the library)\n\nWHAT'S NEW IN 0.9.5 ?\n\n   * Compression speed is much less sensitive to the input\n     data than in previous versions.  Specifically, the very\n     slow performance caused by repetitive data is fixed.\n   * Many small improvements in file and flag handling.\n   * A Y2K statement.\n\nWHAT'S NEW IN 1.0.0 ?\n\n   See the CHANGES file.\n\nWHAT'S NEW IN 1.0.2 ?\n\n   See the CHANGES file.\n\nWHAT'S NEW IN 1.0.3 ?\n\n   See the CHANGES file.\n\nWHAT'S NEW IN 1.0.4 ?\n\n   See the CHANGES file.\n\nWHAT'S NEW IN 1.0.5 ?\n\n   See the CHANGES file.\n\nWHAT'S NEW IN 1.0.6 ?\n\n   See the CHANGES file.\n\n\nI hope you find bzip2 useful.  Feel free to contact me at\n   jseward@bzip.org\nif you have any suggestions or queries.  Many people mailed me with\ncomments, suggestions and patches after the releases of bzip-0.15,\nbzip-0.21, and bzip2 versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1,\n1.0.2 and 1.0.3, and the changes in bzip2 are largely a result of this\nfeedback.  I thank you for your comments.\n\nbzip2's \"home\" is http://www.bzip.org/\n\nJulian Seward\njseward@bzip.org\nCambridge, UK.\n\n18     July 1996 (version 0.15)\n25   August 1996 (version 0.21)\n 7   August 1997 (bzip2, version 0.1)\n29   August 1997 (bzip2, version 0.1pl2)\n23   August 1998 (bzip2, version 0.9.0)\n 8     June 1999 (bzip2, version 0.9.5)\n 4     Sept 1999 (bzip2, version 0.9.5d)\n 5      May 2000 (bzip2, version 1.0pre8)\n30 December 2001 (bzip2, version 1.0.2pre1)\n15 February 2005 (bzip2, version 1.0.3)\n20 December 2006 (bzip2, version 1.0.4)\n10 December 2007 (bzip2, version 1.0.5)\n 6     Sept 2010 (bzip2, version 1.0.6)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4milo%2Fbzip2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc4milo%2Fbzip2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4milo%2Fbzip2/lists"}