Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297593 - media-sound/phonon doesn't install phonon widgets
Summary: media-sound/phonon doesn't install phonon widgets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-20 00:26 UTC by Kanstantsin Shautsou
Modified: 2010-12-31 00:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qt-creator build log (20091220-194202.log,1.16 MB, text/plain)
2009-12-20 19:58 UTC, Kanstantsin Shautsou
Details
qt-phonon-4.6.1-r1 patch for designer plugins (qt-phonon-4.6.1-r1.ebuild.patch,147 bytes, patch)
2010-02-05 19:45 UTC, Coy Barnes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kanstantsin Shautsou 2009-12-20 00:26:35 UTC
[I] dev-util/qt-creator
     Available versions:  1.2.1 (~)1.3.0 {bineditor bookmarks +cmake cvs debug +debugger +designer doc examples fakevim git kde linguas_de linguas_es linguas_fr linguas_it linguas_ja linguas_pl linguas_ru linguas_sl mercurial perforce qtscript subversion}
     Installed versions:  1.3.0(00:54:52 20.12.2009)(bineditor cmake debugger designer fakevim git kde linguas_ru perforce qtscript subversion -bookmarks -cvs -debug -doc -examples -linguas_de -linguas_es -linguas_fr -linguas_it -linguas_ja -linguas_pl -linguas_sl -mercurial)
     Homepage:            http://labs.qtsoftware.com/page/Projects/Tools/QtCreator
     Description:         Lightweight IDE for C++ development centering around Qt

[I] kde-base/phonon-kde
     Available versions:
        (4.3)   4.3.3 (~)4.3.4{tbz2} (~)4.3.4{tbz2}[1] **4.3.9999!m!t[1]
        (4.4)   [M](~)4.3.82!m[1]
        (live)  [M]**9999!m!t[1]
        {alsa aqua debug kdeenablefinal (+)kdeprefix pulseaudio +xine}
     Installed versions:  4.3.4(4.3){tbz2}(22:16:34 10.12.2009)(pulseaudio xine -aqua -debug -kdeenablefinal -kdeprefix)
     Homepage:            http://phonon.kde.org
     Description:         Phonon KDE Integration

[I] media-sound/phonon
     Available versions:  4.3.1 4.3.50_pre20090520 (~)4.3.80{tbz2} [M]**9999[1] {alsa debug gstreamer pulseaudio +xcb +xine}
     Installed versions:  4.3.80{tbz2}(22:16:21 10.12.2009)(alsa pulseaudio xcb xine -debug -gstreamer)
     Homepage:            http://phonon.kde.org
     Description:         KDE multimedia API

[I] x11-libs/qt-phonon
     Available versions:  (4) 4.5.3 (~)4.6.0
        {dbus debug pch}
     Installed versions:  4.6.0(4)(00:13:03 20.12.2009)(dbus pch -debug)
     Homepage:            http://qt.nokia.com/
     Description:         The Phonon module for the Qt toolkit

