All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy MacLeod <randy.macleod@windriver.com>
To: <openembedded-devel@lists.openembedded.org>,
	Martin Jansa <martin.jansa@gmail.com>
Subject: Re: [meta-oe][V2 patch] rrdtool: allow configuration to disable nls
Date: Sun, 28 May 2017 21:14:11 -0400	[thread overview]
Message-ID: <545cc9b3-26f9-1a41-1f84-fb6d74a8d097@windriver.com> (raw)
In-Reply-To: <2c4c974d-6831-f5c3-bf9a-a9c801192ccb@windriver.com>

On 2017-05-28 09:12 PM, Randy MacLeod wrote:
> 
> Martin,
> 
> You've merged v1:
>     [oe] [meta-oe][PATCH] rrdtool: add gettext-native dependency

err I mean, you've merged v1 to master-next to be clear.
../Randy

> Could you drop that for this fix since it's a somewhat better approach.
> 
> ../Randy
> 
> On 2017-05-17 10:07 PM, Randy MacLeod wrote:
>> When building rrdtool for a 'tiny' distro, that does not have native
>> language support (NLS) in glibc, configure fails with the error:
>>     autoreconf: failed to run autopoint: No such file or directory
>> Autopoint is part of gettext but without NLS support we populate the
>> sysroot with gettext-minimal-native rather then the full set of
>> gettext executables. This version does not install autopoint, nor
>> should it.
>>
>> Tell autoreconf to skip the check for the autopoint script
>> regardless of NLS support and use the USE_NLS varible
>> to conditionally enable NLS support.
>>
>> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
>> ---
>>   meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb 
>> b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
>> index db2df28a0..3ccefb995 100644
>> --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
>> +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
>> @@ -22,7 +22,7 @@ BBCLASSEXTEND = "native"
>>   SYSTEMD_PACKAGES = "rrdcached"
>>   SYSTEMD_SERVICE_rrdcached = "rrdcached.socket rrdcached.service"
>> -EXTRA_AUTORECONF = "-I m4"
>> +EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
>>   PACKAGECONFIG ??= "python perl ${@bb.utils.filter('DISTRO_FEATURES', 
>> 'systemd', d)}"
>> @@ -49,6 +49,7 @@ EXTRA_OECONF = " \
>>       --disable-lua \
>>       --disable-tcl \
>>       --disable-rpath \
>> +    --enable-nls=${USE_NLS} \
>>   "
>>   export STAGING_LIBDIR
>>
> 
> 


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, 
Canada, K2K 2W5


  reply	other threads:[~2017-05-29  1:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18  2:07 [meta-oe][V2 patch] rrdtool: allow configuration to disable nls Randy MacLeod
2017-05-29  1:12 ` Randy MacLeod
2017-05-29  1:14   ` Randy MacLeod [this message]
2017-06-05 11:14     ` Martin Jansa
2017-06-05 14:02       ` Jose Lamego
2017-06-15 23:47 ` [meta-oe][PATCH v2] " Randy MacLeod

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=545cc9b3-26f9-1a41-1f84-fb6d74a8d097@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=martin.jansa@gmail.com \
    --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 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.