GNOME Bugzilla – Bug 751382
Build failed with gstreamer 1.5.1
Last modified: 2015-10-02 12:02:13 UTC
Description of problem: qt-gstreamer-1.2.0 build failed with gstreamer1-1.5.1: In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0, from /usr/include/gstreamer-1.0/gst/gst.h:35, from /builddir/build/BUILD/qt-gstreamer-1.2.0/elements/gstqtvideosink/delegates/basedelegate.h:21, from /builddir/build/BUILD/qt-gstreamer-1.2.0/elements/gstqtvideosink/delegates/qtvideosinkdelegate.h:21, from /builddir/build/BUILD/qt-gstreamer-1.2.0/elements/gstqtvideosink/delegates/qtvideosinkdelegate.cpp:18: /usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory compilation terminated. https://kojipkgs.fedoraproject.org//work/tasks/7848/10147848/build.log > The config file has moved in 1.5.1 to /usr/lib64/gstreamer-1.0/include because it has architecture specific configuration. > It seems like qt-gstreamer does not pick up this new location from the CFLAGS. https://bugzilla.redhat.com/show_bug.cgi?id=1234152#c2
Created attachment 312207 [details] [review] patch fixes compilation Patch from Ubuntu http://gpul.grupos.udc.es/kubuntu_patches/misc/qt-gstreamer/
commit e2ca8094aa8d0eac1c3a98df66fe94ce0c754088 Author: José Manuel Santamaría <panfaust@gmail.com> Date: Fri Oct 2 15:00:29 2015 +0300 Fix compilation with GStreamer >= 1.5.1 apply gstreamer pkg-config definitions To ensure gstreamer builds correctly, pick up its cflags in FindGstreamer and apply them to the build as definitions https://lists.ubuntu.com/archives/kubuntu-devel/2015-August/009819.html https://bugzilla.gnome.org/show_bug.cgi?id=751382