* [PATCH] dbus: avoid dependency on x11 for -native build
@ 2011-06-02 9:15 Phil Blundell
2011-06-02 13:53 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2011-06-02 9:15 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
The native variant already configures --without-x so the X11 libs are
redundant. Adjust the DEPENDS to match.
Signed-off-by: Phil Blundell <philb@gnu.org>
---
meta/recipes-core/dbus/dbus.inc | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index fb2f6d4..5f9a8a3 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -5,8 +5,11 @@ SECTION = "base"
LICENSE = "AFL-2 | GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
file://dbus/dbus.h;firstline=6;endline=20;md5=6eea2e0c7750dd8e620dcb1437312fa5"
-DEPENDS = "expat virtual/libintl virtual/libx11 libsm"
-DEPENDS_virtclass-nativesdk = "expat virtual/libintl virtual/libx11"
+x11deps = "virtual/libx11 libsm"
+basedeps = "expat virtual/libintl"
+DEPENDS = "${basedeps} ${x11deps}"
+DEPENDS_virtclass-native = "${basedeps}"
+DEPENDS_virtclass-nativesdk = "${basedeps} virtual/libx11"
SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
file://tmpdir.patch; \
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dbus: avoid dependency on x11 for -native build
2011-06-02 9:15 [PATCH] dbus: avoid dependency on x11 for -native build Phil Blundell
@ 2011-06-02 13:53 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-06-02 13:53 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2011-06-02 at 10:15 +0100, Phil Blundell wrote:
> The native variant already configures --without-x so the X11 libs are
> redundant. Adjust the DEPENDS to match.
>
> Signed-off-by: Phil Blundell <philb@gnu.org>
> ---
> meta/recipes-core/dbus/dbus.inc | 7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
> index fb2f6d4..5f9a8a3 100644
> --- a/meta/recipes-core/dbus/dbus.inc
> +++ b/meta/recipes-core/dbus/dbus.inc
> @@ -5,8 +5,11 @@ SECTION = "base"
> LICENSE = "AFL-2 | GPLv2+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
> file://dbus/dbus.h;firstline=6;endline=20;md5=6eea2e0c7750dd8e620dcb1437312fa5"
> -DEPENDS = "expat virtual/libintl virtual/libx11 libsm"
> -DEPENDS_virtclass-nativesdk = "expat virtual/libintl virtual/libx11"
> +x11deps = "virtual/libx11 libsm"
> +basedeps = "expat virtual/libintl"
> +DEPENDS = "${basedeps} ${x11deps}"
> +DEPENDS_virtclass-native = "${basedeps}"
> +DEPENDS_virtclass-nativesdk = "${basedeps} virtual/libx11"
>
> SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
> file://tmpdir.patch; \
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-02 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-02 9:15 [PATCH] dbus: avoid dependency on x11 for -native build Phil Blundell
2011-06-02 13:53 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox