ports/167906: [PATCH] update audio/audacity to 2.0

Jack xxjack12xx at gmail.com
Tue May 15 07:40:02 UTC 2012


>Number:         167906
>Category:       ports
>Synopsis:       [PATCH] update audio/audacity to 2.0
>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:   Tue May 15 07:40:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jack
>Release:        9.0-STABLE
>Organization:
>Environment:
FreeBSD upstairs.jack.com 9.0-STABLE FreeBSD 9.0-STABLE #0 r235318: Fri May 11 23:21:07 PDT 2012     root at upstairs.jack.com:/usr/obj/usr/src/sys/UPSTAIRS  amd64
>Description:
Upgrade audacity to 2.0.0.
>How-To-Repeat:

>Fix:
Apply patch

Patch attached with submission follows:

diff -urN audacity/Makefile audacity-new/Makefile
--- audacity/Makefile	2011-09-23 15:20:56.000000000 -0700
+++ audacity-new/Makefile	2012-05-12 17:32:10.000000000 -0700
@@ -5,31 +5,53 @@
 # $FreeBSD: ports/audio/audacity/Makefile,v 1.43 2011/09/23 22:20:56 amdmi3 Exp $
 
 PORTNAME=	audacity
-PORTVERSION=	1.2.4b
-PORTREVISION=	9
+PORTVERSION=	2.0.0
 CATEGORIES=	audio
-MASTER_SITES=	SF
-DISTNAME=	${PORTNAME}-src-${PORTVERSION}
+MASTER_SITES=	GOOGLE_CODE \
+		SF/${PORTNAME}/${PORTNAME}-unstable/${PORTVERSION}
+PKGNAMESUFFIX=	-devel
+DISTNAME=	${PORTNAME}-minsrc-${PORTVERSION}
 
-MAINTAINER=	craig at yekse.gank.org
+MAINTAINER=	xxjack12xx at gmail.com
 COMMENT=	Audacity is a GUI editor for digital audio waveforms
 
-BUILD_DEPENDS+=	zip:${PORTSDIR}/archivers/zip
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-CONFLICTS=	audacity-devel-[0-9]*
+LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile
+
+CONFLICTS=	audacity-[0-9]*
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-src-${PORTVERSION}
+
+USE_AUTOTOOLS=	aclocal autoconf
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_GETTEXT=	yes
-USE_WX=		2.6
-
+USE_BZIP2=	yes
+USE_WX=		2.8
+WX_UNICODE=	yes
+WX_COMPS=	wx
+INSTALLS_ICONS=	yes
+MAKE_JOBS_SAFE=	yes
 MAN1=		audacity.1
 MANCOMPRESSED=	yes
 
-OPTIONS=	ID3TAG	"ID3 tag support"		off \
-		MAD	"Mad MP3 audio decoder support"	on \
-		VORBIS	"OGG/Vorbis audio support"	on
+OPTIONS=	FFMPEG		"Use ffmpeg for import and export support" on \
+		FLAC		"Use libFLAC for FLAC support" on \
+		ID3TAG		"Use libid3tag for mp3 id3 tag support" on \
+		JACK		"Use JACK audio server" on \
+		LADSPA		"LADSPA plug-in support" on \
+		MAD		"Use libmad for mp2/3 decoding support"	on \
+		NYQUIST		"Nyquist plug-in support" on \
+		PORTMIXER	"Compile with PortMixer" on \
+		SAMPLERATE	"Use libsamplerate for sample rate conversion" on \
+		SBSMS		"Use libsbsms for pitch and tempo changing" on \
+		SOUNDTOUCH 	"Use libSoundTouch for pitch and tempo changing" on\
+		TAGLIB		"Use TagLib for metadata support" on \
+		TWOLAME		"Use libtwolame for MP2 export support" on \
+		VORBIS		"Use libvorbis for Ogg Vorbis support"	on \
+		VAMP		"Use libvamp for Vamp plug-in support" on
 
 .include <bsd.port.pre.mk>
 
@@ -37,33 +59,137 @@
 SSE_CFLAGS=	-mno-sse -mno-sse2
 .endif
 
