[glibmm/gmmproc-refactor] Try to use new gmmproc for building glibmm.



commit c797e64957f4aadbe213d43b7f7b97ea4ebaad1c
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Mon Jul 9 21:40:17 2012 +0200

    Try to use new gmmproc for building glibmm.
    
    Everything that uses anything from giomm is not built right now. This
    commit uses features from 'gmmproc-refactor' branch of mm-common. Also,
    tests of gmmproc is not built, because it needs a glibmm library.

 Makefile.am                  |   21 ++++--
 configure.ac                 |   52 +++++++--------
 docs/Makefile.am             |    9 ++-
 examples/Makefile.am         |   73 +++++++++++----------
 glib/src/Makefile.am         |   18 +++--
 glib/src/filelist.am         |   13 ----
 tests/Makefile.am            |   59 +++++++++--------
 tools/pm/filelist.am         |  147 ++++++++++++++++++++++++++++++++++++++---
 tools/proc/filelist.am       |    3 +
 tools/proc/type_infos        |    1 +
 tools/proc/type_infos_glibmm |    6 ++
 11 files changed, 268 insertions(+), 134 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 1a058b1..e6d1853 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,7 +19,8 @@ ACLOCAL_AMFLAGS	= -I build ${ACLOCAL_FLAGS}
 DISTCHECK_CONFIGURE_FLAGS = --enable-warnings=fatal
 
 if MAINTAINER_MODE
-src_subdirs = glib/src gio/src
+src_subdirs = glib/src
+#src_subdirs += gio/src
 else
 src_subdirs =
 endif
@@ -28,20 +29,26 @@ doc_subdirs = docs
 else
 doc_subdirs =
 endif
-SUBDIRS = tools $(src_subdirs) glib/glibmm gio/giomm tests examples $(doc_subdirs)
+SUBDIRS =
+#SUBDIRS += tools
+SUBDIRS += $(src_subdirs) glib/glibmm
+#SUBDIRS += gio/giomm
+SUBDIRS += tests examples $(doc_subdirs)
 
 glibmm_includedir = $(includedir)/$(GLIBMM_MODULE_NAME)
 glibmm_include_HEADERS = glib/glibmm.h
 glibmm_libincludedir = $(libdir)/$(GLIBMM_MODULE_NAME)/include
 nodist_glibmm_libinclude_HEADERS = glib/glibmmconfig.h
 
-giomm_includedir = $(includedir)/$(GIOMM_MODULE_NAME)
-giomm_include_HEADERS = gio/giomm.h
-giomm_libincludedir = $(libdir)/$(GIOMM_MODULE_NAME)/include
-nodist_giomm_libinclude_HEADERS = gio/giommconfig.h
+#giomm_includedir = $(includedir)/$(GIOMM_MODULE_NAME)
+#giomm_include_HEADERS = gio/giomm.h
+#giomm_libincludedir = $(libdir)/$(GIOMM_MODULE_NAME)/include
+#nodist_giomm_libinclude_HEADERS = gio/giommconfig.h
 
 pkgconfigdir = $(libdir)/pkgconfig
-nodist_pkgconfig_DATA = glib/$(GLIBMM_MODULE_NAME).pc gio/$(GIOMM_MODULE_NAME).pc
+nodist_pkgconfig_DATA = glib/$(GLIBMM_MODULE_NAME).pc
+#nodist_pkgconfig_DATA += gio/$(GIOMM_MODULE_NAME).pc
+
 
 include $(srcdir)/MSVC_Net2005/filelist.am
 include $(srcdir)/MSVC_Net2008/filelist.am
