[PATCH] build: Add missing <package> and <c:include> in gir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is required for generating source-level bindings, for vala
---
 libvirt-gconfig/Makefile.am |    2 ++
 libvirt-glib/Makefile.am    |    2 ++
 libvirt-gobject/Makefile.am |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/libvirt-gconfig/Makefile.am b/libvirt-gconfig/Makefile.am
index 6f1c628..180d5ee 100644
--- a/libvirt-gconfig/Makefile.am
+++ b/libvirt-gconfig/Makefile.am
@@ -72,6 +72,8 @@ LibvirtGConfig-1.0.gir: libvirt-gconfig-1.0.la $(G_IR_SCANNER) Makefile.am
                 -I$(top_builddir) \
                 --verbose \
                 --pkg=gobject-2.0 \
+                --c-include="libvirt-gconfig/libvirt-gconfig.h" \
+                --pkg-export=libvirt-gconfig-1.0 \
 		$(srcdir)/libvirt-gconfig.h \
                 $(GCONFIG_SOURCE_FILES:%=$(srcdir)/%) \
                 $(GCONFIG_HEADER_FILES:%=$(srcdir)/%)
diff --git a/libvirt-glib/Makefile.am b/libvirt-glib/Makefile.am
index 4da0a84..0638a64 100644
--- a/libvirt-glib/Makefile.am
+++ b/libvirt-glib/Makefile.am
@@ -53,6 +53,8 @@ LibvirtGLib-1.0.gir: libvirt-glib-1.0.la $(G_IR_SCANNER) Makefile.am
                 -I$(srcdir) \
                 --pkg=glib-2.0 \
                 --pkg=gthread-2.0 \
+                --c-include="libvirt-glib/libvirt-glib.h" \
+                --pkg-export=libvirt-glib-1.0 \
                 $(libvirt_glib_1_0_la_SOURCES:%=$(srcdir)/%)
 
 girdir = $(datadir)/gir-1.0
diff --git a/libvirt-gobject/Makefile.am b/libvirt-gobject/Makefile.am
index a50878f..9430d40 100644
--- a/libvirt-gobject/Makefile.am
+++ b/libvirt-gobject/Makefile.am
@@ -117,6 +117,8 @@ LibvirtGObject-1.0.gir: libvirt-gobject-1.0.la $(G_IR_SCANNER) Makefile.am
                 --verbose \
                 --pkg=gobject-2.0 \
                 --pkg=gthread-2.0 \
+                --c-include="libvirt-gobject/libvirt-gobject.h" \
+                --pkg-export=libvirt-gobject-1.0 \
                 $(srcdir)/libvirt-gobject.h \
                 $(GOBJECT_SOURCE_FILES:%=$(srcdir)/%) \
                 $(GOBJECT_HEADER_FILES:%=$(srcdir)/%) \
-- 
1.7.6.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]