Patchwork [1/1] dbus-glib-native and dbus-glib were not compiling. This patch corrects dbus-glib-native to install required files in order to let dbus-glib to compile on target.

login
register
mail settings
Submitter Alessandro Sappia
Date July 6, 2011, 11:12 a.m.
Message ID <d0771ab59e5a19cd41045ecaf5f390926a78e229.1309949770.git.a.sappia@biotechware.com>
Download mbox | patch
Permalink /patch/7085/
State New, archived
Headers show

Comments

Alessandro Sappia - July 6, 2011, 11:12 a.m.
Signed-off-by: Alessandro Sappia <a.sappia@biotechware.com>
---
 recipes/dbus/dbus-glib.inc     |    4 ++--
 recipes/dbus/dbus-glib_0.86.bb |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Paul Menzel - July 6, 2011, 11:32 a.m.
Dear Alessandro,


Am Mittwoch, den 06.07.2011, 13:12 +0200 schrieb Alessandro Sappia:

unfortunately you seem to have forgotten to insert line breaks when
composing the commit message. Please correct that for example using `git
commit --amend`.

Please also follow OE’s commit policy [1] and resend your patch as v2
[2].

> Signed-off-by: Alessandro Sappia <a.sappia@biotechware.com>
> ---
>  recipes/dbus/dbus-glib.inc     |    4 ++--
>  recipes/dbus/dbus-glib_0.86.bb |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)


Thanks,

Paul


[1] http://openembedded.org/index.php/Commit_Policy
[2] http://openembedded.org/index.php/How_to_submit_a_patch_to_OpenEmbedded

Patch

diff --git a/recipes/dbus/dbus-glib.inc b/recipes/dbus/dbus-glib.inc
index c1c1813..d3db9f0 100644
--- a/recipes/dbus/dbus-glib.inc
+++ b/recipes/dbus/dbus-glib.inc
@@ -21,10 +21,10 @@  inherit autotools pkgconfig gettext
 
 BBCLASSEXTEND = "native"
 
-do_configure_prepend() {
+do_configure() {
         install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml ${S}/tools/
         install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/
-
+        autotools_do_configure
 }
 
 do_configure_virtclass-native() {
diff --git a/recipes/dbus/dbus-glib_0.86.bb b/recipes/dbus/dbus-glib_0.86.bb
index ce87d5d..1cef831 100644
--- a/recipes/dbus/dbus-glib_0.86.bb
+++ b/recipes/dbus/dbus-glib_0.86.bb
@@ -1,10 +1,10 @@ 
 require dbus-glib.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI_virtclass-native += "file://run-with-tmp-session-bus.patch"
 
-do_install_virtclass-native_prepend() {
+do_install_append_virtclass-native() {
         install -d ${D}${datadir}/dbus
         install -m 0644 dbus-bus-introspect.xml ${D}${datadir}/dbus
 }