mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
dbus-glib: Use the binding tool from PATH
This commit is contained in:
19
meta/packages/dbus/dbus-glib-0.76/native-binding-tool.patch
vendored
Normal file
19
meta/packages/dbus/dbus-glib-0.76/native-binding-tool.patch
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Use the dbus-binding-tool from PATH, not the generated one.
|
||||
|
||||
RP - 12/1/09
|
||||
|
||||
Index: dbus-glib-0.76/tools/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.76.orig/tools/Makefile.am 2009-01-12 10:11:02.000000000 +0000
|
||||
+++ dbus-glib-0.76/tools/Makefile.am 2009-01-12 10:12:01.000000000 +0000
|
||||
@@ -3,8 +3,8 @@
|
||||
nodist_libdbus_glib_HEADERS = dbus-glib-bindings.h
|
||||
libdbus_glibdir = $(includedir)/dbus-1.0/dbus
|
||||
|
||||
-dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
+dbus-glib-bindings.h: dbus-bus-introspect.xml
|
||||
+ dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
@@ -3,7 +3,7 @@ inherit native
|
||||
|
||||
DEPENDS = "glib-2.0-native dbus-native"
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI += "file://run-with-tmp-session-bus.patch;patch=1"
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
require dbus-glib.inc
|
||||
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
do_configure_prepend() {
|
||||
install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/
|
||||
cp -p ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/
|
||||
}
|
||||
|
||||
SRC_URI += "file://native-binding-tool.patch;patch=1"
|
||||
|
||||
Reference in New Issue
Block a user