Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 636324

Summary: games-simulation/simutrans lacks dependency on midi flag in sdl-mixer
Product: Gentoo Linux Reporter: account-removed <account-removed-bc22a6c3b0a04e42a90026d4d544a145>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: account-removed-bc22a6c3b0a04e42a90026d4d544a145
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description account-removed 2017-11-02 20:37:50 UTC
Hi,

games-simulation/simutrans depends on media-libs/sdl-mixer for the sound. However, since Simutrans ships its music as MIDI files, it's required that media-libs/sdl-mixer has the "midi" USE flag set, which isn't specified as required by =games-simulation/simutrans-0.120.0.1. The game does compile without it, but does not play any music (just silence). Sounds work, though, because they're in WAV format rather than in MIDI format.

Marvin
Comment 1 Larry the Git Cow gentoo-dev 2020-10-23 17:13:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd3ac0da3b0b26ee001e014ccec1aa45d131ef6

commit 3cd3ac0da3b0b26ee001e014ccec1aa45d131ef6
Author:     Ronny Gutbrod <gentoo@tastytea.de>
AuthorDate: 2020-04-11 20:56:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-10-23 17:07:02 +0000

    games-simulation/simutrans: Version bump 0.122.0.
    
    Also add a Desktop Entry and all the maintained paksets (scenario data) via
    use-flags.
    
    Closes: https://bugs.gentoo.org/668504
    Closes: https://bugs.gentoo.org/636324
    Closes: https://bugs.gentoo.org/664634
    Closes: https://bugs.gentoo.org/724470
    Closes: https://bugs.gentoo.org/739360
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 games-simulation/simutrans/Manifest                |   8 ++
 .../files/simutrans-0.122.0-Fix-Makefile.patch     |  21 ++++
 games-simulation/simutrans/files/simutrans.desktop |   9 ++
 games-simulation/simutrans/metadata.xml            |  14 ++-
 .../simutrans/simutrans-0.122.0.ebuild             | 106 +++++++++++++++++++++
 5 files changed, 156 insertions(+), 2 deletions(-)