[tracker] libtracker-miner: Add missing deps file for Vala bindings
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Add missing deps file for Vala bindings
- Date: Mon, 3 May 2010 14:18:12 +0000 (UTC)
commit 4b88ee0d2dda3653c1e13dc89865e658149cfb0f
Author: Adrien Bustany <abustany gnome org>
Date: Mon May 3 10:09:09 2010 -0400
libtracker-miner: Add missing deps file for Vala bindings
This commit adds a .deps file for tracker-miner.vapi. Without this file,
Vala doesn't know that the gio-2.0 package is required (for async
functions), and fails at compile time.
src/libtracker-miner/Makefile.am | 8 ++++----
src/libtracker-miner/tracker-miner.deps | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-miner/Makefile.am b/src/libtracker-miner/Makefile.am
index a438ad6..b7df329 100644
--- a/src/libtracker-miner/Makefile.am
+++ b/src/libtracker-miner/Makefile.am
@@ -106,14 +106,14 @@ dbus_sources = \
# Vala bindings
vapidir = $(datadir)/vala/vapi
vapi_DATA = \
- tracker-miner-$(TRACKER_API_VERSION).vapi
+ tracker-miner-$(TRACKER_API_VERSION).vapi \
+ tracker-miner-$(TRACKER_API_VERSION).deps
tracker-miner-$(TRACKER_API_VERSION).vapi: tracker-miner.vapi
cp $< $@
-# Web details
-tracker-miner-web-$(TRACKER_API_VERSION).deps: tracker-miner-web.deps.in
- $(SED) -e "s|@VERSION[ ]|${TRACKER_API_VERSION}|" $< > $@
+tracker-miner-$(TRACKER_API_VERSION).deps: tracker-miner.deps
+ cp $< $@
# Custom rule to avoid API duplication. There is also a workaround for bug
# in dbus-binding-tool where it generates bad code when two files are passed
diff --git a/src/libtracker-miner/tracker-miner.deps b/src/libtracker-miner/tracker-miner.deps
new file mode 100644
index 0000000..cd10dfd
--- /dev/null
+++ b/src/libtracker-miner/tracker-miner.deps
@@ -0,0 +1 @@
+gio-2.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]