Opened 10 years ago
Closed 10 years ago
#5481 closed enhancement (fixed)
Phonon-backend-gstreamer-4.8.0
Reported by: | christopher | Owned by: | christopher |
---|---|---|---|
Priority: | normal | Milestone: | 7.6 |
Component: | systemd | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
Change History (21)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
Replying to bdubbs@…:
Does this work with gstreamer-1.x? If so, we need to investigate dropping gstreamer-0.x.
Hello Bruce,
From looking at a bug report on kde list the developer claims that this version has been ported to gstreamer-1.x.
I have not yet installed kde so I can not verify this.
follow-up: 4 comment:3 by , 10 years ago
Replying to cjg:
Hello,
A new version of Phonon-backend-gstreamer has been released.
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.
follow-ups: 5 10 comment:4 by , 10 years ago
Replying to cjg:
Replying to cjg:
Hello,
A new version of Phonon-backend-gstreamer has been released.
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.
follow-up: 6 comment:5 by , 10 years ago
Replying to cjg:
Replying to cjg:
Replying to cjg:
Hello,
A new version of Phonon-backend-gstreamer has been released.
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.
follow-up: 7 comment:6 by , 10 years ago
Replying to cjg:
Replying to cjg:
Replying to cjg:
Replying to cjg:
Hello,
A new version of Phonon-backend-gstreamer has been released.
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.
Well I have not been able to find a fix for this. I have filed a bug report on kde:
https://bugs.kde.org/show_bug.cgi?id=338898
Even though it is listed in their release section, their bugzilla has not even been updated to inlcude this version.
comment:7 by , 10 years ago
Replying to cjg:
Replying to cjg:
Replying to cjg:
Replying to cjg:
Replying to cjg:
Hello,
A new version of Phonon-backend-gstreamer has been released.
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.
Well I have not been able to find a fix for this. I have filed a bug report on kde:
https://bugs.kde.org/show_bug.cgi?id=338898
Even though it is listed in their release section, their bugzilla has not even been updated to inlcude this version.
Well at least one of the developers are interested in the bug report I filed.
I have now turned on verbose cmake files using the cmake-gui and have compiled and posted the contents on the bug report.
He seems to think that it is not actually linking against the phonon library. As there is only ONE phonon library that I have installed, namely the updated one it appears to me that there has been a mixup in their commits as the exact same thing is happening with their git version.
comment:8 by , 10 years ago
Milestone: | 7.6 → 7.7 |
---|
comment:9 by , 10 years ago
Well the bloody idiot of a developer closed this as invalid. I am now really really angry.
He fails to see that we know exactly how to specify a qt5 directive, and fails to see that his pile of crap does not build.
Please could someone else test this. I am not wasting any more time on this.
follow-up: 11 comment:10 by , 10 years ago
Replying to cjg:
Replying to cjg:
Replying to cjg:
Hello,
A new version of Phonon-backend-gstreamer has been released.
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
Phonon4Qt5Config.cmake is installed by Qt5 version of Phonon and PhononConfig.cmake is installed by Qt4 version of Phonon. If a package looks for PhononConfig.cmake, it requires the Qt4 version. You can't go ahead and rename Qt5 version and hope it works because as you see it doesn't.
(As a side note, the toolkit is just named Qt (kju:t), spelled with capital Q small t, it's not named Quick Time and it is not spelled QT, because that makes Qt people go insane).
comment:11 by , 10 years ago
Replying to Krejzi:
Replying to cjg:
Replying to cjg:
Replying to cjg:
Hello,
A new version of Phonon-backend-gstreamer has been released.
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
Phonon4Qt5Config.cmake is installed by Qt5 version of Phonon and PhononConfig.cmake is installed by Qt4 version of Phonon. If a package looks for PhononConfig.cmake, it requires the Qt4 version. You can't go ahead and rename Qt5 version and hope it works because as you see it doesn't.
(As a side note, the toolkit is just named Qt (kju:t), spelled with capital Q small t, it's not named Quick Time and it is not spelled QT, because that makes Qt people go insane).
Hello Armin,
Yep I had worked out that it should only be qt4 used. However it makes absolutely no difference to the error message.
The upstream fool has not bothered reading the log files that I provided with it built against qt4.
Fact is it does not link. They have screwed it and need to fix it.
comment:12 by , 10 years ago
The logs attached in the bug report clearly show that you are trying to build Qt4 version of phonon-backend-gstreamer against Qt5 vsersion of phonon.
comment:13 by , 10 years ago
Milestone: | 7.7 → 7.6 |
---|---|
Owner: | changed from | to
follow-up: 16 comment:14 by , 10 years ago
This version supports Gstreamer 1.x.
I think Armin is right, it seems cjg is trying to build the Qt5 version of Phonon.
follow-up: 19 comment:16 by , 10 years ago
Replying to rt:
This version supports Gstreamer 1.x.
I think Armin is right, it seems cjg is trying to build the Qt5 version of Phonon.
NO I WAS NOT.
The issue here is that if you FIRST attempt to build against qt5 and then re-build against qt4 the subsequent packages are still linked against qt5 and the build is invalid. The only solution to this is to actually delete the kde directory and start from scratch.
comment:17 by , 10 years ago
Component: | BOOK → systemd |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
comment:18 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
follow-up: 20 comment:19 by , 10 years ago
Replying to cjg:
Replying to rt:
This version supports Gstreamer 1.x.
I think Armin is right, it seems cjg is trying to build the Qt5 version of Phonon.
NO I WAS NOT.
The issue here is that if you FIRST attempt to build against qt5 and then re-build against qt4 the subsequent packages are still linked against qt5 and the build is invalid. The only solution to this is to actually delete the kde directory and start from scratch.
Just delete the Qt5 version at you should be fine. And please take it easy on the caps, it does not facilitate a rational discussion...
comment:20 by , 10 years ago
Replying to rt:
Replying to cjg:
Replying to rt:
This version supports Gstreamer 1.x.
I think Armin is right, it seems cjg is trying to build the Qt5 version of Phonon.
NO I WAS NOT.
The issue here is that if you FIRST attempt to build against qt5 and then re-build against qt4 the subsequent packages are still linked against qt5 and the build is invalid. The only solution to this is to actually delete the kde directory and start from scratch.
Just delete the Qt5 version at you should be fine. And please take it easy on the caps, it does not facilitate a rational discussion...
The use of capitals was intentional when replying to someone who had made assumptions about how I was building on MY computer without even bothering to as what the configure line switches I used were.
Besides which the use of a few caps has been fine on the internet since I was first online in 1987.
Also your response about deleting the QT5 version shows that you have not even tested what you were spouting.
I do not like idiots who do not take the time to CHECK what they are posting as a solution, or even bother to read that the person has ALREADY solved it by deleting the kde directory and starting again.
comment:21 by , 10 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Does this work with gstreamer-1.x? If so, we need to investigate dropping gstreamer-0.x.