[gstreamermm] Renamed ctocpp*.m4 files to plugingen*.m4 which is more generic.



commit 20628002ef21db37d71372c57ac6a82d40c106a9
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Sun Jun 28 21:40:58 2009 -0400

    Renamed ctocpp*.m4 files to plugingen*.m4 which is more generic.

 ChangeLog                                          |   14 ++++++++++++++
 .../extra_defs_gen/generate_plugin_gmmproc_file.cc |    6 +++---
 tools/m4/Makefile_list_of_sources.am_fragment      |    3 ++-
 tools/m4/{ctocpp.m4 => plugingen.m4}               |    2 +-
 tools/m4/{ctocpp_base.m4 => plugingen_base.m4}     |    2 +-
 ...cpp_gstreamermm.m4 => plugingen_gstreamermm.m4} |    0
 6 files changed, 21 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ecd1f67..f8753cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
 2009-06-28  José Alburquerque  <jaalburqu svn gnome org>
 
+	* tools/m4/cotcpp.m4:
+	* tools/m4/ctocpp_base.m4:
+	* tools/m4/ctocpp_gstreamermm.m4: Renamed these files to:
+
+	* tools/m4/plugingen.m4:
+	* tools/m4/plugingen_base.m4:
+	* tools/m4/plugingen_gstreamermm.m4: These files.
+
+	* tools/extra_defs_gen/generate_plugin_gmmproc_file.cc:
+	* tools/m4/Makefile_list_of_sources.am_fragment: Changed to use new
+	names.
+
+2009-06-28  José Alburquerque  <jaalburqu svn gnome org>
+
 	* tools/extra_defs_gen/generate_plugin_gmmproc_file.cc:
 	* tools/m4/ctocpp_base.m4:
 	* build_shared/Makefile_gensrc.am_fragment: Moved wrapped enum sensing
diff --git a/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc b/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
index fefb596..a5567e9 100644
--- a/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
+++ b/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
@@ -428,7 +428,7 @@ void generate_hg_file(const Glib::ustring& includeMacroCalls,
   const Glib::ustring& propertyWrapStatements,
   const Glib::ustring& signalWrapStatements)
 {
-  std::cout << "include(ctocpp_base.m4)dnl" << std::endl;
+  std::cout << "include(plugingen_base.m4)dnl" << std::endl;
   std::cout << "changecom()dnl" << std::endl;
   std::cout << "#include <" << parentInclude << "/" <<
     cppParentTypeName.lowercase() << ".h>" << std::endl;
@@ -499,7 +499,7 @@ void generate_hg_file(const Glib::ustring& includeMacroCalls,
 void generate_ccg_file(const Glib::ustring& enumGTypeFunctionDefinitions,
   const Glib::ustring& cClassSignalDeclarations)
 {
-  std::cout << "include(ctocpp_base.m4)dnl" << std::endl;
+  std::cout << "include(plugingen_base.m4)dnl" << std::endl;
   std::cout << "changecom()dnl" << std::endl;
   std::cout << "_PINCLUDE(" << parentInclude << "/private/" <<
     cppParentTypeName.lowercase() << "_p.h)" << std::endl << std::endl;
@@ -591,7 +591,7 @@ int main(int argc, char* argv[])
     "Use the same syntax for plugin-name as in gst-inspect\nand supply the "
     "desired C++ class name unless the --confirm-existence option is\nused.  "
     "The .hg file is a preliminary .hg file that needs to be run through "
-    "m4\nincluding the macros in the ctocpp*.m4 files.");
+    "m4\nincluding the macros in the plugingen*.m4 files.");
 
   g_option_context_add_main_entries(gContext, optionEntries, 0);
   g_option_context_add_group(gContext, gst_init_get_option_group());
diff --git a/tools/m4/Makefile_list_of_sources.am_fragment b/tools/m4/Makefile_list_of_sources.am_fragment
index 7a4e012..48c1cce 100644
--- a/tools/m4/Makefile_list_of_sources.am_fragment
+++ b/tools/m4/Makefile_list_of_sources.am_fragment
@@ -1,4 +1,5 @@
 files_tools_m4 = convert.m4 convert_gst.m4 class_gstminiobject.m4 \
 		 class_boxedtype_extra.m4 shared.m4
 
-files_tools_plugin_m4 = ctocpp_base.m4 ctocpp.m4 ctocpp_gstreamermm.m4
+files_tools_plugin_m4 = plugingen_base.m4 plugingen.m4 \
+			plugingen_gstreamermm.m4
diff --git a/tools/m4/ctocpp.m4 b/tools/m4/plugingen.m4
similarity index 80%
rename from tools/m4/ctocpp.m4
rename to tools/m4/plugingen.m4
index e535a3e..336671d 100644
--- a/tools/m4/ctocpp.m4
+++ b/tools/m4/plugingen.m4
@@ -1,4 +1,4 @@
 # Other gstreamermm libraries can provide their own ctocpp.m4 file for plug-in
 # generation, maybe also including the same files as this one.
 
-include(ctocpp_gstreamermm.m4)
+include(plugingen_gstreamermm.m4)
diff --git a/tools/m4/ctocpp_base.m4 b/tools/m4/plugingen_base.m4
similarity index 99%
rename from tools/m4/ctocpp_base.m4
rename to tools/m4/plugingen_base.m4
index ca4678c..3986d54 100644
--- a/tools/m4/ctocpp_base.m4
+++ b/tools/m4/plugingen_base.m4
@@ -185,5 +185,5 @@ _ENUM_IS_WRAPPED(GstTaskState)
 _ENUM_IS_WRAPPED(GstTCPProtocol)
 _ENUM_IS_WRAPPED(GstURIType)
 
-include(ctocpp.m4)
+include(plugingen.m4)
 divert(0)dnl
diff --git a/tools/m4/ctocpp_gstreamermm.m4 b/tools/m4/plugingen_gstreamermm.m4
similarity index 100%
rename from tools/m4/ctocpp_gstreamermm.m4
rename to tools/m4/plugingen_gstreamermm.m4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]