/soc/2013/ankitkv/gobjectification: 0a07ad1445f4: Fixed gir inte...

Ankit Vani a at nevitus.org
Tue Sep 24 07:00:40 EDT 2013


Changeset: 0a07ad1445f4a6bfc5efbaeb7a39158e7ac2451a
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-24 15:49 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/0a07ad1445f4

Description:

Fixed gir integration with libpurple

diffstat:

 libpurple/Makefile.am |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (33 lines):

diff --git a/libpurple/Makefile.am b/libpurple/Makefile.am
--- a/libpurple/Makefile.am
+++ b/libpurple/Makefile.am
@@ -391,19 +391,21 @@ AM_CPPFLAGS += -DSSL_CERTIFICATES_DIR=\"
 endif
 
 -include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS = libpurple.gir
+INTROSPECTION_GIRS =
 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 
 if HAVE_INTROSPECTION
-introspection_sources = $(libpurple_la_SOURCES)
+introspection_sources = $(purple_coreheaders) $(purple_builtheaders)
 
-libpurple.gir: libpurple.la
-libpurple_gir_INCLUDES = GObject-2.0
-libpurple_gir_CFLAGS = $(INCLUDES)
-libpurple_gir_LIBS = libpurple.la
-libpurple_gir_FILES = $(introspection_sources)
-INTROSPECTION_GIRS += libpurple.gir
+Purple.gir: libpurple.la
+Purple_gir_INCLUDES = GObject-2.0
+Purple_gir_CFLAGS = $(INCLUDES) $(AM_CPPFLAGS)
+Purple_gir_LIBS = libpurple.la
+Purple_gir_FILES = $(introspection_sources)
+Purple_gir_NAMESPACE = Purple
+Purple_gir_VERSION = $(PURPLE_MAJOR_VERSION).$(PURPLE_MINOR_VERSION)
+INTROSPECTION_GIRS += Purple.gir
 
 girdir = $(datadir)/gir-1.0
 gir_DATA = $(INTROSPECTION_GIRS)



More information about the Commits mailing list