diff --git a/configure.ac b/configure.ac
index c4552d9..728f7be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,43 +140,37 @@ AC_CONFIG_FILES([Makefile
                  tools/Makefile
                  tools/gmmproc
                  tools/pm/Gir/Config.pm
-                 tools/pm/tests/Gir/Config.pm])
-
-#AC_CONFIG_FILES([Makefile
-#                 tools/Makefile
-#                 tools/gmmproc
-#                 tools/generate_wrap_init.pl
-#                 tools/pm/Gir/Config.pm
-#                 glib/${GLIBMM_MODULE_NAME}.pc:glib/glibmm.pc.in
-#                 glib/${GLIBMM_MODULE_NAME}-uninstalled.pc:glib/glibmm-uninstalled.pc.in
-#                 glib/src/Makefile
-#                 glib/glibmm/Makefile
-#                 gio/${GIOMM_MODULE_NAME}.pc:gio/giomm.pc.in
+                 tools/pm/tests/Gir/Config.pm
+                 glib/${GLIBMM_MODULE_NAME}.pc:glib/glibmm.pc.in
+                 glib/${GLIBMM_MODULE_NAME}-uninstalled.pc:glib/glibmm-uninstalled.pc.in
+                 glib/src/Makefile
+                 glib/glibmm/Makefile])
+#AC_CONFIG_FILES([gio/${GIOMM_MODULE_NAME}.pc:gio/giomm.pc.in
 #                 gio/${GIOMM_MODULE_NAME}-uninstalled.pc:gio/giomm-uninstalled.pc.in
 #                 gio/src/Makefile
-#                 gio/giomm/Makefile
-#                 tests/Makefile
-#                 examples/Makefile
-#                 docs/Makefile
-#                 docs/reference/Doxyfile
-#                 MSVC_Net2005/glibmm/glibmm.rc
-#                 MSVC_Net2005/giomm/giomm.rc
-#                 MSVC_Net2008/glibmm/glibmm.rc
-#                 MSVC_Net2008/giomm/giomm.rc
-#                 MSVC_Net2010/glibmm/glibmm.rc
-#                 MSVC_Net2010/giomm/giomm.rc])
+#                 gio/giomm/Makefile])
+AC_CONFIG_FILES([tests/Makefile
+                 examples/Makefile
+                 docs/Makefile
+                 docs/reference/Doxyfile])
+                 MSVC_Net2005/glibmm/glibmm.rc
+                 MSVC_Net2008/glibmm/glibmm.rc
+                 MSVC_Net2010/glibmm/glibmm.rc
+#C_CONFIG_FILES([MSVC_Net2005/giomm/giomm.rc
+#                MSVC_Net2008/giomm/giomm.rc
+#                MSVC_Net2010/giomm/giomm.rc])
 
 # Copy the generated configuration headers into the MSVC project directories.
 AC_CONFIG_COMMANDS([MSVC_Net2005/glibmm/glibmmconfig.h],
                    [cp -f glib/glibmmconfig.h MSVC_Net2005/glibmm/glibmmconfig.h])
-AC_CONFIG_COMMANDS([MSVC_Net2005/giomm/giommconfig.h],
-                   [cp -f gio/giommconfig.h MSVC_Net2005/giomm/giommconfig.h])
 AC_CONFIG_COMMANDS([MSVC_Net2008/glibmm/glibmmconfig.h],
                    [cp -f glib/glibmmconfig.h MSVC_Net2008/glibmm/glibmmconfig.h])
-AC_CONFIG_COMMANDS([MSVC_Net2008/giomm/giommconfig.h],
-                   [cp -f gio/giommconfig.h MSVC_Net2008/giomm/giommconfig.h])
 AC_CONFIG_COMMANDS([MSVC_Net2010/glibmm/glibmmconfig.h],
                    [cp -f glib/glibmmconfig.h MSVC_Net2010/glibmm/glibmmconfig.h])
-AC_CONFIG_COMMANDS([MSVC_Net2010/giomm/giommconfig.h],
-                   [cp -f gio/giommconfig.h MSVC_Net2010/giomm/giommconfig.h])
+#C_CONFIG_COMMANDS([MSVC_Net2005/giomm/giommconfig.h],
+#                  [cp -f gio/giommconfig.h MSVC_Net2005/giomm/giommconfig.h])
+#C_CONFIG_COMMANDS([MSVC_Net2008/giomm/giommconfig.h],
+#                  [cp -f gio/giommconfig.h MSVC_Net2008/giomm/giommconfig.h])
+#C_CONFIG_COMMANDS([MSVC_Net2010/giomm/giommconfig.h],
+#                  [cp -f gio/giommconfig.h MSVC_Net2010/giomm/giommconfig.h])
 AC_OUTPUT
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 379591a..579b04e 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -17,17 +17,18 @@
 
 include $(top_srcdir)/glib/src/filelist.am
 include $(top_srcdir)/glib/glibmm/filelist.am