-CFLAGS+=	-I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
-CPPFLAGS+=	-I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
+ACLOCAL_ARGS+=	-I ${WRKSRC}/m4
+AUTOCONF_ARGS+=	-I ${WRKSRC}/m4
+
+CONFIGURE_ARG+	=--destdir=/
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${WRKSRC}/lib-src/portsmf -I${WRKSRC}/lib-src/portaudio-v19/include -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
+CXXFLAGS+=	-I${WRKSRC}/lib-src/portsmf -I${WRKSRC}/lib-src/portaudio-v19/include -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
+CFLAGS+=	-I${WRKSRC}/lib-src/portsmf -I${WRKSRC}/lib-src/portaudio-v19/include -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
+
+CONFIGURE_ENV+=	WX_CONFIG="${WX_CONFIG}"
 
 .if !defined(NOPORTDOCS)
 MAKE_ENV=	DOC=yes
 .endif
 
-.if !defined(WITHOUT_MAD)
-CONFIGURE_ARGS+=	--with-libmad=system
-LIB_DEPENDS+=		mad.2:${PORTSDIR}/audio/libmad
+CONFIGURE_ARGS+=	--with-lib-preference="local system"
+CONFIGURE_ARGS+=	--with-portaudio
+CONFIGURE_ARGS+=	--enable-unicode
+
+.if defined(WITH_FFMPEG)
+RUN_DEPENDS+=		ffmpeg:${PORTSDIR}/multimedia/ffmpeg
+CONFIGURE_ARGS+=	--with-ffmpeg
 .else
-CONFIGURE_ARGS+=	--without-libmad
+CONFIGURE_ARGS+=	--without-ffmpeg
 .endif
 
-.if !defined(WITHOUT_VORBIS)
-CONFIGURE_ARGS+=	--with-vorbis=system
-LIB_DEPENDS+=		vorbis.4:${PORTSDIR}/audio/libvorbis
+.if defined(WITH_FLAC)
+LIB_DEPENDS+=		FLAC.10:${PORTSDIR}/audio/flac
+CONFIGURE_ARGS+=	--with-libflac
 .else
-CONFIGURE_ARGS+=	--without-vorbis
+CONFIGURE_ARGS+=	--without-libflac
 .endif
 
 .if defined(WITH_ID3TAG)
-CONFIGURE_ARGS+=	--with-id3tag=system
 LIB_DEPENDS+=		id3tag.0:${PORTSDIR}/audio/libid3tag
+CONFIGURE_ARGS+=	--with-libid3tag
+.else
+CONFIGURE_ARGS+=	--without-libid3tag
+.endif
+
+.if defined(WITH_JACK)
+LIB_DEPENDS+=		jack.0:${PORTSDIR}/audio/jack
+CONFIGURE_ARGS+=	--with-jack
+.else
+CONFIGURE_ARGS+=	--without-jack
+.endif
+
+.if defined(WITH_LADSPA)
+RUN_DEPENDS+=		listplugins:${PORTSDIR}/audio/ladspa
+CONFIGURE_ARGS+=	--enable-ladspa
+.else
+CONFIGURE_ARGS+=	--disable-ladspa
+.endif
+
+.if defined(WITH_MAD)
+LIB_DEPENDS+=		mad.2:${PORTSDIR}/audio/libmad
+CONFIGURE_ARGS+=	--with-libmad
+.else
+CONFIGURE_ARGS+=	--without-libmad
+.endif
+
+.if defined(WITH_NYQUIST)
+CONFIGURE_ARGS+=	--enable-nyquist
+.else
+CONFIGURE_ARGS+=	--disable-nyquist
+.endif
+
+.if defined(WITH_PORTMIXER)
+CONFIGURE_ARGS+=	--with-portmixer
+.else
+CONFIGURE_ARGS+=	--without-portmixer
+.endif
+
+.if defined(WITH_SAMPLERATE)
+LIB_DEPENDS+=		samplerate.1:${PORTSDIR}/audio/libsamplerate
+CONFIGURE_ARGS+=	--with-libsamplerate
+.else
+CONFIGURE_ARGS+=	--without-libsamplerate
+.endif
+
+.if defined(WITH_SBSMS)
+CONFIGURE_ARGS+=	--with-sbsms
+.else
+CONFIGURE_ARGS+=	--without-sbsms
+.endif
+
+.if defined(WITH_SOUNDTOUCH)
+LIB_DEPENDS+=		SoundTouch.0:${PORTSDIR}/audio/soundtouch
+CONFIGURE_ARGS+=	--with-soundtouch
+.else
+CONFIGURE_ARGS+=	--without-soundtouch
+.endif
+
+.if defined(WITH_TWOLAME)
+LIB_DEPENDS+=		twolame.0:${PORTSDIR}/audio/twolame
+CONFIGURE_ARGS+=	--with-libtwolame
+.else
+CONFIGURE_ARGS+=	--without-libtwolame
+.endif
+
+.if defined(WITH_TAGLIB)
+LIB_DEPENDS+=		tag.1:${PORTSDIR}/audio/taglib
+CONFIGURE_ARGS+=	--with-taglib
+.else
+CONFIGURE_ARGS+=	--without-taglib
+.endif
+
+.if defined(WITH_VAMP)
+CONFIGURE_ARGS+=	--with-libvamp
 .else
