Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] dbus-glib: Conditionaly adds dbus-x11 to RDEPENDS_${PN}-tests
@ 2012-07-27 13:10 Ahsan, Noor
  2012-07-27 14:44 ` Chris Larson
  0 siblings, 1 reply; 3+ messages in thread
From: Ahsan, Noor @ 2012-07-27 13:10 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org; +Cc: Ahsan, Noor

[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

From: Noor Ahsan <noor_ahsan@mentor.com<mailto:noor_ahsan@mentor.com>>

*  Build was hitting an error "Nothing RPROVIDES 'dbus-x11'". dbus-glib RDEPENDS on it and
dbus was providing dbus-x11 when x11 was present in DISTRO FEATURES. So conditionally
added dbus-x11 to RDEPENDS_${PN}-tests in dbus-glib recipe.
* Verified on qemuppc.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
---
meta/recipes-core/dbus/dbus-glib.inc |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/dbus/dbus-glib.inc b/meta/recipes-core/dbus/dbus-glib.inc
index a8e6d42..9cfe796 100644
--- a/meta/recipes-core/dbus/dbus-glib.inc
+++ b/meta/recipes-core/dbus/dbus-glib.inc
@@ -35,7 +35,7 @@ FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d/dbus-bash-complet
FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
-RDEPENDS_${PN}-tests += "dbus-x11"
+RDEPENDS_${PN}-tests += "${@base_contains('DISTRO_FEATURES', 'x11', 'dbus-x11', '', d)}"
FILES_${PN}-tests = "${datadir}/${PN}/tests"
FILES_${PN}-tests-dbg = "${datadir}/${PN}/tests/.debug/* \
                          ${datadir}/${PN}/tests/core/.debug/* \
--
1.7.10.4

[-- Attachment #2: Type: text/html, Size: 4053 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-27 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27 13:10 [PATCH] dbus-glib: Conditionaly adds dbus-x11 to RDEPENDS_${PN}-tests Ahsan, Noor
2012-07-27 14:44 ` Chris Larson
2012-07-27 16:20   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox