--- audio/csound6/Makefile 2015-05-31 18:44:52.591905000 +0900 +++ audio/csound6/Makefile 2015-06-08 18:00:00.000000000 +0900 @@ -2,8 +2,7 @@ # $FreeBSD: head/audio/csound6/Makefile 387982 2015-05-30 20:39:12Z bapt $ PORTNAME= csound -PORTVERSION= 6.04 -PORTREVISION= 1 +PORTVERSION= 6.05 CATEGORIES= audio lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}6/${PORTNAME:S/c/C/}${PORTVERSION} PKGNAMESUFFIX= 6 @@ -24,10 +23,12 @@ USES= bison cmake python:2 CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ -DBUILD_JAVA_INTERFACE:BOOL=OFF \ + -DBUILD_P5GLOVE_OPCODES:BOOL=OFF \ -DBUILD_PD_CLASS:BOOL=OFF \ -DBUILD_STK_OPCODES:BOOL=OFF \ -DBUILD_TESTS:BOOL=OFF \ - -DPYTHON_MODULE_INSTALL_DIR:STRING="${PYTHONPREFIX_SITELIBDIR}" + -DBUILD_WIIMOTE_OPCODES:BOOL=OFF \ + -DPYTHON_MODULE_INSTALL_DIR:PATH="${PYTHONPREFIX_SITELIBDIR}" USE_LDCONFIG= yes SSP_UNSAFE= yes @@ -39,7 +40,7 @@ CONFLICTS= csound-5.* CONFLICTS_INSTALL= outguess-* -OPTIONS_DEFINE= ALSA CURL DSSI FLTK FLUIDSYNTH JACK LUA NLS \ +OPTIONS_DEFINE= ALSA CURL DSSI FLTK FLUIDSYNTH HDF5 JACK LUA NLS \ OPENMP OSC PNG PORTAUDIO PULSEAUDIO OPTIONS_DEFAULT= FLTK OPENMP OPTIONS_SUB= yes @@ -64,6 +65,9 @@ FLUIDSYNTH_DESC= Building FluidSynth opcodes FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth FLUIDSYNTH_CMAKE_OFF= -DBUILD_FLUID_OPCODES:BOOL=OFF +HDF5_DESC= Build HDF5 read/write opcodes +HDF5_LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 +HDF5_CMAKE_OFF= -DBUILD_HDF5_OPCODES:BOOL=OFF JACK_DESC= Build Jack I/O module and opcodes JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack JACK_CMAKE_OFF= -DBUILD_JACK_OPCODES:BOOL=OFF \ @@ -74,21 +78,21 @@ -DBUILD_LUA_INTERFACE:BOOL=OFF \ -DBUILD_LUA_OPCODES:BOOL=OFF NLS_USES= gettext -NLS_CMAKE_OFF= -DGETTEXT_MSGFMT_EXECUTABLE="" \ - -DLIBINTL_HEADER:STRING="" \ - -DLIBINTL_LIBRARY:STRING="" \ +NLS_CMAKE_OFF= -DGETTEXT_MSGFMT_EXECUTABLE:FILEPATH="" \ + -DGETTEXT_MSGMERGE_EXECUTABLE:FILEPATH="" \ + -DLIBINTL_LIBRARY:FILEPATH="" \ -DUSE_GETTEXT:BOOL=OFF -OPENMP_USES= compiler:openmp +OPENMP_USES= compiler:gcc-c++11-lib +OPENMP_USES_OFF= compiler:c++11-lib OPENMP_CMAKE_OFF= -DUSE_OPEN_MP:BOOL=OFF OSC_DESC= Build OSC opcodes OSC_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo OSC_CMAKE_OFF= -DBUILD_OSC_OPCODES:BOOL=OFF PNG_DESC= Build Image opcodes -PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png +PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PNG_CMAKE_OFF= -DBUILD_IMAGE_OPCODES:BOOL=OFF PORTAUDIO_DESC= Build PortAudio I/O module PORTAUDIO_LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio -PORTAUDIO_CMAKE_ON= -DUSE_PORTAUDIO:BOOL=ON PORTAUDIO_CMAKE_OFF= -DUSE_PORTAUDIO:BOOL=OFF PULSEAUDIO_DESC= Build PulseAudio I/O module PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio @@ -125,15 +129,11 @@ s| dl)|)|' \ ${WRKSRC}/Opcodes/CMakeLists.txt @${REINPLACE_CMD} -e \ - '/CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"| ; \ - s|--{WINSOUND_H}|$${WINSOUND_H}|' \ + '/CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"|' \ ${WRKSRC}/frontends/CMakeLists.txt @${REINPLACE_CMD} -e \ 's| mixer)| csmixer)|' \ ${WRKSRC}/util/CMakeLists.txt - @${REINPLACE_CMD} -e \ - 's|_IS_GNUCC)|_IS_GNUCC OR __COMPILER_CLANG)|' \ - ${WRKSRC}/util1/CMakeLists.txt post-install: @${LN} -sf libcsnd6.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsnd6.so.6 --- audio/csound6/distinfo 2015-02-17 18:31:15.172109000 +0900 +++ audio/csound6/distinfo 2015-06-08 18:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (csound/Csound6.04.tar.gz) = 0ff0203b87d10779dca962292a407e15ab0b284b558c9c63f892b74ed1e06080 -SIZE (csound/Csound6.04.tar.gz) = 23959744 +SHA256 (csound/Csound6.05.tar.gz) = 0d0ab4c1804265f4947e07c5e41ee72bc1a122b873bd77b9e7179f4c4db43a28 +SIZE (csound/Csound6.05.tar.gz) = 26208635 --- audio/csound6/files/patch-H__remote.h 2015-02-17 18:31:15.172640000 +0900 +++ audio/csound6/files/patch-H__remote.h 2015-06-08 18:00:00.000000000 +0900 @@ -1,6 +1,6 @@ ---- H/remote.h.orig +--- H/remote.h.orig 2015-04-25 19:06:22 UTC +++ H/remote.h -@@ -37,7 +37,10 @@ +@@ -42,7 +42,10 @@ #ifdef MACOSX #include #endif --- audio/csound6/files/patch-InOut-rtalsa.c 2014-06-21 17:53:54.000000000 +0900 +++ audio/csound6/files/patch-InOut-rtalsa.c 2015-06-08 18:00:00.000000000 +0900 @@ -1,5 +1,5 @@ ---- InOut/rtalsa.c.orig 2011-12-22 19:41:53.000000000 +0900 -+++ InOut/rtalsa.c 2011-12-27 23:53:00.000000000 +0900 +--- InOut/rtalsa.c.orig 2015-04-25 19:06:22 UTC ++++ InOut/rtalsa.c @@ -23,6 +23,7 @@ 02111-1307 USA */ @@ -8,15 +8,15 @@ #ifndef _ISOC99_SOURCE #define _ISOC99_SOURCE 1 #endif -@@ -39,6 +40,7 @@ - #ifndef _POSIX_C_SOURCE - #define _POSIX_C_SOURCE 1 +@@ -32,6 +33,7 @@ + #ifndef _BSD_SOURCE + #define _BSD_SOURCE 1 #endif +*/ #include "csdl.h" -@@ -57,6 +59,8 @@ +@@ -50,6 +52,8 @@ #include #include #include --- audio/csound6/files/patch-Opcodes-urandom.c 2014-06-21 17:53:54.000000000 +0900 +++ audio/csound6/files/patch-Opcodes-urandom.c 2015-06-08 18:00:00.000000000 +0900 @@ -1,5 +1,5 @@ ---- Opcodes/urandom.c.old 2011-01-30 02:14:59.000000000 -0600 -+++ Opcodes/urandom.c 2011-01-30 02:15:08.000000000 -0600 +--- Opcodes/urandom.c.orig 2015-04-25 19:06:23 UTC ++++ Opcodes/urandom.c @@ -22,7 +22,6 @@ */ --- audio/csound6/files/patch-Top-csound.c 2015-02-17 18:31:15.173170000 +0900 +++ audio/csound6/files/patch-Top-csound.c 2015-06-08 18:00:00.000000000 +0900 @@ -1,4 +1,4 @@ ---- Top/csound.c.orig +--- Top/csound.c.orig 2015-04-25 19:06:23 UTC +++ Top/csound.c @@ -60,10 +60,13 @@ #include "cs_par_dispatch.h" @@ -15,8 +15,8 @@ #if defined(USE_OPENMP) #include #endif /* USE_OPENMP */ -@@ -3469,7 +3473,7 @@ - /* ------------------------------------ */ +@@ -3495,7 +3498,7 @@ void csoundNotifyFileOpened(CSOUND* csou + /* ------------------------------------ */ #if defined(HAVE_RDTSC) -#if !(defined(LINUX) && defined(__GNUC__) && defined(__i386__)) @@ -24,7 +24,7 @@ #undef HAVE_RDTSC #endif #endif -@@ -3482,6 +3486,13 @@ +@@ -3508,6 +3511,13 @@ static double timeResolutionSeconds = -1 static int getTimeResolution(void) { #if defined(HAVE_RDTSC) @@ -38,7 +38,7 @@ FILE *f; char buf[256]; -@@ -3517,9 +3528,14 @@ +@@ -3543,9 +3553,14 @@ static int getTimeResolution(void) } } fclose(f); --- audio/csound6/files/patch-frontends__CsoundAC__ChordSpace.hpp 2014-06-21 17:53:54.000000000 +0900 +++ audio/csound6/files/patch-frontends__CsoundAC__ChordSpace.hpp 2015-06-08 18:00:00.000000000 +0900 @@ -1,4 +1,4 @@ ---- frontends/CsoundAC/ChordSpace.hpp.orig +--- frontends/CsoundAC/ChordSpace.hpp.orig 2015-04-25 19:06:23 UTC +++ frontends/CsoundAC/ChordSpace.hpp @@ -29,6 +29,7 @@ #include @@ -8,7 +8,7 @@ #include #include "Event.hpp" #include -@@ -545,7 +546,7 @@ +@@ -554,7 +555,7 @@ public: char buffer[0x1000]; std::stringstream stream; for (size_t voice = 0; voice < voices(); ++voice) { --- audio/csound6/files/patch-frontends__CsoundAC__Composition.cpp 2014-06-21 17:53:54.000000000 +0900 +++ audio/csound6/files/patch-frontends__CsoundAC__Composition.cpp 2015-06-08 18:00:00.000000000 +0900 @@ -1,4 +1,4 @@ ---- frontends/CsoundAC/Composition.cpp.orig +--- frontends/CsoundAC/Composition.cpp.orig 2015-04-25 19:06:23 UTC +++ frontends/CsoundAC/Composition.cpp @@ -22,6 +22,7 @@ #endif @@ -8,7 +8,7 @@ #include #include -@@ -289,7 +290,7 @@ +@@ -289,7 +290,7 @@ namespace csound int Composition::normalizeOutputSoundfile(double levelDb) { char buffer[0x100]; @@ -17,7 +17,7 @@ 0x100, "sox %s -V3 -b 32 -e floating-point %s gain -n %f\n", getOutputSoundfileName().c_str(), -@@ -307,7 +308,7 @@ +@@ -307,7 +308,7 @@ namespace csound int Composition::translateToCdAudio(double levelDb) { char buffer[0x100]; @@ -26,7 +26,7 @@ getOutputSoundfileName().c_str(), getCdSoundfileName().c_str(), levelDb); -@@ -323,7 +324,7 @@ +@@ -323,7 +324,7 @@ namespace csound int Composition::translateToMp3(double bitrate, double levelDb) { char buffer[0x100]; --- audio/csound6/pkg-plist 2015-02-17 18:31:15.170684000 +0900 +++ audio/csound6/pkg-plist 2015-06-08 18:00:00.000000000 +0900 @@ -70,6 +70,7 @@ lib/csound/plugins-6.0/libfareygen.so %%FLUIDSYNTH%%lib/csound/plugins-6.0/libfluidOpcodes.so lib/csound/plugins-6.0/libfractalnoise.so +%%HDF5%%lib/csound/plugins-6.0/libhdf5.so %%PNG%%lib/csound/plugins-6.0/libimage.so lib/csound/plugins-6.0/libipmidi.so %%JACK%%lib/csound/plugins-6.0/libjackTransport.so @@ -77,6 +78,7 @@ lib/csound/plugins-6.0/liblinear_algebra.so lib/csound/plugins-6.0/libmixer.so %%OSC%%lib/csound/plugins-6.0/libosc.so +lib/csound/plugins-6.0/libpadsynth.so lib/csound/plugins-6.0/libplaterev.so lib/csound/plugins-6.0/libpy.so %%ALSA%%lib/csound/plugins-6.0/librtalsa.so