summaryrefslogtreecommitdiffstats
path: root/meta/packages/dbus
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-12 10:24:55 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-12 10:24:55 +0000
commit669aeb73eb48b7b224b91e5108d8d736d9489cba (patch)
tree8314b92075ec8df3e412ddace79fbcc717a292e6 /meta/packages/dbus
parent1daca591dd32df7e810fe279c75296cac437dfa8 (diff)
downloadpoky-669aeb73eb48b7b224b91e5108d8d736d9489cba.tar.gz
dbus-glib: Use the binding tool from PATH
Diffstat (limited to 'meta/packages/dbus')
-rw-r--r--meta/packages/dbus/dbus-glib-0.76/native-binding-tool.patch19
-rw-r--r--meta/packages/dbus/dbus-glib-native_0.76.bb2
-rw-r--r--meta/packages/dbus/dbus-glib_0.76.bb5
3 files changed, 23 insertions, 3 deletions
diff --git a/meta/packages/dbus/dbus-glib-0.76/native-binding-tool.patch b/meta/packages/dbus/dbus-glib-0.76/native-binding-tool.patch
new file mode 100644
index 0000000000..1bdac5a390
--- /dev/null
+++ b/meta/packages/dbus/dbus-glib-0.76/native-binding-tool.patch
@@ -0,0 +1,19 @@
1Use the dbus-binding-tool from PATH, not the generated one.
2
3RP - 12/1/09
4
5Index: dbus-glib-0.76/tools/Makefile.am
6===================================================================
7--- dbus-glib-0.76.orig/tools/Makefile.am 2009-01-12 10:11:02.000000000 +0000
8+++ dbus-glib-0.76/tools/Makefile.am 2009-01-12 10:12:01.000000000 +0000
9@@ -3,8 +3,8 @@
10 nodist_libdbus_glib_HEADERS = dbus-glib-bindings.h
11 libdbus_glibdir = $(includedir)/dbus-1.0/dbus
12
13-dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
14- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
15+dbus-glib-bindings.h: dbus-bus-introspect.xml
16+ dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
17
18 BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml
19
diff --git a/meta/packages/dbus/dbus-glib-native_0.76.bb b/meta/packages/dbus/dbus-glib-native_0.76.bb
index f3bd5ab13d..fe69b2dfc1 100644
--- a/meta/packages/dbus/dbus-glib-native_0.76.bb
+++ b/meta/packages/dbus/dbus-glib-native_0.76.bb
@@ -3,7 +3,7 @@ inherit native
3 3
4DEPENDS = "glib-2.0-native dbus-native" 4DEPENDS = "glib-2.0-native dbus-native"
5 5
6PR = "r2" 6PR = "r3"
7 7
8SRC_URI += "file://run-with-tmp-session-bus.patch;patch=1" 8SRC_URI += "file://run-with-tmp-session-bus.patch;patch=1"
9 9
diff --git a/meta/packages/dbus/dbus-glib_0.76.bb b/meta/packages/dbus/dbus-glib_0.76.bb
index 1164e5660b..22b882e2f7 100644
--- a/meta/packages/dbus/dbus-glib_0.76.bb
+++ b/meta/packages/dbus/dbus-glib_0.76.bb
@@ -1,8 +1,9 @@
1require dbus-glib.inc 1require dbus-glib.inc
2 2
3PR = "r3" 3PR = "r4"
4 4
5do_configure_prepend() { 5do_configure_prepend() {
6 install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/ 6 cp -p ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/
7} 7}
8 8
9SRC_URI += "file://native-binding-tool.patch;patch=1"