[gnome-keyring/dbus-api] Add build support for eggdbus interfaces.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-keyring/dbus-api] Add build support for eggdbus interfaces.
- Date: Sat, 20 Jun 2009 20:29:06 -0400 (EDT)
commit 695a738f880aa1e15f0c7df4f65e6e04045b0df5
Author: Stef Walter <stef memberwebs com>
Date: Fri Jun 19 20:39:42 2009 +0000
Add build support for eggdbus interfaces.
Depend on eggdbus 0.4 or later, add makefiles, and use
eggdbus-binding-tool to compile boilerplate code.
.gitignore | 1 +
configure.in | 4 +++-
daemon/.gitignore | 4 ++--
daemon/Makefile.am | 3 ++-
daemon/secrets/Makefile.am | 2 ++
daemon/secrets/api/Makefile.am | 25 +++++++++++++++++++++++++
6 files changed, 35 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 946d36e..0c6ad24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,4 +55,5 @@
.*project
.settings
*.orig
+*.stamp
diff --git a/configure.in b/configure.in
index e80a3dd..287d134 100644
--- a/configure.in
+++ b/configure.in
@@ -200,7 +200,7 @@ fi
#
DBUS_REQUIRED=1.0
-PKG_CHECK_MODULES([DBUS], dbus-1 >= 1.0)
+PKG_CHECK_MODULES([DBUS], dbus-1 >= 1.0 eggdbus-1 >= 0.4)
DBUS_VERSION=`$PKG_CONFIG --modversion dbus-1`
DBUS_MAJOR_VERSION=`echo $DBUS_VERSION | cut -d. -f1`
@@ -547,6 +547,8 @@ daemon/data/Makefile
daemon/keyrings/Makefile
daemon/keyrings/tests/Makefile
daemon/pkcs11/Makefile
+daemon/secrets/Makefile
+daemon/secrets/api/Makefile
daemon/ui/Makefile
daemon/util/Makefile
daemon/util/tests/Makefile
diff --git a/daemon/.gitignore b/daemon/.gitignore
index 1abad5a..a7e6dc6 100644
--- a/daemon/.gitignore
+++ b/daemon/.gitignore
@@ -1,7 +1,7 @@
/.libs
/.deps
-/Makefile
-/Makefile.in
+Makefile
+Makefile.in
/gnome-keyring-ask
/gnome-keyring-daemon
/org.gnome.keyring.service
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index c8cb29e..5937ffd 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -3,7 +3,8 @@ SUBDIRS = \
ui \
keyrings \
pkcs11 \
- data
+ data \
+ secrets
bin_PROGRAMS= \
gnome-keyring-daemon
diff --git a/daemon/secrets/Makefile.am b/daemon/secrets/Makefile.am
new file mode 100644
index 0000000..42627b5
--- /dev/null
+++ b/daemon/secrets/Makefile.am
@@ -0,0 +1,2 @@
+
+SUBDIRS = api
diff --git a/daemon/secrets/api/Makefile.am b/daemon/secrets/api/Makefile.am
new file mode 100644
index 0000000..f7eeb24
--- /dev/null
+++ b/daemon/secrets/api/Makefile.am
@@ -0,0 +1,25 @@
+
+NULL =
+
+BUILT_SOURCES = \
+ secrets-built-sources.stamp
+
+# Note: Also copied again in rule below
+INTERFACE_DEFS = \
+ org.freedesktop.Secrets.Collection.xml \
+ org.freedesktop.Secrets.Item.xml \
+ org.freedesktop.Secrets.Service.xml \
+ org.freedesktop.Secrets.Session.xml \
+ $(NULL)
+
+secrets-built-sources.stamp : Makefile.am $(INTERFACE_DEFS)
+ eggdbus-binding-tool \
+ --namespace "Secrets" \
+ --dbus-namespace "org.freedesktop.Secrets" \
+ --introspection-xml org.freedesktop.Secrets.Service.xml \
+ --stamp-file $@ \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(INTERFACE_DEFS)
+
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]