-CONFIGURE_ARGS+=	--without-id3tag
+CONFIGURE_ARGS+=	--without-libvamp
+.endif
+
+.if defined(WITH_VORBIS)
+LIB_DEPENDS+=		vorbis.4:${PORTSDIR}/audio/libvorbis
+CONFIGURE_ARGS+=	--with-libvorbis
+.else
+CONFIGURE_ARGS+=	--without-libvorbis
+.endif
+
+post-patch:
+#audacity links to some dependencies if present, even if explicitly disabled.
+#these must be patched out for the case when they are installed but
+#option-disabled to avoid unrecorded dependencies.
+
+.if defined(WITHOUT_JACK)
+	@${REINPLACE_CMD} -e 's|PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)|have_jack=no|' ${WRKSRC}/configure.in
+.endif
+
+.if defined(WITHOUT_SAMPLERATE)
+	@${REINPLACE_CMD} -e 's|libresample.a -lsamplerate $(LIBS)|libresample.a $(LIBS)|' ${WRKSRC}/lib-src/libresample/Makefile.in
 .endif
 
 .include <bsd.port.post.mk>
diff -urN audacity/distinfo audacity-new/distinfo
--- audacity/distinfo	2011-03-19 05:27:49.000000000 -0700
+++ audacity-new/distinfo	2012-05-12 17:29:10.000000000 -0700
@@ -1,2 +1,2 @@
-SHA256 (audacity-src-1.2.4b.tar.gz) = 7c6f53ceffc10fbff96cc3fdf2a2b61072ed8b527d4f7313b3216390907de113
-SIZE (audacity-src-1.2.4b.tar.gz) = 4499894
+SHA256 (audacity-minsrc-2.0.0.tar.bz2) = d849288ca5f90764d497953e7d2744e269bfbb6f71840762c66419e4c68aeb6a
+SIZE (audacity-minsrc-2.0.0.tar.bz2) = 6625078
diff -urN audacity/files/patch-Makefile.in audacity-new/files/patch-Makefile.in
--- audacity/files/patch-Makefile.in	2004-12-06 12:33:32.000000000 -0800
+++ audacity-new/files/patch-Makefile.in	2012-05-12 17:29:10.000000000 -0700
@@ -1,14 +1,15 @@
---- Makefile.in.orig	Tue Nov 30 21:49:32 2004
-+++ Makefile.in	Tue Nov 30 21:50:05 2004
-@@ -31,9 +31,11 @@
- 	$(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)
- 	-test -f audacity-1.2-help.htb && $(INSTALL) -m 644 audacity-1.2-help.htb \
- 		$(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/audacity-1.2-help.htb
+--- Makefile.in	2008-06-25 09:55:22.000000000 -0300
++++ Makefile.in.new	2008-06-25 09:58:26.000000000 -0300
+@@ -31,11 +31,12 @@
+ 	$(INSTALL) -m 755 audacity $(DESTDIR)$(BINDIR)/$(AUDACITY_NAME)
+ 
+ 	# install docs
 +ifeq ($(DOC),yes)
  	$(INSTALL) -d $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)
  	$(INSTALL) -m 644 README.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/README.txt
  	$(INSTALL) -m 644 LICENSE.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/LICENSE.txt
+-
 +endif
- 
  	# install manpage
  	$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
