pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Add csound-dev-4.24.1 as a replacement for the unmaint...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc21a5cc4491
branches: trunk
changeset: 464631:dc21a5cc4491
user: ben <ben%pkgsrc.org@localhost>
date: Sat Dec 13 20:26:03 2003 +0000
description:
Add csound-dev-4.24.1 as a replacement for the unmaintained and out-of-date
csound package.
Csound is a software synthesis package in the tradition of so-called
music-N languages, among which the best-known is Music V. It consists
of an orchestra- and score-driven executable, written in C for
portability. Since Csound is a computational language, it is highly
flexible and efficient; complexity is gained only at the expense of
computation time. Basically Csound reads some files and creates the
result as a file on disk or, on faster machines, through a DAC in real
time.
This version of csound implements localization and realtime audio as
plugins. As a result you need to set the OPCDIR environment variable,
and for realtime audio use "-o devaudio" rather than "-o /dev/audio".
diffstat:
audio/Makefile | 4 +-
audio/csound-dev/DESCR | 8 ++
audio/csound-dev/MESSAGE | 9 ++
audio/csound-dev/Makefile | 26 +++++++
audio/csound-dev/PLIST | 36 ++++++++++
audio/csound-dev/distinfo | 25 +++++++
audio/csound-dev/patches/patch-aa | 133 ++++++++++++++++++++++++++++++++++++++
audio/csound-dev/patches/patch-ab | 52 ++++++++++++++
audio/csound-dev/patches/patch-ac | 54 +++++++++++++++
audio/csound-dev/patches/patch-ad | 59 ++++++++++++++++
audio/csound-dev/patches/patch-ae | 72 ++++++++++++++++++++
audio/csound-dev/patches/patch-af | 29 ++++++++
audio/csound-dev/patches/patch-ag | 12 +++
audio/csound-dev/patches/patch-ah | 18 +++++
audio/csound-dev/patches/patch-ai | 13 +++
audio/csound-dev/patches/patch-aj | 13 +++
audio/csound-dev/patches/patch-ak | 13 +++
audio/csound-dev/patches/patch-al | 32 +++++++++
audio/csound-dev/patches/patch-am | 21 ++++++
audio/csound-dev/patches/patch-an | 14 ++++
audio/csound-dev/patches/patch-ao | 13 +++
audio/csound-dev/patches/patch-ap | 13 +++
audio/csound-dev/patches/patch-aq | 13 +++
audio/csound-dev/patches/patch-ar | 17 ++++
audio/csound-dev/patches/patch-as | 21 ++++++
audio/csound-dev/patches/patch-at | 41 +++++++++++
audio/csound-dev/patches/patch-au | 13 +++
doc/CHANGES | 4 +-
doc/TODO | 3 +-
29 files changed, 776 insertions(+), 5 deletions(-)
diffs (truncated from 925 to 300 lines):
diff -r e850e482158e -r dc21a5cc4491 audio/Makefile
--- a/audio/Makefile Sat Dec 13 20:18:25 2003 +0000
+++ b/audio/Makefile Sat Dec 13 20:26:03 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.188 2003/12/03 13:15:52 jmmv Exp $
+# $NetBSD: Makefile,v 1.189 2003/12/13 20:26:03 ben Exp $
#
COMMENT= Audio tools
@@ -21,8 +21,8 @@
SUBDIR+= cdparanoia
SUBDIR+= cmp3
SUBDIR+= cs4235
-SUBDIR+= csound
SUBDIR+= csound-bath
+SUBDIR+= csound-dev
SUBDIR+= csound-manual
SUBDIR+= dap
SUBDIR+= disc-cover
diff -r e850e482158e -r dc21a5cc4491 audio/csound-dev/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/DESCR Sat Dec 13 20:26:03 2003 +0000
@@ -0,0 +1,8 @@
+Csound is a software synthesis package in the tradition of so-called
+music-N languages, among which the best-known is Music V. It consists
+of an orchestra- and score-driven executable, written in C for
+portability. Since Csound is a computational language, it is highly
+flexible and efficient; complexity is gained only at the expense of
+computation time. Basically Csound reads some files and creates the
+result as a file on disk or, on faster machines, through a DAC in real
+time.
diff -r e850e482158e -r dc21a5cc4491 audio/csound-dev/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/MESSAGE Sat Dec 13 20:26:03 2003 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2003/12/13 20:26:03 ben Exp $
+
+This version of csound implements localization and realtime audio as
+plugins. As a result you need to set the OPCDIR environment variable to
+${PREFIX}/lib/Csound and then run "csound32". To properly play realtime
+audio, specify "-o devaudio" rather than "-o /dev/audio".
+
+===========================================================================
diff -r e850e482158e -r dc21a5cc4491 audio/csound-dev/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/Makefile Sat Dec 13 20:26:03 2003 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2003/12/13 20:26:03 ben Exp $
+#
+
+DISTNAME= Csound-4.24.1
+PKGNAME= csound-dev-4.24.1
+CATEGORIES= audio
+MASTER_SITES= http://www.csounds.com/istvan/archive/misc/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ben%netbsd.org@localhost
+HOMEPAGE= http://www.csounds.com/
+COMMENT= Software synthesizer and sequencer
+
+LICENSE= csound-license
+RESTRICTED= "no for-fee-redistribution"
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 # many LP64 problems
+
+DIST_SUBDIR= csound
+USE_GMAKE= yes
+USE_BUILDLINK2= yes
+CONFLICTS= csound-bath*
+
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e850e482158e -r dc21a5cc4491 audio/csound-dev/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/PLIST Sat Dec 13 20:26:03 2003 +0000
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 2003/12/13 20:26:03 ben Exp $
+bin/cs
+bin/csb64enc
+bin/csound32
+bin/cvanal
+bin/dnoise
+bin/envext
+bin/extract
+bin/extractor
+bin/het_export
+bin/het_import
+bin/hetro
+bin/lpanal
+bin/lpc_export
+bin/lpc_import
+bin/makecsd
+bin/mixer
+bin/pv_export
+bin/pv_import
+bin/pvanal
+bin/pvlook
+bin/scale
+bin/scot
+bin/scsort
+bin/sdif2ad
+bin/sndinfo
+bin/srconv
+include/Csound/csdl.h
+include/Csound/csound.h
+include/Csound/csstruct.h
+include/Csound/sysdep.h
+lib/Csound/rtlinux.so
+lib/Csound/stdopcod.so
+lib/libcsound32.so
+@dirrm include/Csound
+@dirrm lib/Csound
diff -r e850e482158e -r dc21a5cc4491 audio/csound-dev/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/distinfo Sat Dec 13 20:26:03 2003 +0000
@@ -0,0 +1,25 @@
+$NetBSD: distinfo,v 1.1 2003/12/13 20:26:03 ben Exp $
+
+SHA1 (csound/Csound-4.24.1.tar.bz2) = a14903e23b72c78a870b0d38df7bbdb5e1a56c9e
+Size (csound/Csound-4.24.1.tar.bz2) = 1116589 bytes
+SHA1 (patch-aa) = 586cf46e97b9386fae79e924bebedc06b149feaf
+SHA1 (patch-ab) = 64a0cf6a5b720d05d625613117c26f5669553d79
+SHA1 (patch-ac) = 4c59bab1d38ae65fba96cab5b8718f8d41646ccd
+SHA1 (patch-ad) = e7655efd4ac71e56d0a0ffa29d7651ccbde5e4dc
+SHA1 (patch-ae) = 75b35e8161390aef418055a1d834120f16c7c99c
+SHA1 (patch-af) = 6641f5fce8e919dbe39c0132fd35f6799b54d24d
+SHA1 (patch-ag) = 1cbc8e5070efa0416fd771a77c181f859a3ae4e7
+SHA1 (patch-ah) = 12845b415f1dee76527df4bb60159cda3ffe78e9
+SHA1 (patch-ai) = 652ba4a0dce449605004347e6eb6f6344f559ea3
+SHA1 (patch-aj) = e0c135effca0d33814d4644979dc0be53d62d8a0
+SHA1 (patch-ak) = d62442d9248f48e70e97dfdb7a772d9f5586faaa
+SHA1 (patch-al) = 59f0cc70bfa0a69a00c7926264e9ca1ae17d64e7
+SHA1 (patch-am) = 60dcef719e82f063ae87d23ce0410508bab76b93
+SHA1 (patch-an) = 292b472661a67fd79c6fc9f91b9366e267b4d19f
+SHA1 (patch-ao) = 9aad1dcf08550ddd1ecb5be6b6145bca3a8ca84b
+SHA1 (patch-ap) = 9793773fe30bf3b71fe132ad24a4fb90f8472bbb
+SHA1 (patch-aq) = 4f43102124e7b7fc86abb87a4c46eb8eaf2c449c
+SHA1 (patch-ar) = 0e3b4037adb3220624dde69dc68015f6de4fc266
+SHA1 (patch-as) = 45a18ea81022a722c489aee4013589172490c60f
+SHA1 (patch-at) = fd424477994e026526ed14d9d64a951abcfbb6fb
+SHA1 (patch-au) = 5c002177662b6f9b4eacccba023e88ba8c0699af
diff -r e850e482158e -r dc21a5cc4491 audio/csound-dev/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/patches/patch-aa Sat Dec 13 20:26:03 2003 +0000
@@ -0,0 +1,133 @@
+$NetBSD: patch-aa,v 1.1 2003/12/13 20:26:03 ben Exp $
+
+--- Makefile.defs.orig 2003-02-25 19:24:01.000000000 -0800
++++ Makefile.defs
+@@ -10,7 +10,7 @@ TARGET_OS = unix
+ # -----------------------------------------------------------------------------
+ # installation directories
+
+-INSTDIR = /usr/local
++INSTDIR = $(PREFIX)
+
+ BINDIR = $(INSTDIR)/bin
+ LIBDIR = $(INSTDIR)/lib
+@@ -70,9 +70,9 @@ RANLIB = ranlib
+ # General defines. These set the type of system for which Csound is compiled,
+ # and select various features to be enabled.
+
+-DEFINES = -DWINDOWS -DSFIRCAM -DSYS5 -DLINUX -DHAVE_TERMIOS_H \
+- -DIV_VERSION -DPIPES -DMACROS -DHAVE_FLTK -D_REENTRANT \
+- -DHAVE_SSTREAM -DMYFLT=float
++DEFINES = -DSFIRCAM -DSYS5 -DLINUX -DBSD -DHAVE_TERMIOS_H \
++ -DIV_VERSION -DPIPES -DMACROS -D_REENTRANT \
++ -DHAVE_SSTREAM -DMYFLT=float -DDEVOSSSOUND="\"$(DEVOSSSOUND)\""
+ # choose any of -
+ # -DSYS5 invoke System V headers, e.g. 'string.h' for 'strings.h'
+ # -DHAVE_SSTREAM include <sstream> header from C++ sources, instead of
+@@ -112,9 +112,7 @@ DEFINES = -DWINDOWS -DSFIRCAM -DSYS5 -DL
+ # of your compiler for the list of available settings. $(DEFINES) must always
+ # be included.
+
+-CFLAGS = -pipe -Wall -O2 -ffast-math -fomit-frame-pointer \
+- -finline-functions -funroll-loops -fno-strict-aliasing \
+- $(PIC_FLAG) \
++CFLAGS+= -Wall -O2 $(PIC_FLAG) \
+ -I. -I$(TOPDIR) -I$(TOPDIR)/include -I$(TOPDIR)/opcodes $(DEFINES)
+ # -O Simple optimisation
+ # -O2 to be more specific about the optimization level
+@@ -142,15 +140,12 @@ CFLAGS = -pipe -Wall -O2 -ffast-math -fo
+ # -----------------------------------------------------------------------------
+ # Additional flags for the C compiler only
+
+-C_FLAGS = -march=pentium3 -falign-functions=16 -falign-loops=16 \
+- -falign-jumps=16 -frename-registers -mfpmath=387 -mno-ieee-fp \
+- -mno-sse
+
+ # -----------------------------------------------------------------------------
+ # C++ compiler flags
+
+-CXXFLAGS = $(CFLAGS) $(C_FLAGS) -fno-exceptions -fno-rtti \
+- -fno-unroll-loops -I/usr/local/FLTK-1.1.0/Linux/include
++CXXFLAGS+= $(CFLAGS) $(C_FLAGS) -fno-exceptions -fno-rtti \
++ -fno-unroll-loops
+ # `fltk-config --cxxflags` try adding this if the compilation of
+ # FLTK widgets stops with error messages
+ # related to not finding include files
+@@ -159,14 +154,13 @@ CXXFLAGS = $(CFLAGS) $(C_FLAGS) -fno-exc
+ # -----------------------------------------------------------------------------
+ # uncomment these if HAVE_FLTK was enabled in DEFINES
+
+-FLTKSRC = buttonsched.c widgets.cpp
+-FLTKOBJ = buttonsched.o widgets.o
++FLTKSRC =
++FLTKOBJ =
+ # source and object files for FLTK widgets
+
+ # FLTKLIB = -lfltk -lpthread -lstdc++
+ # FLTKLIB = `fltk-config --libs`
+-FLTKLIB = /usr/local/FLTK-1.1.0/Linux/lib/libfltk.a \
+- /usr/local/gcc-3.2.2/lib/libstdc++.a
++FLTKLIB =
+ # libraries required by widgets.cpp
+ # -lfltk -lpthread -lstdc++ use dynamic libraries
+ #
+@@ -185,10 +179,10 @@ FLTKLIB = /usr/local/FLTK-1.1.0/Linux/li
+ # -----------------------------------------------------------------------------
+ # libraries
+
+-LIBS = -lpthread -lm
++LIBS = -lm
+ # used for linking all executables
+
+-MISC_LIB = -ldl
++MISC_LIB =
+ # these are used by the main Csound executable only
+
+ # -lefence for debugging only
+@@ -203,15 +197,15 @@ MISC_LIB = -ldl
+ # select source and object files for window (X11, FLTK, etc.) displays
+ # all files are in sysdep directory
+
+-WINSRC = sysdep/winX11.c
+-WINOBJ = sysdep/winX11.o
++WINSRC =
++WINOBJ =
+ # ;if WINDOWS enabled in DEFINES, choose one of -
+ # winX11.o for X11 window graphics
+ # winSGI.o for SGI window graphics
+ # winFLTK.o and FL_graph.o for `improved' X graphics
+ # otherwise leave empty
+
+-WINLIBS = -L/usr/X11R6/lib -lX11
++WINLIBS =
+ # ;window system libraries
+ # -lX11 for X window calls
+ # -L/usr/lib/X11R4 for HP X11 library, v.4
+@@ -224,7 +218,7 @@ WINLIBS = -L/usr/X11R6/lib -lX11
+ # -----------------------------------------------------------------------------
+ # real-time audio support
+
+-RTAUDIO_PLUGINS = rtlinux.so rtalsa.so
++RTAUDIO_PLUGINS = rtlinux.so
+ # rtlinux.so for Linux (OSS interface)
+ # rtalsa.so for Linux (ALSA interface)
+ # rtwin32.dll Windows 32bit MM library
+@@ -232,7 +226,7 @@ RTAUDIO_PLUGINS = rtlinux.so rtalsa.so
+ # -----------------------------------------------------------------------------
+ # libraries and headers for real-time audio
+
+-AUDLIBS = -lasound
++AUDLIBS = $(LIBOSSAUDIO)
+ # -laudio on SUN, for SFSUN41
+ # -laudio on SGI, to include rt devaudio library
+ # -lAlib on HP, to include rt devaudio library
+@@ -248,8 +242,7 @@ AUDLIBS = -lasound
+ # Access permissions for main Csound executable. It is recommended to set it
+ # to 4551 under Linux to enable --sched. Other systems should use 0755.
+
+-#CSOUND_PERM = 0755
+-CSOUND_PERM = 4551
++CSOUND_PERM = 0755
+
+ # -----------------------------------------------------------------------------
+ # The Csound MAKE can be run in separate stages, or as a single command.
diff -r e850e482158e -r dc21a5cc4491 audio/csound-dev/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/patches/patch-ab Sat Dec 13 20:26:03 2003 +0000
@@ -0,0 +1,52 @@
+$NetBSD: patch-ab,v 1.1 2003/12/13 20:26:03 ben Exp $
+
+--- opcodes/midisend.c.orig 2003-02-25 19:24:01.000000000 -0800
++++ opcodes/midisend.c
+@@ -1,6 +1,8 @@
+ #include "cs.h" /* MIDISEND.C */
+ #include "midioops.h"
+
++#undef USE_DLP_MIDI_OUT_CODE
++
+ #ifdef LINUX
+ /*
+ This is very provisional code for Linux Csound MIDI output. Data
+@@ -16,8 +18,20 @@
+ #include <ctype.h>
+ #include <sys/ioctl.h>
Home |
Main Index |
Thread Index |
Old Index