Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141508 - No music in gltron
Summary: No music in gltron
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 10:10 UTC by Stephan Karacson
Modified: 2006-07-26 09:32 UTC (History)
1 user (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 Stephan Karacson 2006-07-23 10:10:32 UTC
My favourite game: games-action/gltron starts fine but gives me a 
 [scripting audio] found track ' song_revenge_of_cats.it ' 
 [sound] initializing sound 
 [sound] loading song song_revenge_of_cats.it 
 [error] failed loading sample type it, from /usr/share/games/gltron/music/song_revenge_of_cats.it: Sound format unsupported
http://forums.gentoo.org/viewtopic-t-25601-highlight-gltron+music.html tells me the ebuild installs it incorrect, but the current version is defect now for some time on several machines. Sound works ok (crashing in the wall, motorsound) but music is not. File is at its place. (where there not more soundfiles at previous versons?)
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-07-23 13:23:19 UTC
Do you have USE=mikmod for sdl-sound?
Comment 2 Stephan Karacson 2006-07-24 07:28:36 UTC
Thank you, that did it. I must apologize, but Its hard to keep up with all the new useflags coming up. I'll post it in the forum.
Comment 3 Sascha G. 2006-07-24 21:09:54 UTC
Could you reopen this bug so that a developer really sees the issue and modifies the gltron ebuild to catch it?

I had noticed this a couple of months ago, but I simply forgot to open a bug report. If I had done so, you probably wouldn't have run into this (sorry :-) ), hopefully others will be able to benefit from this now on (or soon on).
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-07-24 21:22:33 UTC
mikmod is enabled by default to catch this.
Comment 5 Sascha G. 2006-07-24 21:31:27 UTC
(In reply to comment #4)
> mikmod is enabled by default to catch this.

Not in every profile (e.g., the one I use), but this is nevertheless a bug, whether it is a default USE flag or not.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2006-07-24 21:46:03 UTC
The game works otherwise so the music support is optional.  Since you don't have the mikmod flag portage does the best it can, which in this case, is to run without music.  If we forced the ebuild to die if you don't have the mikmod use flag set, that would force people to have mikmod support on their system even if they didn't want it.

Basically, if you want to hear the music, turn on the mikmod flag and run "emerge --newuse world"
Comment 7 Sascha G. 2006-07-24 22:34:08 UTC
(In reply to comment #6)
> The game works otherwise so the music support is optional.  Since you don't
> have the mikmod flag portage does the best it can, which in this case, is to
> run without music.  If we forced the ebuild to die if you don't have the mikmod
> use flag set, that would force people to have mikmod support on their system
> even if they didn't want it.

This is a view I fully support, it is backed by Gentoo Philosophy and I wish more developers (and users, probably) would actually care about this.

But still, you leave out another option: informing the user that there will be no music without mikmod support in sdl-sound and / or sdl-mixer (depending on where it is actually needed). Leaving the unsuspecting user without music and an error message that is not that helpful if you don't know about some internals.
I have not run into this myself, I just happened to notice that there was a tracker file installed without any mention of some kind of MOD support in the ebuild.

Well, that's of course just my point of view and I'm going to leave this bug alone now.
Comment 8 Stephan Karacson 2006-07-25 06:39:52 UTC
(In reply to comment #3)
> Could you reopen this bug so that a developer really sees the issue and
> modifies the gltron ebuild to catch it?
...
> ), hopefully others will be able to benefit from this now on (or soon on).
> 

Ok, I'll reopen it, but it is actually not a bug of this ebuild.
A einfo "If you want optional music this ebuild needs media-libs/sdl-sound compiled with USE=mikmod" at the end would still be nice. If not (or other ideas please close it or tell me to do so.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2006-07-25 09:50:48 UTC
already in portage.
Comment 10 Stephan Karacson 2006-07-26 09:32:28 UTC
Thanks for the fast reaction, this should help.