View | Details | Raw Unified | Return to bug 200290 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 200290