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

Bug 517440

Summary: media-gfx/kphotoalbum-4.5 should not depend on >=media-libs/phonon-4.7.2
Product: Gentoo Linux Reporter: Tobias Leupold <tl>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tobias Leupold 2014-07-18 18:59:03 UTC
Why does the new KPA ebuild depend on media-libs/phonon-4.7.2 and media-libs/phonon-gstreamer-4.7.2? Current git master builds just fine with the current stable versions media-libs/phonon-4.6.0-r1 and media-libs/phonon-gstreamer-4.6.3.

Why are these testing dependencies added?
Comment 1 Tobias Leupold 2014-07-19 07:30:05 UTC
I think KPA actually makes use of Phonon (cf. Viewer/VideoDisplay.cpp), so it seems to depend on it. CMakeLists.txt seems not to check for Phonon though; perhaps, this is an upstream bug. I'll investigate this.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2014-07-19 15:12:35 UTC
As part of the wider effort to prepare for KDE Frameworks 5, a number of Qt-based libraries have gained two new USE flags - qt4 & qt5. In order to ensure consumers of these libraries have the appropriate variant available, we have to enforce a USE dependency on these flags.

In the case of phonon, the new qt4 USE flag is only available in testing versions (because we can't make major changes like this in stable). Thus depending on this USE flag causes unstable phonon to be pulled in, rather than us directly depending upon that version.
Comment 3 Tobias Leupold 2014-07-20 12:15:26 UTC
Ah okay, I see.

Apart from this, would you mind to rename the bug again? (as "media-gfx/kphotoalbum-4.5 should not depend on media-libs/phonon" is not what I meant in the first place)

So this is invalid, isn't it?
Comment 4 Michael Palimaka (kensington) gentoo-dev 2014-07-22 09:29:35 UTC
It would be possible to add more deps instead like || ( <media-libs/phonon-4.7.0 media-libs/phonon[qt4] ), but the minimal gain is probably not worth the added complexity. I would anticipate stabilisation of newer phonon soon anyway - it's long overdue.