Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 22:47:04 -0400 (EDT)
From:      "Jeffrey H. Johnson" <CPE1704TKS@bellsouth.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        CPE1704TKS@bellsouth.net
Subject:   ports/95778: [PATCH] audio/wavpack: update to 4.32
Message-ID:  <20060415024704.524D03983D@offworld.cqasys.com>
Resent-Message-ID: <200604150250.k3F2oCOt006444@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95778
>Category:       ports
>Synopsis:       [PATCH] audio/wavpack: update to 4.32
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 15 02:50:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jeffrey H. Johnson
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD offworld.cqasys.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #22: Thu Feb  9 18:21:45 EST
>Description:
- Update to 4.32:
  This is a big improvement over 4.2

- Changes since 4.2:
  added: -i option to ignore length specified in wav header
  added: -w option to write APEv2 tags directly from command line
  added: automatic generation of RIFF wav header during encoding
  added: automatically detect lower resolution data
  added: command-line option (-l) to use low priority for batch operation
  added: command-line option (-r) to generate a fresh RIFF header
  added: command-line option (-ss) to include tags in summary dump
  added: debug mode
  added: handle non-standard sampling rates
  added: mode bit to open files in "streaming" mode
  added: new functions to access tags by index (instead of item name)
  added: option (-o) to specify output directory or path
  added: option (-t) to copy timestamp
  added: src and dst dirs are searched also for tag source files
  added: wildcard accepted for tag source files
  added: wvgain (command-line replaygain scanner)
  fixed: bug causing termination error with very wide screen widths
  fixed: detect debug mode in all cases (win32 only)
  fixed: failing seek with some files that had been played to the end
  fixed: formatting error in duration display
  fixed: generating RIFF headers on big-endian machines caused crash
  fixed: handling of wav files larger than 2 gig
  fixed: small memory leak when opening hybrid lossless files
  fixed: very rare decoding bug causing overflow with hi-res files
  fixed: works correctly with 64-bit compilers
  improved: APEv2 tags are read even if followed by ID3v1 tag
  improved: allow shell to expand wildcards
  improved: encoding and decoding speed
  improved: limited APEv2 tag editing capability
  improved: more robust decoding of damaged (or invalid) files
  improved: returns error status for any error
  improved: signed characters no longer must be default
  improved: stereo lossless encoding speed (including "extra" mode)
  improved: two structures renamed to avoid namespace conflict
  improved: use longer blocks in multichannel files (better "high" compression)

Removed file(s):
- files/patch-utils.c

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- wavpack-4.32.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/wavpack/Makefile /usr/home/trn/port-work/wavpack/Makefile
--- /usr/ports/audio/wavpack/Makefile	Fri Apr 14 19:25:05 2006
+++ /usr/home/trn/port-work/wavpack/Makefile	Fri Apr 14 22:32:03 2006
@@ -6,10 +6,11 @@
 #
 
 PORTNAME=	wavpack
-PORTVERSION=	4.2
-PORTREVISION=	1
+PORTVERSION=	4.32
+#PORTREVISION=	1
 CATEGORIES=	audio
-MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITES=	http://www.wavpack.com/ \
+		${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	kwm
 
 MAINTAINER=	ports@FreeBSD.org
@@ -18,7 +19,6 @@
 GNU_CONFIGURE=	yes
 USE_ICONV=	yes
 USE_BZIP2=	yes
-USE_REINPLACE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -29,8 +29,8 @@
 	@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
 		${WRKSRC}/Makefile.in
 .for i in ${FILES}
-	@cd ${WRKSRC} && cp ${i} ${i}.orig && \
+	@cd ${WRKSRC} && ${CP} ${i} ${i}.orig && \
 		col < ${i}.orig > ${i}
-.endfor	
+.endfor
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/audio/wavpack/distinfo /usr/home/trn/port-work/wavpack/distinfo
--- /usr/ports/audio/wavpack/distinfo	Sun Jan 22 03:13:05 2006
+++ /usr/home/trn/port-work/wavpack/distinfo	Fri Apr 14 22:30:33 2006
@@ -1,3 +1,3 @@
-MD5 (wavpack-4.2.tar.bz2) = 702cf0492f97c83e35973944ec083ab8
-SHA256 (wavpack-4.2.tar.bz2) = 4bebc8e47371c701b17f7201e598da3eee8bdbe6c3179778bdbe797a525aea1d
-SIZE (wavpack-4.2.tar.bz2) = 278576
+MD5 (wavpack-4.32.tar.bz2) = e40ff238477c0007155bce4ada3f7eba
+SHA256 (wavpack-4.32.tar.bz2) = bb6374deb9b1091481c84d6bde57eb333a52bfbbb8ad002c11c17492c3faefa9
+SIZE (wavpack-4.32.tar.bz2) = 275586
diff -ruN --exclude=CVS /usr/ports/audio/wavpack/files/patch-utils.c /usr/home/trn/port-work/wavpack/files/patch-utils.c
--- /usr/ports/audio/wavpack/files/patch-utils.c	Mon Jul 11 07:29:42 2005
+++ /usr/home/trn/port-work/wavpack/files/patch-utils.c	Wed Dec 31 19:00:00 1969
@@ -1,19 +0,0 @@
---- utils.c.orig	Sun Mar 20 08:16:38 2005
-+++ utils.c	Mon Jul 11 13:25:37 2005
-@@ -613,6 +613,7 @@
-     MultiByteToWideChar (CP_ACP, 0, string, -1, temp, max_chars + 1);
-     WideCharToUTF8 (temp, (uchar *) string, len);
- #else
-+    iconv_t converter;
-     char *temp = malloc (len);
- //  memset(temp, 0, len);
-     char *outp = temp;
-@@ -624,7 +625,7 @@
- 
-     memset(temp, 0, len);
-     old_locale = setlocale (LC_CTYPE, "");
--    iconv_t converter = iconv_open ("UTF-8", "");
-+    converter = iconv_open ("UTF-8", "");
-     err = iconv (converter, &inp, &insize, &outp, &outsize);
-     iconv_close (converter);
-     setlocale (LC_CTYPE, old_locale);
diff -ruN --exclude=CVS /usr/ports/audio/wavpack/pkg-plist /usr/home/trn/port-work/wavpack/pkg-plist
--- /usr/ports/audio/wavpack/pkg-plist	Thu Feb 23 05:34:44 2006
+++ /usr/home/trn/port-work/wavpack/pkg-plist	Fri Apr 14 22:34:25 2006
@@ -1,5 +1,6 @@
 bin/wavpack
 bin/wvunpack
+bin/wvgain
 include/wavpack/md5.h
 include/wavpack/unpack3.h
 include/wavpack/wavpack.h
--- wavpack-4.32.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060415024704.524D03983D>