Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48117 - Incorrect dependencies for sdl-sopwith
Summary: Incorrect dependencies for sdl-sopwith
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-17 03:51 UTC by Alexandru Toma
Modified: 2004-04-17 16:12 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 Alexandru Toma 2004-04-17 03:51:16 UTC
sdl-sopwith doesn't need to depend on gdk-pixbuf. I have managed to compile it without gdk-pixbuf installed.

Also freetype and glib should be removed from the dependencies as they are already depended on by pango and gtk+

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-17 12:12:06 UTC
The freetype and glib dependencies should stay since an ebuild *should* depend on anything that is not in "system" that it requires.  It is generally a bad idea to only inherit a dependency.  After all, what happens if the pango or gtk+ ebuilds change their dependencies in the future?  It isn't likely, but it can happen.

Fixed in CVS
Comment 2 Alexandru Toma 2004-04-17 14:59:15 UTC
It seems there's a new problem with the dependencies:

RDEPEND=">=media-libs/libsdl-1.1.3
        dev-libs/atk
        x11-libs/pango
        >=x11-libs/gtk+-2
        >=dev-libs/glib-2
        dev-util/pkgconfig
        >=media-libs/freetype-2"
DEPEND="${RDEPEND}
        dev-util/pkgconfig"

dev-util/pkgconfig is in both RDEPEND and DEPEND. If it is indeed needed to run sdl-sopwith (RDEPEND) then all the dependencies should be moved to DEPEND and RDEPEND deleted as by default it is =${DEPEND}. If it is only needed in DEPEND then it should be removed from RDEPEND.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-17 16:12:51 UTC
I rearranged the DEPEND and RDEPEND to be proper now.