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 689043 - gstreamer-1.0.pc declares public dependency on libgthread
gstreamer-1.0.pc declares public dependency on libgthread
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
Other All
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2012-11-25 19:55 UTC by Allison Karlitskaya (desrt)
Modified: 2012-11-26 00:53 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Allison Karlitskaya (desrt) 2012-11-25 19:55:21 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)
Comment 1 Tim-Philipp Müller 2012-11-25 22:27:32 UTC
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?
Comment 2 Allison Karlitskaya (desrt) 2012-11-25 22:49:57 UTC
I just checked -- the same bug is shared by gstreamer-1.0.pc.
Comment 3 Tim-Philipp Müller 2012-11-26 00:53:40 UTC
Indeed, thanks. Looks like my grepping skills failed me a bit. This should take care of it:

commit 8c08af234582d1ca602bdc6a3c9744fbd3c6acb3
Author: Tim-Philipp Müller <>
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.

commit 647cdef6fbf62d04526be23245eb6ff047bbc84f
Author: Tim-Philipp Müller <>
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 really, just
    put the dependencies directly into the file.

commit 0378c40ed379c65ae123f5c352a3a0846342fbfd
Author: Tim-Philipp Müller <>
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