Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2012 06:08:59 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172109: [PATCH] update audio/csound to 5.18.2
Message-ID:  <201209270608.q8R68xun079230@red.freebsd.org>
Resent-Message-ID: <201209270610.q8R6A2tm014205@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172109
>Category:       ports
>Synopsis:       [PATCH] update audio/csound to 5.18.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 27 06:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
Update csound to 5.18.2
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: csound/Makefile
===================================================================
--- csound/Makefile	(revision 303953)
+++ csound/Makefile	(working copy)
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	csound
-PORTVERSION=	5.17.11
+PORTVERSION=	5.18.02
 CATEGORIES=	audio lang
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}${PORTVERSION} \
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}5.18/ \
 		SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}${PORTVERSION:R}/manual:manual
 DISTNAME=	${PORTNAME:S/c/C/}${PORTVERSION}
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -24,7 +24,7 @@
 BUILD_DEPENDS=	${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13 \
 		${LOCALBASE}/include/gmm/gmm.h:${PORTSDIR}/math/gmm++ \
 		${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
-LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile
+LIB_DEPENDS=	sndfile:${PORTSDIR}/audio/libsndfile
 
 OPTIONS_DEFINE=	ALSA DSSI FLUIDSYNTH JACK OSC PORTAUDIO PULSEAUDIO FLTK
 OPTIONS_DEFAULT=FLTK
@@ -58,7 +58,7 @@
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MALSA}
-LIB_DEPENDS+=	asound.2:${PORTSDIR}/audio/alsa-lib
+LIB_DEPENDS+=	asound:${PORTSDIR}/audio/alsa-lib
 SCONS_ARGS+=	useALSA=1
 PLIST_SUB+=	ALSA=""
 ALSA_H=		alsa/asoundlib.h
@@ -79,7 +79,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MFLUIDSYNTH}
-LIB_DEPENDS+=	fluidsynth.1:${PORTSDIR}/audio/fluidsynth
+LIB_DEPENDS+=	fluidsynth:${PORTSDIR}/audio/fluidsynth
 PLIST_SUB+=	FLUIDSYNTH=""
 FLUIDSYNTH_H=	fluidsynth.h
 .else
@@ -88,7 +88,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
+LIB_DEPENDS+=	jack:${PORTSDIR}/audio/jack
 SCONS_ARGS+=	useJack=1
 PLIST_SUB+=	JACK=""
 .else
@@ -97,7 +97,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MOSC}
-LIB_DEPENDS+=	lo.7:${PORTSDIR}/audio/liblo
+LIB_DEPENDS+=	lo:${PORTSDIR}/audio/liblo
 SCONS_ARGS+=	useOSC=1
 PLIST_SUB+=	OSC=""
 .else
@@ -120,7 +120,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+=	pulse-simple.0:${PORTSDIR}/audio/pulseaudio
+LIB_DEPENDS+=	pulse-simple:${PORTSDIR}/audio/pulseaudio
 PLIST_SUB+=	PULSEAUDIO=""
 PULSEAUDIO_H=	pulse/simple.h
 .else
@@ -129,7 +129,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MFLTK}
-LIB_DEPENDS+=	fltk.1:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS+=	fltk:${PORTSDIR}/x11-toolkits/fltk
 PLIST_SUB+=	FLTK=""
 SCONS_ARGS+=	buildCsound5GUI=1 buildCSEditor=1 buildWinsound=1 useFLTK=1
 .else
@@ -191,12 +191,13 @@
 		${WRKSRC}/InOut/rtpa.c
 	@${REINPLACE_CMD} -e "s|linux/if.h|sys/types.h|" \
 		${WRKSRC}/OOps/remote.c
-
+	@${REINPLACE_CMD} '1658,1659d' \
+		${WRKSRC}/SConstruct
 post-install:
 	@${LN} -sf libcsound64.so.5 ${PREFIX}/lib/libcsound64.so
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	@${ECHO_MSG} " Installing the manual."
+	@${ECHO_MSG} " Installing manual ${PORTVERSION}. "
 	@(cd ${WRKDIR}/html && ${COPYTREE_SHARE} . ${DOCSDIR})
 	@${ECHO_MSG} " Done."
 .endif
