mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Remove GST_USE_UNSTABLE_API guard and defines
This commit is contained in:
parent
de635d089f
commit
ca90ea6e55
8 changed files with 4 additions and 18 deletions
|
@ -4,10 +4,6 @@ dnl initialize autoconf
|
||||||
dnl when going to/from release please set the nano (fourth number) right !
|
dnl when going to/from release please set the nano (fourth number) right !
|
||||||
dnl releases only do Wall, git and prerelease does Werror too
|
dnl releases only do Wall, git and prerelease does Werror too
|
||||||
dnl
|
dnl
|
||||||
dnl
|
|
||||||
dnl ==========> REMOVE GST_USE_UNSTABLE_API when doing 1.0.0 <=============
|
|
||||||
dnl (also check libtool version)
|
|
||||||
dnl
|
|
||||||
AC_INIT(GStreamer, 0.11.94.1,
|
AC_INIT(GStreamer, 0.11.94.1,
|
||||||
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
|
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
|
||||||
gstreamer)
|
gstreamer)
|
||||||
|
@ -677,8 +673,8 @@ dnl every flag in GST_OPTION_CFLAGS can be overridden at make time via e.g.
|
||||||
dnl make DEPRECATED_CFLAGS=''
|
dnl make DEPRECATED_CFLAGS=''
|
||||||
GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
|
GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
|
||||||
GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
|
GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
|
||||||
GST_OPTION_CFLAGS="$GST_OPTION_CFLAGS -DGST_USE_UNSTABLE_API"
|
GST_OPTION_CFLAGS="$GST_OPTION_CFLAGS"
|
||||||
GST_OPTION_CXXFLAGS="$GST_OPTION_CXXFLAGS -DGST_USE_UNSTABLE_API"
|
GST_OPTION_CXXFLAGS="$GST_OPTION_CXXFLAGS"
|
||||||
AC_SUBST(GST_OPTION_CFLAGS)
|
AC_SUBST(GST_OPTION_CFLAGS)
|
||||||
AC_SUBST(GST_OPTION_CXXFLAGS)
|
AC_SUBST(GST_OPTION_CXXFLAGS)
|
||||||
|
|
||||||
|
|
|
@ -270,7 +270,6 @@ Gst-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstreamer-@GST_API_VERSIO
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-DIN_GOBJECT_INTROSPECTION=1 \
|
-DIN_GOBJECT_INTROSPECTION=1 \
|
||||||
-DGST_USE_UNSTABLE_API \
|
|
||||||
--c-include='gst/gst.h' \
|
--c-include='gst/gst.h' \
|
||||||
--library=libgstreamer-@GST_API_VERSION@.la \
|
--library=libgstreamer-@GST_API_VERSION@.la \
|
||||||
--include=GLib-2.0 \
|
--include=GLib-2.0 \
|
||||||
|
|
|
@ -24,11 +24,6 @@
|
||||||
#ifndef __GST_H__
|
#ifndef __GST_H__
|
||||||
#define __GST_H__
|
#define __GST_H__
|
||||||
|
|
||||||
#ifndef GST_USE_UNSTABLE_API
|
|
||||||
#warning "The GStreamer 0.11 API is still unstable and will change in future."
|
|
||||||
#warning "Define GST_USE_UNSTABLE_API to avoid this warning."
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <gst/glib-compat.h>
|
#include <gst/glib-compat.h>
|
||||||
|
|
|
@ -76,7 +76,6 @@ GstBase-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstbase-@GST_API_VERS
|
||||||
--nsversion=@GST_API_VERSION@ \
|
--nsversion=@GST_API_VERSION@ \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
--strip-prefix=Gst \
|
--strip-prefix=Gst \
|
||||||
-DGST_USE_UNSTABLE_API \
|
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/libs \
|
-I$(top_srcdir)/libs \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
|
|
|
@ -123,7 +123,6 @@ GstCheck-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstcheck-@GST_API_VE
|
||||||
--nsversion=@GST_API_VERSION@ \
|
--nsversion=@GST_API_VERSION@ \
|
||||||
--strip-prefix=Gst \
|
--strip-prefix=Gst \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
-DGST_USE_UNSTABLE_API \
|
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/libs \
|
-I$(top_srcdir)/libs \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
|
|
|
@ -54,7 +54,6 @@ GstController-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstcontroller-@
|
||||||
--nsversion=@GST_API_VERSION@ \
|
--nsversion=@GST_API_VERSION@ \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
--strip-prefix=Gst \
|
--strip-prefix=Gst \
|
||||||
-DGST_USE_UNSTABLE_API \
|
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/libs \
|
-I$(top_srcdir)/libs \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
|
|
|
@ -52,7 +52,6 @@ GstNet-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstnet-@GST_API_VERSIO
|
||||||
--strip-prefix=Gst \
|
--strip-prefix=Gst \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
--nsversion=@GST_API_VERSION@ \
|
--nsversion=@GST_API_VERSION@ \
|
||||||
-DGST_USE_UNSTABLE_API \
|
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/libs \
|
-I$(top_srcdir)/libs \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
|
|
|
@ -51,7 +51,7 @@ echo ### INSTALL GLIB-DEV AND/OR MAKE SURE IT IS IN YOUR PATH!
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile />
|
<ClCompile />
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>PREFIX="$(PREFIX)";DISABLE_ORC;WIN32;_WINDOWS;HAVE_CONFIG_H;HAVE_WIN32;GST_USE_UNSTABLE_API;GST_DISABLE_XML;HAVE_SINH;HAVE_COSH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>PREFIX="$(PREFIX)";DISABLE_ORC;WIN32;_WINDOWS;HAVE_CONFIG_H;HAVE_WIN32;GST_DISABLE_XML;HAVE_SINH;HAVE_COSH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<DisableSpecificWarnings>4996;4244;4018;4146;4305;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
<DisableSpecificWarnings>4996;4244;4018;4146;4305;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||||
<AdditionalIncludeDirectories>$(GstProjectRoot);$(GstProjectRoot)libs;$(GstProjectRoot)win32\common\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(GstProjectRoot);$(GstProjectRoot)libs;$(GstProjectRoot)win32\common\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -97,4 +97,4 @@ echo ### INSTALL GLIB-DEV AND/OR MAKE SURE IT IS IN YOUR PATH!
|
||||||
<Value>$(PREFIX)</Value>
|
<Value>$(PREFIX)</Value>
|
||||||
</BuildMacro>
|
</BuildMacro>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in a new issue