-include $(top_srcdir)/gio/src/filelist.am
-include $(top_srcdir)/gio/giomm/filelist.am
+#include $(top_srcdir)/gio/src/filelist.am
+#include $(top_srcdir)/gio/giomm/filelist.am
 
 glibmm_files_h = $(filter-out wrap_init.h,$(glibmm_files_built_h) $(glibmm_files_extra_h))
-giomm_files_h  = $(filter-out wrap_init.h,$(giomm_files_built_h) $(giomm_files_extra_h))
+#giomm_files_h  = $(filter-out wrap_init.h,$(giomm_files_built_h) $(giomm_files_extra_h))
 
 book_name = $(GLIBMM_MODULE_NAME)
 doc_input = $(addprefix $(top_srcdir)/glib/glibmm/,$(glibmm_files_h)) \
-            $(addprefix $(top_srcdir)/gio/giomm/,$(giomm_files_h)) \
             $(top_srcdir)/glib/glibmm.h
 
+#doc_input += $(addprefix $(top_srcdir)/gio/giomm/,$(giomm_files_h))
+
 docimagesdir = $(libdocdir)/images
 dist_docimages_DATA = images/gtkmm_logo.gif images/top.gif
 
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 25e6714..067b6ab 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -20,36 +20,39 @@ AUTOMAKE_OPTIONS = subdir-objects
 check_PROGRAMS =			\
 	child_watch/child_watch		\
 	compose/example			\
-	dbus/session_bus_service \
-	dbus/server_without_bus			\
-	dbus/client_bus_listnames \
 	iochannel_stream/example	\
 	keyfile/example			\
 	markup/parser			\
-	network/resolver		\
-	network/socket-client		\
-	network/socket-server		\
 	options/example			\
 	properties/example		\
 	regex/example			\
-	settings/settings		\
 	thread/dispatcher		\
 	thread/dispatcher2		\
 	thread/thread			\
 	thread/threadpool
 
+#check_PROGRAMS += \
+#	dbus/session_bus_service \
+#	dbus/server_without_bus			\
+#	dbus/client_bus_listnames \
+#	network/resolver		\
+#	network/socket-client		\
+#	network/socket-server		\
+#	settings/settings
+
 glibmm_includes = -I$(top_builddir)/glib $(if $(srcdir:.=),-I$(top_srcdir)/glib)
-giomm_includes  = -I$(top_builddir)/gio $(if $(srcdir:.=),-I$(top_srcdir)/gio)
+#giomm_includes  = -I$(top_builddir)/gio $(if $(srcdir:.=),-I$(top_srcdir)/gio)
 local_cppflags  = -I$(top_builddir) $(glibmm_includes) $(giomm_includes)
 
 AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS)
-AM_CXXFLAGS = $(GIOMM_CFLAGS) $(GLIBMM_WXXFLAGS)
+AM_CXXFLAGS = $(GLIBMM_WXXFLAGS)
+#AM_CXXFLAGS += $(GIOMM_CFLAGS)
 
 local_libglibmm = $(top_builddir)/glib/glibmm/libglibmm-$(GLIBMM_API_VERSION).la
-local_libgiomm  = $(top_builddir)/gio/giomm/libgiomm-$(GIOMM_API_VERSION).la
+#local_libgiomm  = $(top_builddir)/gio/giomm/libgiomm-$(GIOMM_API_VERSION).la
 
 LDADD        = $(GLIBMM_LIBS) $(local_libglibmm)
-giomm_ldadd  = $(GIOMM_LIBS) $(local_libglibmm) $(local_libgiomm)
+#giomm_ldadd  = $(GIOMM_LIBS) $(local_libglibmm) $(local_libgiomm)
 thread_ldadd = $(GTHREAD_LIBS) $(GLIBMM_LIBS) $(local_libglibmm)
 
 child_watch_child_watch_SOURCES  = child_watch/main.cc
@@ -76,27 +79,27 @@ thread_threadpool_SOURCES  = thread/threadpool.cc
 thread_threadpool_LDADD    = $(thread_ldadd)
 
 # giomm examples
-dbus_session_bus_service_SOURCES = dbus/session_bus_service.cc
-dbus_session_bus_service_LDADD   = $(giomm_ldadd)
-dbus_server_without_bus_SOURCES = dbus/server_without_bus.cc
-dbus_server_without_bus_LDADD   = $(giomm_ldadd)
-dbus_client_bus_listnames_SOURCES = dbus/client_bus_listnames.cc
-dbus_client_bus_listnames_LDADD   = $(giomm_ldadd)
-
-network_resolver_SOURCES   = network/resolver.cc
-network_resolver_LDADD     = $(giomm_ldadd)
-network_socket_client_SOURCES = network/socket-client.cc
-network_socket_client_LDADD   = $(giomm_ldadd)
-network_socket_server_SOURCES = network/socket-server.cc
-network_socket_server_LDADD   = $(giomm_ldadd)
-
-settings_settings_SOURCES = settings/settings.cc
-settings_settings_LDADD   = $(giomm_ldadd)
-
-dist_noinst_DATA = settings/org.gtkmm.demo.gschema.xml
-CLEANFILES = settings/gschemas.compiled
-
-settings/gschemas.compiled: $(srcdir)/settings/org.gtkmm.demo.gschema.xml
-	$(AM_V_GEN)$(GLIB_COMPILE_SCHEMAS) --targetdir=settings $(srcdir)/settings
-
-all-local: settings/gschemas.compiled
+#dbus_session_bus_service_SOURCES = dbus/session_bus_service.cc
+#dbus_session_bus_service_LDADD   = $(giomm_ldadd)
+#dbus_server_without_bus_SOURCES = dbus/server_without_bus.cc
+#dbus_server_without_bus_LDADD   = $(giomm_ldadd)
+#dbus_client_bus_listnames_SOURCES = dbus/client_bus_listnames.cc
+#dbus_client_bus_listnames_LDADD   = $(giomm_ldadd)
+
+#network_resolver_SOURCES   = network/resolver.cc
+#network_resolver_LDADD     = $(giomm_ldadd)
+#network_socket_client_SOURCES = network/socket-client.cc
+#network_socket_client_LDADD   = $(giomm_ldadd)
+#network_socket_server_SOURCES = network/socket-server.cc
+#network_socket_server_LDADD   = $(giomm_ldadd)
+
+#settings_settings_SOURCES = settings/settings.cc
+#settings_settings_LDADD   = $(giomm_ldadd)
+
+#dist_noinst_DATA = settings/org.gtkmm.demo.gschema.xml
+#CLEANFILES = settings/gschemas.compiled
+
+#settings/gschemas.compiled: $(srcdir)/settings/org.gtkmm.demo.gschema.xml
+#	$(AM_V_GEN)$(GLIB_COMPILE_SCHEMAS) --targetdir=settings $(srcdir)/settings
+
+#all-local: settings/gschemas.compiled
diff --git a/glib/src/Makefile.am b/glib/src/Makefile.am
index c184f0d..64359fe 100644
--- a/glib/src/Makefile.am
+++ b/glib/src/Makefile.am
@@ -16,17 +16,19 @@
 ## along with this library.  If not, see <http://www.gnu.org/licenses/>.
 
 # Override code generator commands to use the uninstalled tools.
-gmmproc = $(PERL) -I$(top_srcdir)/tools/pm -- $(top_builddir)/tools/gmmproc
-gen_wrap_init = $(PERL) -- $(top_builddir)/tools/generate_wrap_init.pl
+include $(top_srcdir)/tools/pm/filelist.am
+include $(srcdir)/filelist.am
+include $(top_srcdir)/tools/proc/filelist.am
 
