diff options
-rw-r--r-- | meta/packages/dbus/dbus-glib-0.76/native-binding-tool.patch | 19 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-glib-native_0.76.bb | 2 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-glib_0.76.bb | 5 |
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 @@ | |||
1 | Use the dbus-binding-tool from PATH, not the generated one. | ||
2 | |||
3 | RP - 12/1/09 | ||
4 | |||
5 | Index: 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 | ||
4 | DEPENDS = "glib-2.0-native dbus-native" | 4 | DEPENDS = "glib-2.0-native dbus-native" |
5 | 5 | ||
6 | PR = "r2" | 6 | PR = "r3" |
7 | 7 | ||
8 | SRC_URI += "file://run-with-tmp-session-bus.patch;patch=1" | 8 | SRC_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 @@ | |||
1 | require dbus-glib.inc | 1 | require dbus-glib.inc |
2 | 2 | ||
3 | PR = "r3" | 3 | PR = "r4" |
4 | 4 | ||
5 | do_configure_prepend() { | 5 | do_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 | ||
9 | SRC_URI += "file://native-binding-tool.patch;patch=1" | ||