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

Bug 307957

Summary: incorrect use requirements for kdelibs, phonon, xcb
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ta2002 2010-03-06 01:33:32 UTC
The kdelibs ebuild (current stable 4.3.5) says:

COMMONDEPEND="

[...]

        !aqua? (
                >=media-sound/phonon-4.3.49[xcb]

[...]

But the phonon-4.3.80-r1 ebuild says:

RDEPEND="

[...]

        xine? (
                >=media-libs/xine-lib-1.1.15-r1[xcb?]
                xcb? ( x11-libs/libxcb )
        )


So if the the xine use flag is not selected (and I don't have it enabled), then
the xcb flag in phonon makes no difference at all (and shouldn't be required in kdelibs).
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-07-07 18:37:31 UTC
Unfortunately kdelibs has no xine useflag, so we cannot query it.

Introducing it only for this purpose is probably a bit too much.
Comment 2 ta2002 2010-07-08 03:08:23 UTC
I have obviously missed something then.

If phonon gets built with xcb when needed (ie. when xine is build with xcb), then why require it in kdelibs at all?

It seems to me (but what do I know?), that removing the xcb requirement in kdelibs would work.
Comment 3 ta2002 2010-07-11 03:34:00 UTC
Sorry to reopen this, but I really want to know (and you haven't answered) why changing (in kdelibs - now using 4.4.4) doesn't fix this bug:

[...]

        !aqua? (
                >=media-sound/phonon-4.3.80

[...]

With USE=xine, phonon (correctly) gets built to match the xcb use flag in xine. With no xine use flag, kdelibs will not require phonon built with xcb.
Comment 4 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-12-30 18:22:37 UTC
this bug was fixed sometime by someone, i don't know any more info, look at the changelog :)
Thanks for the report