[Bug 272480] audio/fluid-soundfont: Add the soundfont link /usr/local/share/soundfonts/default.sf2 that some users expect
Date: Thu, 13 Jul 2023 04:42:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272480 Bug ID: 272480 Summary: audio/fluid-soundfont: Add the soundfont link /usr/local/share/soundfonts/default.sf2 that some users expect Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: yuri@freebsd.org Assignee: multimedia@FreeBSD.org Flags: maintainer-feedback?(multimedia@FreeBSD.org) Created attachment 243369 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243369&action=edit patch Background: The 'dmidiplayer' executable installed by audio/dmidiplayer prints this error: > MIDI Output "Error: fluid_sfloader_load(): Failed to open '/usr/local/share/soundfonts/default.sf2': File does not exist.\nError: Unable to open file '/usr/local/share/soundfonts/default.sf2'\nError: Failed to load SoundFont \"/usr/local/share/soundfonts/default.sf2\"\nWarning: Failed to set thread to high priority" This soundfont file name comes from fluidsynth from this line in audio/fluidsynth: > cmake_admin/DefaultDirs.cmake: set (DEFAULT_SOUNDFONT "${CMAKE_INSTALL_FULL_DATADIR}/soundfonts/default.sf2" CACHE STRING This file is not installed, but there is a tradition to reference such file. For example, to work around this problem audio/drumstick/Makefile replaces default.sf2 with /usr/local/share/sounds/sf2/FluidR3_GM.sf2 installed by audio/fluid-soundfont. The attached patch creates the symbolic link so that any applications that happen to expect share/soundfonts/default.sf2 would fine it. -- You are receiving this mail because: You are the assignee for the bug.