#5481: Phonon-backend-gstreamer-4.8.0
-------------------------+--------------------------
 Reporter:  cjg          |       Owner:  blfs-book@…
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  7.6
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------------

Comment (by cjg):

 Replying to [comment:4 cjg]:
 > Replying to [comment:3 cjg]:
 > > Replying to [ticket:5481 cjg]:
 > > > Hello,
 > > >
 > > > A new version of Phonon-backend-gstreamer has been released.
 > > >
 > > > http://download.kde.org/stable/phonon/phonon-backend-gstreamer/4.8.0
 /phonon-backend-gstreamer-4.8.0.tar.xz
 > >
 > > Just going thorough the process of installing kde to test this and
 have come up with an issue.
 > >
 > > It does not compile as it is missing:
 > >
 > > PhononConfig.cmake
 > >
 > > I am investigating and seeing if a patch is available or if there is
 anywhere in the phonon package that this is created.
 >
 > Okay this appears to be due to the fact that they have RENAMED the
 config file in this version.  I can overcome this issue by:
 >
 > cp /opt/kde/lib/cmake/Phonon4Qt5Config.cmake PhononConfig.cmake
 >
 > That then allows the Phonon_Dir to be found.  Even using the cmake-gui
 and trying to force it to use the new filename for it fails.
 >
 > I now have to track down just where the hang this gets created from in
 the file for phonon 4.8.0, and produce a sed fix for it, otherwise the
 only other option would be to leave the package without any modification
 and just add the renaming of the file into the build instructions.

 Okay when building it does look for gstreamer-1.x:

 -- checking for module 'gstreamer-pbutils-1.0'
 --   found gstreamer-pbutils-1.0, version 1.4.0
 -- checking for module 'gstreamer-riff-1.0'
 --   found gstreamer-riff-1.0, version 1.4.0
 -- checking for module 'gstreamer-rtp-1.0'
 --   found gstreamer-rtp-1.0, version 1.4.0
 -- checking for module 'gstreamer-rtsp-1.0'
 --   found gstreamer-rtsp-1.0, version 1.4.0
 -- checking for module 'gstreamer-sdp-1.0'
 --   found gstreamer-sdp-1.0, version 1.4.0
 -- checking for module 'gstreamer-tag-1.0'
 --   found gstreamer-tag-1.0, version 1.4.0
 -- checking for module 'gstreamer-video-1.0'
 --   found gstreamer-video-1.0, version 1.4.0

 However the build fails:

 Linking CXX shared module phonon_gstreamer.so
 CMakeFiles/phonon_gstreamer.dir/mediaobject.cpp.o: In function
 `Phonon::Gstreamer::MediaObject::changeSubUri(Phonon::Mrl const&)':
 mediaobject.cpp:(.text+0xa89): undefined reference to
 `Phonon::Mrl::toEncoded(QFlags<QUrl::FormattingOption>) const'
 CMakeFiles/phonon_gstreamer.dir/pipeline.cpp.o: In function `.L1582':
 pipeline.cpp:(.text+0x627b): undefined reference to
 `Phonon::Mrl::toEncoded(QFlags<QUrl::FormattingOption>) const'
 collect2: error: ld returned 1 exit status
 gstreamer/CMakeFiles/phonon_gstreamer.dir/build.make:657: recipe for
 target 'gstreamer/phonon_gstreamer.so' failed
 make[2]: *** [gstreamer/phonon_gstreamer.so] Error 1
 CMakeFiles/Makefile2:109: recipe for target
 'gstreamer/CMakeFiles/phonon_gstreamer.dir/all' failed
 make[1]: *** [gstreamer/CMakeFiles/phonon_gstreamer.dir/all] Error 2
 Makefile:117: recipe for target 'all' failed
 make: *** [all] Error 2

 So it looks like we now have another gcc-4.9.x linking problem to
 overcome.

 I do not know that I can hunt down a fix for this prior to the package
 freeze.

 I will continue to look, but I feel unless someone else has any solution
 to this that perhaps this should wait for the 7.7 book unless Bruce wants
 to delay the release a day or two longer.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/5481#comment:5>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to