Summary: | media-libs/phonon-vlc and media-libs/phonon-gstreamer should install plugins in /usr/lib/qt4/plugins not /usr/lib/kde4/plugins (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gianluigi Tiesi <sherpya> |
Component: | [OLD] Library | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | qt, sherpya |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | proposed patch for media-libs/phonon |
Description
Gianluigi Tiesi
2013-07-07 01:47:23 UTC
(In reply to Gianluigi Tiesi from comment #0) Could you review the Summary I just changed and see if that's the kind of message you wanted to put across in English? yes, I wasn't able to be synthetic and I've also mistyped: by => but There are two phonon packages in gentoo. phonon-vlc and phonon-gstreamer depend on media-libs/phonon that expects plugins to be in /usr/lib/qt4/plugins. I suppose dev-qt/qtphonon expects plugins to be in /usr/lib/kde4/plugins instead (In reply to Gianluigi Tiesi from comment #2) > yes, I wasn't able to be synthetic and I've also mistyped: by => but > > There are two phonon packages in gentoo. > phonon-vlc and phonon-gstreamer depend on media-libs/phonon that expects > plugins to be in /usr/lib/qt4/plugins. I can't check right now where the plugins are located on my system, but in any case both vlc and gstreamer backends work for me. > I suppose dev-qt/qtphonon expects plugins to be in /usr/lib/kde4/plugins > instead Where did you get this impression? (In reply to Davide Pesavento from comment #3) > (In reply to Gianluigi Tiesi from comment #2) > > yes, I wasn't able to be synthetic and I've also mistyped: by => but > > > > There are two phonon packages in gentoo. > > phonon-vlc and phonon-gstreamer depend on media-libs/phonon that expects > > plugins to be in /usr/lib/qt4/plugins. > > I can't check right now where the plugins are located on my system, but in > any case both vlc and gstreamer backends work for me. > > > I suppose dev-qt/qtphonon expects plugins to be in /usr/lib/kde4/plugins > > instead > > Where did you get this impression? otherwise /usr/lib/kde4/plugins is a random place, I've just emerged qtphonon and my impression was wrong, it uses /usr/lib/qt4/plugins but phonon-vlc is uninstallable with qtphonon, because it depends on media-libs/phonon I've tried to build phonon-vlc using qtphonon but it fails because it needs cmake scripts to include that qtphonon does not provide I think I've found the root of the problem, media-libs/phonon installs /usr/share/phonon/buildsystem/FindPhononInternal.cmake that specifies plugin dir: set(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/kde4" CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/kde4)") this is strange since then it looks into /qt4/ Created attachment 353050 [details, diff]
proposed patch for media-libs/phonon
with this patch applied on media-libs/phonon, phonon-vlc puts the .so in the correct directory
I still don't understand what your problem is. Before jumping to conclusions, can you explain the *symptoms* of it? Why do you think the current path is wrong? my problem is: phonon searches backends in: /usr/lib/qt4/plugins/phonon_backend phonon-vlc installs in: /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so so phonon doesn't find any backend I'm using videoplayer.py from pyside demos (perhaps I had to modify pyside ebuild because it's unable to detect media-libs/phonon, I've filed another bug report) output: WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: Phonon::createPath: Cannot connect MediaObject ( no objectName ) to VideoWidget ( no objectName ). WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: Phonon::createPath: Cannot connect MediaObject ( no objectName ) to AudioOutput ( no objectName ). WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded if I put /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so in /usr/lib/qt4/plugins/phonon_backend/phonon_vlc.so, videoplayer.py does work [0x95221a8] main services discovery error: no suitable services discovery module [0x952bbf0] main input error: ES_OUT_RESET_PCR called [0x952bbf0] main input error: ES_OUT_RESET_PCR called [h264 @ 0xf4c09860] Missing reference picture, default is 0 [h264 @ 0xf4c09860] decode_slice_header error [h264 @ 0xf4c09860] Missing reference picture, default is 0 [h264 @ 0xf4c09860] decode_slice_header error [h264 @ 0xf4c09860] Missing reference picture, default is 0 [h264 @ 0xf4c09860] decode_slice_header error ffmpeg spam, but audio and video are ok do you have phonon_vlc.so and phonon_gstreamer.so in /usr/lib/qt4/plugins/phonon_backend or in /usr/lib/kde4/plugins/phonon_backend?, my media-libs/phonon uses /usr/lib/qt4/plugins/phonon_backend I found the correct path using strace do you have kdelibs installed? (In reply to Andreas K. Hüttel from comment #9) > do you have kdelibs installed? nope, eix -Ic --only-names kde returns nothing So, let's try to restore some sanity in this bug report. 1) qtphonon and media-libs/phonon block each other, this is a fact and it's not going to change. If your bug is about this => WONTFIX 2) qtphonon has its own set of plugins and m-l/phonon has its own set of plugins. The two sets are *disjoint*. If you want to use m-l/phonon plugins together with qtphonon => INVALID/WONTFIX 3) if m-l/phonon is installed *without* kdelibs, the phonon library searches its plugins in /usr/lib/qt4/plugins, but the plugins (e.g. phonon-vlc) are still installed into /usr/lib/kde4/plugins, therefore no plugins are found. If this is the case, then the bug might actually be valid, but I'll leave the matter to the kde guys since it's their package. 4) something else Which one do you choose? ;) (In reply to Davide Pesavento from comment #11) > So, let's try to restore some sanity in this bug report. > > 1) qtphonon and media-libs/phonon block each other, this is a fact and it's > not going to change. If your bug is about this => WONTFIX > > 2) qtphonon has its own set of plugins and m-l/phonon has its own set of > plugins. The two sets are *disjoint*. If you want to use m-l/phonon plugins > together with qtphonon => INVALID/WONTFIX > > 3) if m-l/phonon is installed *without* kdelibs, the phonon library searches > its plugins in /usr/lib/qt4/plugins, but the plugins (e.g. phonon-vlc) are > still installed into /usr/lib/kde4/plugins, therefore no plugins are found. > If this is the case, then the bug might actually be valid, but I'll leave > the matter to the kde guys since it's their package. > > 4) something else > > Which one do you choose? ;) 3 (In reply to Gianluigi Tiesi from comment #12) > 3 Cool, re-assigning to kde folks then. Thanks for reporting. This is fixed in cvs. Please sync in some hours to get the changes. + + 11 Nov 2013; Johannes Huber <johu@gentoo.org> + +files/phonon-4.7.0-plugin-install.patch, +files/phonon-4.7.0-rpath.patch, + +phonon-4.7.0.ebuild, phonon-9999.ebuild: + Version bump wrt bug #490758. Fix install phonon backend install path, bug + #476026. + |