FS#38428 - [sdl2_mixer] Timidity search path is wrong

Attached to Project: Arch Linux
Opened by Vinícius dos Santos Oliveira (vinipsmaker) - Thursday, 09 January 2014, 02:15 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 30 December 2022, 09:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Timidity++ packaged in ArchLinux uses /etc/timidity++ config dir, but SDL2_mixer will look for config in different files:

vinipsmaker ~ $ strings /usr/lib/libSDL2_mixer-2.0.so.0 | grep timidity
Mixer not built with MOD timidity support
/etc/timidity
/usr/share/timidity
/usr/local/share/timidity
/usr/local/lib/timidity
/etc/timidity.cfg
/etc/timidity/freepats.cfg

This problem will cause issues with some software, like EasyRPG: https://github.com/EasyRPG/Player/issues/180

The workaround is to activate the FluidSynth backend defining the SDL_SOUNDFONTS env variable.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 30 December 2022, 09:32 GMT
Reason for closing:  Fixed
Comment by Arkadiy Illarionov (qarkai) - Monday, 26 December 2022, 23:33 GMT
  • Field changed: Percent Complete (100% → 0%)
timidity++ package store config in /etc/timidity/timidity.cfg

SDL2_mixer looks in
$ strings /usr/lib/libSDL2_mixer-2.0.so.0.600.2 | grep timidity
/etc/timidity.cfg
/etc/timidity/freepats.cfg
Comment by Toolybird (Toolybird) - Monday, 26 December 2022, 23:33 GMT Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 30 December 2022, 08:53 GMT
Should be fixed once again, please check.
Comment by Arkadiy Illarionov (qarkai) - Friday, 30 December 2022, 09:09 GMT
No more "Couldn't open timidity.cfg" warnings, thanks!

Loading...