-binding_name    = glibmm
-wrap_init_flags = --namespace=Glib --parent_dir=glibmm
-codegen_srcdir  = $(top_srcdir)/tools
+codegen_proc_srcdir  = $(top_srcdir)/tools/proc
+gmmproc_script = $(top_builddir)/tools/gmmproc
+gmmproc_perl_includes = -I$(top_srcdir)/tools/pm
+gmmproc_extra_dependencies = $(gmmproc_pm_modules) $(gmmproc_script)
 
-include $(srcdir)/filelist.am
-include $(top_srcdir)/tools/m4/filelist.am
+binding_name = glibmm
+wrap_init_namespace = Glib
+gir_basename = GLib-2.0.gir
 
-files_defs = $(glibmm_files_defs)
 files_ccg  = $(glibmm_files_ccg)
 files_hg   = $(glibmm_files_hg)
 
diff --git a/glib/src/filelist.am b/glib/src/filelist.am
index 01ab608..4b6940f 100644
--- a/glib/src/filelist.am
+++ b/glib/src/filelist.am
@@ -1,18 +1,5 @@
 ## This file is part of glibmm.
 
-glibmm_files_defs =		\
-	glib.defs		\
-	glib_enums.defs		\
-	glib_functions.defs	\
-	glib_extra_objects.defs	\
-	gmodule_enums.defs	\
-	gmodule_functions.defs	\
-	gobject.defs		\
-	gobject_enums.defs	\
-	gobject_functions.defs	\
-	glib_docs.xml		\
-	glib_docs_override.xml
-
 glibmm_files_hg =		\
 	balancedtree.hg		\
 	checksum.hg		\
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d887868..abc9f3e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -18,10 +18,6 @@
 AUTOMAKE_OPTIONS = subdir-objects
 
 check_PROGRAMS =				\
-	giomm_ioerror/test			\
-	giomm_ioerror_and_iodbuserror/test	\
-	giomm_simple/test			\
-	giomm_asyncresult_sourceobject/test	\
 	glibmm_btree/test			\
 	glibmm_date/test			\
 	glibmm_buildfilename/test		\
@@ -31,39 +27,48 @@ check_PROGRAMS =				\
 	glibmm_value/test			\
 	glibmm_valuearray/test			\
 	glibmm_variant/test			\
-	glibmm_vector/test			\
 	glibmm_bool_vector/test			\
 	glibmm_bool_arrayhandle/test		\
-	glibmm_null_vectorutils/test		\
-	glibmm_null_containerhandle/test \
 	glibmm_refptr_sigc_bind/test
-	
+
+#check_PROGRAMS += \
+#	giomm_ioerror/test			\
+#	giomm_ioerror_and_iodbuserror/test	\
+#	giomm_simple/test			\
+#	giomm_asyncresult_sourceobject/test	\
+#	glibmm_vector/test			\
+#	glibmm_null_vectorutils/test		\
+#	glibmm_null_containerhandle/test
+
+
 TESTS =	$(check_PROGRAMS)
 
 glibmm_includes = -I$(top_builddir)/glib $(if $(srcdir:.=),-I$(top_srcdir)/glib)
-giomm_includes  = -I$(top_builddir)/gio $(if $(srcdir:.=),-I$(top_srcdir)/gio)
-local_cppflags  = -I$(top_builddir) $(glibmm_includes) $(giomm_includes)
+#giomm_includes  = -I$(top_builddir)/gio $(if $(srcdir:.=),-I$(top_srcdir)/gio)
+local_cppflags  = -I$(top_builddir) $(glibmm_includes)
+#local_cppflags += $(giomm_includes)
 
-AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS) $(GIOMM_CFLAGS)
+AM_CPPFLAGS = $(local_cppflags) $(GTHREAD_CFLAGS)
+#AM_CPPFLAGS += $(GIOMM_CFLAGS)
 AM_CXXFLAGS = $(GLIBMM_WXXFLAGS)
 
 local_libglibmm = $(top_builddir)/glib/glibmm/libglibmm-$(GLIBMM_API_VERSION).la