Index: csound/distinfo
===================================================================
--- csound/distinfo	(revision 303953)
+++ csound/distinfo	(working copy)
@@ -1,4 +1,4 @@
-SHA256 (csound/Csound5.17.11.tar.gz) = a86595c4328b63e9b37205b40bf1441182a453451b0ea20558a7777dbc0380b7
-SIZE (csound/Csound5.17.11.tar.gz) = 9152189
-SHA256 (csound/Csound5.17_manual_html.zip) = cad3ee307c801c972d9d5f626a79c88dddda6872d8a4af64dd4f3edfe7c0f626
-SIZE (csound/Csound5.17_manual_html.zip) = 9621312
+SHA256 (csound/Csound5.18.02.tar.gz) = 4c461cf3bf60b83671224949dd33805379b7121bf2c0ad6af5e191e7f6f8adc8
+SIZE (csound/Csound5.18.02.tar.gz) = 9211491
+SHA256 (csound/Csound5.18_manual_html.zip) = a7347bb1a6b5af3497de95a2df36217a6a42219e2f36a3d6d505cd53b2719cd4
+SIZE (csound/Csound5.18_manual_html.zip) = 9773269
Index: csound/files/patch-H__sysdep.h
===================================================================
--- csound/files/patch-H__sysdep.h	(revision 303953)
+++ csound/files/patch-H__sysdep.h	(working copy)
@@ -1,26 +1,26 @@
---- H/sysdep.h.orig	2012-05-29 02:41:30.000000000 +0900
-+++ H/sysdep.h	2012-05-31 11:19:28.000000000 +0900
-@@ -96,7 +96,11 @@
+--- H/sysdep.h.bak	2012-09-27 02:58:13.000000000 +0000
++++ H/sysdep.h	2012-09-27 03:02:06.000000000 +0000
+@@ -100,6 +100,11 @@
    #define EXP exp
    #define LOG log
    #define LOG10 log10
 +#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
 +  #define LOG2(x) (log(x) / log(2))
 +#else
-   #define LOG2 log2
++   #define LOG2 log2
 +#endif
+   /* #define LOG2 log2 */
    #define POWER pow
    #define SQRT sqrt
-   #define HYPOT hypot
-@@ -122,7 +126,11 @@
+@@ -126,6 +131,11 @@
    #define EXP expf
    #define LOG logf
    #define LOG10 log10f
 +#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
 +  #define LOG2(x) (logf(x) / logf(2))
 +#else
-   #define LOG2 log2f
++   #define LOG2 log2f
 +#endif
+   /* #define LOG2 log2f */
    #define POWER powf
    #define SQRT sqrtf
-   #define HYPOT hypotf
Index: csound/pkg-plist
===================================================================
--- csound/pkg-plist	(revision 303953)
+++ csound/pkg-plist	(working copy)
@@ -48,6 +48,8 @@
 include/csound/sysdep.h
 include/csound/text.h
 include/csound/version.h
+include/csound/interlocks.h
+lib/csound/plugins64/libplaterev.so
 lib/csound/plugins64/libampmidid.so
 lib/csound/plugins64/libcellular.so
 lib/csound/plugins64/libcontrol.so
@@ -2799,6 +2801,61 @@
 %%PORTDOCS%%%%DOCSDIR%%/zkr.html
 %%PORTDOCS%%%%DOCSDIR%%/zkw.html
 %%PORTDOCS%%%%DOCSDIR%%/zkwm.html
+%%PORTDOCS%%%%DOCSDIR%%/platerev.html
+%%PORTDOCS%%%%DOCSDIR%%/cosseg.html
+%%PORTDOCS%%%%DOCSDIR%%/images/gen18_2.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gentanh_3.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gen14_3.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gentanh_1.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gen14_4.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gen14_2.png
+%%PORTDOCS%%%%DOCSDIR%%/images/genexp_2.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gen18_1.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gen18_3.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gentanh_2.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gen14_1.png
+%%PORTDOCS%%%%DOCSDIR%%/images/gen23.png
+%%PORTDOCS%%%%DOCSDIR%%/images/genexp_1.png
+%%PORTDOCS%%%%DOCSDIR%%/log2.html
+%%PORTDOCS%%%%DOCSDIR%%/vbapg.html
+%%PORTDOCS%%%%DOCSDIR%%/examples/logicOR.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/Mixer.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/genwave.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/cossegb.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/cossegr.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/spectrum.txt
+%%PORTDOCS%%%%DOCSDIR%%/examples/plate.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/log2.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/readf.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/readfi.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/pwd.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/maxaccum.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/midipolyaftertouch.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/sym10.txt
+%%PORTDOCS%%%%DOCSDIR%%/examples/gen18.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/vbapg.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/cosseg.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/joystick.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/joystick-2.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/midiprogramchange.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/vbap.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/minabsaccum.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/minaccum.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/vbapmove.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/maxabsaccum.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/gen23.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/mididefault.csd
+%%PORTDOCS%%%%DOCSDIR%%/examples/centroid.csd
+%%PORTDOCS%%%%DOCSDIR%%/vbapmove.html
+%%PORTDOCS%%%%DOCSDIR%%/pwd.html
+%%PORTDOCS%%%%DOCSDIR%%/vbap.html
+%%PORTDOCS%%%%DOCSDIR%%/GENwave.html
+%%PORTDOCS%%%%DOCSDIR%%/joystick.html
+%%PORTDOCS%%%%DOCSDIR%%/readf.html
+%%PORTDOCS%%%%DOCSDIR%%/cossegr.html
+%%PORTDOCS%%%%DOCSDIR%%/centroid.html
+%%PORTDOCS%%%%DOCSDIR%%/cossegb.html
+%%PORTDOCS%%%%DOCSDIR%%/readfi.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/images/callouts
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/images
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/examples


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209270608.q8R68xun079230>