ports/131239: Update audacity-devel from 1.3.5 to 1.3.7

Jack L. xxjack12xx at gmail.com
Sun Feb 1 14:06:25 UTC 2009


Here's the diff in a paste since gmail doesn't like attaching txt files.

diff -urN audacity-devel/Makefile audacity-devel-new/Makefile
--- audacity-devel/Makefile	2008-07-04 16:40:10.000000000 -0700
+++ audacity-devel-new/Makefile	2009-01-30 07:24:57.000000000 -0800
@@ -5,11 +5,11 @@
 # $FreeBSD: ports/audio/audacity-devel/Makefile,v 1.31 2008/07/04
23:40:10 edwin Exp $

 PORTNAME=	audacity
-PORTVERSION=	1.3.5
+PORTVERSION=	1.3.7
 CATEGORIES=	audio
 MASTER_SITES=	SF
 PKGNAMESUFFIX=	-devel
-DISTNAME=	${PORTNAME}-src-${PORTVERSION}
+DISTNAME=	${PORTNAME}-fullsrc-${PORTVERSION}

 MAINTAINER=	xxjack12xx at gmail.com
 COMMENT=	Audacity is a GUI editor for digital audio waveforms
@@ -19,22 +19,28 @@

 CONFLICTS=	audacity-[0-9]*

-WRKSRC=		${WRKDIR}/${PORTNAME}-src-${PORTVERSION}-beta
+WRKSRC=		${WRKDIR}/${PORTNAME}-src-${PORTVERSION}

 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_GETTEXT=	yes
 USE_GCC=	4.2+
+USE_GETTEXT=	yes
 USE_BZIP2=	yes
-USE_WX=		2.6
+USE_WX=		2.8
 WX_COMPS=	wx

 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=	VORBIS		"Use libvorbis for Ogg Vorbis support"	on \
+		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 \
+		SBSMS		"Use libsbsms for pitch and tempo changing" on \
+		SOUNDTOUCH 	"Use libsbsms for pitch and tempo changing" on\
+		TWOLAME		"Use libtwolame for MP2 export support" on \
+		FFMPEG		"Use ffmpeg for import and export support" on \
+		MIDI		"Use portSMF for Midi support" on

 .include <bsd.port.pre.mk>

@@ -44,34 +50,50 @@

 CONFIGURE_ARG+=	--destdir=/
 CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
-		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS}
${PTHREAD_CFLAGS}" \
-		CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \
+		CPPFLAGS="${CPPFLAGS} -I${WRKSRC}/lib-src/portaudio-v19/include
-I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \
+		CFLAGS="${CFLAGS} -I${WRKSRC}/lib-src/portaudio-v19/include
-I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \
 		WX_CONFIG=${WX_CONFIG}

 .if !defined(NOPORTDOCS)
 MAKE_ENV=	DOC=yes
 .endif

-CONFIGURE_ARGS+=	--with-portaudio=v18
-.if !defined(WITHOUT_MAD)
-CONFIGURE_ARGS+=	--with-libmad=system
-LIB_DEPENDS+=		mad.2:${PORTSDIR}/audio/libmad
-.else
-CONFIGURE_ARGS+=	--without-libmad
+CONFIGURE_ARGS+=	--enable-unicode=no
+
+.if defined(WITH_VORBIS)
+CONFIGURE_ARGS+=	--with-libvorbis
+.endif
+
+.if defined(WITH_MAD)
+CONFIGURE_ARGS+=	--with-libmad
 .endif

-.if !defined(WITHOUT_VORBIS)
-CONFIGURE_ARGS+=	--with-vorbis=system
-LIB_DEPENDS+=		vorbis.4:${PORTSDIR}/audio/libvorbis
-.else
-CONFIGURE_ARGS+=	--without-vorbis
+.if defined(WITH_FLAC)
+CONFIGURE_ARGS+=	--with-libflac
 .endif

 .if defined(WITH_ID3TAG)
-CONFIGURE_ARGS+=	--with-id3tag=system
-LIB_DEPENDS+=		id3tag.0:${PORTSDIR}/audio/libid3tag
-.else
-CONFIGURE_ARGS+=	--without-id3tag
+CONFIGURE_ARGS+=	--with-libid3tag
+.endif
+
+.if defined(WITH_SBSMS)
+CONFIGURE_ARGS+=	--with-sbsms
+.endif
+
+.if defined(WITH_SOUNDTOUCH)
+CONFIGURE_ARGS+=	--with-soundtouch
+.endif
+
+.if defined(WITH_TWOLAME)
+CONFIGURE_ARGS+=	--with-libtwolame
+.endif
+
+.if defined(WITH_FFMPEG)
+CONFIGURE_ARGS+=	--with-ffmpeg
+.endif
+
+.if defined(WITH_MIDI)
+CONFIGURE_ARGS+=	--with-midi
 .endif

 .include <bsd.port.post.mk>
diff -urN audacity-devel/distinfo audacity-devel-new/distinfo
--- audacity-devel/distinfo	2008-07-04 16:40:10.000000000 -0700
+++ audacity-devel-new/distinfo	2009-01-30 06:37:31.000000000 -0800
@@ -1,3 +1,3 @@
-MD5 (audacity-src-1.3.5.tar.bz2) = b15503c331e7145942fa0e4b27760d61
-SHA256 (audacity-src-1.3.5.tar.bz2) =
58beaf20d5d4bdec61c93cc9bda08faea9b1c9b51c962b4176e9390a6a65904c
-SIZE (audacity-src-1.3.5.tar.bz2) = 4542637
+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
diff -urN audacity-devel/files/patch-libresample-Makefile.in
audacity-devel-new/files/patch-libresample-Makefile.in
--- audacity-devel/files/patch-libresample-Makefile.in	2006-10-06
11:29:58.000000000 -0700
+++ audacity-devel-new/files/patch-libresample-Makefile.in	1969-12-31
16:00:00.000000000 -0800
@@ -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-devel/files/patch-locale_Makefile.in
audacity-devel-new/files/patch-locale_Makefile.in
--- audacity-devel/files/patch-locale_Makefile.in	2008-07-04
16:40:10.000000000 -0700
+++ audacity-devel-new/files/patch-locale_Makefile.in	1969-12-31
16:00:00.000000000 -0800
@@ -1,11 +0,0 @@
---- locale/Makefile.in	2008-07-04 23:33:51.000000000 +0000
-+++ locale/Makefile.in.orig	2008-07-04 23:33:28.000000000 +0000
-@@ -14,7 +14,7 @@
- DATADIR=@datadir@
- # This is an intermediate directory that all files destined for installation
- # get put into on the way (make DESTDIR=/foo install).
--DESTDIR=@destdir@
-+DESTDIR=
- # this is where locale-dependant stuff (i.e. .mo files) goes
- LOCALEDIR=@localedir@
- INSTALL=@INSTALL@
diff -urN audacity-devel/files/patch-portaudio-pa_unix.c
audacity-devel-new/files/patch-portaudio-pa_unix.c
--- audacity-devel/files/patch-portaudio-pa_unix.c	2006-10-06
11:29:58.000000000 -0700
+++ audacity-devel-new/files/patch-portaudio-pa_unix.c	1969-12-31
16:00:00.000000000 -0800
@@ -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-devel/files/patch-portaudio-pa_unix.h
audacity-devel-new/files/patch-portaudio-pa_unix.h
--- audacity-devel/files/patch-portaudio-pa_unix.h	2006-10-06
11:29:58.000000000 -0700
+++ audacity-devel-new/files/patch-portaudio-pa_unix.h	1969-12-31
16:00:00.000000000 -0800
@@ -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-devel/pkg-plist audacity-devel-new/pkg-plist
--- audacity-devel/pkg-plist	2008-07-04 16:40:10.000000000 -0700
+++ audacity-devel-new/pkg-plist	2009-01-31 21:50:47.000000000 -0800
@@ -1,4 +1,6 @@
 bin/audacity
+share/applications/audacity.desktop
+%%DATADIR%%/audacity.xpm
 %%DATADIR%%/nyquist/bug.lsp
 %%DATADIR%%/nyquist/dspprims.lsp
 %%DATADIR%%/nyquist/evalenv.lsp
@@ -18,25 +20,28 @@
 %%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/tremolo.ny
-%%DATADIR%%/plug-ins/beat.ny
-%%DATADIR%%/plug-ins/equalabel.ny
 %%DATADIR%%/plug-ins/rissetdrum.ny
+%%DATADIR%%/plug-ins/tremolo.ny
 %%DATADIR%%/plug-ins/vocalremover.ny
 %%DATADIR%%/plug-ins/vocoder.ny
-%%DATADIR%%/audacity.xpm
 share/locale/af/LC_MESSAGES/audacity.mo
 share/locale/ar/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
@@ -44,16 +49,20 @@
 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/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/lt/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/nb/LC_MESSAGES/audacity.mo
 share/locale/nl/LC_MESSAGES/audacity.mo
@@ -62,22 +71,25 @@
 share/locale/pt_BR/LC_MESSAGES/audacity.mo
 share/locale/ro/LC_MESSAGES/audacity.mo
 share/locale/ru/LC_MESSAGES/audacity.mo
-share/locale/sl/LC_MESSAGES/audacity.mo
 share/locale/sk/LC_MESSAGES/audacity.mo
+share/locale/sl/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 dirrmtry share/locale/oc/LC_MESSAGES
- at dirrmtry share/locale/oc
+share/mime/packages/audacity.xml
+ at dirrm share/mime/packages
+ at dirrm share/mime
+ at dirrm share/locale/oc/LC_MESSAGES
+ at dirrm share/locale/oc
+ at dirrm share/locale/km/LC_MESSAGES
+ at dirrm share/locale/km
+ at dirrm share/locale/ca at valencia/LC_MESSAGES
+ at dirrm share/locale/ca at valencia
 @dirrm %%DATADIR%%/plug-ins
 @dirrm %%DATADIR%%/nyquist
 @dirrm %%DATADIR%%
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-share/mime/packages/audacity.xml
-share/applications/audacity.desktop
- at dirrmtry share/applications
+ at dirrm share/applications



More information about the freebsd-ports-bugs mailing list