From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Saul Wold <sgw@linux.intel.com>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 1/1] poky-lsb: Change provider of virtual/libx11 to libx11-trim
Date: Wed, 06 Jul 2011 00:32:36 +0100 [thread overview]
Message-ID: <1309908756.20015.755.camel@rex> (raw)
In-Reply-To: <4E139CE5.4070102@linux.intel.com>
On Tue, 2011-07-05 at 16:23 -0700, Saul Wold wrote:
> On 07/05/2011 08:13 AM, Richard Purdie wrote:
> > On Fri, 2011-07-01 at 17:36 +0800, Xiaofeng Yan wrote:
> >> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
> >>
> >> BUG 1196 reports compilation error like the following information from package startup-notification when the provider of virtual/libx11 was libx11
> >> | configure: error: Cannot find x11-xcb
> >> | ERROR: oe_runconf failed
> >> | ERROR: Function 'do_configure' failed (see
> >>
> >> Fix [BUGID #1196]
> >> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com>
> >> ---
> >> meta-yocto/conf/distro/poky-lsb.conf | 2 +-
> >> 1 files changed, 1 insertions(+), 1 deletions(-)
> >>
> >> diff --git a/meta-yocto/conf/distro/poky-lsb.conf b/meta-yocto/conf/distro/poky-lsb.conf
> >> index 49d12da..5385012 100644
> >> --- a/meta-yocto/conf/distro/poky-lsb.conf
> >> +++ b/meta-yocto/conf/distro/poky-lsb.conf
> >> @@ -4,6 +4,6 @@ DISTRO = "poky-lsb"
> >> DISTROOVERRIDES = "poky:linuxstdbase"
> >>
> >> DISTRO_FEATURES_append = " pam largefile"
> >> -PREFERRED_PROVIDER_virtual/libx11 = "libx11"
> >> +PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim"
> >>
> >
> > This looks like a backwards step. Why is libx11 not pulling in xcb as I
> > suspect it should be...
>
> The x11-xcb, seems to be part of libx11-trim, so possibly creating a new
> recipe that that peels x11-xcb from libx11-trim is possibly another
> approach. The xcb packages don't seem to provide x11-xcb directly.
Er, ok...
libx11, libx11-trim and libx11-diet are three different variants of the
same libx11 recipe that vary in the options they enable/disable.
Reading the comments for -trim it says "Support for XCB disabled in this
version" and then goes on to enable it. Basically anything in trim
should also be in libx11 so we should probably enable XCB there too.
IIRC, someone told me XCB was mandatory now so I'm a little surprised
the libx11 recipe works at all tbh.
I also gather -diet might be broken to the point of being unusable
now :/. This whole area needs a rethink in the light of DISTRO_FEATURES
really.
Short term, the correct patch is likely one to enable XCB for libx11...
Cheers,
Richard
prev parent reply other threads:[~2011-07-05 23:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-01 9:36 [PATCH 0/1] poky-lsb: Change provider of virtual/libx11 to libx11-trim Xiaofeng Yan
2011-07-01 9:36 ` [PATCH 1/1] " Xiaofeng Yan
2011-07-05 15:13 ` Richard Purdie
2011-07-05 23:23 ` Saul Wold
2011-07-05 23:32 ` Richard Purdie [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=1309908756.20015.755.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=poky@yoctoproject.org \
--cc=sgw@linux.intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.