head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.44 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.42 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.40 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.38 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.36 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.34 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.32 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.30 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.28 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.26 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.24 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.22 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.20 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.18 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.16 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.14 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.12 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.10 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.8 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.6 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.4 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.2 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.3.0.8 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.6 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.4 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.2.0.44 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.42 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.40 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.38 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.36 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.34 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.32 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.30 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.28 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.24 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.22 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.20 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.18 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.16 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.14 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.12 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.10 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.8 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.6 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.4 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.2 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.1.0.4 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.2 pkgsrc-2014Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2020.10.06.00.26.51; author mrg; state Exp; branches; next 1.3; commitid FHklNBf3qJoyaMqC; 1.3 date 2019.11.02.22.25.46; author mrg; state Exp; branches; next 1.2; commitid qh6gPEvBEOLMmkJB; 1.2 date 2014.08.05.05.12.38; author mrg; state Exp; branches; next 1.1; commitid QkLkh2BIsQ5Bc8Lx; 1.1 date 2014.03.06.10.16.53; author mrg; state Exp; branches; next ; commitid mmatHO0DIQW5MCrx; desc @@ 1.4 log @update csound to 6.15.0. changes from 6.14.0 include: - new opcodes: randc, mp3out, metro2, ftexists, schedulek, lastcycle, and strstrip - new array based channel opcodes: chngeti, chngetk, chngeta, chngets, chnseti, chnsetk, chnseta, and chnsets - terniary expressions only evaluate the chosen path now - orchestra macros persist in more places - modified opcodes: squinewave, pindex, sflooper, event_i, fluidControl, bpf, stsend, stecv, pvstrace, lpfreson, syncloop, bpfcs, zacl, outvalue, chnget, chnset, copya2ftab, syncloop, lowresx, and outch - // style comments allowed changes from 6.15.0 include: - new opcodes: ftset, lufs, bob (Moog analog based filter), sterrain, wterrain2, count, count_i, cntCreate, cntRead, cntReset, cntCycles, cntState, println, rndseed, arduinoStart, arduinoRead, arduinoStop, lpcfilter, lpcanal, allpole, pvslpc, pvscfs, apoleparams, resonbnk, gauss, pvsbandwidth, and vps - many orchestra fixes - modified opcodes: cent, semitone, taninv2, ftslice, ptable, GEN20, fprint(k)s, lastcycle, chn_k, trim, GEN16, scale, schedule, schedulek, GEN11, partials, ctrlinit, fin, and fink. - many bugs fixed this also fixes the build which broke recently for reasons i can't quite figure out. also PR#55696. @ text @$NetBSD: patch-CMakeLists.txt,v 1.3 2019/11/02 22:25:46 mrg Exp $ Add NetBSD support. --- CMakeLists.txt.orig 2020-08-13 18:03:03.000000000 -0500 +++ CMakeLists.txt 2020-10-05 17:46:13.721846309 -0500 @@@@ -133,6 +133,12 @@@@ set(OSX_VERSION " ") endif() +if(CMAKE_SYSTEM_NAME MATCHES "NetBSD") + set(NETBSD YES) +else() + set(NETBSD NO) +endif() + ## USER OPTIONS ## # Optional targets, they should all default to ON (check_deps will disable them if not possible to build) option(USE_DOUBLE "Set to use double-precision floating point for audio samples." ON) @@@@ -1233,7 +1243,9 @@@@ list(APPEND libcsound_LIBS ${LIBRT_LIBRARY}) message(STATUS " ADDING LIBRT LIBRARY: ${LIBRT_LIBRARY}.") endif() +endif() +if(LINUX OR NETBSD) find_library(LIBEXECINFO_LIBRARY execinfo) if(LIBEXECINFO_LIBRARY) @ 1.3 log @update csound6 to 6.13. changes since 6.03.02 include: - new opcodes and generators: pinker, exciter, vactrol, hdf5 family, many new array-operations, lenarray, getseed, tabifd, websocket, framebuffer, olabuffer, compress2, directory, ftsamplebank, mvclpf1, mvclpf2, mvclpf3, mvclpf4, mvchpf, cepsinv, moogladder2, paulstretch, mp3scal, filescal, dct, getftargs, mfb, quadbezier, select, midiarp, hilbert2, ableton link, pvstrace, ceil, floor, round, int, frac, powoftwo, abs, log2, log10, log, exp, sqrt, cos, sin, tan, acos, asin, atan, sinh, cosh, tanh, cbrt, limit1, atan2, pow,hypot, fmod, fmax, fmin, limit, tvconv, liveconv, bpf, xyscale, ntom, mton, OSCsend, OSCraw, sorta, sortd, dot, zdf_1pole_mode, zdf_2pole_mode, zdf_ladder, zdf_1pole and zdf_2pole.xml, diode_ladder, z35_hpf, K35_lpf, product, sc_phasor, sc_lag, sc_lagud, sc_trig, midiout_i, chngetks, chnsetks, squinewave, gen53, loscilphs, loscil3phs, balance2, fluidinfo, ftaudio, OSCcount, faustplay, faustdsp, OSCbundle, beosc, beadsyn, printarray, reshapearray, trim, trim_i, string2array, nstrstr, ntof, ampmidicurve - deprecated opcodes: stackops, sndload - fixes and feature extensions to many opcodes - new while loop construct - ?: now does strings as well as numbers - better mp3 support - many, many bugs fixed - many internal artificial limits removed - better debugging and instrumentation - src_conv utility improved - floating point tempo - higher precision p2 and p3 - html5 frontend removed - better server support @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2014/08/05 05:12:38 mrg Exp $ a2 1 Install csound in lib/csound6 to avoid conflicts with csound5. d5 3 a7 25 --- CMakeLists.txt.orig 2019-07-12 14:54:19.000000000 -0700 +++ CMakeLists.txt 2019-10-30 12:16:51.495210409 -0700 @@@@ -20,10 +20,10 @@@@ set(APIVERSION "6.0") # Relative install paths -set(EXECUTABLE_INSTALL_DIR "bin") +set(EXECUTABLE_INSTALL_DIR "lib/csound6") set(LOCALE_INSTALL_DIR "share/locale") -set(HEADER_INSTALL_DIR "include/csound") +set(HEADER_INSTALL_DIR "include/csound6") set(CS_FRAMEWORK_DEST "~/Library/Frameworks" CACHE PATH "Csound framework path") include(TestBigEndian) @@@@ -36,7 +36,7 @@@@ include(CheckCXXCompilerFlag) include(CMakePushCheckState) -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") +set (CMAKE_MODULE_PATH "/var/obj/pkgsrc/audio/csound6/work.the-blessing/.buildlink/cmake-Modules" "/var/obj/pkgsrc/audio/csound6/work.the-blessing/.buildlink/cmake-Modules" "/var/obj/pkgsrc/audio/csound6/work.the-blessing/.buildlink/cmake-Modules" ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") # Utility to munge with items in a list. # @@@@ -128,6 +128,12 @@@@ d20 1 a20 36 @@@@ -188,19 +194,19 @@@@ option(USE_LIB64 "Set to on to set installation directory for libraries to lib64" OFF) if(USE_LIB64) - set(LIBRARY_INSTALL_DIR "lib64") + set(LIBRARY_INSTALL_DIR "lib64/csound6") add_definitions("-DLIB64") else() - set(LIBRARY_INSTALL_DIR "lib") + set(LIBRARY_INSTALL_DIR "lib/csound6") endif() message(STATUS "LIBRARY INSTALL DIR: ${LIBRARY_INSTALL_DIR}") if(USE_DOUBLE) message(STATUS "Building with 64-bit floats") - set(PLUGIN_INSTALL_DIR "${LIBRARY_INSTALL_DIR}/csound/plugins64-${APIVERSION}") + set(PLUGIN_INSTALL_DIR "${LIBRARY_INSTALL_DIR}/plugins-${APIVERSION}") else() message(STATUS "Building with 32-bit floats") - set(PLUGIN_INSTALL_DIR "${LIBRARY_INSTALL_DIR}/csound/plugins-${APIVERSION}") + set(PLUGIN_INSTALL_DIR "${LIBRARY_INSTALL_DIR}/plugins-${APIVERSION}") endif() execute_process ( @@@@ -466,6 +472,10 @@@@ endif() +if(NETBSD) + add_definitions("-DCS_DEFAULT_PLUGINDIR=\"${CMAKE_INSTALL_PREFIX}/${PLUGIN_INSTALL_DIR}\"") +endif() + if(BUILD_RELEASE) add_definitions("-D_CSOUND_RELEASE_") if(LINUX) @@@@ -1296,7 +1306,9 @@@@ @ 1.2 log @enable portaudio-devel now that it has a supported version. now csound6 can output directly to the audio card on netbsd. add comments to all the patches that were missing them. bump pkg version. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2014/03/06 10:16:53 mrg Exp $ d6 3 a8 3 --- CMakeLists.txt.orig 2014-01-07 08:54:20.000000000 -0800 +++ CMakeLists.txt 2014-02-14 16:31:43.000000000 -0800 @@@@ -13,26 +13,26 @@@@ d15 30 d49 1 d57 1 d61 1 a64 12 set(PYTHON_MODULE_INSTALL_DIR ${LIBRARY_INSTALL_DIR}) set(JAVA_MODULE_INSTALL_DIR ${LIBRARY_INSTALL_DIR}) set(LUA_MODULE_INSTALL_DIR ${LIBRARY_INSTALL_DIR}) set(LOCALE_INSTALL_DIR "share/locale") -set(HEADER_INSTALL_DIR "include/csound") +set(HEADER_INSTALL_DIR "include/csound6") set(CS_FRAMEWORK_DEST "~/Library/Frameworks") include(TestBigEndian) @@@@ -239,6 +239,12 @@@@ set(LINUX NO) endif() d66 2 a67 10 +if(CMAKE_SYSTEM_NAME MATCHES "NetBSD") + set(NETBSD YES) +else() + set(NETBSD NO) +endif() + ## USER OPTIONS ## option(USE_DOUBLE "Set to use double-precision floating point for audio samples." ON) @@@@ -326,6 +332,10 @@@@ d78 10 @ 1.1 log @add packages for csound6 and its manual. @ text @d1 4 a4 1 $NetBSD$ @