ports/136896: Upgrade audio/audacity-devel 1.3.7 to 1.3.8

Jack L. xxjack12xx at gmail.com
Fri Aug 14 13:54:33 UTC 2009


Try this patch
-------------- next part --------------
diff -urN audacity-devel/Makefile audacity-new/Makefile
--- audacity-devel/Makefile	2009-07-31 06:48:49.000000000 -0700
+++ audacity-new/Makefile	2009-08-14 06:37:21.000000000 -0700
@@ -5,12 +5,12 @@
 # $FreeBSD: ports/audio/audacity-devel/Makefile,v 1.34 2009/07/31 13:48:49 dinoex Exp $
 
 PORTNAME=	audacity
-PORTVERSION=	1.3.7
+PORTVERSION=	1.3.8
 PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	SF
 PKGNAMESUFFIX=	-devel
-DISTNAME=	${PORTNAME}-fullsrc-${PORTVERSION}
+DISTNAME=	${PORTNAME}-minsrc-${PORTVERSION}
 
 MAINTAINER=	xxjack12xx at gmail.com
 COMMENT=	Audacity is a GUI editor for digital audio waveforms
@@ -38,6 +38,7 @@
 		MAD		"Use libmad for mp2/3 decoding support"	on \
 		FLAC		"Use libFLAC for FLAC support" on \
 		ID3TAG		"Use libid3tag for mp3 id3 tag support" on \
+		SAMPLERATE	"Use libresample for sample rate conversion" on \
 		SBSMS		"Use libsbsms for pitch and tempo changing" on \
 		SOUNDTOUCH 	"Use libSoundTouch for pitch and tempo changing" on\
 		TWOLAME		"Use libtwolame for MP2 export support" on \
@@ -78,6 +79,10 @@
 CONFIGURE_ARGS+=	--with-libid3tag
 .endif
 
+.if defined(WITH_SAMPLERATE)
+CONFIGURE_ARGS+=	--with-libresample
+.endif
+
 .if defined(WITH_SBSMS)
 CONFIGURE_ARGS+=	--with-sbsms
 .endif
diff -urN audacity-devel/distinfo audacity-new/distinfo
--- audacity-devel/distinfo	2009-02-01 22:28:46.000000000 -0800
+++ audacity-new/distinfo	2009-08-14 06:25:10.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (audacity-fullsrc-1.3.7.tar.bz2) = 29b5c2ad50f58dac01406ccc1f31d40e
-SHA256 (audacity-fullsrc-1.3.7.tar.bz2) = be4a7ae1906e321e94aee35d0a60c332f4920ecd0cdb54a279a519c60c835acd
-SIZE (audacity-fullsrc-1.3.7.tar.bz2) = 13671285
+MD5 (audacity-minsrc-1.3.8.tar.bz2) = 88b3c68663a06f146fe822b91608e8f1
+SHA256 (audacity-minsrc-1.3.8.tar.bz2) = 50132fead4de4382e603fa14f0a7ffe87c4db86ddcfda1a472b8fa0dc7fb41cf
+SIZE (audacity-minsrc-1.3.8.tar.bz2) = 6734200
diff -urN audacity-devel/files/patch-Makefile.in audacity-new/files/patch-Makefile.in
--- audacity-devel/files/patch-Makefile.in	2008-06-25 15:23:05.000000000 -0700
+++ audacity-new/files/patch-Makefile.in	2009-08-14 06:25:10.000000000 -0700
@@ -1,6 +1,6 @@
 --- Makefile.in	2008-06-25 09:55:22.000000000 -0300
 +++ Makefile.in.new	2008-06-25 09:58:26.000000000 -0300
-@@ -30,11 +30,12 @@
+@@ -31,11 +31,12 @@
  	$(INSTALL) -m 755 audacity $(DESTDIR)$(BINDIR)/$(AUDACITY_NAME)
  
  	# install docs
diff -urN audacity-devel/files/patch-cext.h audacity-new/files/patch-cext.h
--- audacity-devel/files/patch-cext.h	1969-12-31 16:00:00.000000000 -0800
+++ audacity-new/files/patch-cext.h	2009-08-14 06:25:10.000000000 -0700
@@ -0,0 +1,11 @@
+--- lib-src/libnyquist/nyquist/cmt/cext.h	2009-07-15 20:27:36.000000000 -0700
++++ lib-src/libnyquist/nyquist/cmt/cext.hcext.h	2009-07-19 00:37:45.000000000 -0700
+@@ -58,7 +58,7 @@
+ #include <malloc.h>
+ #endif
+ 
+-#if NEED_ULONG
++#if NEED_ULONG || __FreeBSD__
+ typedef unsigned long ulong;
+ #endif
+ 
diff -urN audacity-devel/files/patch-xlisp.h audacity-new/files/patch-xlisp.h
--- audacity-devel/files/patch-xlisp.h	1969-12-31 16:00:00.000000000 -0800
+++ audacity-new/files/patch-xlisp.h	2009-08-14 06:25:10.000000000 -0700
@@ -0,0 +1,18 @@
+--- lib-src/libnyquist/nyquist/xlisp/xlisp.h	2009-07-15 20:27:36.000000000 -0700
++++ lib-src/libnyquist/nyquist/xlisp/xlisp.h	2009-07-19 00:24:11.000000000 -0700
+@@ -152,6 +152,15 @@
+ #endif
+ #endif
+ 
++/* FreeBSD */
++#ifdef __FreeBSD__
++#if __BYTE_ORDER == __LITTLE_ENDIAN
++#define XL_LITTLE_ENDIAN
++#else
++#define XL_BIG_ENDIAN
++#endif
++#endif
++
+ /* Apple CC */
+ #ifdef __APPLE__
+ #define NNODES 2000
diff -urN audacity-devel/pkg-plist audacity-new/pkg-plist
--- audacity-devel/pkg-plist	2009-02-01 22:28:46.000000000 -0800
+++ audacity-new/pkg-plist	2009-08-14 06:25:10.000000000 -0700
@@ -1,40 +1,46 @@
 bin/audacity
+man/man1/audacity.1.gz
 share/applications/audacity.desktop
-%%DATADIR%%/audacity.xpm
-%%DATADIR%%/nyquist/bug.lsp
-%%DATADIR%%/nyquist/dspprims.lsp
-%%DATADIR%%/nyquist/evalenv.lsp
-%%DATADIR%%/nyquist/follow.lsp
-%%DATADIR%%/nyquist/init.lsp
-%%DATADIR%%/nyquist/misc.lsp
-%%DATADIR%%/nyquist/nyinit.lsp
-%%DATADIR%%/nyquist/nyqmisc.lsp
-%%DATADIR%%/nyquist/nyquist.lsp
-%%DATADIR%%/nyquist/printrec.lsp
-%%DATADIR%%/nyquist/profile.lsp
-%%DATADIR%%/nyquist/seq.lsp
-%%DATADIR%%/nyquist/seqfnint.lsp
-%%DATADIR%%/nyquist/seqmidi.lsp
-%%DATADIR%%/nyquist/sndfnint.lsp
-%%DATADIR%%/nyquist/system.lsp
-%%DATADIR%%/nyquist/test.lsp
-%%DATADIR%%/nyquist/xlinit.lsp
-%%DATADIR%%/plug-ins/SilenceMarker.ny
-%%DATADIR%%/plug-ins/analyze.ny
-%%DATADIR%%/plug-ins/beat.ny
-%%DATADIR%%/plug-ins/clicktrack.ny
-%%DATADIR%%/plug-ins/clipfix.ny
-%%DATADIR%%/plug-ins/crossfadein.ny
-%%DATADIR%%/plug-ins/crossfadeout.ny
-%%DATADIR%%/plug-ins/delay.ny
-%%DATADIR%%/plug-ins/equalabel.ny
-%%DATADIR%%/plug-ins/highpass.ny
-%%DATADIR%%/plug-ins/lowpass.ny
-%%DATADIR%%/plug-ins/pluck.ny
-%%DATADIR%%/plug-ins/rissetdrum.ny
-%%DATADIR%%/plug-ins/tremolo.ny
-%%DATADIR%%/plug-ins/vocalremover.ny
-%%DATADIR%%/plug-ins/vocoder.ny
+share/audacity/audacity.xpm
+share/audacity/nyquist/bug.lsp
+share/audacity/nyquist/dspprims.lsp
+share/audacity/nyquist/envelopes.lsp
+share/audacity/nyquist/equalizer.lsp
+share/audacity/nyquist/evalenv.lsp
+share/audacity/nyquist/fileio.lsp
+share/audacity/nyquist/follow.lsp
+share/audacity/nyquist/init.lsp
+share/audacity/nyquist/misc.lsp
+share/audacity/nyquist/nyinit.lsp
+share/audacity/nyquist/nyqmisc.lsp
+share/audacity/nyquist/nyquist.lsp
+share/audacity/nyquist/printrec.lsp
+share/audacity/nyquist/profile.lsp
+share/audacity/nyquist/sal-parse.lsp
+share/audacity/nyquist/sal.lsp
+share/audacity/nyquist/seq.lsp
+share/audacity/nyquist/seqfnint.lsp
+share/audacity/nyquist/seqmidi.lsp
+share/audacity/nyquist/sndfnint.lsp
+share/audacity/nyquist/stk.lsp
+share/audacity/nyquist/system.lsp
+share/audacity/nyquist/xlinit.lsp
+share/audacity/nyquist/xm.lsp
+share/audacity/plug-ins/SilenceMarker.ny
+share/audacity/plug-ins/beat.ny
+share/audacity/plug-ins/clicktrack.ny
+share/audacity/plug-ins/clipfix.ny
+share/audacity/plug-ins/crossfadein.ny
+share/audacity/plug-ins/crossfadeout.ny
+share/audacity/plug-ins/delay.ny
+share/audacity/plug-ins/equalabel.ny
+share/audacity/plug-ins/highpass.ny
+share/audacity/plug-ins/lowpass.ny
+share/audacity/plug-ins/pluck.ny
+share/audacity/plug-ins/rissetdrum.ny
+share/audacity/plug-ins/tremolo.ny
+share/audacity/plug-ins/vocalremover.ny
+share/audacity/plug-ins/vocoder.ny
 share/locale/af/LC_MESSAGES/audacity.mo
 share/locale/ar/LC_MESSAGES/audacity.mo
 share/locale/bg/LC_MESSAGES/audacity.mo


More information about the freebsd-ports-bugs mailing list