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
Description:   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.

------- Comment #1 From Marc Benstein 2004-10-20 04:07:55 0000 -------
There is also an optional ogg music project in the works at
http://www.stevenkeys.com/xu4.cfm this would eliminate the timidity++
dependency when it is completed.

------- Comment #2 From flaudebe@yahoo.fr 2005-03-22 20:27:57 0000 -------
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 

------- Comment #3 From Chris Gianelloni (RETIRED) 2005-07-19 14:33:00 0000 -------
So there is a bug in SDL-mixer that is causing this?

------- Comment #4 From Chris Gianelloni (RETIRED) 2005-09-07 13:00:42 0000 -------
Feel free to REOPEN this with the answer or a patch...

------- Comment #5 From Mr. Bones. 2006-04-23 00:13:51 0000 -------
No reply.  Closing.

------- Comment #6 From Marc Benstein 2006-04-23 15:15:37 0000 -------
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.

------- Comment #7 From Marc Benstein 2006-04-23 15:16:14 0000 -------
See previous comment.

------- Comment #8 From Tupone Alfredo 2006-12-21 15:30:19 0000 -------
A check for sdl-mixer without midi support as been put in the ebuild.