From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dan.rpsys.net ([93.97.175.187]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1U6zDq-0005fu-UP for openembedded-core@lists.openembedded.org; Sun, 17 Feb 2013 09:03:43 +0100 Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r1H7rsLl032691; Sun, 17 Feb 2013 07:53:54 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ig4SgYy3j2ER; Sun, 17 Feb 2013 07:53:54 +0000 (GMT) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r1H7rnZ6032687 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Sun, 17 Feb 2013 07:53:52 GMT Message-ID: <1361087244.31795.105.camel@ted> From: Richard Purdie To: Otavio Salvador Date: Sun, 17 Feb 2013 07:47:24 +0000 In-Reply-To: <1361049644-27904-2-git-send-email-otavio@ossystems.com.br> References: <1361049644-27904-1-git-send-email-otavio@ossystems.com.br> <1361049644-27904-2-git-send-email-otavio@ossystems.com.br> X-Mailer: Evolution 3.6.3-1 Mime-Version: 1.0 Cc: OpenEmbedded Core Mailing List Subject: Re: [PATCH 2/4] dbus: Drop libx11 dependency when building without 'x11' distro feature X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 08:03:43 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Sat, 2013-02-16 at 19:20 -0200, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > --- > meta/recipes-core/dbus/dbus.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc > index 292ab29..cebab28 100644 > --- a/meta/recipes-core/dbus/dbus.inc > +++ b/meta/recipes-core/dbus/dbus.inc > @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ > X11DEPENDS = "virtual/libx11 libsm" > DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" > DEPENDS_class-native = "expat-native virtual/libintl-native" > -DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/libx11" > +DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" > RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" > RDEPENDS_class-native = "" This tends to be a really bad idea for dbus-nativesdk. If you install an SDK compiled with these options into PATH only a system which does have x11, it will break functionality in a way unacceptable to users. I'm not sure we should ever ship dbus-launch with the SDK so perhaps we should just delete it like we now do for the -native version, then we could drop the x11 requirement in all cases. Cheers, Richard