[gstreamermm] Include all plug-ins in build even if they don't exist on the build system.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gstreamermm] Include all plug-ins in build even if they don't exist on the build system.
- Date: Thu, 14 May 2009 17:27:10 -0400 (EDT)
commit 5da49d0acf0d0a6512defa317a91c742f0fa095f
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Thu May 14 16:48:44 2009 -0400
Include all plug-ins in build even if they don't exist on the build system.
---
ChangeLog | 7 +++++++
configure.ac | 6 ++----
gstreamer/src/Makefile_list_of_hg.am_fragment | 2 +-
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index dd947e7..144d4da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-05-14 José Alburquerque <jaalburqu svn gnome org>
+
+ * configure.ac:
+ * gstreamer/src/Makefile_list_of_hg.am_fragment: Include all plug-ins
+ in build even if they don't exist on the build system so that there
+ are no errors generated by examples that may use them.
+
2009-05-12 José Alburquerque <jaalburqu svn gnome org>
* gstreamer/src/mixer.ccg:
diff --git a/configure.ac b/configure.ac
index b7bb9d4..08126bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,17 +216,15 @@ for plugin_def in $GSTREAMERMM_ALL_PLUGIN_DEFS; do
plugin_name=[`echo $plugin_def | cut -d'=' -f 1`]
cppname=[`echo $plugin_def | cut -d'=' -f 2`]
GSTREAMERMM_ALL_PLUGIN_CPPNAMES="$GSTREAMERMM_ALL_PLUGIN_CPPNAMES $cppname"
+ GSTREAMERMM_ALL_PLUGIN_HG=["$GSTREAMERMM_ALL_PLUGIN_HG `echo $cppname | tr [:upper:] [:lower:]`.hg"]
if test -z "`$GST_INSPECT $plugin_name | $HEAD -n 1 | $GREP "No such element"`"; then
plugin_define=["GSTREAMERMM_PLUGIN_`echo $plugin_name | tr [:lower:] [:upper:]`"]
AC_DEFINE_UNQUOTED($plugin_define)
- GSTREAMERMM_EXISTING_PLUGIN_CPPNAMES="$GSTREAMERMM_EXISTING_PLUGIN_CPPNAMES $cppname"
- GSTREAMERMM_EXISTING_PLUGIN_HG=["$GSTREAMERMM_EXISTING_PLUGIN_HG `echo $cppname | tr [:upper:] [:lower:]`.hg"]
fi
done
AC_SUBST(GSTREAMERMM_ALL_PLUGIN_DEFS)
AC_SUBST(GSTREAMERMM_ALL_PLUGIN_CPPNAMES)
-AC_SUBST(GSTREAMERMM_EXISTING_PLUGIN_CPPNAMES)
-AC_SUBST(GSTREAMERMM_EXISTING_PLUGIN_HG)
+AC_SUBST(GSTREAMERMM_ALL_PLUGIN_HG)
#########################################################################
# C++ checks
diff --git a/gstreamer/src/Makefile_list_of_hg.am_fragment b/gstreamer/src/Makefile_list_of_hg.am_fragment
index 47ec63e..9335824 100644
--- a/gstreamer/src/Makefile_list_of_hg.am_fragment
+++ b/gstreamer/src/Makefile_list_of_hg.am_fragment
@@ -53,7 +53,7 @@ files_all_plugin_hg = capsfilter.hg fakesrc.hg fakesink.hg fdsink.hg fdsrc.hg \
defs_plugin_all = $(GSTREAMERMM_ALL_PLUGIN_DEFS)
cppnames_plugin_all = $(GSTREAMERMM_ALL_PLUGIN_CPPNAMES)
-files_existing_plugin_hg = $(GSTREAMERMM_EXISTING_PLUGIN_HG)
+files_existing_plugin_hg = $(GSTREAMERMM_ALL_PLUGIN_HG)
files_patched_hg = taglist.hg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]