[0.11] gst-plugins-bad: build: ignore GValueArray deprecation warnings for the time being

Tim Müller tpm at kemper.freedesktop.org
Wed Feb 1 09:54:53 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: 260e2e74271664868e36e44131ae214a06f12aed
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=260e2e74271664868e36e44131ae214a06f12aed

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Wed Feb  1 17:53:50 2012 +0000

build: ignore GValueArray deprecation warnings for the time being

until this gets sorted out with the GLib folks and we have a
viable alternative.

https://bugzilla.gnome.org/show_bug.cgi?id=667228

---

 gst/mpegtsdemux/Makefile.am                        |    3 +++
 gst/multifdsink/Makefile.am                        |    3 +++
 .../examples/opencv/gst_element_print_properties.c |    3 +++
 tests/examples/scaletempo/Makefile.am              |    3 +++
 4 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/gst/mpegtsdemux/Makefile.am b/gst/mpegtsdemux/Makefile.am
index 55b57d9..10e3f39 100644
--- a/gst/mpegtsdemux/Makefile.am
+++ b/gst/mpegtsdemux/Makefile.am
@@ -1,5 +1,8 @@
 plugin_LTLIBRARIES = libgstmpegtsdemux.la
 
+# FIXME 0.11: ignore GValueArray warnings for now until this is sorted
+ERROR_CFLAGS=
+
 libgstmpegtsdemux_la_SOURCES = \
 	gsttsdemux.c \
 	gstmpegdesc.c \
diff --git a/gst/multifdsink/Makefile.am b/gst/multifdsink/Makefile.am
index 6d9b5b5..adaf5d6 100644
--- a/gst/multifdsink/Makefile.am
+++ b/gst/multifdsink/Makefile.am
@@ -1,5 +1,8 @@
 plugin_LTLIBRARIES = libgstmultifdsink.la
 
+# FIXME 0.11: ignore GValueArray warnings for now until this is sorted
+ERROR_CFLAGS=
+
 # variables used for enum/marshal generation
 glib_enum_headers = gstmultifdsink.h
 glib_enum_define = GST_MULTI_FD_SINK
diff --git a/tests/examples/opencv/gst_element_print_properties.c b/tests/examples/opencv/gst_element_print_properties.c
index e91188b..b287406 100644
--- a/tests/examples/opencv/gst_element_print_properties.c
+++ b/tests/examples/opencv/gst_element_print_properties.c
@@ -20,6 +20,9 @@
  *
  */
 
+/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
 
 #include <gst/gst.h>
 #include <string.h>
diff --git a/tests/examples/scaletempo/Makefile.am b/tests/examples/scaletempo/Makefile.am
index 5cdf3c7..33e6bc9 100644
--- a/tests/examples/scaletempo/Makefile.am
+++ b/tests/examples/scaletempo/Makefile.am
@@ -1,5 +1,8 @@
 noinst_PROGRAMS = scaletempo-demo
 
+# FIXME 0.11: ignore GValueArray warnings for now until this is sorted
+ERROR_CFLAGS=
+
 scaletempo_demo_SOURCES = demo-main.c demo-player.c demo-gui.c
 scaletempo_demo_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GTK_CFLAGS) 
 scaletempo_demo_LDFLAGS = $(GST_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GTK_LIBS) -lgstinterfaces- at GST_MAJORMINOR@



More information about the gstreamer-commits mailing list