Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460626 - games-puzzle/world-of-goo requires media-libs/libsdl[alsa] dependency
Summary: games-puzzle/world-of-goo requires media-libs/libsdl[alsa] dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-07 00:57 UTC by Jared B.
Modified: 2014-05-09 10:54 UTC (History)
2 users (show)

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


Attachments
world-of-goo-1.41-r1.patch (world-of-goo-1.41-r1.patch,687 bytes, patch)
2013-03-07 00:58 UTC, Jared B.
Details | Diff
world-of-goo-1.41-r1.ebuild.patch (new) (world-of-goo-1.41-r1.ebuild.patch,340 bytes, patch)
2014-01-10 04:55 UTC, Andrew Church
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B. 2013-03-07 00:57:19 UTC
I fired up World of Goo last night for the first time in a while and didn't get any sound.  After digging into it for a while, I determine that the sound breakage was caused by removing the bundled libraries in bug 380173, specifically the bundled libSDL-1.2.so.0.

Even though I have libSDL installed and working fine, with sound, for all my other games, I just couldn't get sound from World of Goo.  If I added the bundled libSDL-1.2.so.0 back to the install directory, sound would work.  Even found that running the 32-bit version of World of Goo without the bundled library would also give me sound, but the native 64-bit without the bundled library consistently failed.

So, after more digging I found that I have libSDL compiled with USE="-alsa oss", because libSDL had a bug at one point in it's ALSA support that resulted in audio static whenever a game was played with libSDL using ALSA.  Forcing it to uss OSS for the back end driver fixed that problem, so I left it like that.

I recompiled libSDL with USE=alsa and bingo - sound worked great.  I don't know *why* the game would care whether I'm using ALSA or not on the backend (doesn't that sort of defeat the purpose of using a middle layer library like SDL?), but regardless, it's needed to make sound work, at least on a 64-bit system.

The attached patch updates the in-tree ebuild (world-of-goo-1.41-r1) to add the media-libs/libdsdl[alsa] dependency.  As a bonus, it also fixes the duplicate binary install issue reported in bug 417187.

Reproducible: Always
Comment 1 Jared B. 2013-03-07 00:58:24 UTC
Created attachment 341174 [details, diff]
world-of-goo-1.41-r1.patch
Comment 2 Andrew Church 2014-01-10 04:55:26 UTC
Created attachment 367548 [details, diff]
world-of-goo-1.41-r1.ebuild.patch (new)

Replacement patch which excludes the changes related to bug 417187 and bug 497668.