-local_libgiomm  = $(top_builddir)/gio/giomm/libgiomm-$(GIOMM_API_VERSION).la
+#local_libgiomm  = $(top_builddir)/gio/giomm/libgiomm-$(GIOMM_API_VERSION).la
 
 LDADD = $(local_libglibmm) $(GLIBMM_LIBS)
-giomm_ldadd = $(local_libglibmm) $(local_libgiomm) $(GIOMM_LIBS)
+#giomm_ldadd = $(local_libglibmm) $(local_libgiomm) $(GIOMM_LIBS)
 
-giomm_ioerror_test_SOURCES = giomm_ioerror/main.cc
-giomm_ioerror_test_LDADD   = $(giomm_ldadd)
+#giomm_ioerror_test_SOURCES = giomm_ioerror/main.cc
+#giomm_ioerror_test_LDADD   = $(giomm_ldadd)
 
-giomm_ioerror_and_iodbuserror_test_SOURCES = giomm_ioerror_and_iodbuserror/main.cc
-giomm_ioerror_and_iodbuserror_test_LDADD   = $(giomm_ldadd)
+#giomm_ioerror_and_iodbuserror_test_SOURCES = giomm_ioerror_and_iodbuserror/main.cc
+#giomm_ioerror_and_iodbuserror_test_LDADD   = $(giomm_ldadd)
 
-giomm_simple_test_SOURCES  = giomm_simple/main.cc
-giomm_simple_test_LDADD    = $(giomm_ldadd)
+#giomm_simple_test_SOURCES  = giomm_simple/main.cc
+#giomm_simple_test_LDADD    = $(giomm_ldadd)
 
-giomm_asyncresult_sourceobject_test_SOURCES  = giomm_asyncresult_sourceobject/main.cc
-giomm_asyncresult_sourceobject_test_LDADD    = $(giomm_ldadd)
+#giomm_asyncresult_sourceobject_test_SOURCES  = giomm_asyncresult_sourceobject/main.cc
+#giomm_asyncresult_sourceobject_test_LDADD    = $(giomm_ldadd)
 
 glibmm_btree_test_SOURCES                = glibmm_btree/main.cc
 glibmm_buildfilename_test_SOURCES        = glibmm_buildfilename/main.cc
@@ -74,12 +79,12 @@ glibmm_ustring_format_test_SOURCES       = glibmm_ustring_format/main.cc
 glibmm_value_test_SOURCES                = glibmm_value/glibmm_value.cc glibmm_value/main.cc
 glibmm_valuearray_test_SOURCES           = glibmm_valuearray/main.cc
 glibmm_variant_test_SOURCES              = glibmm_variant/main.cc
-glibmm_vector_test_SOURCES               = glibmm_vector/main.cc
-glibmm_vector_test_LDADD                 = $(giomm_ldadd)
+#glibmm_vector_test_SOURCES               = glibmm_vector/main.cc
+#glibmm_vector_test_LDADD                 = $(giomm_ldadd)
 glibmm_bool_vector_test_SOURCES          = glibmm_bool_vector/main.cc
 glibmm_bool_arrayhandle_test_SOURCES     = glibmm_bool_arrayhandle/main.cc
-glibmm_null_vectorutils_test_SOURCES     = glibmm_null_vectorutils/main.cc
-glibmm_null_vectorutils_test_LDADD       = $(giomm_ldadd)
-glibmm_null_containerhandle_test_SOURCES = glibmm_null_containerhandle/main.cc
-glibmm_null_containerhandle_test_LDADD   = $(giomm_ldadd)
+#glibmm_null_vectorutils_test_SOURCES     = glibmm_null_vectorutils/main.cc
+#glibmm_null_vectorutils_test_LDADD       = $(giomm_ldadd)
+#glibmm_null_containerhandle_test_SOURCES = glibmm_null_containerhandle/main.cc
+#glibmm_null_containerhandle_test_LDADD   = $(giomm_ldadd)
 glibmm_refptr_sigc_bind_test_SOURCES     = glibmm_refptr_sigc_bind/main.cc
