Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225721 - x11-libs/qt-phonon requires qt-core and qt-gui built with USE="glib"
Summary: x11-libs/qt-phonon requires qt-core and qt-gui built with USE="glib"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 09:35 UTC by Stefan Kiesler
Modified: 2009-04-17 14:14 UTC (History)
3 users (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 Stefan Kiesler 2008-06-10 09:35:49 UTC
The current ebuild for qt-phonon does not check qt-core and qt-gui for glib support.
However, if qt-core and qt-gui are built without setting their "glib" USE flag, phonon won't work properly. Applications like the "music player" example will compile fine, but won't do anything useful at runtime because signal handling between qt and gstreamer doesn't seem to work at all.
Glib support seems to be crucial for proper interaction with the gstreamer backend.

To check this behaviour, compile qt-core / qt-gui without glib USE flag. Build the music player example (make sure to link it against qt-phonon, NOT a possibly present kde4-phonon). Start music player and try to add some mp3 files.
-> The playlist will remain empty.

Recompile qt-core / qt-gui with the glib USE flag set. Recompile music player example, add mp3 files, et voila: music player works.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-08-13 23:15:16 UTC
Fixed in qt-phonon-4.4.1-r1.ebuild. Thanks for reporting!
Comment 2 meyerm 2008-08-28 13:38:46 UTC
I just found that bug report thanks to http://forums.gentoo.org/viewtopic-p-5196707.html . I built my Qt intentionally without glib since I read it would produce some severe performance problems with graphical effects and I don't need the glib support.

qt-phonon depends "hard" on gstreamer and therefore now on Qt beeing built with glib. Sooo, do I understand it right that the _qt_-phonon ONLY supports gstreamer and therefore will _always_ be built with gstreamer/glib or is there another way to go?
Comment 3 Luke-Jr 2009-04-17 08:37:20 UTC
I second the question in comment #2. I want to hard mask glib/gtk+ on my systems. Why the heck should their competition depend on them?
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2009-04-17 09:16:26 UTC
(In reply to comment #2)
> Sooo, do I understand it right that the _qt_-phonon ONLY supports
> gstreamer and therefore will _always_ be built with gstreamer/glib 

That is correct. There is no other way to use qt-phonon. You can opt to use media-sound/phonon (the KDE implementation) instead, which can use xine instead of gstreamer.