Mon Apr 5 10:54:16 2021 UTC ()
fluidsynth: update to 2.2.0.

This release breaks ABI compatibility! Refer to the API docs for details.

A C++98 compliant compiler is now required to build fluidsynth (mailing list thread)

New features

    Support loading SoundFonts >2GiB on Windows (#629)
    Major overhaul of the sequencer and its event queue (#604)
        Overlapping notes can be handled (#637)
        Performance improvement, since the event queue no longer blocks the rendering thread
        Time scale is not limited to 1000 anymore and can therefore be used for tempo changes
    The following audio drivers have gained multi-channel support
        DSound (#667, thanks to @jjceresa)
        WaveOut (#667, thanks to @jjceresa)
    The WinMIDI driver supports multiple devices (#677, thanks to @jjceresa)
    Handle GS DT1 SysEx messages for setting whether a channel is used for rhythm part (#708, thanks to @chirs241097)
    Support use of UTF-8 filenames under Windows (#718, thanks to @getraid-gg)
    Improved support for overriding tempo of the MIDI player (#711, #713, thanks to @jjceresa)
    Handle settings-related commands in user command file before initializing other objects (#739)
    SoundFont loading has been parallelized (#746, #812, requires openMP)
    The Oboe driver has gained a lower latency and other updates (#740, #741, #747)
    WASAPI driver has been added (#754, thanks to @chirs241097)

General

    Fix race condition in fluid_player_callback (#783, thanks to @arcln)
    Improvements to LADSPA subsystem (#795, thanks to @mawe42)


(wiz)
diff -r1.48 -r1.49 pkgsrc/audio/fluidsynth/Makefile
diff -r1.13 -r1.14 pkgsrc/audio/fluidsynth/PLIST
diff -r1.15 -r1.16 pkgsrc/audio/fluidsynth/buildlink3.mk
diff -r1.28 -r1.29 pkgsrc/audio/fluidsynth/distinfo
diff -r1.1 -r1.2 pkgsrc/audio/fluidsynth/patches/patch-include_fluidsynth_log.h

cvs diff -r1.48 -r1.49 pkgsrc/audio/fluidsynth/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/fluidsynth/Makefile 2021/03/19 10:25:19 1.48
+++ pkgsrc/audio/fluidsynth/Makefile 2021/04/05 10:54:15 1.49
@@ -1,26 +1,27 @@ @@ -1,26 +1,27 @@
1# $NetBSD: Makefile,v 1.48 2021/03/19 10:25:19 nia Exp $ 1# $NetBSD: Makefile,v 1.49 2021/04/05 10:54:15 wiz Exp $
2 2
3DISTNAME= fluidsynth-2.1.8 3DISTNAME= fluidsynth-2.2.0
4CATEGORIES= audio 4CATEGORIES= audio
5MASTER_SITES= ${MASTER_SITE_GITHUB:=FluidSynth/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=FluidSynth/}
6GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.fluidsynth.org/ 9HOMEPAGE= http://www.fluidsynth.org/
10COMMENT= Software synthesizer based on SoundFont2 10COMMENT= Software synthesizer based on SoundFont2
11LICENSE= gnu-lgpl-v2 11LICENSE= gnu-lgpl-v2
12 12
13USE_CMAKE= yes 13USE_CMAKE= yes
 14USE_LANGUAGES= c c++
14USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
15 16
16CMAKE_ARGS+= -DMAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR}/man1 17CMAKE_ARGS+= -DMAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR}/man1
17CMAKE_ARGS+= -DLIB_SUFFIX="" 18CMAKE_ARGS+= -DLIB_SUFFIX=""
18CMAKE_ARGS+= -Denable-framework=OFF 19CMAKE_ARGS+= -Denable-framework=OFF
19 20
20PKGCONFIG_OVERRIDE= fluidsynth.pc.in 21PKGCONFIG_OVERRIDE= fluidsynth.pc.in
21 22
22LDFLAGS.SunOS+= -lsocket 23LDFLAGS.SunOS+= -lsocket
23 24
24.include "../../mk/oss.buildlink3.mk" 25.include "../../mk/oss.buildlink3.mk"
25 26
26.if ${OSS_TYPE} != "none" 27.if ${OSS_TYPE} != "none"

cvs diff -r1.13 -r1.14 pkgsrc/audio/fluidsynth/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/fluidsynth/PLIST 2021/03/19 10:25:19 1.13
+++ pkgsrc/audio/fluidsynth/PLIST 2021/04/05 10:54:15 1.14
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1@comment $NetBSD: PLIST,v 1.13 2021/03/19 10:25:19 nia Exp $ 1@comment $NetBSD: PLIST,v 1.14 2021/04/05 10:54:15 wiz Exp $
2bin/fluidsynth 2bin/fluidsynth
3include/fluidsynth.h 3include/fluidsynth.h
4include/fluidsynth/audio.h 4include/fluidsynth/audio.h
5include/fluidsynth/event.h 5include/fluidsynth/event.h
6include/fluidsynth/gen.h 6include/fluidsynth/gen.h
7include/fluidsynth/ladspa.h 7include/fluidsynth/ladspa.h
8include/fluidsynth/log.h 8include/fluidsynth/log.h
9include/fluidsynth/midi.h 9include/fluidsynth/midi.h
10include/fluidsynth/misc.h 10include/fluidsynth/misc.h
11include/fluidsynth/mod.h 11include/fluidsynth/mod.h
12include/fluidsynth/seq.h 12include/fluidsynth/seq.h
13include/fluidsynth/seqbind.h 13include/fluidsynth/seqbind.h
14include/fluidsynth/settings.h 14include/fluidsynth/settings.h
15include/fluidsynth/sfont.h 15include/fluidsynth/sfont.h
16include/fluidsynth/shell.h 16include/fluidsynth/shell.h
17include/fluidsynth/synth.h 17include/fluidsynth/synth.h
18include/fluidsynth/types.h 18include/fluidsynth/types.h
19include/fluidsynth/version.h 19include/fluidsynth/version.h
20include/fluidsynth/voice.h 20include/fluidsynth/voice.h
21lib/libfluidsynth.so 21lib/libfluidsynth.so
22lib/libfluidsynth.so.2 22lib/libfluidsynth.so.3
23lib/libfluidsynth.so.2.3.8 23lib/libfluidsynth.so.3.0.0
24lib/pkgconfig/fluidsynth.pc 24lib/pkgconfig/fluidsynth.pc
25man/man1/fluidsynth.1 25man/man1/fluidsynth.1

cvs diff -r1.15 -r1.16 pkgsrc/audio/fluidsynth/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/audio/fluidsynth/buildlink3.mk 2020/03/08 16:47:24 1.15
+++ pkgsrc/audio/fluidsynth/buildlink3.mk 2021/04/05 10:54:15 1.16
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: buildlink3.mk,v 1.15 2020/03/08 16:47:24 wiz Exp $ 1# $NetBSD: buildlink3.mk,v 1.16 2021/04/05 10:54:15 wiz Exp $
2 2
3BUILDLINK_TREE+= fluidsynth 3BUILDLINK_TREE+= fluidsynth
4 4
5.if !defined(FLUIDSYNTH_BUILDLINK3_MK) 5.if !defined(FLUIDSYNTH_BUILDLINK3_MK)
6FLUIDSYNTH_BUILDLINK3_MK:= 6FLUIDSYNTH_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.fluidsynth+= fluidsynth>=1.0.5 8BUILDLINK_API_DEPENDS.fluidsynth+= fluidsynth>=1.0.5
9BUILDLINK_ABI_DEPENDS.fluidsynth+= fluidsynth>=2.1.1nb1 9BUILDLINK_ABI_DEPENDS.fluidsynth+= fluidsynth>=2.2.0
10BUILDLINK_PKGSRCDIR.fluidsynth?= ../../audio/fluidsynth 10BUILDLINK_PKGSRCDIR.fluidsynth?= ../../audio/fluidsynth
11 11
12.include "../../devel/glib2/buildlink3.mk" 12.include "../../devel/glib2/buildlink3.mk"
13.include "../../mk/readline.buildlink3.mk" 13.include "../../mk/readline.buildlink3.mk"
14.endif # FLUIDSYNTH_BUILDLINK3_MK 14.endif # FLUIDSYNTH_BUILDLINK3_MK
15 15
16BUILDLINK_TREE+= -fluidsynth 16BUILDLINK_TREE+= -fluidsynth

cvs diff -r1.28 -r1.29 pkgsrc/audio/fluidsynth/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/fluidsynth/distinfo 2021/03/19 10:25:19 1.28
+++ pkgsrc/audio/fluidsynth/distinfo 2021/04/05 10:54:15 1.29
@@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
1$NetBSD: distinfo,v 1.28 2021/03/19 10:25:19 nia Exp $ 1$NetBSD: distinfo,v 1.29 2021/04/05 10:54:15 wiz Exp $
2 2
3SHA1 (fluidsynth-2.1.8.tar.gz) = 8d632b60fcbd213ee7c3c602cad3b2a3da3345bf 3SHA1 (fluidsynth-2.2.0.tar.gz) = cb233fbee00be65f4319cda939b9133abbaccbab
4RMD160 (fluidsynth-2.1.8.tar.gz) = c6220036e609827ab90ce7d9cda98a38591030ec 4RMD160 (fluidsynth-2.2.0.tar.gz) = 9381e9d21f325d7d19da5e2bddd9614c64cce562
5SHA512 (fluidsynth-2.1.8.tar.gz) = 34f87ea1577b1e89146a1589c67771262961bb18d0c8b21aaa9a1315e18dffc984f18f21cc8a96cc52dca9e94fcad1bdec2b62678c5f2f3434a4faba713854a6 5SHA512 (fluidsynth-2.2.0.tar.gz) = fa08c6d6914accbb5a99bb912066d97ded26ab3c706e663e76a4f1b024f610f676d2e1f7c30872d00e0fe86b5c494dcea581ecd0770977d235962a845c074bd6
6Size (fluidsynth-2.1.8.tar.gz) = 1369567 bytes 6Size (fluidsynth-2.2.0.tar.gz) = 1507709 bytes
7SHA1 (patch-CMakeLists.txt) = 79804b84964e9557180c0f86e36d465fac7126fe 7SHA1 (patch-CMakeLists.txt) = 79804b84964e9557180c0f86e36d465fac7126fe
8SHA1 (patch-include_fluidsynth_log.h) = 35378120546ca4619e232707de6a0025c6c45ad8 8SHA1 (patch-include_fluidsynth_log.h) = cfc4e180f53e6cac03bea90a0c91d6fd75e39459
9SHA1 (patch-src_drivers_fluid__alsa.c) = a482764f0bbc15b5cf04e6920374b2f4811760aa 9SHA1 (patch-src_drivers_fluid__alsa.c) = a482764f0bbc15b5cf04e6920374b2f4811760aa

cvs diff -r1.1 -r1.2 pkgsrc/audio/fluidsynth/patches/patch-include_fluidsynth_log.h (expand / switch to unified diff)

--- pkgsrc/audio/fluidsynth/patches/patch-include_fluidsynth_log.h 2019/12/19 23:59:56 1.1
+++ pkgsrc/audio/fluidsynth/patches/patch-include_fluidsynth_log.h 2021/04/05 10:54:16 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-include_fluidsynth_log.h,v 1.1 2019/12/19 23:59:56 joerg Exp $ 1$NetBSD: patch-include_fluidsynth_log.h,v 1.2 2021/04/05 10:54:16 wiz Exp $
2 2
3Use the protected form to avoid conflicts with printf macros. 3Use the protected form to avoid conflicts with printf macros.
4 4
5--- include/fluidsynth/log.h.orig 2019-12-19 23:29:25.082934836 +0000 5--- include/fluidsynth/log.h.orig 2021-03-27 17:35:00.000000000 +0000
6+++ include/fluidsynth/log.h 6+++ include/fluidsynth/log.h
7@@ -79,7 +79,7 @@ FLUIDSYNTH_API void fluid_default_log_fu 7@@ -85,7 +85,7 @@ FLUIDSYNTH_API void fluid_default_log_fu
8  8
9 FLUIDSYNTH_API int fluid_log(int level, const char *fmt, ...) 9 FLUIDSYNTH_API int fluid_log(int level, const char *fmt, ...)
10 #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) 10 #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
11-__attribute__ ((format (printf, 2, 3))) 11-__attribute__ ((format (printf, 2, 3)))
12+__attribute__ ((__format__ (__printf__, 2, 3))) 12+__attribute__ ((__format__ (__printf__, 2, 3)))
13 #endif 13 #endif
14 ; 14 ;
15  15 /* @} */