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 755651 - gst-uninstalled: Added env var for uninstalled PTP helper
gst-uninstalled: Added env var for uninstalled PTP helper
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-25 22:32 UTC by Vivia Nikolaidou
Modified: 2015-10-23 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch file (950 bytes, patch)
2015-09-25 22:32 UTC, Vivia Nikolaidou
committed Details | Review

Description Vivia Nikolaidou 2015-09-25 22:32:20 UTC
Created attachment 312172 [details] [review]
Patch file

The default gst-uninstalled script didn't point at the uninstalled PTP helper - added that.
Comment 1 Tim-Philipp Müller 2015-09-26 09:29:50 UTC
Comment on attachment 312172 [details] [review]
Patch file

> # Point at the uninstalled plugin scanner
> export GST_PLUGIN_SCANNER=$GST/gstreamer/libs/gst/helpers/gst-plugin-scanner
>+# Point at the uninstalled PTP helper
>+export GST_PTP_HELPER=$GST/gstreamer/libs/gst/helpers/.libs/gst-ptp-helper

Should it be .libs/gst-ptp-helper or gst-ptp-helper I wonder? (cf. plugin scanner two lines up)
Comment 2 Sebastian Dröge (slomo) 2015-09-26 09:34:45 UTC
Both unfortunately :) You need to use the .libs one because you need to setcap/setuid the real executable (if the libtool wrapper script is setcap/setuid this won't be inherited by the child process). But on some platforms (Windows!) the wrapper script will be called gst-ptp-helper while the real executable is gst-ptp-helper.exe
Comment 3 Tim-Philipp Müller 2015-09-26 09:42:10 UTC
Does gst-uninstalled work on Windows?
Comment 4 Sebastian Dröge (slomo) 2015-09-26 09:44:22 UTC
No idea, but gst-ptp-helper does not :) So maybe we can just ignore that
Comment 5 Tim-Philipp Müller 2015-10-20 12:32:44 UTC
Ok, whatever works...