ports/59915: New Port: audio/audacity-devel (Development release of Audacity audio editor)

Craig Boston craig at yekse.gank.org
Wed Dec 3 05:50:24 UTC 2003


>Number:         59915
>Category:       ports
>Synopsis:       New Port: audio/audacity-devel (Development release of Audacity audio editor)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 02 21:50:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Craig Boston
>Release:        FreeBSD 5.2-BETA i386
>Organization:
Entropy, Inc.
>Environment:
System: FreeBSD aldaris 5.2-BETA FreeBSD 5.2-BETA #0: Fri Nov 28 13:18:31 CST 2003 root at aldaris:/usr/obj/usr/src/sys/ALDARIS i386
	
>Description:
This port is the current development/public beta release of the Audacity
audio editor (1.2.0-pre3).  It is much more full-featured and polished
(GUI-wise) than the 'stable' release.

I noticed that the port for the stable branch (audio/audacity) has recently
lost its maintainer.  I'm willing to maintain that port as well.  Should
I submit a separate PR?
>How-To-Repeat:
$ cd /usr/ports/audio/audacity-devel
cd: can't cd to /usr/ports/audio/audacity-devel
>Fix:

	

--- audacity-devel.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:
#
#	audacity-devel
#	audacity-devel/Makefile
#	audacity-devel/distinfo
#	audacity-devel/pkg-descr
#	audacity-devel/pkg-plist
#	audacity-devel/files
#	audacity-devel/files/patch-Makefile.in
#	audacity-devel/files/patch-libnyquist-term.c
#	audacity-devel/files/patch-libresample-Makefile.in
#	audacity-devel/files/patch-soundtouch-Makefile.in
#	audacity-devel/files/patch-portaudio-pa_unix_oss.c
#	audacity-devel/files/patch-portaudio-pa_unix.h
#	audacity-devel/files/patch-portmixer-px_unix_oss.c
#	audacity-devel/files/patch-libnyquist-switches.h
#	audacity-devel/files/patch-libnyquist-Makefile.in
#
echo c - audacity-devel
mkdir -p audacity-devel > /dev/null 2>&1
echo x - audacity-devel/Makefile
sed 's/^X//' >audacity-devel/Makefile << 'END-of-audacity-devel/Makefile'
X# New ports collection makefile for:	audacity-devel
X# Date created:				2 Dec 2003
X# Whom:					Craig Boston <craig at yekse.gank.org>
X#
X# $FreeBSD$
X
XPORTNAME=	audacity
XPORTVERSION=	1.2.0.p3
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-src-1.2.0-pre3
X
XMAINTAINER=	craig at yekse.gank.org
XCOMMENT=	Audacity is a GUI editor for digital audio waveforms
X
XBUILD_DEPENDS+=	zip:${PORTSDIR}/archivers/zip
XLIB_DEPENDS=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-src-1.2.0-pre3
XGNU_CONFIGURE=	yes
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XCONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
X		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
X		CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
X		WX_CONFIG=${X11BASE}/bin/wxgtk2-2.4-config
XCONFIGURE_ARGS+=	--with-id3=no
X
X.include <bsd.port.pre.mk>
X
X.if !defined(NOPORTDOCS)
XMAKE_ENV=	DOC=yes
X.endif
X
X.if !defined(WITHOUT_MAD)
XCONFIGURE_ARGS+=	--with-libmad=system
XLIB_DEPENDS+=	mad.1:${PORTSDIR}/audio/mad
X.else
XCONFIGURE_ARGS+=	--without-libmad
X.endif
X
X.if !defined(WITHOUT_VORBIS)
XCONFIGURE_ARGS+=	--with-vorbis=system
XLIB_DEPENDS+=	vorbis.2:${PORTSDIR}/audio/libvorbis
X.else
XCONFIGURE_ARGS+=	--without-vorbis
X.endif
X
Xpre-everything::
X.if !defined(WITHOUT_MAD)
X	@${ECHO_MSG} "You can disable support for libmad (MP3) by defining WITHOUT_MAD."
X.endif
X.if !defined(WITHOUT_VORBIS)
X	@${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS."
X.endif
X
XMAN1=		audacity.1
XMANCOMPRESSED=	yes
X
X.include <bsd.port.post.mk>
END-of-audacity-devel/Makefile
echo x - audacity-devel/distinfo
sed 's/^X//' >audacity-devel/distinfo << 'END-of-audacity-devel/distinfo'
XMD5 (audacity-src-1.2.0-pre3.tar.bz2) = a7efddd64e2ce3e380614796d689e11f
END-of-audacity-devel/distinfo
echo x - audacity-devel/pkg-descr
sed 's/^X//' >audacity-devel/pkg-descr << 'END-of-audacity-devel/pkg-descr'
XAudacity is a program that lets you manipulate digital audio
Xwaveforms. In addition to letting you record sounds directly from
Xwithin the program, it imports many sound file formats, including
XWAV, AIFF, AU, IRCAM, MP3, and Ogg Vorbis. It supports all
Xcommon editing operations such as Cut, Copy, and Paste, plus it will
Xmix tracks and let you apply plug-in effects to any part of a sound. It
Xalso has a built-in amplitude envelope editor, a customizable
Xspectrogram mode and a frequency analysis window for audio
Xanalysis applications.
X
XThis is the development release of Audacity.  It has significant
Xfeature improvements over the stable release (audio/audacity), but has
Xnot received as much real-world testing.
X
XAuthor: Dominic Mazzoni dominic at minorninth.com
XWWW: http://audacity.sourceforge.net
END-of-audacity-devel/pkg-descr
echo x - audacity-devel/pkg-plist
sed 's/^X//' >audacity-devel/pkg-plist << 'END-of-audacity-devel/pkg-plist'
Xbin/audacity
X%%PORTDOCS%%%%DOCSDIR%%/audacity-1.2-help.htb
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
Xshare/audacity/nyquist/bug.lsp
Xshare/audacity/nyquist/dspprims.lsp
Xshare/audacity/nyquist/evalenv.lsp
Xshare/audacity/nyquist/follow.lsp
Xshare/audacity/nyquist/init.lsp
Xshare/audacity/nyquist/misc.lsp
Xshare/audacity/nyquist/nyinit.lsp
Xshare/audacity/nyquist/nyqmisc.lsp
Xshare/audacity/nyquist/nyquist.lsp
Xshare/audacity/nyquist/printrec.lsp
Xshare/audacity/nyquist/profile.lsp
Xshare/audacity/nyquist/seq.lsp
Xshare/audacity/nyquist/seqfnint.lsp
Xshare/audacity/nyquist/seqmidi.lsp
Xshare/audacity/nyquist/sndfnint.lsp
Xshare/audacity/nyquist/system.lsp
Xshare/audacity/nyquist/test.lsp
Xshare/audacity/nyquist/xlinit.lsp
X at dirrm share/audacity/nyquist
Xshare/audacity/plug-ins/clicktrack.ny
Xshare/audacity/plug-ins/delay.ny
Xshare/audacity/plug-ins/highpass.ny
Xshare/audacity/plug-ins/lowpass.ny
Xshare/audacity/plug-ins/pluck.ny
Xshare/audacity/plug-ins/tremolo.ny
X at dirrm share/audacity/plug-ins
X at dirrm share/audacity
Xshare/locale/bg/LC_MESSAGES/audacity.mo
Xshare/locale/ca/LC_MESSAGES/audacity.mo
Xshare/locale/cs/LC_MESSAGES/audacity.mo
Xshare/locale/da/LC_MESSAGES/audacity.mo
Xshare/locale/de/LC_MESSAGES/audacity.mo
Xshare/locale/es/LC_MESSAGES/audacity.mo
Xshare/locale/it/LC_MESSAGES/audacity.mo
Xshare/locale/mk/LC_MESSAGES/audacity.mo
Xshare/locale/nl/LC_MESSAGES/audacity.mo
Xshare/locale/pt/LC_MESSAGES/audacity.mo
Xshare/locale/ru/LC_MESSAGES/audacity.mo
Xshare/locale/sv/LC_MESSAGES/audacity.mo
END-of-audacity-devel/pkg-plist
echo c - audacity-devel/files
mkdir -p audacity-devel/files > /dev/null 2>&1
echo x - audacity-devel/files/patch-Makefile.in
sed 's/^X//' >audacity-devel/files/patch-Makefile.in << 'END-of-audacity-devel/files/patch-Makefile.in'
X--- Makefile.in.orig	Tue Dec  2 22:43:47 2003
X+++ Makefile.in	Tue Dec  2 22:46:38 2003
X@@ -27,12 +27,14 @@
X 	$(INSTALL) -d $(DESTDIR)$(BINDIR)
X 	$(INSTALL) -m 755 audacity $(DESTDIR)$(BINDIR)/$(AUDACITY_NAME)
X 
X+ifeq ($(DOC),yes)
X 	# install docs
X 	$(INSTALL) -d $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)
X 	-test -f audacity-1.2-help.htb && $(INSTALL) -m 644 audacity-1.2-help.htb \
X 		$(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/audacity-1.2-help.htb
X 	$(INSTALL) -m 644 README.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/README.txt
X 	$(INSTALL) -m 644 LICENSE.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/LICENSE.txt
X+endif
X 
X 	# install manpage
X 	$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
END-of-audacity-devel/files/patch-Makefile.in
echo x - audacity-devel/files/patch-libnyquist-term.c
sed 's/^X//' >audacity-devel/files/patch-libnyquist-term.c << 'END-of-audacity-devel/files/patch-libnyquist-term.c'
X--- lib-src/libnyquist/sys/term.c.orig	Tue Dec  2 19:17:30 2003
X+++ lib-src/libnyquist/sys/term.c	Tue Dec  2 19:17:51 2003
X@@ -40,7 +40,7 @@
X #else
X 
X #include <termios.h>
X-#ifndef __APPLE__
X+#if !defined(__APPLE__) && !defined(__FreeBSD__)
X #include <asm/ioctls.h>
X #endif
X #include <signal.h>
END-of-audacity-devel/files/patch-libnyquist-term.c
echo x - audacity-devel/files/patch-libresample-Makefile.in
sed 's/^X//' >audacity-devel/files/patch-libresample-Makefile.in << 'END-of-audacity-devel/files/patch-libresample-Makefile.in'
X--- lib-src/libresample/Makefile.in.orig	Tue Dec  2 19:46:02 2003
X+++ lib-src/libresample/Makefile.in	Tue Dec  2 19:46:25 2003
X@@ -6,7 +6,7 @@
X CC = @CC@
X CFLAGS = @CFLAGS@ -Wall
X 
X-LIBS = @LIBS@ -lm
X+LIBS = @LDFLAGS@ @LIBS@ -lm
X 
X AR = @AR@
X RANLIB = @RANLIB@
END-of-audacity-devel/files/patch-libresample-Makefile.in
echo x - audacity-devel/files/patch-soundtouch-Makefile.in
sed 's/^X//' >audacity-devel/files/patch-soundtouch-Makefile.in << 'END-of-audacity-devel/files/patch-soundtouch-Makefile.in'
X--- lib-src/soundtouch/Makefile.in.orig	Tue Dec  2 19:01:28 2003
X+++ lib-src/soundtouch/Makefile.in	Tue Dec  2 19:03:17 2003
X@@ -1,10 +1,10 @@
X all:
X-	cd src && make
X+	cd src && $(MAKE)
X 
X clean:
X 	rm -f *~ *.a config.cache config.log config.status core*
X-	cd src && make clean
X+	cd src && $(MAKE) clean
X 
X distclean: clean
X 	rm -f Makefile
X-	cd src && make dist
X+	cd src && $(MAKE) dist
END-of-audacity-devel/files/patch-soundtouch-Makefile.in
echo x - audacity-devel/files/patch-portaudio-pa_unix_oss.c
sed 's/^X//' >audacity-devel/files/patch-portaudio-pa_unix_oss.c << 'END-of-audacity-devel/files/patch-portaudio-pa_unix_oss.c'
X--- lib-src/portaudio/pa_unix_oss/pa_unix_oss.c.orig	Tue Dec  2 19:57:13 2003
X+++ lib-src/portaudio/pa_unix_oss/pa_unix_oss.c	Tue Dec  2 19:57:47 2003
X@@ -42,6 +42,8 @@
X 
X #ifdef __linux__
X #include <linux/soundcard.h>
X+#elif defined(__FreeBSD__)
X+#include <sys/soundcard.h>
X #else
X #include <machine/soundcard.h> /* JH20010905 */
X #endif
END-of-audacity-devel/files/patch-portaudio-pa_unix_oss.c
echo x - audacity-devel/files/patch-portaudio-pa_unix.h
sed 's/^X//' >audacity-devel/files/patch-portaudio-pa_unix.h << 'END-of-audacity-devel/files/patch-portaudio-pa_unix.h'
X--- lib-src/portaudio/pa_unix_oss/pa_unix.h.orig	Tue Dec  2 19:56:56 2003
X+++ lib-src/portaudio/pa_unix_oss/pa_unix.h	Tue Dec  2 19:58:33 2003
X@@ -82,7 +82,7 @@
X #define MAX_TIMEOUT_MSEC   (1000)
X 
X /************************************************* Definitions ********/
X-#ifdef __linux__
X+#if defined(__linux__) || defined(__FreeBSD__)
X  #define DEVICE_NAME_BASE            "/dev/dsp"
X #else
X  #define DEVICE_NAME_BASE            "/dev/audio"
END-of-audacity-devel/files/patch-portaudio-pa_unix.h
echo x - audacity-devel/files/patch-portmixer-px_unix_oss.c
sed 's/^X//' >audacity-devel/files/patch-portmixer-px_unix_oss.c << 'END-of-audacity-devel/files/patch-portmixer-px_unix_oss.c'
X--- lib-src/portmixer/px_unix_oss/px_unix_oss.c.orig	Tue Dec  2 20:06:55 2003
X+++ lib-src/portmixer/px_unix_oss/px_unix_oss.c	Tue Dec  2 20:07:09 2003
X@@ -37,6 +37,8 @@
X 
X #ifdef __linux__
X #include <linux/soundcard.h>
X+#elif defined(__FreeBSD__)
X+#include <sys/soundcard.h>
X #else
X #include <machine/soundcard.h> /* JH20010905 */
X #endif
END-of-audacity-devel/files/patch-portmixer-px_unix_oss.c
echo x - audacity-devel/files/patch-libnyquist-switches.h
sed 's/^X//' >audacity-devel/files/patch-libnyquist-switches.h << 'END-of-audacity-devel/files/patch-libnyquist-switches.h'
X--- lib-src/libnyquist/sys/switches.h.orig	Tue Dec  2 19:14:40 2003
X+++ lib-src/libnyquist/sys/switches.h	Tue Dec  2 19:16:20 2003
X@@ -39,7 +39,7 @@
X */
X #define nyquist_printf printf
X 
X-#if __APPLE__ && __GNUC__ /* Mac OS X */
X+#if (__FreeBSD__ || __APPLE__) && __GNUC__ /* Mac OS X */
X #define NEED_ULONG 1
X #else
X #include <sys/types.h>
END-of-audacity-devel/files/patch-libnyquist-switches.h
echo x - audacity-devel/files/patch-libnyquist-Makefile.in
sed 's/^X//' >audacity-devel/files/patch-libnyquist-Makefile.in << 'END-of-audacity-devel/files/patch-libnyquist-Makefile.in'
X--- lib-src/libnyquist/Makefile.in.orig	Tue Dec  2 19:32:18 2003
X+++ lib-src/libnyquist/Makefile.in	Tue Dec  2 19:32:42 2003
X@@ -465,13 +465,13 @@
X 	cc -c cmt/userio.c -o cmt/userio.o $(CFLAGS)
X 
X misc/intgen: misc/intgen.c
X-	cd misc; make intgen
X+	cd misc; $(MAKE) intgen
X 
X misc/unpacker: misc/unpacker.c misc/convert.c
X-	cd misc; make unpacker
X+	cd misc; $(MAKE) unpacker
X 
X misc/packer: misc/packer.c misc/convert.c
X-	cd misc; make packer
X+	cd misc; $(MAKE) packer
X 
X nyqsrc/sndfnintptrs.h: $(NYQHDRS) snd/snd.h misc/intgen
X 	$(INTGEN) nyqsrc/sndfnint $(NYQHDRS)
X@@ -481,14 +481,14 @@
X 
X clean:
X 	rm -f libnyquist.a
X-	cd misc; make clean
X+	cd misc; $(MAKE) clean
X 	rm -f $(OBJECTS)
X # Note that these files are machine-generated:
X 	rm -f nyqsrc/sndfnintptrs.h nyqsrc/sndfnint.c nyqsrc/sndfnintdefs.h
X 	rm -f nyqsrc/seqfnintptrs.h nyqsrc/seqfnint.c nyqsrc/seqfnintdefs.h
X 
X cleaner: clean
X-	cd misc; make cleaner
X+	cd misc; $(MAKE) cleaner
X 	rm -f *.backup */*.backup
X 	rm -f *~ */*.*~
X 	rm -f *.save */*.save
END-of-audacity-devel/files/patch-libnyquist-Makefile.in
exit
--- audacity-devel.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list