qt-phonon was installed with FEATURES="-protect-owned".
1) Open qt-creator
2) Create qt-gui project, with phonon enabled.
3) click mainwindow.ui appeared qt-designer, there are no any phonon widget 
(for example Phonon/SeekSlider )
Comment 1 Rafał Mużyło 2009-12-20 08:13:18 UTC
Last time I've checked media-sound/phonon and x11-libs/qt-phonon
blocked each other. If you forced install of those,
it's probably a bug of your own making.
Comment 2 Kanstantsin Shautsou 2009-12-20 11:56:56 UTC
(In reply to comment #1)
> Last time I've checked media-sound/phonon and x11-libs/qt-phonon
> blocked each other. If you forced install of those,
> it's probably a bug of your own making.
> 

I try in all variants, it doesn't work. I can revert in one minute to phonon+phonon-kde and it's doesn't change situation.
Comment 3 Rafał Mużyło 2009-12-20 15:52:32 UTC
It's either one or the other.
If you forced install of both, such failure was to be expected.
After only one is installed, you'll still probably need to rebuild
anything that linked with phonon.
Comment 4 Kanstantsin Shautsou 2009-12-20 16:22:54 UTC
(In reply to comment #3)
> It's either one or the other.
> If you forced install of both, such failure was to be expected.
> After only one is installed, you'll still probably need to rebuild
> anything that linked with phonon.
> 
Hey! It was the last instance to install qt-phonon before posting the bug. 
(so, it doesn't work in _any_ variant)
Did you try to open qt-creator (designer)?
Comment 5 Rafał Mużyło 2009-12-20 18:42:13 UTC
I forgot - for completeness sake, attach qt-creator build.log.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2009-12-20 19:43:00 UTC
Qt-creator should work with qt-phonon installed but I haven't tried that actually

However, I am assigning this bug to us in case a Qt member can provide further info about this

Comment 7 Kanstantsin Shautsou 2009-12-20 19:58:39 UTC
Created attachment 213600 [details]
qt-creator build log

emerge -C qt-phonon && emerge phonon phonon-kde qt-creator
+ attached build log
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2009-12-20 21:10:59 UTC
I can say that AFAIK qt-creator uses the designer internally, so this isn't a dev-util/qt-creator bug. It should be responsibility of qt-phonon to install a designer plugin, just like qt-webkit installs a plugin for QWebView.
Comment 9 Rafał Mużyło 2009-12-21 17:22:51 UTC
There's still one question:
does it work with media-sound/phonon, cause otherwise many people
will get a block.
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2009-12-21 17:33:27 UTC
(In reply to comment #9)
> There's still one question:
> does it work with media-sound/phonon
> 

Currently it doesn't.
Comment 11 Coy Barnes 2010-02-05 19:45:52 UTC
Created attachment 218559 [details, diff]
qt-phonon-4.6.1-r1 patch for designer plugins

I hit the same problem, so I modified my qt-phonon ebuild (I'm using qt 4.6.1) to install the designer plugins. Patch is attached.
Comment 12 Kanstantsin Shautsou 2010-02-05 23:35:09 UTC
Coy Barnes nice idea, thanks. 
But now i have the crash
qtcreator: symbol lookup error: /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so: undefined symbol: _ZN6Phonon12PulseSupport11getInstanceEv
I install it like
`COLLISION_IGNORE="/usr/lib/pkgconfig/phonon.pc" emerge -O qt-phonon`
How i can use qtcreator plugins with phonon-kde ?
Comment 13 Davide Pesavento (RETIRED) gentoo-dev 2010-02-06 11:20:56 UTC
We (the Qt team) know what the problem is and how to fix it, but the fix is only applicable to qt-phonon (for now). We hope we'll be able to fix it also for media-sound/phonon, but it'll probably require a major overhaul of all phonon ebuilds in the tree.

Anyway we will consider fixing qt-phonon as a temporary solution for non-kde users.
Comment 14 Markos Chandras (RETIRED) gentoo-dev 2010-02-06 11:48:40 UTC
qt-creator is only meant to work with qt-phonon. Hence this patch will be applied asap on qt-phonon but we wont bother ( at least I wont bother ) touching kde-phonon for now

Fixed on qt-phonon-4.6.1-r2

Thanks for reporting this
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2010-02-06 15:03:07 UTC
Since qt-phonon now install widgets, media-sound/phonon should have the same behavior

So I kindly ask kde herd to try and make media-sound/phonon more compatible with Qt apps that require those phonon widgets

Thanks
Comment 16 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-12-30 18:57:01 UTC
i asked upstream, they said that kde phonon doesn't provide such widgets. A solution would be to introduce a minimal flag in qt-phonon and make media-sound/phonon depend on qt-phonon[minimal]. Any objections to that?
Comment 17 Markos Chandras (RETIRED) gentoo-dev 2010-12-30 19:29:43 UTC
making media-sound/phonon depending on qt-phonon[minimal] implies that you have to fix all the deps in the tree

imho you don't need to do that. qt-phonon widgets are meant only for development purposes so whoever wants to develop apps based on phonon API should use the Qt4 package. If you really want to combine media-sound/phonon + phonon-widgets I am afraid that you have to create a split ebuild for that.
Comment 18 Davide Pesavento (RETIRED) gentoo-dev 2010-12-30 23:32:57 UTC
(In reply to comment #16)
> i asked upstream, they said that kde phonon doesn't provide such widgets. A
> solution would be to introduce a minimal flag in qt-phonon and make
> media-sound/phonon depend on qt-phonon[minimal]. Any objections to that?
> 

Could you elaborate on that minimal USE flag? How would it resolve the issue?
Comment 19 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-12-30 23:54:37 UTC
no let's drop that scenario, a split ebuild qt-phonon-widgets would be better but on a second thought i don't think we should do it. upstream phonon knows the issue now, let them fix it. i'm resolving as fixed, since it is fixed for qt-phonon which was the real issue on this bug
Comment 20 Davide Pesavento (RETIRED) gentoo-dev 2010-12-31 00:13:51 UTC
Agreed.