[gnome-db] GI correct installation variables

Daniel Espinosa <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
Find attached a patch to use INTROSPECTION_GIRDIR and
INTROSPECTION_TYPELIBDIR to use system configuration for correct
installation of GIR and TYPELIB files for GObject Introspection.


-- 
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates:
LIBRE)

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
0001-GI-Use-INTROSPECTION_GIRDIR-and-INTROSPECTION_TYPELI.patch (text/x-patch, 1.6 KB)
From a61f6498407f1b8a0612fb5255be467233e438f3 Mon Sep 17 00:00:00 2001
From: Daniel Espinosa <[email protected]>
Date: Thu, 19 May 2011 11:33:45 -0500
Subject: [PATCH] GI: Use INTROSPECTION_GIRDIR and INTROSPECTION_TYPELIBDIR to
 use system configuration for correct installation

---
 libgda-ui/Makefile.am |    4 ++--
 libgda/Makefile.am    |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libgda-ui/Makefile.am b/libgda-ui/Makefile.am
index 699b50e..acf3c62 100644
--- a/libgda-ui/Makefile.am
+++ b/libgda-ui/Makefile.am
@@ -223,10 +223,10 @@ Gdaui_5_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
 INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/libgda
 INTROSPECTION_GIRS += Gdaui-5.0.gir
 
-girdir = $(datadir)/gir-1.0
+girdir = $(INTROSPECTION_GIRDIR)
 gir_DATA = $(INTROSPECTION_GIRS)
 
-typelibsdir = $(libdir)/girepository-1.0/
+typelibsdir = $(INTROSPECTION_TYPELIBDIR)
 typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 
 CLEANFILES += $(INTROSPECTION_GIRS) $(typelibs_DATA)
diff --git a/libgda/Makefile.am b/libgda/Makefile.am
index dc4e277..866b6f0 100644
--- a/libgda/Makefile.am
+++ b/libgda/Makefile.am
@@ -357,10 +357,10 @@ Gda_5_0_gir_LIBS = $(lib_LTLIBRARIES)
 Gda_5_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
 INTROSPECTION_GIRS += Gda-5.0.gir
 
-girdir = $(datadir)/gir-1.0
+girdir = $(INTROSPECTION_GIRDIR)
 gir_DATA = $(INTROSPECTION_GIRS)
 
-typelibsdir = $(libdir)/girepository-1.0
+typelibsdir = $(INTROSPECTION_TYPELIBDIR)
 typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 CLEANFILES += $(INTROSPECTION_GIRS) $(typelibs_DATA)
 endif
-- 
1.7.5.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.