diff --git a/tools/pm/filelist.am b/tools/pm/filelist.am
index 11394c0..deb5d70 100644
--- a/tools/pm/filelist.am
+++ b/tools/pm/filelist.am
@@ -1,13 +1,138 @@
 ## This file is part of glibmm.
 
-files_codegen_pm =	\
-	DocsParser.pm	\
-	Enum.pm		\
-	Function.pm	\
-	FunctionBase.pm	\
-	GtkDefs.pm	\
-	Object.pm	\
-	Output.pm	\
-	Property.pm	\
-	Util.pm		\
-	WrapParser.pm
+files_codegen_pm = \
+  Gir/State.pm \
+  Gir/Handlers/Doc.pm \
+  Gir/Handlers/Parameter.pm \
+  Gir/Handlers/Class.pm \
+  Gir/Handlers/Callback.pm \
+  Gir/Handlers/Interface.pm \
+  Gir/Handlers/ReturnValue.pm \
+  Gir/Handlers/Prerequisite.pm \
+  Gir/Handlers/VirtualMethod.pm \
+  Gir/Handlers/Field.pm \
+  Gir/Handlers/Namespace.pm \
+  Gir/Handlers/Union.pm \
+  Gir/Handlers/Constant.pm \
+  Gir/Handlers/Type.pm \
+  Gir/Handlers/Constructor.pm \
+  Gir/Handlers/Function.pm \
+  Gir/Handlers/Member.pm \
+  Gir/Handlers/Repository.pm \
+  Gir/Handlers/Property.pm \
+  Gir/Handlers/Method.pm \
+  Gir/Handlers/Varargs.pm \
+  Gir/Handlers/TopLevel.pm \
+  Gir/Handlers/Package.pm \
+  Gir/Handlers/GlibBoxed.pm \
+  Gir/Handlers/Parameters.pm \
+  Gir/Handlers/Attribute.pm \
+  Gir/Handlers/Implements.pm \
+  Gir/Handlers/Common/Store.pm \
+  Gir/Handlers/Common/Misc.pm \
+  Gir/Handlers/Common/State.pm \
+  Gir/Handlers/Common/Base.pm \
+  Gir/Handlers/Common/Tags.pm \
+  Gir/Handlers/Bitfield.pm \
+  Gir/Handlers/Enumeration.pm \
+  Gir/Handlers/Alias.pm \
+  Gir/Handlers/Record.pm \
+  Gir/Handlers/Array.pm \
+  Gir/Handlers/GlibSignal.pm \
+  Gir/Handlers/Include.pm \
+  Gir/Handlers/CInclude.pm \
+  Gir/Parser.pm \
+  Gir/Config.pm \
+  Gir/Api/Doc.pm \
+  Gir/Api/Parameter.pm \
+  Gir/Api/Class.pm \
+  Gir/Api/Callback.pm \
+  Gir/Api/Interface.pm \
+  Gir/Api/ReturnValue.pm \
+  Gir/Api/Prerequisite.pm \
+  Gir/Api/VirtualMethod.pm \
+  Gir/Api/Field.pm \
+  Gir/Api/Namespace.pm \
+  Gir/Api/Union.pm \
+  Gir/Api/Constant.pm \
+  Gir/Api/Type.pm \
+  Gir/Api/Constructor.pm \
+  Gir/Api/Function.pm \
+  Gir/Api/Member.pm \
+  Gir/Api/Repository.pm \
+  Gir/Api/Property.pm \
+  Gir/Api/Method.pm \
+  Gir/Api/Varargs.pm \
+  Gir/Api/TopLevel.pm \
+  Gir/Api/Package.pm \
+  Gir/Api/GlibBoxed.pm \
+  Gir/Api/Parameters.pm \
+  Gir/Api/Attribute.pm \
+  Gir/Api/Implements.pm \
+  Gir/Api/Common/Base.pm \
+  Gir/Api/Bitfield.pm \
+  Gir/Api/Enumeration.pm \
+  Gir/Api/Alias.pm \
+  Gir/Api/Record.pm \
+  Gir/Api/Array.pm \
+  Gir/Api/GlibSignal.pm \
+  Gir/Api/Include.pm \
+  Gir/Api/CInclude.pm \
+  Gir/Repositories.pm \
+  Common/TypeDetails.pm \
+  Common/Constants.pm \
+  Common/Variables.pm \
+  Common/Sections.pm \
+  Common/TypeInfo/Common.pm \
+  Common/TypeInfo/Local.pm \
+  Common/TypeInfo/Convertors/Func.pm \
+  Common/TypeInfo/Convertors/Normal.pm \
+  Common/TypeInfo/Convertors/Enum.pm \
+  Common/TypeInfo/Convertors/Reffed.pm \
+  Common/TypeInfo/Convertors/Equal.pm \
+  Common/TypeInfo/Convertors/Ustring.pm \
+  Common/TypeInfo/Convertors/StdString.pm \
+  Common/TypeInfo/Convertors/Manual.pm \
+  Common/TypeInfo/Convertors.pm \
+  Common/TypeInfo/Global.pm \
+  Common/WrapParser.pm \
+  Common/Gmmproc.pm \
+  Common/TokensStore.pm \
+  Common/Scanner.pm \
+  Common/Output/Interface.pm \
+  Common/Output/Misc.pm \
+  Common/Output/Enum.pm \
+  Common/Output/Ctor.pm \
+  Common/Output/Signal.pm \
+  Common/Output/Generic.pm \
+  Common/Output/Member.pm \
+  Common/Output/Property.pm \
+  Common/Output/Method.pm \
+  Common/Output/GtkObject.pm \
+  Common/Output/VFunc.pm \
+  Common/Output/GError.pm \
+  Common/Output/OpaqueCopyable.pm \
+  Common/Output/BoxedType.pm \
+  Common/Output/OpaqueRefcounted.pm \
+  Common/Output/Shared.pm \
+  Common/Output/BoxedTypeStatic.pm \
+  Common/Output/GObject.pm \
+  Common/CallableInfo.pm \
+  Common/WrapInit/Base.pm \
+  Common/WrapInit/GError.pm \
+  Common/WrapInit/GObject.pm \
+  Common/CxxFunctionInfo.pm \
+  Common/TypeDetails/Base.pm \
+  Common/TypeDetails/Value.pm \
+  Common/TypeDetails/Container.pm \
+  Common/CFunctionInfo.pm \
+  Common/Output.pm \
+  Common/SectionManager.pm \
+  Common/Shared.pm \
+  Common/TypeInfo.pm \
+  Common/WrapInit.pm \
+  Common/Sections/Section.pm \
+  Common/Sections/Conditional.pm \
+  Common/Sections/Entries.pm \
+  Common/Util.pm \
+  Common/SignalInfo.pm
diff --git a/tools/proc/filelist.am b/tools/proc/filelist.am
new file mode 100644
index 0000000..349085e
--- /dev/null
+++ b/tools/proc/filelist.am
@@ -0,0 +1,3 @@
+files_codegen_proc = \
+  type_infos_glibmm \
+  type_infos
diff --git a/tools/proc/type_infos b/tools/proc/type_infos
new file mode 100644
index 0000000..4cb7f7e
--- /dev/null
+++ b/tools/proc/type_infos
@@ -0,0 +1 @@
+include type_infos_glibmm
diff --git a/tools/proc/type_infos_glibmm b/tools/proc/type_infos_glibmm
new file mode 100644
index 0000000..66c59fb
--- /dev/null
+++ b/tools/proc/type_infos_glibmm
@@ -0,0 +1,6 @@
+include type_infos_glibmm_generated
+
+GObject <=> Glib::Object ## REFFED
+gint <=> int ## EQUAL
+gchar <!> Glib::ustring ## USTRING
+gchar <!> std::string ## STDSTRING



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