GNOME Bugzilla – Bug 689043
gstreamer-1.0.pc declares public dependency on libgthread
Last modified: 2012-11-26 00:53:40 UTC
gstreamer-0.10.pc:Requires: glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0, libxml-2.0 This means that any app (or library) built against gstreamer-0.10 will have libgthread on its DT_NEEDED list. Probably this should be dropped entirely (or if you still call g_thread_init() internally then moved to Requires.private)
Well, 0.10 is not maintained any longer, and unlikely to ever get another release, so this doesn't really strike me as something worth fixing. Can we close this?
I just checked -- the same bug is shared by gstreamer-1.0.pc.
Indeed, thanks. Looks like my grepping skills failed me a bit. This should take care of it: commit 8c08af234582d1ca602bdc6a3c9744fbd3c6acb3 Author: Tim-Philipp Müller <tim@centricular.net> Date: Mon Nov 26 00:20:26 2012 +0000 gst: don't require gthread-2.0 We don't need to link to gthread-2.0 any longer, since all the normal thread-related stuff is in GLib proper, and we don't use g_thread_init() any more. https://bugzilla.gnome.org/show_bug.cgi?id=689043 commit 647cdef6fbf62d04526be23245eb6ff047bbc84f Author: Tim-Philipp Müller <tim@centricular.net> Date: Sun Nov 25 23:42:57 2012 +0000 gstreamer-1.0.pc: move gmodule-no-export-2.0 dependency to Requires.private Users of GStreamer are not generally expected to use the GModule API directly. so don't force them all to link against it. While we're at it, no need to define this via configure.ac really, just put the dependencies directly into the .pc.in file. commit 0378c40ed379c65ae123f5c352a3a0846342fbfd Author: Tim-Philipp Müller <tim@centricular.net> Date: Sun Nov 25 23:26:47 2012 +0000 docs: remove all mention of g_thread_init() It's been deprecated since GLib 2.32 and isn't needed any longer.