<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>68259</bug_id>
          
          <creation_ts>2004-10-20 04:04 0000</creation_ts>
          <short_desc>timidity++ support not included in games-rpg/xu4</short_desc>
          <delta_ts>2006-12-21 15:30:19 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mdb@cs.unm.edu</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>flash3001@yahoo.com</cc>
    
    <cc>matija.suklje@rutka.net</cc>

      

      
          <long_desc isprivate="0">
            <who>mdb@cs.unm.edu</who>
            <bug_when>2004-10-20 04:04:34 0000</bug_when>
            <thetext>timidity++ support is required to play midi files which are part of the game

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mdb@cs.unm.edu</who>
            <bug_when>2004-10-20 04:07:55 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flaudebe@yahoo.fr</who>
            <bug_when>2005-03-22 20:27:57 0000</bug_when>
            <thetext>There is a problem of compatibilty versions between timidity++ and sdl-mixer.
I added the keyword &quot;soundfount /path/blabla&quot; 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 &quot;xu4: warning: unable to load music file /usr/games/lib/u4/music/Towns.mid: timidity.cfg: line 25: syntax error&quot;.
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 &quot;soundfount&quot; (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 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-07-19 14:33:00 0000</bug_when>
            <thetext>So there is a bug in SDL-mixer that is causing this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-09-07 13:00:42 0000</bug_when>
            <thetext>Feel free to REOPEN this with the answer or a patch...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2006-04-23 00:13:51 0000</bug_when>
            <thetext>No reply.  Closing.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mdb@cs.unm.edu</who>
            <bug_when>2006-04-23 15:15:37 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mdb@cs.unm.edu</who>
            <bug_when>2006-04-23 15:16:14 0000</bug_when>
            <thetext>See previous comment.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tupone@gentoo.org</who>
            <bug_when>2006-12-21 15:30:19 0000</bug_when>
            <thetext>A check for sdl-mixer without midi support as been put in the ebuild.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>