After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737347 - linking to gstvideo does not work in uninstaled
linking to gstvideo does not work in uninstaled
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-25 09:32 UTC by Szymon
Modified: 2014-09-26 07:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch for this bug (32.00 KB, patch)
2014-09-25 10:17 UTC, Szymon
none Details | Review

Description Szymon 2014-09-25 09:32:12 UTC
Most plugins define -lgstvideo-@GST_API_VERSION@
in Makefile.am in assumption that it's already on linker path.
It's not working during uninstalled build where gstvideo is in separate directory.

The only plugin that does it right is uvch264
that uses GST_VIDEO_LIBS and pkg-config to find gst-video.
Comment 1 Szymon 2014-09-25 10:17:29 UTC
Created attachment 287058 [details] [review]
Proposed patch for this bug
Comment 2 Tim-Philipp Müller 2014-09-25 11:41:16 UTC
Doesn't GST_PLUGINS_BASE_LIBS add the linker path?

$ grep GST_PLUGINS_BASE_LIBS Makefile
GST_PLUGINS_BASE_LIBS = ... -L/home/tpm/gst/glib-master/gst-plugins-base/gst-libs/gst/video ...

I remember having problems with this though, esp. during make distcheck, but that went away. I also had a patch for the .pc files related to that, I'll see if I can find it.
Comment 3 Szymon 2014-09-25 12:03:43 UTC
contents of pkgconfig/gstreamer-plugins-base-1.0-uninstalled.pc
it's -L/home/ssobik/tmp/gst-plugins-base/gst-libs/gst/video
and should be -L/home/ssobik/tmp/gst-plugins-base/gst-libs/gst/video/.libs

this might be connected to other -uninstalled.pc "bug" I noticed,
gstreamer generates links to .la files, which is completely not what pkg-config expects (all projects except autotools based ones can't parse .la files)
Comment 4 Tim-Philipp Müller 2014-09-25 12:10:55 UTC
The uninstalled setup is only really going to work with build systems that use libtool.
Comment 5 Sebastian Dröge (slomo) 2014-09-26 07:40:12 UTC
Let's close this then? gst-uninstalled is only supposed to work with libtool based build system