head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.54
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.52
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.50
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.48
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.46
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.44
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.42
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.40
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.38
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.36
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.34
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.32
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.30
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.28
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.26
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.24
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.22
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.20
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.18
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.16
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.14
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.12
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.10
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.8
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	netbsd-1-6:1.1.1.1.0.8
	netbsd-1-6-RELEASE-base:1.1.1.1
	pkgviews:1.1.1.1.0.4
	pkgviews-base:1.1.1.1
	buildlink2:1.1.1.1.0.2
	buildlink2-base:1.1.1.1
	netbsd-1-5-PATCH003:1.1.1.1
	netbsd-1-5-PATCH001:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2002.12.23.21.20.49;	author wiz;	state dead;
branches;
next	1.1;

1.1
date	2001.04.16.22.23.34;	author zuntum;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.04.16.22.23.34;	author zuntum;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 3.5.0. Changes since 3.1:
3.2  released on Sat 13 Jan 2001
Added '-i' switch to display whether a file contains seek information
Cleaned up endian-conversion code
Fixed a file naming bug - now, when only an input file name is given,
output files are named according to the following rules:
If shortening a file:

If the input file name ends in .wav, then change
extension to .shn; otherwise, append .shn to the
input file name.  Examples:

file.wav  ->  file.shn
file.ext  ->  file.ext.shn

If extracting a file:

If the input file name ends in .shn, then change
extension to .wav; otherwise, append .wav to the
input file name.

file.shn  ->  file.wav
file.ext  ->  file.ext.wav

When the caller specifies -v2 on the command line, seek tables are
not generated (neither appended nor created in separate files).
The default behavior is to generate/append seek tables.

3.3  released on Sun 12 Aug 2001
Converted to autoconf/automake build system
Made seek table code 64-bit clean
Changed seek table data structures to compensate for compilers that don't
properly implement #pragma pack(1)
Various minor cleanups/updates that don't impact the shorten algorithm

3.4  released on Sun 10 Feb 2002
Fix for reading/writing binary data on stdin/stdout for operating systems
that do not have a single '\x0A' as a line separator (Frank Klemm)
Shorten now refuses to input data from or output data to a tty
Fixed crash when trying to create seek tables from a non-shorten file
-s and -S options can now create seek table files from data read on stdin
(with -s, output filename is 'stdin.skt')
Seek tables are now appended to non-stdout output file when reading
uncompressed data from stdin (e.g. shorten - outfile.shn < data.wav)

3.5.0  released on Mon 18 Nov 2002
Support for compression of AIFF files contributed by Brian Willoughby of
Sound Consulting
Changed file naming convention during extraction - when only an input file
name is given, output files are named according to the following rules:

If the input file name contains more than one '.' and
ends in .shn, then drop the .shn; otherwise, if the input
file name ends in .shn, then change the extension to .wav;
otherwise, append .wav to the input file name.

file.aiff.shn  ->  file.aiff
file.aiff.ext  ->  file.aiff.ext.wav
file.shn       ->  file.wav
file.ext       ->  file.ext.wav

This change was made so that non-wav files would be properly named after
shortening and unshortening.  For example, 'shorten file.aiff' creates
file.aiff.shn, and with the change above, 'shorten -x file.aiff.shn'
will now create file.aiff (instead of file.aiff.wav).
@
text
@$NetBSD: patch-aa,v 1.1 2001/04/16 22:23:34 zuntum Exp $

--- Makefile.orig	Tue Oct 10 19:45:29 2000
+++ Makefile
@@@@ -2,10 +2,8 @@@@
 BOBJS = mkbshift.o
 COBJS = exit.o array.o Sulawalaw.o
 SOBJS = main.o shorten.o fixio.o vario.o poly.o lpc.o hsgetopt.o dupfinfo.o riffwave.o license.o
-CC    = cc
-CFLAGS= -O
 
-DESTDIR = /usr/local
+DESTDIR = ${PREFIX}
 prefix = $(DESTDIR)
 exec_prefix = $(prefix)/bin
 man_prefix = $(prefix)/man/man$(manext)
@@@@ -17,9 +15,9 @@@@
 all: shorten shorten.man
 
 install: shorten
-	mkdir -p $(exec_prefix) $(man_prefix)
-	cp shorten $(exec_prefix)
-	cp shorten.1 $(man_prefix)
+	${MKDIR} $(exec_prefix) $(man_prefix)
+	${BSD_INSTALL_PROGRAM} shorten $(exec_prefix)
+	${BSD_INSTALL_MAN} shorten.1 $(man_prefix)
 
 install-debian: shorten
 	install -s shorten $(DESTDIR)/usr/bin
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
$NetBSD$
@


1.1.1.1
log
@Initial import of shorten-3.1

Shorten is a lossless compressing tool specialized for Audio files where
it usually performs better than gzip/bzip2.

Package submitted by Ben Collver <collver@@linuxfreemail.com>
in pkg/12586

@
text
@@
