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:   [Bug 272480] audio/fluid-soundfont: Add the soundfont link /usr/local/share/soundfonts/default.sf2 that some users expect
Message-ID:  <bug-272480-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272480

            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=3D243369&action=
=3Dedit
patch

Background:

The 'dmidiplayer' executable installed by audio/dmidiplayer prints this err=
or:
> MIDI Output "Error: fluid_sfloader_load(): Failed to open '/usr/local/sha=
re/soundfonts/default.sf2': File does not exist.\nError: Unable to open fil=
e '/usr/local/share/soundfonts/default.sf2'\nError: Failed to load SoundFon=
t \"/usr/local/share/soundfonts/default.sf2\"\nWarning: Failed to set threa=
d 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_F=
ULL_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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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