+ 	-test -f help/audacity.1.gz && \
diff -urN audacity/files/patch-cext.h audacity-new/files/patch-cext.h
--- audacity/files/patch-cext.h	1969-12-31 16:00:00.000000000 -0800
+++ audacity-new/files/patch-cext.h	2012-05-12 17:29:10.000000000 -0700
@@ -0,0 +1,12 @@
+--- lib-src/libnyquist/nyquist/cmt/cext.h       2009-07-15 20:27:36.000000000 -0700
++++ lib-src/libnyquist/nyquist/cmt/cext.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/files/patch-gcc41 audacity-new/files/patch-gcc41
--- audacity/files/patch-gcc41	2006-12-31 06:01:19.000000000 -0800
+++ audacity-new/files/patch-gcc41	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- lib-src/soundtouch/include/SoundTouch.h.orig        Sun Nov 27 08:47:29 2005
-+++ lib-src/soundtouch/include/SoundTouch.h     Sun Dec 17 22:52:47 2006
-@@ -146,7 +146,7 @@
-     static const char *getVersionString();
-
-     /// Get SoundTouch library version Id
--    static uint SoundTouch::getVersionId();
-+    static uint getVersionId();
-
-     /// Sets new rate control value. Normal rate = 1.0, smaller values
-     /// represent slower rate, larger faster rates.
diff -urN audacity/files/patch-lib-src__libnyquist__nyquist__nyqstk__include__FileRead.h audacity-new/files/patch-lib-src__libnyquist__nyquist__nyqstk__include__FileRead.h
--- audacity/files/patch-lib-src__libnyquist__nyquist__nyqstk__include__FileRead.h	1969-12-31 16:00:00.000000000 -0800
+++ audacity-new/files/patch-lib-src__libnyquist__nyquist__nyqstk__include__FileRead.h	2012-05-12 17:29:10.000000000 -0700
@@ -0,0 +1,10 @@
+--- ./lib-src/libnyquist/nyquist/nyqstk/include/FileRead.h.orig	2011-05-04 17:18:48.000000000 +0200
++++ ./lib-src/libnyquist/nyquist/nyqstk/include/FileRead.h	2011-05-04 17:19:13.000000000 +0200
+@@ -33,6 +33,7 @@
+ #define STK_FILEREAD_H
+ 
+ #include "Stk.h"
++#include <stdio.h>
+ 
+ namespace Nyq
+ {
diff -urN audacity/files/patch-libnyquist-Makefile.in audacity-new/files/patch-libnyquist-Makefile.in
--- audacity/files/patch-libnyquist-Makefile.in	2004-03-03 05:10:46.000000000 -0800
+++ audacity-new/files/patch-libnyquist-Makefile.in	2012-05-12 17:29:10.000000000 -0700
@@ -1,36 +0,0 @@
---- lib-src/libnyquist/Makefile.in.orig	Tue Dec  2 19:32:18 2003
-+++ lib-src/libnyquist/Makefile.in	Tue Dec  2 19:32:42 2003
-@@ -465,13 +465,13 @@
- 	cc -c cmt/userio.c -o cmt/userio.o $(CFLAGS)
- 
- misc/intgen: misc/intgen.c
--	cd misc; make intgen
-+	cd misc; $(MAKE) intgen
- 
- misc/unpacker: misc/unpacker.c misc/convert.c
--	cd misc; make unpacker
-+	cd misc; $(MAKE) unpacker
- 
- misc/packer: misc/packer.c misc/convert.c
--	cd misc; make packer
-+	cd misc; $(MAKE) packer
- 
- nyqsrc/sndfnintptrs.h: $(NYQHDRS) snd/snd.h misc/intgen
- 	$(INTGEN) nyqsrc/sndfnint $(NYQHDRS)
-@@ -481,14 +481,14 @@
- 
- clean:
- 	rm -f libnyquist.a
--	cd misc; make clean
-+	cd misc; $(MAKE) clean
- 	rm -f $(OBJECTS)
- # Note that these files are machine-generated:
- 	rm -f nyqsrc/sndfnintptrs.h nyqsrc/sndfnint.c nyqsrc/sndfnintdefs.h
- 	rm -f nyqsrc/seqfnintptrs.h nyqsrc/seqfnint.c nyqsrc/seqfnintdefs.h
- 
- cleaner: clean
--	cd misc; make cleaner
-+	cd misc; $(MAKE) cleaner
- 	rm -f *.backup */*.backup
- 	rm -f *~ */*.*~
- 	rm -f *.save */*.save
diff -urN audacity/files/patch-libnyquist-switches.h audacity-new/files/patch-libnyquist-switches.h
--- audacity/files/patch-libnyquist-switches.h	2004-03-03 05:10:46.000000000 -0800
+++ audacity-new/files/patch-libnyquist-switches.h	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- lib-src/libnyquist/sys/switches.h.orig	Tue Dec  2 19:14:40 2003
-+++ lib-src/libnyquist/sys/switches.h	Tue Dec  2 19:16:20 2003
-@@ -39,7 +39,7 @@
- */
- #define nyquist_printf printf
- 
--#if __APPLE__ && __GNUC__ /* Mac OS X */
-+#if (__FreeBSD__ || __APPLE__) && __GNUC__ /* Mac OS X */
- #define NEED_ULONG 1
- #else
- #include <sys/types.h>
diff -urN audacity/files/patch-libnyquist-term.c audacity-new/files/patch-libnyquist-term.c
--- audacity/files/patch-libnyquist-term.c	2004-03-03 05:10:46.000000000 -0800
+++ audacity-new/files/patch-libnyquist-term.c	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- lib-src/libnyquist/sys/term.c.orig	Tue Dec  2 19:17:30 2003
-+++ lib-src/libnyquist/sys/term.c	Tue Dec  2 19:17:51 2003
-@@ -40,7 +40,7 @@
- #else
- 
- #include <termios.h>
--#ifndef __APPLE__
-+#if !defined(__APPLE__) && !defined(__FreeBSD__)
- #include <asm/ioctls.h>
- #endif
- #include <signal.h>
diff -urN audacity/files/patch-libresample-Makefile.in audacity-new/files/patch-libresample-Makefile.in
--- audacity/files/patch-libresample-Makefile.in	2004-03-03 05:10:46.000000000 -0800
+++ audacity-new/files/patch-libresample-Makefile.in	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- lib-src/libresample/Makefile.in.orig	Tue Dec  2 19:46:02 2003
-+++ lib-src/libresample/Makefile.in	Tue Dec  2 19:46:25 2003
-@@ -6,7 +6,7 @@
- CC = @CC@
- CFLAGS = @CFLAGS@ -Wall
- 
--LIBS = @LIBS@ -lm
-+LIBS = @LDFLAGS@ @LIBS@ -lm
- 
- AR = @AR@
- RANLIB = @RANLIB@
diff -urN audacity/files/patch-portaudio-pa_unix.c audacity-new/files/patch-portaudio-pa_unix.c
--- audacity/files/patch-portaudio-pa_unix.c	2004-12-06 12:33:32.000000000 -0800
+++ audacity-new/files/patch-portaudio-pa_unix.c	2012-05-12 17:29:10.000000000 -0700
@@ -1,29 +0,0 @@
---- lib-src/portaudio/pa_unix_oss/pa_unix.c.orig	Tue Nov 30 21:18:35 2004
-+++ lib-src/portaudio/pa_unix_oss/pa_unix.c	Tue Nov 30 21:33:58 2004
-@@ -422,7 +422,7 @@
-     maxPri = sched_get_priority_max(SCHEDULER_POLICY);
-     if( schp.sched_priority > maxPri ) schp.sched_priority = maxPri;
- 
--    if (sched_setscheduler(0, SCHEDULER_POLICY, &schp) != 0)
-+    if (pthread_setschedparam(pahsc->pahsc_WatchDogThread, SCHEDULER_POLICY, &schp) != 0)
-     {
-         ERR_RPT(("PaHost_WatchDogProc: cannot set watch dog priority!\n"));
-         goto killAudio;
-@@ -465,7 +465,7 @@
- lowerAudio:
-     {
-         struct sched_param    schat = { 0 };
--        if( sched_setscheduler(pahsc->pahsc_AudioThreadPID, SCHED_OTHER, &schat) != 0)
-+        if( pthread_setschedparam(pahsc->pahsc_AudioThread, SCHED_OTHER, &schat) != 0)
-         {
-             ERR_RPT(("PaHost_WatchDogProc: failed to lower audio priority. errno = %d\n", errno ));
-             /* Fall through into killing audio thread. */
-@@ -585,7 +585,7 @@
-                                   sched_get_priority_min(SCHEDULER_POLICY)) / 2;
-     schp.sched_priority = pahsc->pahsc_AudioPriority;
- 
--    if (sched_setscheduler(0, SCHEDULER_POLICY, &schp) != 0)
-+    if (pthread_setschedparam(pahsc->pahsc_AudioThread, SCHEDULER_POLICY, &schp) != 0)
-     {
-         DBUG(("PortAudio: only superuser can use real-time priority.\n"));
-     }
diff -urN audacity/files/patch-portaudio-pa_unix.h audacity-new/files/patch-portaudio-pa_unix.h
--- audacity/files/patch-portaudio-pa_unix.h	2004-03-03 05:10:47.000000000 -0800
+++ audacity-new/files/patch-portaudio-pa_unix.h	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- lib-src/portaudio/pa_unix_oss/pa_unix.h.orig	Tue Dec  2 19:56:56 2003
-+++ lib-src/portaudio/pa_unix_oss/pa_unix.h	Tue Dec  2 19:58:33 2003
-@@ -82,7 +82,7 @@
- #define MAX_TIMEOUT_MSEC   (1000)
- 
- /************************************************* Definitions ********/
--#ifdef __linux__
-+#if defined(__linux__) || defined(__FreeBSD__)
-  #define DEVICE_NAME_BASE            "/dev/dsp"
- #else
-  #define DEVICE_NAME_BASE            "/dev/audio"
diff -urN audacity/files/patch-portaudio-pa_unix_oss.c audacity-new/files/patch-portaudio-pa_unix_oss.c
--- audacity/files/patch-portaudio-pa_unix_oss.c	2004-03-03 05:10:47.000000000 -0800
+++ audacity-new/files/patch-portaudio-pa_unix_oss.c	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- lib-src/portaudio/pa_unix_oss/pa_unix_oss.c.orig	Tue Dec  2 19:57:13 2003
-+++ lib-src/portaudio/pa_unix_oss/pa_unix_oss.c	Tue Dec  2 19:57:47 2003
-@@ -42,6 +42,8 @@
- 
- #ifdef __linux__
- #include <linux/soundcard.h>
-+#elif defined(__FreeBSD__)
-+#include <sys/soundcard.h>
- #else
- #include <machine/soundcard.h> /* JH20010905 */
- #endif
diff -urN audacity/files/patch-portmixer-px_unix_oss.c audacity-new/files/patch-portmixer-px_unix_oss.c
--- audacity/files/patch-portmixer-px_unix_oss.c	2004-03-03 05:10:47.000000000 -0800
+++ audacity-new/files/patch-portmixer-px_unix_oss.c	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- lib-src/portmixer/px_unix_oss/px_unix_oss.c.orig	Tue Dec  2 20:06:55 2003
-+++ lib-src/portmixer/px_unix_oss/px_unix_oss.c	Tue Dec  2 20:07:09 2003
-@@ -37,6 +37,8 @@
- 
- #ifdef __linux__
- #include <linux/soundcard.h>
-+#elif defined(__FreeBSD__)
-+#include <sys/soundcard.h>
- #else
- #include <machine/soundcard.h> /* JH20010905 */
- #endif
diff -urN audacity/files/patch-src-effects-ToneGen.cpp audacity-new/files/patch-src-effects-ToneGen.cpp
--- audacity/files/patch-src-effects-ToneGen.cpp	2006-04-15 13:10:03.000000000 -0700
+++ audacity-new/files/patch-src-effects-ToneGen.cpp	2012-05-12 17:29:10.000000000 -0700
@@ -1,11 +0,0 @@
---- work/audacity-src-1.2.4b/src/effects/ToneGen.cpp.old	Sat Feb 11 11:53:25 2006
-+++ src/effects/ToneGen.cpp	Sat Feb 11 11:52:07 2006
-@@ -265,7 +265,7 @@
-    item2->Add(item3, 0, wxALIGN_CENTRE | wxALL, 5);
- 
-    wxChoice *item4 = new wxChoice(parent, ID_WAVEFORM, wxDefaultPosition,
--                                  wxSize(80, -1), 0, NULL);
-+                                  wxSize(80, -1), 0, NULL, 0);
-    item2->Add(item4, 0, wxALIGN_CENTRE | wxALL, 5);
- 
-    item0->Add(item2, 1, wxALIGN_CENTRE | wxALL, 5);
diff -urN audacity/files/patch-xlisp.h audacity-new/files/patch-xlisp.h
--- audacity/files/patch-xlisp.h	1969-12-31 16:00:00.000000000 -0800
+++ audacity-new/files/patch-xlisp.h	2012-05-12 17:29: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/pkg-plist audacity-new/pkg-plist
--- audacity/pkg-plist	2005-12-12 12:02:40.000000000 -0800
+++ audacity-new/pkg-plist	2012-05-12 17:29:10.000000000 -0700
@@ -1,62 +1,161 @@
 bin/audacity
+man/man1/audacity.1.gz
+share/applications/audacity.desktop
+%%DATADIR%%/EQDefaultCurves.xml
 %%DATADIR%%/nyquist/bug.lsp
 %%DATADIR%%/nyquist/dspprims.lsp
+%%DATADIR%%/nyquist/envelopes.lsp
+%%DATADIR%%/nyquist/equalizer.lsp
 %%DATADIR%%/nyquist/evalenv.lsp
+%%DATADIR%%/nyquist/fileio.lsp
 %%DATADIR%%/nyquist/follow.lsp
 %%DATADIR%%/nyquist/init.lsp
 %%DATADIR%%/nyquist/misc.lsp
 %%DATADIR%%/nyquist/nyinit.lsp
 %%DATADIR%%/nyquist/nyqmisc.lsp
+%%DATADIR%%/nyquist/nyquist-plot.txt
 %%DATADIR%%/nyquist/nyquist.lsp
 %%DATADIR%%/nyquist/printrec.lsp
 %%DATADIR%%/nyquist/profile.lsp
+%%DATADIR%%/nyquist/rawwaves/mand1.raw
+%%DATADIR%%/nyquist/rawwaves/mand10.raw
+%%DATADIR%%/nyquist/rawwaves/mand11.raw
+%%DATADIR%%/nyquist/rawwaves/mand12.raw
+%%DATADIR%%/nyquist/rawwaves/mand2.raw
+%%DATADIR%%/nyquist/rawwaves/mand3.raw
+%%DATADIR%%/nyquist/rawwaves/mand4.raw
+%%DATADIR%%/nyquist/rawwaves/mand5.raw
+%%DATADIR%%/nyquist/rawwaves/mand6.raw
+%%DATADIR%%/nyquist/rawwaves/mand7.raw
+%%DATADIR%%/nyquist/rawwaves/mand8.raw
+%%DATADIR%%/nyquist/rawwaves/mand9.raw
+%%DATADIR%%/nyquist/rawwaves/mandpluk.raw
+%%DATADIR%%/nyquist/rawwaves/marmstk1.raw
+%%DATADIR%%/nyquist/rawwaves/sinewave.raw
+%%DATADIR%%/nyquist/sal-parse.lsp
+%%DATADIR%%/nyquist/sal.lsp
 %%DATADIR%%/nyquist/seq.lsp
 %%DATADIR%%/nyquist/seqfnint.lsp
 %%DATADIR%%/nyquist/seqmidi.lsp
 %%DATADIR%%/nyquist/sndfnint.lsp
+%%DATADIR%%/nyquist/stk.lsp
 %%DATADIR%%/nyquist/system.lsp
-%%DATADIR%%/nyquist/test.lsp
 %%DATADIR%%/nyquist/xlinit.lsp
+%%DATADIR%%/nyquist/xm.lsp
 %%DATADIR%%/plug-ins/SilenceMarker.ny
+%%DATADIR%%/plug-ins/SoundFinder.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/notch.ny
 %%DATADIR%%/plug-ins/pluck.ny
+%%DATADIR%%/plug-ins/rissetdrum.ny
 %%DATADIR%%/plug-ins/tremolo.ny
-%%DATADIR%%/audacity-1.2-help.htb
+%%DATADIR%%/plug-ins/vocalremover.ny
+%%DATADIR%%/plug-ins/vocoder.ny
+%%PORTDOCS%%/share/doc/audacity/LICENSE.txt
+%%PORTDOCS%%/share/doc/audacity/README.txt
+share/icons/hicolor/16x16/apps/audacity.png
+share/icons/hicolor/22x22/apps/audacity.png
+share/icons/hicolor/24x24/apps/audacity.png
+share/icons/hicolor/32x32/apps/audacity.png
+share/icons/hicolor/48x48/apps/audacity.png
+share/icons/hicolor/scalable/apps/audacity.svg
+share/licenses/audacity-devel-2.0.0/GPLv2
+share/licenses/audacity-devel-2.0.0/LICENSE
+share/licenses/audacity-devel-2.0.0/catalog.mk
+share/locale/af/LC_MESSAGES/audacity.mo
 share/locale/ar/LC_MESSAGES/audacity.mo
+share/locale/be/LC_MESSAGES/audacity.mo
 share/locale/bg/LC_MESSAGES/audacity.mo
+share/locale/bn/LC_MESSAGES/audacity.mo
+share/locale/bs/LC_MESSAGES/audacity.mo
 share/locale/ca/LC_MESSAGES/audacity.mo
+share/locale/ca at valencia/LC_MESSAGES/audacity.mo
 share/locale/cs/LC_MESSAGES/audacity.mo
+share/locale/cy/LC_MESSAGES/audacity.mo
 share/locale/da/LC_MESSAGES/audacity.mo
 share/locale/de/LC_MESSAGES/audacity.mo
 share/locale/el/LC_MESSAGES/audacity.mo
 share/locale/es/LC_MESSAGES/audacity.mo
 share/locale/eu/LC_MESSAGES/audacity.mo
+share/locale/fa/LC_MESSAGES/audacity.mo
 share/locale/fi/LC_MESSAGES/audacity.mo
 share/locale/fr/LC_MESSAGES/audacity.mo
 share/locale/ga/LC_MESSAGES/audacity.mo
+share/locale/gl/LC_MESSAGES/audacity.mo
+share/locale/he/LC_MESSAGES/audacity.mo
+share/locale/hi/LC_MESSAGES/audacity.mo
 share/locale/hu/LC_MESSAGES/audacity.mo
+share/locale/id/LC_MESSAGES/audacity.mo
 share/locale/it/LC_MESSAGES/audacity.mo
 share/locale/ja/LC_MESSAGES/audacity.mo
+share/locale/ka/LC_MESSAGES/audacity.mo
+share/locale/km/LC_MESSAGES/audacity.mo
+share/locale/ko/LC_MESSAGES/audacity.mo
 share/locale/lt/LC_MESSAGES/audacity.mo
 share/locale/mk/LC_MESSAGES/audacity.mo
+share/locale/my/LC_MESSAGES/audacity.mo
 share/locale/nb/LC_MESSAGES/audacity.mo
 share/locale/nl/LC_MESSAGES/audacity.mo
+share/locale/oc/LC_MESSAGES/audacity.mo
 share/locale/pl/LC_MESSAGES/audacity.mo
 share/locale/pt/LC_MESSAGES/audacity.mo
+share/locale/pt_BR/LC_MESSAGES/audacity.mo
+share/locale/ro/LC_MESSAGES/audacity.mo
 share/locale/ru/LC_MESSAGES/audacity.mo
+share/locale/sk/LC_MESSAGES/audacity.mo
 share/locale/sl/LC_MESSAGES/audacity.mo
+share/locale/sr_RS/LC_MESSAGES/audacity.mo
 share/locale/sv/LC_MESSAGES/audacity.mo
+share/locale/tg/LC_MESSAGES/audacity.mo
+share/locale/tr/LC_MESSAGES/audacity.mo
 share/locale/uk/LC_MESSAGES/audacity.mo
+share/locale/vi/LC_MESSAGES/audacity.mo
 share/locale/zh/LC_MESSAGES/audacity.mo
 share/locale/zh_TW/LC_MESSAGES/audacity.mo
- at dirrm %%DATADIR%%/plug-ins
- at dirrm %%DATADIR%%/nyquist
- at dirrm %%DATADIR%%
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+share/mime/packages/audacity.xml
+share/pixmaps/audacity.xpm
+share/pixmaps/audacity16.xpm
+share/pixmaps/audacity32.xpm
+share/pixmaps/gnome-mime-application-x-audacity-project.xpm
+ at dirrmtry share/mime/packages
+ at dirrmtry share/mime
+ at dirrmtry share/locale/sr_RS/LC_MESSAGES
+ at dirrmtry share/locale/sr_RS
+ at dirrmtry share/locale/oc/LC_MESSAGES
+ at dirrmtry share/locale/oc
+ at dirrmtry share/locale/my/LC_MESSAGES
+ at dirrmtry share/locale/my
+ at dirrmtry share/locale/km/LC_MESSAGES
+ at dirrmtry share/locale/km
+ at dirrmtry share/locale/ca at valencia/LC_MESSAGES
+ at dirrmtry share/locale/ca at valencia
+ at dirrmtry share/licenses/audacity-devel-2.0.0
+ at dirrmtry share/licenses
+ at dirrmtry share/icons/hicolor/scalable/apps
+ at dirrmtry share/icons/hicolor/scalable
+ at dirrmtry share/icons/hicolor/48x48/apps
+ at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor/32x32/apps
+ at dirrmtry share/icons/hicolor/32x32
+ at dirrmtry share/icons/hicolor/24x24/apps
+ at dirrmtry share/icons/hicolor/24x24
+ at dirrmtry share/icons/hicolor/22x22/apps
+ at dirrmtry share/icons/hicolor/22x22
+ at dirrmtry share/icons/hicolor/16x16/apps
+ at dirrmtry share/icons/hicolor/16x16
+ at dirrmtry share/icons/hicolor
+ at dirrmtry share/icons
+ at dirrmtry %%PORTDOCS%%/share/doc/audacity
+ at dirrmtry %%DATADIR%%/plug-ins
+ at dirrmtry %%DATADIR%%/nyquist/rawwaves
+ at dirrmtry %%DATADIR%%/nyquist
+ at dirrmtry %%DATADIR%%
+ at dirrmtry share/applications


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



More information about the freebsd-ports-bugs mailing list