From 62d0001c844e95c38d10300181f2d478fd956af8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 16 Apr 2011 10:33:21 +0100 Subject: [PATCH] libs: make sure gobject-introspection scanner calls gst_init() https://bugzilla.gnome.org/show_bug.cgi?id=647922 --- libs/gst/base/Makefile.am | 1 + libs/gst/check/Makefile.am | 1 + libs/gst/controller/Makefile.am | 1 + libs/gst/dataprotocol/Makefile.am | 1 + libs/gst/net/Makefile.am | 1 + 5 files changed, 5 insertions(+) diff --git a/libs/gst/base/Makefile.am b/libs/gst/base/Makefile.am index bbc8ff0..882df29 100644 --- a/libs/gst/base/Makefile.am +++ b/libs/gst/base/Makefile.am @@ -86,6 +86,7 @@ GstBase-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstbase-@GST_MAJORMINO --libtool="$(top_builddir)/libtool" \ --pkg gstreamer-0.10 \ --pkg-export gstreamer-base-0.10 \ + --add-init-section="gst_init(NULL,NULL);" \ --output $@ \ $(gir_headers) \ $(gir_sources) diff --git a/libs/gst/check/Makefile.am b/libs/gst/check/Makefile.am index c5fb3ee..7bb6ec8 100644 --- a/libs/gst/check/Makefile.am +++ b/libs/gst/check/Makefile.am @@ -132,6 +132,7 @@ GstCheck-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcheck-@GST_MAJORMI --libtool="$(top_builddir)/libtool" \ --pkg gstreamer-0.10 \ --pkg-export gstreamer-check-0.10 \ + --add-init-section="gst_init(NULL,NULL);" \ --output $@ \ $(gir_headers) \ $(gir_sources) diff --git a/libs/gst/controller/Makefile.am b/libs/gst/controller/Makefile.am index 52f6b2e..26eb1cd 100644 --- a/libs/gst/controller/Makefile.am +++ b/libs/gst/controller/Makefile.am @@ -69,6 +69,7 @@ GstController-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcontroller-@G --libtool="$(top_builddir)/libtool" \ --pkg gstreamer-0.10 \ --pkg-export gstreamer-controller-0.10 \ + --add-init-section="gst_init(NULL,NULL);" \ --output $@ \ $(gir_headers) \ $(gir_sources) diff --git a/libs/gst/dataprotocol/Makefile.am b/libs/gst/dataprotocol/Makefile.am index c8cfec1..353f4fd 100644 --- a/libs/gst/dataprotocol/Makefile.am +++ b/libs/gst/dataprotocol/Makefile.am @@ -57,6 +57,7 @@ GstDataprotocol-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstdataprotoco --libtool="$(top_builddir)/libtool" \ --pkg gstreamer-0.10 \ --pkg-export=gstreamer-dataprotocol-0.10 \ + --add-init-section="gst_init(NULL,NULL);" \ --output $@ \ $(gir_headers) \ $(gir_sources) diff --git a/libs/gst/net/Makefile.am b/libs/gst/net/Makefile.am index 8b503f9..469150e 100644 --- a/libs/gst/net/Makefile.am +++ b/libs/gst/net/Makefile.am @@ -61,6 +61,7 @@ GstNet-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnet-@GST_MAJORMINOR@ --libtool="$(top_builddir)/libtool" \ --pkg gstreamer-0.10 \ --pkg-export="gstreamer-net-0.10" \ + --add-init-section="gst_init(NULL,NULL);" \ --output $@ \ $(gir_headers) \ $(gir_sources) -- 2.7.4