Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68259 - timidity++ support not included in games-rpg/xu4
Summary: timidity++ support not included in games-rpg/xu4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 04:04 UTC by Marc Benstein
Modified: 2006-12-21 15:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Benstein 2004-10-20 04:04:34 UTC
timidity++ support is required to play midi files which are part of the game

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marc Benstein 2004-10-20 04:07:55 UTC
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 flaudebe 2005-03-22 20:27:57 UTC
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 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-19 14:33:00 UTC
So there is a bug in SDL-mixer that is causing this?
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-07 13:00:42 UTC
Feel free to REOPEN this with the answer or a patch...
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-04-23 00:13:51 UTC
No reply.  Closing.
Comment 6 Marc Benstein 2006-04-23 15:15:37 UTC
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 Marc Benstein 2006-04-23 15:16:14 UTC
See previous comment.
Comment 8 Tupone Alfredo gentoo-dev 2006-12-21 15:30:19 UTC
A check for sdl-mixer without midi support as been put in the ebuild.