Skip to content

Commit

Permalink
Release 1.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
kubo committed Jan 4, 2015
1 parent 49572ad commit cbb0f61
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ aclocal.m4
autom4te.cache
compile
config.guess
./config.h
config.h
config.h.in
config.log
config.status
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
-----

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions crc32_sse4_2.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* or implied, of the authors.
*/
#include <stdlib.h>
#include "config.h"
#include "crc32.h"
#include <nmmintrin.h>

Expand Down

0 comments on commit cbb0f61

Please sign in to comment.