[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-cvs
Subject:    gst-plugins-base: libs: make sure gobject-introspection scanner calls
From:       tpm () kemper ! freedesktop ! org (Tim Müller)
Date:       2011-03-30 20:09:50
Message-ID: 20110330200950.6AF71F812F () kemper ! freedesktop ! org
[Download RAW message or body]

Module: gst-plugins-base
Branch: master
Commit: 45b6bda76caa2bd8b98cbbfd80dc4ee906d75049
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=45b6bda76caa2bd8b98cbbfd80dc4ee906d75049


Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Wed Mar  9 11:51:14 2011 +0000

libs: make sure gobject-introspection scanner calls gst_init()

Cherry-picked from 0.11, since it's the right thing to do (we
now silently rely on various _get_type() working without
gst_init() having been called).

---

 gst-libs/gst/app/Makefile.am        |    1 +
 gst-libs/gst/audio/Makefile.am      |    1 +
 gst-libs/gst/cdda/Makefile.am       |    1 +
 gst-libs/gst/fft/Makefile.am        |    1 +
 gst-libs/gst/interfaces/Makefile.am |    1 +
 gst-libs/gst/netbuffer/Makefile.am  |    1 +
 gst-libs/gst/riff/Makefile.am       |    1 +
 gst-libs/gst/rtp/Makefile.am        |    1 +
 gst-libs/gst/rtsp/Makefile.am       |    1 +
 gst-libs/gst/sdp/Makefile.am        |    1 +
 gst-libs/gst/tag/Makefile.am        |    1 +
 gst-libs/gst/video/Makefile.am      |    1 +
 12 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am
index f4ffac0..bcbc131 100644
--- a/gst-libs/gst/app/Makefile.am
+++ b/gst-libs/gst/app/Makefile.am
@@ -56,6 +56,7 @@ GstApp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstapp-@GST_MAJORMINOR@
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg gstreamer-base-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-app-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am
index 0a28217..51c8607 100644
--- a/gst-libs/gst/audio/Makefile.am
+++ b/gst-libs/gst/audio/Makefile.am
@@ -87,6 +87,7 @@ GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstaudio-@GST_MAJORMI
 		--pkg gstreamer-base-@GST_MAJORMINOR@ \
 		--pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-audio-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/cdda/Makefile.am b/gst-libs/gst/cdda/Makefile.am
index 09f334a..264f942 100644
--- a/gst-libs/gst/cdda/Makefile.am
+++ b/gst-libs/gst/cdda/Makefile.am
@@ -40,6 +40,7 @@ GstCdda-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstcdda-@GST_MAJORMINO
 		--pkg gstreamer-base-@GST_MAJORMINOR@ \
 		--pkg gstreamer-tag-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-cdda-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/fft/Makefile.am b/gst-libs/gst/fft/Makefile.am
index 7e84eae..348fe45 100644
--- a/gst-libs/gst/fft/Makefile.am
+++ b/gst-libs/gst/fft/Makefile.am
@@ -63,6 +63,7 @@ GstFft-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstfft-@GST_MAJORMINOR@
 		--libtool="$(top_builddir)/libtool" \
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-fft-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/interfaces/Makefile.am \
b/gst-libs/gst/interfaces/Makefile.am index f462211..eda0d91 100644
--- a/gst-libs/gst/interfaces/Makefile.am
+++ b/gst-libs/gst/interfaces/Makefile.am
@@ -94,6 +94,7 @@ GstInterfaces-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstinterfaces-@G
 		--libtool="$(top_builddir)/libtool" \
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-interfaces-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/netbuffer/Makefile.am b/gst-libs/gst/netbuffer/Makefile.am
index fced57c..a6bba8c 100644
--- a/gst-libs/gst/netbuffer/Makefile.am
+++ b/gst-libs/gst/netbuffer/Makefile.am
@@ -28,6 +28,7 @@ GstNetbuffer-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstnetbuffer-@GST
 		--libtool="$(top_builddir)/libtool" \
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-netbuffer-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am
index 0bde2b0..07e7204 100644
--- a/gst-libs/gst/riff/Makefile.am
+++ b/gst-libs/gst/riff/Makefile.am
@@ -47,6 +47,7 @@ GstRiff-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstriff-@GST_MAJORMINO
 		--pkg gstreamer-audio-@GST_MAJORMINOR@ \
 		--pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-riff-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/rtp/Makefile.am b/gst-libs/gst/rtp/Makefile.am
index 130f2c9..5ed88fa 100644
--- a/gst-libs/gst/rtp/Makefile.am
+++ b/gst-libs/gst/rtp/Makefile.am
@@ -43,6 +43,7 @@ GstRtp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstrtp-@GST_MAJORMINOR@
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg gstreamer-base-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-rtp-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am
index 4ed4742..f055e6a 100644
--- a/gst-libs/gst/rtsp/Makefile.am
+++ b/gst-libs/gst/rtsp/Makefile.am
@@ -76,6 +76,7 @@ GstRtsp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstrtsp-@GST_MAJORMINO
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg gstreamer-sdp-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-rtsp-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/sdp/Makefile.am b/gst-libs/gst/sdp/Makefile.am
index 6c8dae2..d0cd5e2 100644
--- a/gst-libs/gst/sdp/Makefile.am
+++ b/gst-libs/gst/sdp/Makefile.am
@@ -31,6 +31,7 @@ GstSdp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstsdp-@GST_MAJORMINOR@
 		--libtool="$(top_builddir)/libtool" \
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-sdp-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am
index 4ac8a6e..17b2dff 100644
--- a/gst-libs/gst/tag/Makefile.am
+++ b/gst-libs/gst/tag/Makefile.am
@@ -40,6 +40,7 @@ GstTag-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgsttag-@GST_MAJORMINOR@
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg gstreamer-base-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-tag-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)
diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
index fd91258..4eeb5e0 100644
--- a/gst-libs/gst/video/Makefile.am
+++ b/gst-libs/gst/video/Makefile.am
@@ -54,6 +54,7 @@ GstVideo-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) \
                libgstvideo-@GST_MAJORMI
 		--pkg gstreamer-@GST_MAJORMINOR@ \
 		--pkg gstreamer-base-@GST_MAJORMINOR@ \
 		--pkg-export gstreamer-video-@GST_MAJORMINOR@ \
+		--add-init-section="gst_init(NULL,NULL);" \
 		--output $@ \
 		$(gir_headers) \
 		$(gir_sources)



_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic