[seahorse] common: Work around vala header generation bug
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] common: Work around vala header generation bug
- Date: Wed, 26 Jun 2013 10:18:54 +0000 (UTC)
commit 1727d16670fac585ec10edf65465948a7ba37a1c
Author: Stef Walter <stefw gnome org>
Date: Tue Jun 18 22:13:23 2013 +0200
common: Work around vala header generation bug
https://bugzilla.gnome.org/show_bug.cgi?id=702602
common/Makefile.am | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/common/Makefile.am b/common/Makefile.am
index 4223327..576bbed 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -21,18 +21,29 @@ libcommon_la_SOURCES = \
AM_VALAFLAGS = \
$(VALA_FLAGS) \
--use-header \
- --header=seahorse-common.h \
+ --header=seahorse-internal.h \
--pkg gtk+-3.0 \
--pkg gcr-3 \
--vapi=common.vapi \
$(NULL)
+all-local: seahorse-common.h
+ sed -i '/_constructv/d' seahorse-common.h
+ touch -r libcommon_la_vala.stamp seahorse-common.h
+
+seahorse-internal.h: backend.c
+
+# Because vala produces broken headers
+seahorse-common.h: seahorse-internal.h
+ sed '/_constructv/d' $< > $@
+
CFLAGS += \
-include config.h -w \
$(NULL)
EXTRA_DIST = \
seahorse-common.h \
+ seahorse-internal.h \
common.vapi \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]