diff -ur gnome-menus-2.28.0.1/configure.in gnome-menus-2.28.0.1.new/configure.in
--- gnome-menus-2.28.0.1/configure.in	2009-10-01 15:23:02 +0400
+++ gnome-menus-2.28.0.1.new/configure.in	2009-10-14 13:03:01 +0400
@@ -56,6 +56,30 @@
 fi
 AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
 
+
+dnl Checks for GObject Introspection
+have_introspection=false
+PKG_CHECK_MODULES(INTROSPECTION, gobject-introspection-1.0 >= 0.6.4, have_introspection=true, have_introspection=false)
+AM_CONDITIONAL(HAVE_INTROSPECTION, $have_introspection)
+
+G_IR_SCANNER=
+G_IR_COMPILER=
+G_IR_GENERATE=
+GIRDIR=
+TYPELIBDIR=
+if $have_introspection; then
+   G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
+   G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
+   G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
+   GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
+   TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
+fi
+AC_SUBST(G_IR_SCANNER)
+AC_SUBST(G_IR_COMPILER)
+AC_SUBST(G_IR_GENERATE)
+AC_SUBST(GIRDIR)
+AC_SUBST(TYPELIBDIR)
+
 dnl --enable-debug=(yes|minimum|no)
 AC_ARG_ENABLE(debug, [  --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=yes)
 if test "$enable_debug" = "yes"; then
diff -ur gnome-menus-2.28.0.1/libmenu/Makefile.am gnome-menus-2.28.0.1.new/libmenu/Makefile.am
--- gnome-menus-2.28.0.1/libmenu/Makefile.am	2009-05-02 04:22:52 +0400
+++ gnome-menus-2.28.0.1.new/libmenu/Makefile.am	2009-10-14 13:22:34 +0400
@@ -53,4 +53,35 @@
 pkgconfigdir   = $(libdir)/pkgconfig
 pkgconfig_DATA = libgnome-menu.pc
 
+BUILT_GIRSOURCES = GMenu-2.0.gir
+
+GMenu-2.0.gir: $(libgnome_menu_include_HEADERS)
+GMenu-2.0.gir: $(libgnome_menu_la_SOURCES)
+GMenu-2.0.gir: libgnome-menu.la
+GMenu-2.0.gir: $(G_IR_SCANNER) Makefile
+	$(AM_V_GEN) $(G_IR_SCANNER) -v --namespace GMenu --nsversion=2.0 \
+	    --add-include-path=$(srcdir) --add-include-path=. \
+	    --include=Gtk-2.0 \
+	    --library=libgnome-menu.la \
+	    --libtool="$(LIBTOOL)" \
+	    --output $@ \
+	    --pkg libgnome-menu \
+	    -DGMENU_I_KNOW_THIS_IS_UNSTABLE \
+	    -I$(top_srcdir) \
+	    $(libgnome_menu_include_HEADERS) \
+	    $(libgnome_menu_la_SOURCES)
+
+if HAVE_INTROSPECTION
+
+girdir = $(GIRDIR)
+gir_DATA = $(BUILT_GIRSOURCES)
+
+typelibsdir = $(TYPELIBDIR)
+typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
+
+%.typelib: %.gir $(G_IR_COMPILER)
+	$(AM_V_GEN) LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. $(G_IR_COMPILER) --includedir=$(srcdir) --includedir=. $(G_IR_COMPILER_OPTS) $< -o $(builddir)/$(@F)
+
+endif # HAVE_INTROSPECTION
+
 -include $(top_srcdir)/git.mk
