Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2023 04:42:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 272480] audio/fluid-soundfont: Add the soundfont link /usr/local/share/soundfonts/default.sf2 that some users expect
Message-ID:  <bug-272480-12827-BtAuA0jbu9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272480-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272480-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 272480: audio/fluid-soundfont: Add the soundfont link
/usr/local/share/soundfonts/default.sf2 that some users expect
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272480



--- Description ---
Background:

The 'dmidiplayer' executable installed by audio/dmidiplayer prints this err=
or:
> MIDI Output "Error: fluid_sfloader_load(): Failed to open
'/usr/local/share/soundfonts/default.sf2': File does not exist.\nError: Una=
ble
to open file '/usr/local/share/soundfonts/default.sf2'\nError: Failed to lo=
ad
SoundFont \"/usr/local/share/soundfonts/default.sf2\"\nWarning: Failed to s=
et
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272480-12827-BtAuA0jbu9>