linuxmint/muffin — Issue #4: Instrospection bindings (typelib/gir) installing on the wrong place
Author: ketheriel
Created: 2012-01-27 22:02:51+00:00
State: open

Hi,

I was doing some research on cinnamon and when I run 'pmap' I've found out that the introspection bindings were installing in the wrong place.

I've made a small patch to correct the install of introspection typelib and gir....

```bash
diff -urN a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am 2012-01-27 21:29:27.791510387 +0000
+++ b/src/Makefile.am 2012-01-27 21:52:32.949504723 +0000
@@ -217,10 +217,10 @@
# These files are in package-private directories, even though they may be used
# by plugins. If you're writing a plugin, use g-ir-compiler --add-include-path
# and g-ir-compiler --includedir.
-girdir = $(pkglibdir)
+girdir = @INTROSPECTION_GIRDIR@
gir_DATA = Meta-$(api_version).gir

-typelibdir = $(pkglibdir)
+typelibdir = @INTROSPECTION_TYPELIBDIR@
typelib_DATA = Meta-$(api_version).typelib

INTROSPECTION_GIRS = Meta-$(api_version).gir
```