[DRE-maint] Bug#751969: gir1.2-goocanvas-2.0: Introspection file installed in the wrong directory
Alberto Garcia
berto at igalia.com
Wed Jun 18 11:52:16 UTC 2014
Control: tags -1 patch
On Wed, Jun 18, 2014 at 02:30:26PM +0300, Alberto Garcia wrote:
> However typelib files are not supposed to go there, they should be in
> /usr/lib/girepository-1.0/ instead, else programs will not find them.
I think the fix should be as simple as this (I haven't tested it,
though):
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -165,7 +165,7 @@ INTROSPECTION_GIRS += GooCanvas-2.0.gir
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
-typelibdir = $(libdir)/girepository-1.0
+typelibdir = @INTROSPECTION_TYPELIBDIR@
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelib_DATA)
For the dependencies I recommend this in debian/rules:
override_dh_shlibdeps:
dh_shlibdeps
dh_girepository
Plus a build-dependency on gobject-introspection in the debian/control
file.
Berto
More information about the Pkg-ruby-extras-maintainers
mailing list