Resolution - add:
sed -i s:soundfonts/default.sf2:sounds/sf2/FluidR3_GM.sf2: cmake_admin/DefaultDirs.cmake
in line 44 of ebuild (at a top of src_configure section).
(setting it in /etc/fluidsynth.conf does affect only daemon)
It may be the other way around.
media-sound/fluidsynth is correct.
media-sound/fluid-soundfont installs FluidR3_GM.sf2 and FluidR3_GS.sf2 into wrong directory.
We need something similar to app-eselect/eselect-timidity to create a symlink
/usr/share/soundfonts/default.sf2 -> /usr/share/sounds/sf2/example.sf2
> We need something similar to app-eselect/eselect-timidity [...]
Let's keep it simple. Working default would be enough.
Your suggestion with fluid-soundfont repairing appeals to me :-)
how about providing a script that would set path to any soundfont as the default? i also wonder whether it could be done so that each user could set his/her own default. but i don't use fluidsynth this way so not sure what would be the best solution.
We currently install SF2 soundfonts to /usr/share/sounds/sf2/ which matches where Debian/Ubuntu installs them. And if you do "xzgrep Ubuntu /usr/share/doc/fluid-soundfont-3.1/README.xz" you will see that like most/all other distros, our package comes via Ubuntu. ;)
Fluidsynth is to the best of my knowledge an independent project that merely shares a the root with with the almost 20 year old soundfont.
If there's some LSB/XDG documentation on this, I'm very much willing to change the location of fluid-soundfont to there, since I already have an open PR for that package.