Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] libpciaccess: lpci access does not depend on X
@ 2012-07-27 11:58 Ross Burton
  2012-07-29  9:21 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2012-07-27 11:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: Damien Lespiau

From: Damien Lespiau <damien.lespiau@intel.com>

So let's remove the X dependencies from DEPENDS and white list it in
xorg-lib-common.inc.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb |    4 +---
 meta/recipes-graphics/xorg-lib/xorg-lib-common.inc    |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb b/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb
index 178e220..0ec6814 100644
--- a/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb
@@ -8,9 +8,7 @@ require xorg-lib-common.inc
 LICENSE = "MIT & MIT-style"
 LIC_FILES_CHKSUM = "file://COPYING;md5=de01cb89a769dc657d4c321c209ce4fc"
 
-PR = "r0"
-
-DEPENDS += "xproto virtual/libx11"
+PR = "r1"
 
 SRC_URI[md5sum] = "399a419ac6a54f0fc07c69c9bdf452dc"
 SRC_URI[sha256sum] = "27ab68f645691a4ca258dcc9d131040586e134f9233ce079794496f6264da084"
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 73a4d1d..55eaf49 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -16,7 +16,7 @@ inherit autotools pkgconfig
 EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto"
 
 python () {
-        whitelist = [ "pixman" ]
+        whitelist = [ "pixman", "libpciaccess" ]
         if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
                 raise bb.parse.SkipPackage("'x11' not in DISTRO_FEATURES")
 }
-- 
1.7.10




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

end of thread, other threads:[~2012-07-29  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27 11:58 [PATCH] libpciaccess: lpci access does not depend on X Ross Burton
2012-07-29  9:21 ` Richard Purdie

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