Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265831 - CMake does not find phonon when installed via media-sound/phonon
Summary: CMake does not find phonon when installed via media-sound/phonon
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-12 08:30 UTC by Franz Trischberger
Modified: 2010-12-29 15:52 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 Franz Trischberger 2009-04-12 08:30:19 UTC
Another issue with qt-phonon vs media-sound/phonon:

When Phonon ist installed via media-sound/phonon (as is needed with kde4, blocking qt-phonon), problems occur, when using CMake and qt-only.
phonon can not be found.

Just test this simple sample-CMakeLists.txt:

#####

project (Phonon-test)
find_package (Qt4 REQUIRED)
set (QT_USE_PHONON true)
include(${QT_USE_FILE})
if(NOT QT_PHONON_FOUND)
  MESSAGE("No phonon found")
endif (NOT QT_PHONON_FOUND )

#####

As I use KDE4, but develop only using qt/cmake, I really get trouble...
As a bad side-effect, PyQt4 does not build phonon-bindings, if qt-phonon is not present.

And media-sound/phonon only installs simple headers, these reside in /usr/include/phonon/. qt-phonon also installs CamelCase-headers, they all reside in /usr/include/qt4/Phonon. (There is another bug flying around here)

A solution to this qt-phonon vs media-sound/phonon-fight would be really great :)

Thx
Franz

Reproducible: Always
Comment 1 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-04-09 15:49:52 UTC
There was a discussion in upstream that may be relevant

http://old.nabble.com/Phonon-include-header-fix,-once-and-for-all-td26727455.html
Comment 2 Jeremy Murphy 2010-12-26 01:16:39 UTC
Franz, is this bug still an issue or can it be closed?
Comment 3 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-12-29 15:52:34 UTC
First of all I'm not sure what the problem is here:

1) If the problem is that qt-phonon can't be installed in a kde evnironment, sorry we can't do anything about it. KDE requires media-sound/phonon, which can't co-exist with qt-phonon in the same system.
2) If the problem is that media-sound/phonon includes headers in wrong position, where should it install them to make the above cmake snippet (or an equivalent one for phonon) find them?
3) If the problem is that qt-phonon installs the headers in wrong position, please file a new bug.

Closing as needinfo for now, feel free to reopen