From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: Phil Blundell <philb@gnu.org>
Subject: Re: [PATCH] cairo: only use x11 if selected in DISTRO_FEATURES
Date: Mon, 15 Aug 2011 10:07:18 -0700 [thread overview]
Message-ID: <4E495246.3050106@linux.intel.com> (raw)
In-Reply-To: <1313164713.6733.164.camel@phil-desktop>
On 08/12/2011 08:58 AM, Phil Blundell wrote:
> This makes it possible to build cairo-using apps without X11.
>
> Signed-off-by: Phil Blundell<philb@gnu.org>
> ---
> meta/recipes-graphics/cairo/cairo.inc | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
> index 72aaa03..c983a89 100644
> --- a/meta/recipes-graphics/cairo/cairo.inc
> +++ b/meta/recipes-graphics/cairo/cairo.inc
> @@ -10,10 +10,11 @@ HOMEPAGE = "http://cairographics.org"
> BUGTRACKER = "http://bugs.freedesktop.org"
> SECTION = "libs"
> LICENSE = "MPL-1& LGPLv2.1"
> -DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender pixman glib-2.0"
> +X11DEPENDS = "virtual/libx11 libsm libxrender"
> +DEPENDS = "libpng fontconfig pixman glib-2.0 ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
>
> #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
> require cairo-fpu.inc
> -EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}"
> +EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)} ${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}"
>
> inherit autotools pkgconfig
Merged into OE Core
Thanks
Sau!
prev parent reply other threads:[~2011-08-15 17:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 15:58 [PATCH] cairo: only use x11 if selected in DISTRO_FEATURES Phil Blundell
2011-08-15 17:07 ` Saul Wold [this message]
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=4E495246.3050106@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=philb@gnu.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