Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213159 - wesnoth-1.4 needs sdl-image and sdl-mixer to build
Summary: wesnoth-1.4 needs sdl-image and sdl-mixer to build
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: 2008-03-12 15:22 UTC by Marc Vinyals
Modified: 2008-03-13 18:33 UTC (History)
0 users

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


Attachments
Proposed patch (wesnoth.patch,520 bytes, patch)
2008-03-12 15:24 UTC, Marc Vinyals
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Vinyals 2008-03-12 15:22:10 UTC
When built with USE="dedicated", games-strategy/wesnoth-1.4 doesn't depend on media-libs/sdl-image, but it checks for sdl-image having been built with USE="png". The correct behaviour is to both depend on sdl-image and check for png support independently of dedicated being set, otherwise emerging wesnoth will fail (it will die in either ebuild checks or configure).

The same applies to media-libs/sdl-mixer and vorbis use flag, but not to media-libs/libsdl and X use flag, as stated in bug #193169.
Comment 1 Marc Vinyals 2008-03-12 15:24:45 UTC
Created attachment 145912 [details, diff]
Proposed patch
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2008-03-12 23:33:35 UTC
yeah, I hope they fix that in a later release.  worked around in cvs.  thanks for the bug report.
Comment 3 Nils Kneuper 2008-03-13 18:33:16 UTC
>yeah, I hope they fix that in a later release.  worked around in cvs.  thanks
>for the bug report.

Yes, we will probably fix this by switching the build system to "something else" (not decided yet what to chose, current options are scons and cmake, have to evaluate which suits us better) in the next development series. In general some of our dependencies are rather ugly and could use a cleanup... ;)