diff options
author | Julian Seward <jseward@acm.org> | 2006-12-20 22:13:13 +0100 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2006-12-20 22:13:13 +0100 |
commit | f10a33538e9bab6deb61779b3d8aae168824ef48 (patch) | |
tree | ecd1c2ed553ced58a090e0d8b7b7a20bb7c95c80 /README | |
parent | 4d540bfc95a4b0eefc1d1f388ec33534aaeb3a2f (diff) | |
download | bzip2-1.0.4.tar.gz bzip2-1.0.4.tar.bz2 bzip2-1.0.4.zip |
bzip2-1.0.4bzip2-1.0.4
Diffstat (limited to '')
-rw-r--r-- | README | 100 | ||||
-rw-r--r-- | README.COMPILATION.PROBLEMS | 37 | ||||
-rw-r--r-- | README.XML.STUFF | 22 |
3 files changed, 106 insertions, 53 deletions
@@ -1,33 +1,48 @@ | |||
1 | 1 | ||
2 | This is the README for bzip2, a block-sorting file compressor, version | 2 | This is the README for bzip2/libzip2. |
3 | 1.0.3. This version is fully compatible with the previous public | 3 | This version is fully compatible with the previous public releases. |
4 | releases, versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1 and 1.0.2. | ||
5 | 4 | ||
6 | bzip2-1.0.3 is distributed under a BSD-style license. For details, | 5 | ------------------------------------------------------------------ |
7 | see the file LICENSE. | 6 | This file is part of bzip2/libbzip2, a program and library for |
7 | lossless, block-sorting data compression. | ||
8 | |||
9 | bzip2/libbzip2 version 1.0.4 of 20 December 2006 | ||
10 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | ||
11 | |||
12 | Please read the WARNING, DISCLAIMER and PATENTS sections in this file. | ||
13 | |||
14 | This program is released under the terms of the license contained | ||
15 | in the file LICENSE. | ||
16 | ------------------------------------------------------------------ | ||
8 | 17 | ||
9 | Complete documentation is available in Postscript form (manual.ps), | 18 | Complete documentation is available in Postscript form (manual.ps), |
10 | PDF (manual.pdf) or html (manual.html). A plain-text version of the | 19 | PDF (manual.pdf) or html (manual.html). A plain-text version of the |
11 | manual page is available as bzip2.txt. A statement about Y2K issues | 20 | manual page is available as bzip2.txt. |
12 | is now included in the file Y2K_INFO. | ||
13 | 21 | ||
14 | 22 | ||
15 | HOW TO BUILD -- UNIX | 23 | HOW TO BUILD -- UNIX |
16 | 24 | ||
17 | Type `make'. This builds the library libbz2.a and then the | 25 | Type 'make'. This builds the library libbz2.a and then the programs |
18 | programs bzip2 and bzip2recover. Six self-tests are run. | 26 | bzip2 and bzip2recover. Six self-tests are run. If the self-tests |
19 | If the self-tests complete ok, carry on to installation: | 27 | complete ok, carry on to installation: |
28 | |||
29 | To install in /usr/local/bin, /usr/local/lib, /usr/local/man and | ||
30 | /usr/local/include, type | ||
20 | 31 | ||
21 | To install in /usr/bin, /usr/lib, /usr/man and /usr/include, type | ||
22 | make install | 32 | make install |
23 | To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type | 33 | |
34 | To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type | ||
35 | |||
24 | make install PREFIX=/xxx/yyy | 36 | make install PREFIX=/xxx/yyy |
37 | |||
25 | If you are (justifiably) paranoid and want to see what 'make install' | 38 | If you are (justifiably) paranoid and want to see what 'make install' |
26 | is going to do, you can first do | 39 | is going to do, you can first do |
40 | |||
27 | make -n install or | 41 | make -n install or |
28 | make -n install PREFIX=/xxx/yyy respectively. | 42 | make -n install PREFIX=/xxx/yyy respectively. |
29 | The -n instructs make to show the commands it would execute, but | 43 | |
30 | not actually execute them. | 44 | The -n instructs make to show the commands it would execute, but not |
45 | actually execute them. | ||
31 | 46 | ||
32 | 47 | ||
33 | HOW TO BUILD -- UNIX, shared library libbz2.so. | 48 | HOW TO BUILD -- UNIX, shared library libbz2.so. |
@@ -49,23 +64,25 @@ Important note for people upgrading .so's from 0.9.0/0.9.5 to version | |||
49 | bzCompress to BZ2_bzCompress, to avoid namespace pollution. | 64 | bzCompress to BZ2_bzCompress, to avoid namespace pollution. |
50 | Unfortunately this means that the libbz2.so created by | 65 | Unfortunately this means that the libbz2.so created by |
51 | Makefile-libbz2_so will not work with any program which used an older | 66 | Makefile-libbz2_so will not work with any program which used an older |
52 | version of the library. Sorry. I do encourage library clients to | 67 | version of the library. I do encourage library clients to make the |
53 | make the effort to upgrade to use version 1.0, since it is both faster | 68 | effort to upgrade to use version 1.0, since it is both faster and more |
54 | and more robust than previous versions. | 69 | robust than previous versions. |
55 | 70 | ||
56 | 71 | ||
57 | HOW TO BUILD -- Windows 95, NT, DOS, Mac, etc. | 72 | HOW TO BUILD -- Windows 95, NT, DOS, Mac, etc. |
58 | 73 | ||
59 | It's difficult for me to support compilation on all these platforms. | 74 | It's difficult for me to support compilation on all these platforms. |
60 | My approach is to collect binaries for these platforms, and put them | 75 | My approach is to collect binaries for these platforms, and put them |
61 | on the master web page (http://sources.redhat.com/bzip2). Look there. | 76 | on the master web site (http://www.bzip.org). Look there. However |
62 | However (FWIW), bzip2-1.0.X is very standard ANSI C and should compile | 77 | (FWIW), bzip2-1.0.X is very standard ANSI C and should compile |
63 | unmodified with MS Visual C. If you have difficulties building, you | 78 | unmodified with MS Visual C. If you have difficulties building, you |
64 | might want to read README.COMPILATION.PROBLEMS. | 79 | might want to read README.COMPILATION.PROBLEMS. |
65 | 80 | ||
66 | At least using MS Visual C++ 6, you can build from the unmodified | 81 | At least using MS Visual C++ 6, you can build from the unmodified |
67 | sources by issuing, in a command shell: | 82 | sources by issuing, in a command shell: |
83 | |||
68 | nmake -f makefile.msc | 84 | nmake -f makefile.msc |
85 | |||
69 | (you may need to first run the MSVC-provided script VCVARS32.BAT | 86 | (you may need to first run the MSVC-provided script VCVARS32.BAT |
70 | so as to set up paths to the MSVC tools correctly). | 87 | so as to set up paths to the MSVC tools correctly). |
71 | 88 | ||
@@ -86,18 +103,19 @@ Please read and be aware of the following: | |||
86 | 103 | ||
87 | WARNING: | 104 | WARNING: |
88 | 105 | ||
89 | This program (attempts to) compress data by performing several | 106 | This program and library (attempts to) compress data by |
90 | non-trivial transformations on it. Unless you are 100% familiar | 107 | performing several non-trivial transformations on it. |
91 | with *all* the algorithms contained herein, and with the | 108 | Unless you are 100% familiar with *all* the algorithms |
92 | consequences of modifying them, you should NOT meddle with the | 109 | contained herein, and with the consequences of modifying them, |
93 | compression or decompression machinery. Incorrect changes can and | 110 | you should NOT meddle with the compression or decompression |
94 | very likely *will* lead to disastrous loss of data. | 111 | machinery. Incorrect changes can and very likely *will* |
112 | lead to disastrous loss of data. | ||
95 | 113 | ||
96 | 114 | ||
97 | DISCLAIMER: | 115 | DISCLAIMER: |
98 | 116 | ||
99 | I TAKE NO RESPONSIBILITY FOR ANY LOSS OF DATA ARISING FROM THE | 117 | I TAKE NO RESPONSIBILITY FOR ANY LOSS OF DATA ARISING FROM THE |
100 | USE OF THIS PROGRAM, HOWSOEVER CAUSED. | 118 | USE OF THIS PROGRAM/LIBRARY, HOWSOEVER CAUSED. |
101 | 119 | ||
102 | Every compression of a file implies an assumption that the | 120 | Every compression of a file implies an assumption that the |
103 | compressed file can be decompressed to reproduce the original. | 121 | compressed file can be decompressed to reproduce the original. |
@@ -110,19 +128,18 @@ DISCLAIMER: | |||
110 | PROGRAM UNLESS YOU ARE PREPARED TO ACCEPT THE POSSIBILITY, HOWEVER | 128 | PROGRAM UNLESS YOU ARE PREPARED TO ACCEPT THE POSSIBILITY, HOWEVER |
111 | SMALL, THAT THE DATA WILL NOT BE RECOVERABLE. | 129 | SMALL, THAT THE DATA WILL NOT BE RECOVERABLE. |
112 | 130 | ||
113 | That is not to say this program is inherently unreliable. Indeed, | 131 | That is not to say this program is inherently unreliable. |
114 | I very much hope the opposite is true. bzip2 has been carefully | 132 | Indeed, I very much hope the opposite is true. bzip2/libbzip2 |
115 | constructed and extensively tested. | 133 | has been carefully constructed and extensively tested. |
116 | 134 | ||
117 | 135 | ||
118 | PATENTS: | 136 | PATENTS: |
119 | 137 | ||
120 | To the best of my knowledge, bzip2 does not use any patented | 138 | To the best of my knowledge, bzip2/libbzip2 does not use any |
121 | algorithms. However, I do not have the resources to carry out | 139 | patented algorithms. However, I do not have the resources |
122 | a patent search. Therefore I cannot give any guarantee of the | 140 | to carry out a patent search. Therefore I cannot give any |
123 | above statement. | 141 | guarantee of the above statement. |
124 | 142 | ||
125 | End of legalities. | ||
126 | 143 | ||
127 | 144 | ||
128 | WHAT'S NEW IN 0.9.0 (as compared to 0.1pl2) ? | 145 | WHAT'S NEW IN 0.9.0 (as compared to 0.1pl2) ? |
@@ -156,21 +173,23 @@ WHAT'S NEW IN 1.0.3 ? | |||
156 | 173 | ||
157 | See the CHANGES file. | 174 | See the CHANGES file. |
158 | 175 | ||
176 | WHAT'S NEW IN 1.0.4 ? | ||
177 | |||
178 | See the CHANGES file. | ||
179 | |||
159 | 180 | ||
160 | I hope you find bzip2 useful. Feel free to contact me at | 181 | I hope you find bzip2 useful. Feel free to contact me at |
161 | jseward@bzip.org | 182 | jseward@bzip.org |
162 | if you have any suggestions or queries. Many people mailed me with | 183 | if you have any suggestions or queries. Many people mailed me with |
163 | comments, suggestions and patches after the releases of bzip-0.15, | 184 | comments, suggestions and patches after the releases of bzip-0.15, |
164 | bzip-0.21, and bzip2 versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1 and | 185 | bzip-0.21, and bzip2 versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, |
165 | 1.0.2, and the changes in bzip2 are largely a result of this feedback. | 186 | 1.0.2 and 1.0.3, and the changes in bzip2 are largely a result of this |
166 | I thank you for your comments. | 187 | feedback. I thank you for your comments. |
167 | 188 | ||
168 | At least for the time being, bzip2's "home" is (or can be reached via) | 189 | bzip2's "home" is http://www.bzip.org/ |
169 | http://www.bzip.org | ||
170 | 190 | ||
171 | Julian Seward | 191 | Julian Seward |
172 | jseward@bzip.org | 192 | jseward@bzip.org |
173 | |||
174 | Cambridge, UK. | 193 | Cambridge, UK. |
175 | 194 | ||
176 | 18 July 1996 (version 0.15) | 195 | 18 July 1996 (version 0.15) |
@@ -183,3 +202,4 @@ Cambridge, UK. | |||
183 | 5 May 2000 (bzip2, version 1.0pre8) | 202 | 5 May 2000 (bzip2, version 1.0pre8) |
184 | 30 December 2001 (bzip2, version 1.0.2pre1) | 203 | 30 December 2001 (bzip2, version 1.0.2pre1) |
185 | 15 February 2005 (bzip2, version 1.0.3) | 204 | 15 February 2005 (bzip2, version 1.0.3) |
205 | 20 December 2006 (bzip2, version 1.0.4) | ||
diff --git a/README.COMPILATION.PROBLEMS b/README.COMPILATION.PROBLEMS index f1bc396..64ab586 100644 --- a/README.COMPILATION.PROBLEMS +++ b/README.COMPILATION.PROBLEMS | |||
@@ -1,32 +1,47 @@ | |||
1 | ------------------------------------------------------------------ | ||
2 | This file is part of bzip2/libbzip2, a program and library for | ||
3 | lossless, block-sorting data compression. | ||
1 | 4 | ||
2 | bzip2-1.0.3 should compile without problems on the vast majority of | 5 | bzip2/libbzip2 version 1.0.4 of 20 December 2006 |
6 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | ||
7 | |||
8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | ||
9 | README file. | ||
10 | |||
11 | This program is released under the terms of the license contained | ||
12 | in the file LICENSE. | ||
13 | ------------------------------------------------------------------ | ||
14 | |||
15 | bzip2-1.0.4 should compile without problems on the vast majority of | ||
3 | platforms. Using the supplied Makefile, I've built and tested it | 16 | platforms. Using the supplied Makefile, I've built and tested it |
4 | myself for x86-linux and x86_64-linux. With makefile.msc, Visual C++ | 17 | myself for x86-linux and amd64-linux. With makefile.msc, Visual C++ |
5 | 6.0 and nmake, you can build a native Win32 version too. Large file | 18 | 6.0 and nmake, you can build a native Win32 version too. Large file |
6 | support seems to work correctly on at least alpha-tru64unix and | 19 | support seems to work correctly on at least on amd64-linux. |
7 | x86-cygwin32 (on Windows 2000). | ||
8 | 20 | ||
9 | When I say "large file" I mean a file of size 2,147,483,648 (2^31) | 21 | When I say "large file" I mean a file of size 2,147,483,648 (2^31) |
10 | bytes or above. Many older OSs can't handle files above this size, | 22 | bytes or above. Many older OSs can't handle files above this size, |
11 | but many newer ones can. Large files are pretty huge -- most files | 23 | but many newer ones can. Large files are pretty huge -- most files |
12 | you'll encounter are not Large Files. | 24 | you'll encounter are not Large Files. |
13 | 25 | ||
14 | Earlier versions of bzip2 (0.1, 0.9.0, 0.9.5) compiled on a wide | 26 | Early versions of bzip2 (0.1, 0.9.0, 0.9.5) compiled on a wide variety |
15 | variety of platforms without difficulty, and I hope this version will | 27 | of platforms without difficulty, and I hope this version will continue |
16 | continue in that tradition. However, in order to support large files, | 28 | in that tradition. However, in order to support large files, I've had |
17 | I've had to include the define -D_FILE_OFFSET_BITS=64 in the Makefile. | 29 | to include the define -D_FILE_OFFSET_BITS=64 in the Makefile. This |
18 | This can cause problems. | 30 | can cause problems. |
19 | 31 | ||
20 | The technique of adding -D_FILE_OFFSET_BITS=64 to get large file | 32 | The technique of adding -D_FILE_OFFSET_BITS=64 to get large file |
21 | support is, as far as I know, the Recommended Way to get correct large | 33 | support is, as far as I know, the Recommended Way to get correct large |
22 | file support. For more details, see the Large File Support | 34 | file support. For more details, see the Large File Support |
23 | Specification, published by the Large File Summit, at | 35 | Specification, published by the Large File Summit, at |
36 | |||
24 | http://ftp.sas.com/standards/large.file | 37 | http://ftp.sas.com/standards/large.file |
25 | 38 | ||
26 | As a general comment, if you get compilation errors which you think | 39 | As a general comment, if you get compilation errors which you think |
27 | are related to large file support, try removing the above define from | 40 | are related to large file support, try removing the above define from |
28 | the Makefile, ie, delete the line | 41 | the Makefile, ie, delete the line |
42 | |||
29 | BIGFILES=-D_FILE_OFFSET_BITS=64 | 43 | BIGFILES=-D_FILE_OFFSET_BITS=64 |
44 | |||
30 | from the Makefile, and do 'make clean ; make'. This will give you a | 45 | from the Makefile, and do 'make clean ; make'. This will give you a |
31 | version of bzip2 without large file support, which, for most | 46 | version of bzip2 without large file support, which, for most |
32 | applications, is probably not a problem. | 47 | applications, is probably not a problem. |
@@ -37,3 +52,7 @@ You can use the spewG.c program to generate huge files to test bzip2's | |||
37 | large file support, if you are feeling paranoid. Be aware though that | 52 | large file support, if you are feeling paranoid. Be aware though that |
38 | any compilation problems which affect bzip2 will also affect spewG.c, | 53 | any compilation problems which affect bzip2 will also affect spewG.c, |
39 | alas. | 54 | alas. |
55 | |||
56 | AIX: I have reports that for large file support, you need to specify | ||
57 | -D_LARGE_FILES rather than -D_FILE_OFFSET_BITS=64. I have not tested | ||
58 | this myself. | ||
diff --git a/README.XML.STUFF b/README.XML.STUFF index 0ff209f..93bf405 100644 --- a/README.XML.STUFF +++ b/README.XML.STUFF | |||
@@ -1,3 +1,17 @@ | |||
1 | ---------------------------------------------------------------- | ||
2 | This file is part of bzip2/libbzip2, a program and library for | ||
3 | lossless, block-sorting data compression. | ||
4 | |||
5 | bzip2/libbzip2 version 1.0.4 of 20 December 2006 | ||
6 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | ||
7 | |||
8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | ||
9 | README file. | ||
10 | |||
11 | This program is released under the terms of the license contained | ||
12 | in the file LICENSE. | ||
13 | ---------------------------------------------------------------- | ||
14 | |||
1 | The script xmlproc.sh takes an xml file as input, | 15 | The script xmlproc.sh takes an xml file as input, |
2 | and processes it to create .pdf, .html or .ps output. | 16 | and processes it to create .pdf, .html or .ps output. |
3 | It uses format.pl, a perl script to format <pre> blocks nicely, | 17 | It uses format.pl, a perl script to format <pre> blocks nicely, |
@@ -9,16 +23,16 @@ version, year, etc. | |||
9 | 23 | ||
10 | Usage: | 24 | Usage: |
11 | 25 | ||
12 | xmlproc.sh -v manual.xml | 26 | ./xmlproc.sh -v manual.xml |
13 | Validates an xml file to ensure no dtd-compliance errors | 27 | Validates an xml file to ensure no dtd-compliance errors |
14 | 28 | ||
15 | xmlproc.sh -html manual.xml | 29 | ./xmlproc.sh -html manual.xml |
16 | Output: manual.html | 30 | Output: manual.html |
17 | 31 | ||
18 | xmlproc.sh -pdf manual.xml | 32 | ./xmlproc.sh -pdf manual.xml |
19 | Output: manual.pdf | 33 | Output: manual.pdf |
20 | 34 | ||
21 | xmlproc.sh -ps manual.xml | 35 | ./xmlproc.sh -ps manual.xml |
22 | Output: manual.ps | 36 | Output: manual.ps |
23 | 37 | ||
24 | 38 | ||