Poky Project Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: Problems adding native support packages
Date: Sun, 13 Mar 2011 16:26:55 -0600	[thread overview]
Message-ID: <4D7D44AF.2030706@mlbassoc.com> (raw)
In-Reply-To: <1299882310.1445.3004.camel@rex>

On 03/11/2011 03:25 PM, Richard Purdie wrote:
> On Fri, 2011-03-11 at 13:52 +0800, Tian, Kevin wrote:
>> From: Xu, Dongxiao:
>>> Tian, Kevin wrote:
>>>>>
>>>>> atk's SRC_URI is assigned like:
>>>>>
>>>>> SRC_URI =
>>>>> "http://download.gnome.org/sources/atk/1.32/${PN}-${PV}.tar.bz2"
>>>>>
>>>>> After introducing native to atk, PN is changed to atk-native, thus
>>>>> no resouce is found in the repo.
>>>>>
>>>>> I will make a fix to that. But for your quick workaournd, you can
>>>>> change the atk's SRC_URI to:
>>>>>
>>>>> SRC_URI =
>>>>> "http://download.gnome.org/sources/atk/1.32/atk-${PV}.tar.bz2"
>>>>>
>>>>
>>>> use ${BPN}-${PV} instead.
>>>
>>> Yes. This is the right approach.
>>>
>>> I checked in current poky meta recipes, there are about 67 recipes which
>>> directly uses ${PN} in the SRC_URI line.
>>>
>>> Do we need to change all of them to ${BPN}?
>>>
>>
>> I think it's a cleaner way to use BPN, or even simple BP. This would avoid an error
>> alarm when extending some recipes to native. :-)
>
> This is exactly the use case for the BPN variable so yes, making
> standardised use of that would be good.

I filed this as bug #860 so the problem is not forgotten.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2011-03-13 22:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-11  3:28 Problems adding native support packages Gary Thomas
2011-03-11  4:57 ` Tian, Kevin
2011-03-11  5:09   ` Xu, Dongxiao
2011-03-11  5:15     ` Tian, Kevin
2011-03-11  5:18       ` Xu, Dongxiao
2011-03-11  5:52         ` Tian, Kevin
2011-03-11 22:25           ` Richard Purdie
2011-03-13 22:26             ` Gary Thomas [this message]
2011-03-11 11:29         ` Gary Thomas
2011-03-11  8:21     ` Khem Raj
2011-03-11 11:19   ` Gary Thomas
2011-03-11 12:13     ` Gary Thomas
2011-03-11 16:23       ` Joshua Lock
2011-03-12  0:09       ` Tian, Kevin

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=4D7D44AF.2030706@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@lists.pokylinux.org \
    --cc=richard.purdie@linuxfoundation.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