Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/1] libx11: skip self if x11 not in DISTRO_FEATURES
Date: Tue, 16 Aug 2011 10:03:54 +0200	[thread overview]
Message-ID: <j2d89a$5qf$1@dough.gmane.org> (raw)
In-Reply-To: <2acdd12f7e62c4cb1f392cc2f5ed21d48f71c481.1313478102.git.anders@chargestorm.se>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 16-08-11 09:12, Anders Darander schreef:
> This stops (most) x11 packages leaking into a non-x11 distro by mistake.

Thanks, applied

> 
> Signed-off-by: Phil Blundell <philb@gnu.org>
> 
> The patch was imported from the oe-core git server (git://git.openembedded.org/openembedded-core) as of commit id 2f94ff4fdb66755ba2448794baea19315ff96273.
> 
> Signed-off-by: Anders Darander <anders@chargestorm.se> --- meta-oe/recipes-graphics/xorg-lib/libx11.inc |    5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-oe/recipes-graphics/xorg-lib/libx11.inc b/meta-oe/recipes-graphics/xorg-lib/libx11.inc index 2aa9700..9f7e990 100644 --- a/meta-oe/recipes-graphics/xorg-lib/libx11.inc +++ b/meta-oe/recipes-graphics/xorg-lib/libx11.inc @@ -45,3 +45,8 @@ do_compile_prepend() { cd ../../ ) || exit
> 1 } + +python () { +       if not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d): +       	  raise bb.parse.SkipPackage("X11 not enabled for this DISTRO") +}

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOSiRqMkyGM64RGpERAnL8AJ0TOx00BOuGrgc8tOTyG7DRC6iKQQCgkemv
jur8/elTsckY0AojZuWEvWc=
=lrZE
-----END PGP SIGNATURE-----




  reply	other threads:[~2011-08-16  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16  7:12 [PATCH 0/1] Import ability for libx11 to skip itself Anders Darander
2011-08-16  7:12 ` [PATCH 1/1] libx11: skip self if x11 not in DISTRO_FEATURES Anders Darander
2011-08-16  8:03   ` Koen Kooi [this message]
2011-08-16  7:27 ` [PATCH 0/1] Import ability for libx11 to skip itself Anders Darander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='j2d89a$5qf$1@dough.gmane.org' \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox