All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] ncurses: refactor configure to avoid configuring widec when disabled
Date: Wed, 09 Nov 2011 06:40:59 -0800	[thread overview]
Message-ID: <4EBA90FB.5010706@linux.intel.com> (raw)
In-Reply-To: <4EBA3ACC.3000907@linux.intel.com>

On 11/09/2011 12:33 AM, Saul Wold wrote:
> On 11/08/2011 11:08 AM, Darren Hart wrote:
>> The ENABLE_WIDEC variable can be used to disable ncurses wide character support
>> when your C library doesn't support it. Currently, the do_configure step
>> configures for both narrow and wide characters regardless and only checks
>> ENABLE_WIDEC during compilation. This leads to QA failures with host
>> contamination during configure if the C library doesn't support wide characters.
>>
>> Refactor do_configure with a new ncurses_configure helper function and only
>> configure for wide character support if ENABLE_WIDEC is true.
>>
>> Ensure that configure errors are propogated back through to do_configure.
>>
>> Tested with ENABLE_WIDEC as true and false via an ncurses bbappend on i586,
>> including basic error injection.
>>
>> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
>> ---
>>   meta/recipes-core/ncurses/ncurses.inc |   64 +++++++++++++++++---------------
>>   1 files changed, 34 insertions(+), 30 deletions(-)
>>
>> diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
>> index be7d387..d3a9b1c 100644
>> --- a/meta/recipes-core/ncurses/ncurses.inc
>> +++ b/meta/recipes-core/ncurses/ncurses.inc
>> @@ -26,6 +26,36 @@ ENABLE_WIDEC = "true"
>>   # builds.
>>   BUILD_CPPFLAGS += "-D_GNU_SOURCE"
>>
> No PR Bump!

Right, duh. Thanks for catching. I've pushed to the same location having
added:

-INC_PR = "r1"
+INC_PR = "r2"

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=dvhart/tiny&id=170541c552017ca784f395a9b52aae6b7c9f3592

Thanks,

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



  reply	other threads:[~2011-11-09 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 19:08 [PATCH 0/1] ncurses: refactor configure to avoid configuring widec when disabled Darren Hart
2011-11-08 19:08 ` [PATCH 1/1] " Darren Hart
2011-11-09  8:33   ` Saul Wold
2011-11-09 14:40     ` Darren Hart [this message]
2011-11-10 17:25 ` [PATCH 0/1] " Saul Wold

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=4EBA90FB.5010706@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.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.