I've installed KDE 4.2.0 from the tree all seemed OK, but the dragonplayer cannot play any DVD, nor DVD image. After looking into systemsetting I've found, that in the backends tab in the Multimedia setting no backends are listed. Reproducible: Always Steps to Reproduce: Expected Results: The backends should be listed, and the dragonplayer should play DVD It is very strange because the sound is OK, and when I merge the phonon-4.3.0 then the cmake found the libxine and says : -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. + GStreamer + GStreamer video plugin + GStreamer audio plugin + GLib2 + LibXml2 + OpenGL + XCB Congratulations! All external packages have been found. ----------------------------------------------------------------------------- After installed the packages I have /usr/lib64/kde4/plugins/phonon_backend/phonon_gstreamer.so and /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so as well. But no backends listed in systemsettings
Created attachment 180739 [details] No backend list in systemsettings
Created attachment 180740 [details] emerge --info
Gentoo puts the backends in /usr/share/kde4/services/phononbackends If 3.5 is installed too KDEDIR points to /usr/kde/4.2 As a workaround you can make a symlink /usr/kde/4.2/share/kde4/services/phononbackends -> /usr/share/kde4/services/phononbackends
I have created a symlink /usr/kde/4.2/share/kde4/services/phononbackends which points to /usr/share/kde4/services/phononbackends but only this doesn't solved the problem. But I have found that, for the original directory (/usr/share/kde4/services/phononbackends) the users had no permission to read or execute, after I fixed this, the backends are working. Thanks!
We have to fix it somehow in the tree first ;]
Changing CMAKE_INSTALL_PREFIX to /usr/kde/4.2 and LIB_INSTALL_DIR to /usr/kde/4.2/lib64 after manual "ebuild /usr/portage/media-sound/phonon/phonon-4.3.0.ebuild unpack compile" and finishing with "ebuild /usr/portage/media-sound/phonon/phonon-4.3.0.ebuild install qmerge" solves the problem for me (on amd64). The install target directories shold be set depending on the kdeprefix use flag.
Is this an upstream bug or Gentoo specific? I found this: http://forum.kde.org/no-phonon-backends-listed-t-23591.html and it isn't clear if it's Gentoo's or upstream's bug.
Given that ebuilds serve the role of packages in Gentoo, it's a packaging bug. With USE="-kdeprefix", they get installed together. With USE="kdeprefix", KDE moves to /usr/kde/4.2/ but phonon stays in /usr/.
Created attachment 182920 [details] phonon-4.3.0.ebuild Phonon should be made '+kdeprefix' aware, but should not install itself in /usr/kde/4.x The idea mentioned by Lóránt in comment #4 of symlinking to the correct kdeprefix'ed directory is the ideal solution I believe. It is problematic to install to /usr/kde/4.x for phonon due to users possibly having another 4.x installation present in the future. Phonon configuration expects to find the backends within the current session's $KDEDIR, and if installed in /usr/kde/4.x would mean having to re-install phonon every time the user changed 4.x sessions. Also, non-kdebase applications linked to libphonon (amarok for example) would then require rebuilding to (re-)link against the new lib location. This updated phonon ebuild inherits kde4-functions.eclass and uses some kde4-base.eclass code in the ebuild to get $KDEDIR. This is later used in the ebuild to create a symlink in the latest 4.x installation to /usr/share/kde4/services/phononbackends for '+kdeprefix' only. Have tested this on 4.2 with amarok only so far, able to change back and forth between both gstreamer and xine backends with ease.
Created attachment 183449 [details] phonon-kde-4.2.0-r1.ebuild Test this one. Should do the thing. I need it reported working cause i dont have +kdeprefix :]
(In reply to comment #10) > Created an attachment (id=183449) [edit] > phonon-kde-4.2.0-r1.ebuild > > Test this one. Should do the thing. > I need it reported working cause i dont have +kdeprefix :] The problem is with phonon, not phonon-kde.
Er, ignore. I just woke up :P
phonon-kde-4.2.0-r1 fixes the problem for me!
Fixed in overlay and in the tree.