* tests/scanner/Foo-expected.gir:
* tests/scanner/Makefile.am:
+ * tests/scanner/foo-expected.gir:
+ * tests/scanner/foo-object.h:
+ * tests/scanner/foo.c:
+ Foo->foo, foo-object.h -> foo.h
+
+2008-08-20 Johan Dahlin <johan@gnome.org>
+
+ * tests/scanner/Foo-expected.gir:
+ * tests/scanner/Makefile.am:
* tests/scanner/drawable-expected.gir:
* tests/scanner/drawable.c (test_drawable_class_init),
(test_drawable_init):
libdrawable_la_LDFLAGS = -module -avoid-version
libdrawable_la_LIBADD = $(GOBJECT_LIBS)
-libfoo_la_SOURCES = $(srcdir)/foo.c $(srcdir)/foo-object.h
+libfoo_la_SOURCES = $(srcdir)/foo.c $(srcdir)/foo.h
libfoo_la_CFLAGS = $(GOBJECT_CFLAGS)
libfoo_la_LDFLAGS = -module -avoid-version
libfoo_la_LIBADD = $(GOBJECT_LIBS)
libutility_la_LDFLAGS = -module -avoid-version
libutility_la_LIBADD = $(GOBJECT_LIBS)
-CLEANFILES = utility.gir Foo.gir
-EXTRA_DIST = utility-expected.gir Foo-expected.gir
+CLEANFILES = utility.gir foo.gir
+EXTRA_DIST = utility-expected.gir foo-expected.gir
SCANNER = $(top_srcdir)/tools/g-ir-scanner
SCANNER_LIBS = \
$(libutility_la_SOURCES) \
--output $@
-Foo.gir: libfoo.la foo-object.h $(SCANNER) $(SCANNER_LIBS)
+foo.gir: libfoo.la foo.h $(SCANNER) $(SCANNER_LIBS)
$(CHECK_DEBUG) $(SCANNER) -v \
--include=$(top_srcdir)/gir/glib-2.0.gir \
--include=$(top_srcdir)/gir/gobject-2.0.gir \
--include=$(top_builddir)/tests/scanner/utility.gir \
--library=libfoo.la \
- --namespace=Foo \
+ --namespace=foo \
--pkg gobject-2.0 \
$(libfoo_la_SOURCES) \
--output $@
fi
@echo "Running scanner checks..."
-check-local: pre-check check-utility.gir check-drawable.gir check-Foo.gir
+check-local: pre-check check-utility.gir check-drawable.gir check-foo.gir
@echo "======================="
@echo "All parser tests passed"
@echo "======================="
rm -f $(top_builddir)/giscanner/*.py*; \
fi
-.PHONY: utility.gir drawable.gir Foo.gir
+.PHONY: utility.gir drawable.gir foo.gir
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
- <namespace name="Foo">
+ <namespace name="foo">
<alias name="List" target="GSList" c:type="FooList"/>
<alias name="XEvent" target="none" c:type="FooXEvent"/>
<interface name="Interface"