ports/70243: New port: audio/tta (simple lossless audio (de)compressor)

Martin Dieringer Martin.Dieringer at t-online.de
Tue Aug 10 08:30:22 UTC 2004


>Number:         70243
>Category:       ports
>Synopsis:       New port: audio/tta (simple lossless audio (de)compressor)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 08:30:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Dieringer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD pc.dieringer.dyndns.org 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Fri Aug 6 17:59:21 CEST 2004 root@:/usr/obj/usr/src/sys/PC i386


	
>Description:
	
New Port of TTA.

TTA is a simple lossless audio compressor.

TTA performs lossless compression on multichannel 8,16,24 bit's
integer and 32 bit's IEEE floating-point data of the Wav audio
files. 

	
>How-To-Repeat:
	
>Fix:

	

--- tta.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tta
#	tta/Makefile
#	tta/distinfo
#	tta/pkg-descr
#	tta/files
#	tta/files/patch-aa
#	tta/files/patch-ab
#	tta/pkg-plist
#
echo c - tta
mkdir -p tta > /dev/null 2>&1
echo x - tta/Makefile
sed 's/^X//' >tta/Makefile << 'END-of-tta/Makefile'
X# New ports collection makefile for:   tta
X# Date created:        10 Aug 2004
X# Whom:                dieringe
X#
X# $FreeBSD$
X#
X
XPORTNAME=		tta
XPORTVERSION=		3.1
XCATEGORIES=		audio
X
XMAINTAINER=		dieringe at zedat.fu-berlin.de
XCOMMENT=		"The True Audio Encoder", lossless (de)compressor
X
XMASTER_SITES=		http://tta.iszf.irk.ru/ftp/
XDISTFILES=		ttaenc-3-src.zip
X
XUSE_ZIP=		yes
X
XUSE_GMAKE=		yes
XALL_TARGET=
X
XWRKSRC=			${WRKDIR}
X
X.include <bsd.port.mk>
END-of-tta/Makefile
echo x - tta/distinfo
sed 's/^X//' >tta/distinfo << 'END-of-tta/distinfo'
XMD5 (ttaenc-3-src.zip) = 4c0374997beb18dfb70a45c562947517
XSIZE (ttaenc-3-src.zip) = 23514
END-of-tta/distinfo
echo x - tta/pkg-descr
sed 's/^X//' >tta/pkg-descr << 'END-of-tta/pkg-descr'
X
XTTA is a simple lossless audio compressor.
X
XTTA performs lossless compression on multichannel 8,16,24 bit's
Xinteger and 32 bit's IEEE floating-point data of the Wav audio
Xfiles. 
X
XThe compression size will generally range between 30% - 70% of the
Xoriginal. TTA format supports both of ID3v1 and ID3v2 information
Xtags.
X
XWWW: http://tta.iszf.irk.ru/
X
X- dieringe
Xdieringe at zedat.fu-berlin.de
END-of-tta/pkg-descr
echo c - tta/files
mkdir -p tta/files > /dev/null 2>&1
echo x - tta/files/patch-aa
sed 's/^X//' >tta/files/patch-aa << 'END-of-tta/files/patch-aa'
X--- ttaenc.c.ori	Tue Aug 10 09:47:55 2004
X+++ ttaenc.c	Tue Aug 10 09:50:30 2004
X@@ -1254,7 +1254,7 @@
X #endif
X 
X     ftime = (int) (time(NULL) - ftime);
X-    sprintf(status, "%ld'%02ld", ftime / 60, ftime % 60);
X+    sprintf(status, "%id'%02id", ftime / 60, ftime % 60);
X     fprintf(stdout, "Total:   [%d/%ld, %.1f/%.1f Mb], ratio: %.3f, time: %s\n",
X 	    processed, files, (float) total_output_bytes / 1048576,
X 	    (float) total_input_bytes / 1048576,
X@@ -1303,7 +1303,7 @@
X #endif
X 
X     ftime = (int) (time(NULL) - ftime);
X-    sprintf(status, "%ld'%02ld", ftime / 60, ftime % 60);
X+    sprintf(status, "%id'%02id", ftime / 60, ftime % 60);
X     fprintf(stdout, LINE"\nTotal:   [%d/%ld] succeeded, time: %s\n",
X 	    processed, files, status);
X     fprintf(stdout, "%s\n\n", LINE);
END-of-tta/files/patch-aa
echo x - tta/files/patch-ab
sed 's/^X//' >tta/files/patch-ab << 'END-of-tta/files/patch-ab'
X--- Makefile.ori	Tue Aug 10 10:01:10 2004
X+++ Makefile	Tue Aug 10 10:01:23 2004
X@@ -5,7 +5,7 @@
X CFLAGS	= -Wall -O2 -funroll-loops -fomit-frame-pointer
X LIBS	= -lm
X TTAENC	= ttaenc
X-INSDIR	= /usr/local/bin
X+INSDIR	= ${PREFIX}/bin
X 
X ttaenc: $(patsubst %.c, %.o, $(wildcard *.c))
X 	gcc $^ -o $@ $(CFLAGS) $(LIBS)
END-of-tta/files/patch-ab
echo x - tta/pkg-plist
sed 's/^X//' >tta/pkg-plist << 'END-of-tta/pkg-plist'
Xbin/ttaenc
END-of-tta/pkg-plist
exit
--- tta.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list