Bug 91040 - telepathy-qt FTBFS: /usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory
Summary: telepathy-qt FTBFS: /usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal ...
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-qt (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-20 21:30 UTC by Rex Dieter
Modified: 2015-10-06 08:58 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Use gstreamer's pcfile to get include dirs (4.49 KB, patch)
2015-07-31 09:11 UTC, Iain Lane
Details | Splinter Review

Description Rex Dieter 2015-06-20 21:30:53 UTC
Summary says it all, telepathy-qt fails to build against gstreamer-1.5.x

This is due to gstconfig.h moving to a location outside of /usr/include/gstreamer-1.0

See also downstream bug,
http://bugzilla.redhat.com/1234051

I solved (worked-around) the problem there by using a different FindGStreamer.cmake (from webkit), that defines GSTREAMER_INCLUDE_DIRS (instead of a single GSTREAMER_INCLUDE_DIR),
https://raw.githubusercontent.com/WebKit/webkit/master/Source/cmake/FindGStreamer.cmake
Comment 1 Iain Lane 2015-07-31 09:11:40 UTC
Created attachment 117472 [details] [review]
Use gstreamer's pcfile to get include dirs

Here's a minimal patch, applied to Ubuntu, to fix the current method to try the pcfile first and use its include dirs if possible.

Would still be better to just use tp-farstream's pcfile.
Comment 2 Alexandr Akulich 2015-10-06 07:04:40 UTC
I'm sorry for missing this bug and suggested patch.

Fixed in:
http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=ec4a3d62b68a57254515f01fc5ea3325ffb1dbfb

Patch from Iain Lane looks a bit better for me, but I'm not a CMake pro and it is too late.

The next bug would be reviewed faster, I promise.
Comment 3 Iain Lane 2015-10-06 08:58:06 UTC
You could still take this one.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.