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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to