From cbb0f611dafbf6e288798620cbfb3b10b28858b4 Mon Sep 17 00:00:00 2001 From: Kubo Takehiro Date: Sun, 4 Jan 2015 21:23:29 +0900 Subject: [PATCH] Release 1.0.2. --- .gitignore | 4 +++- Makefile.am | 2 +- NEWS | 5 +++++ README.md | 30 ++++++++++++++++++------------ configure.ac | 2 +- crc32_sse4_2.c | 1 + 6 files changed, 29 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 49f9221..6916efa 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ aclocal.m4 autom4te.cache compile config.guess -./config.h +config.h config.h.in config.log config.status @@ -17,9 +17,11 @@ depcomp install-sh missing snzip +spec/snzip.spec stamp-h1 win32/Debug win32/Release +win32/config.h win32/snappy win32/snzip.sdf win32/snzip*.suo diff --git a/Makefile.am b/Makefile.am index 24f6e0c..b6d0f8d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ CFLAGS_SSE4_2 = @CFLAGS_SSE4_2@ PROGS = snzip bin_PROGRAMS = $(PROGS) -EXTRA_DIST = autogen.sh spec/snzip.spec +EXTRA_DIST = spec/snzip.spec win32/config.h win32/snzip.sln win32/snzip.vcxproj win32/ya_getopt.c win32/ya_getopt.h dist_doc_DATA = AUTHORS ChangeLog COPYING INSTALL NEWS README.md dist-hook: diff --git a/NEWS b/NEWS index 54cb2eb..43b2adf 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +snzip 1.0.2 - 2015-01-04 + +* Use SSE4.2 to calculate CRC32C if it is available. +* Add a getopt function and a Visual Studio 2013 project file for Windows. + snzip 1.0.1 - 2013-11-30 * Add a rpm spec file. diff --git a/README.md b/README.md index c8a8abf..c449fcb 100644 --- a/README.md +++ b/README.md @@ -20,45 +20,45 @@ format as the default format as before. Installation ------------ -### Install a tar-ball +### Install from a tar-ball -Download snzip-1.0.1.tar.gz from https://bintray.com/kubo/generic/snzip, +Download snzip-1.0.2.tar.gz from https://bintray.com/kubo/generic/snzip, uncompress and untar it, and run configure. - tar xvfz snzip-1.0.1.tar.gz - cd snzip-1.0.1 + tar xvfz snzip-1.0.2.tar.gz + cd snzip-1.0.2 ./configure If you didn't install snappy under /usr or /usr/local, you need to specify the location by '--with-snappy' as follows. # install snappy - tar xvfz snappy-1.1.1.tar.gz - cd snappy-1.1.1 + tar xvfz snappy-1.1.2.tar.gz + cd snappy-1.1.2 ./configure --prefix=/usr/local/snappy make make install cd .. # install snzip - tar xvfz snzip-1.0.1.tar.gz - cd snzip-1.0.1 + tar xvfz snzip-1.0.2.tar.gz + cd snzip-1.0.2 ./configure --with-snappy=/usr/local/snappy You can use --with-default-format to change the default compression format. ./configure --with-default-format=snzip -### Install a rpm package +### Install as a rpm package -We don't provide rpm packages. You need to download snzip-1.0.1.tar.gz +We don't provide rpm packages. You need to download snzip-1.0.2.tar.gz from https://bintray.com/kubo/generic/snzip, create a rpm package as follows and install it. # The rpm package will be created under $HOME/rpmbuild/RPMS. - rpmbuild -tb snzip-1.0.1.tar.gz + rpmbuild -tb snzip-1.0.2.tar.gz -### Install latest source +### Install from the latest source To use source code in the github repository. @@ -67,6 +67,12 @@ To use source code in the github repository. ./autogen.sh ./configure +### Install a Windows package. + +Download `snzip-1.0.2-win32.zip` or `snzip-1.0.2-win64.zip` from +https://bintray.com/kubo/generic/snzip and copy `snzip.exe` and `snunzip.exe` +to a directory in the PATH environment variable. + Usage ----- diff --git a/configure.ac b/configure.ac index 6adbd1b..cfd6a7d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # The autoconf version must be at least 2.64 to correctly detect # endianess of Mac OS X universal binary. AC_PREREQ(2.64) -AC_INIT([snzip], [1.0.1]) +AC_INIT([snzip], [1.0.2]) AM_INIT_AUTOMAKE diff --git a/crc32_sse4_2.c b/crc32_sse4_2.c index d5ca1e9..7e61900 100644 --- a/crc32_sse4_2.c +++ b/crc32_sse4_2.c @@ -28,6 +28,7 @@ * or implied, of the authors. */ #include +#include "config.h" #include "crc32.h" #include