Bug 68259 - timidity++ support not included in games-rpg/xu4
|
Bug#:
68259
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: minor
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: mdb@cs.unm.edu
|
|
Component: Games
|
|
|
URL:
|
|
Summary: timidity++ support not included in games-rpg/xu4
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-10-20 04:04 0000
|
timidity++ support is required to play midi files which are part of the game
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
There is a problem of compatibilty versions between timidity++ and sdl-mixer.
I added the keyword "soundfount /path/blabla" to my config file /etc/timidity.cfg to set up midi configuration. Timidity plays fine any of my .mid files.
When starting xu4 it says "xu4: warning: unable to load music file /usr/games/lib/u4/music/Towns.mid: timidity.cfg: line 25: syntax error".
On line 25 of /etc/timidity.cfg is the soundfont keyword.
I investigate a little bit by looking at the sources of xu4 and sdl-mixer. Xu4 is using a function call to sdl-mixer library. Actually, this is sdl-mixer library that returns the syntax error to xu4. Looking in sdl-mixer sources, it fails at parsing /etc/timidity.cfg because the keyword "soundfount" (valid for timidity) is not yet implemented.
xu4-0.9 and library versions : sdl-mixer-1.2.5-r1 or sdl-mixer-1.2.6 and timidity++-2.13.2
So there is a bug in SDL-mixer that is causing this?
Feel free to REOPEN this with the answer or a patch...
No, SDL-mixer plays the files fine. It is something with xu4. I spoke with the
developers a couple of times and they do not have any 64-bit machines to test
it on. This happens in Fedora Core 4 and SUSE 10 as well. Only with amd64.
A check for sdl-mixer without midi support as been put in the ebuild.