All of lore.kernel.org
 help / color / mirror / Atom feed
* how to add multiple versions?
@ 2011-02-10 19:24 AJ ONeal
  2011-02-10 20:10 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: AJ ONeal @ 2011-02-10 19:24 UTC (permalink / raw)
  To: openembedded-devel

I've got

nodejs-0.2.6.bb
and
nodejs-0.4.0.bb

If I do
  `bitbake nodejs-0.2.6`
it builds 0.4.0 anyway with this message

ERROR: Multiple .bb files are due to be built which each provide nodejs
(/home/coolaj86/overo-oe/org.openembedded.dev/recipes/nodejs/nodejs_0.2.6.bb/home/coolaj86/overo-oe/org.openembedded.dev/recipes/nodejs/
nodejs_0.4.0.bb).
 This usually means one provides something the other doesn't and should

How do I make the file such that it knows one is different from the other?

There's api breakage, so current users may want to continue using the 0.2.x
branch. I don't want to remove that in favor of 0.4.0 quite yet.

AJ ONeal


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to add multiple versions?
  2011-02-10 19:24 how to add multiple versions? AJ ONeal
@ 2011-02-10 20:10 ` Tom Rini
  2011-02-10 20:21   ` Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2011-02-10 20:10 UTC (permalink / raw)
  To: openembedded-devel

On 02/10/2011 12:24 PM, AJ ONeal wrote:
> I've got
>
> nodejs-0.2.6.bb
> and
> nodejs-0.4.0.bb
>
> If I do
>    `bitbake nodejs-0.2.6`
> it builds 0.4.0 anyway with this message
>
> ERROR: Multiple .bb files are due to be built which each provide nodejs
> (/home/coolaj86/overo-oe/org.openembedded.dev/recipes/nodejs/nodejs_0.2.6.bb/home/coolaj86/overo-oe/org.openembedded.dev/recipes/nodejs/
> nodejs_0.4.0.bb).
>   This usually means one provides something the other doesn't and should
>
> How do I make the file such that it knows one is different from the other?
>
> There's api breakage, so current users may want to continue using the 0.2.x
> branch. I don't want to remove that in favor of 0.4.0 quite yet.

There's a few ways to do this.  The first is to just put D_P = -1 on the 
new version and let distros opt to upgrade everything at once.  The 
second is to play virtual games like we do for libusb.  The first option 
is easier to implement than the second and depending on how wide spread 
the usage is might be the best route.

-- 
Tom Rini
Mentor Graphics Corporation



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to add multiple versions?
  2011-02-10 20:10 ` Tom Rini
@ 2011-02-10 20:21   ` Koen Kooi
  0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2011-02-10 20:21 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10-02-11 21:10, Tom Rini wrote:
> On 02/10/2011 12:24 PM, AJ ONeal wrote:
>> I've got
>>
>> nodejs-0.2.6.bb
>> and
>> nodejs-0.4.0.bb
>>
>> If I do
>>    `bitbake nodejs-0.2.6`
>> it builds 0.4.0 anyway with this message
>>
>> ERROR: Multiple .bb files are due to be built which each provide nodejs
>> (/home/coolaj86/overo-oe/org.openembedded.dev/recipes/nodejs/nodejs_0.2.6.bb/home/coolaj86/overo-oe/org.openembedded.dev/recipes/nodejs/
>>
>> nodejs_0.4.0.bb).
>>   This usually means one provides something the other doesn't and should
>>
>> How do I make the file such that it knows one is different from the
>> other?
>>
>> There's api breakage, so current users may want to continue using the
>> 0.2.x
>> branch. I don't want to remove that in favor of 0.4.0 quite yet.
> 
> There's a few ways to do this.  The first is to just put D_P = -1 on the
> new version and let distros opt to upgrade everything at once.  The
> second is to play virtual games like we do for libusb.  The first option
> is easier to implement than the second and depending on how wide spread
> the usage is might be the best route.

Or go the libsoup route and make them parallel installable

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNVEiuMkyGM64RGpERAmU5AJsH+WKJ9pQPaURH9SDCR964XH76VwCgl3cP
uhnNtfANhgsPApUna1H+NqE=
=GIAM
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-10 20:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-10 19:24 how to add multiple versions? AJ ONeal
2011-02-10 20:10 ` Tom Rini
2011-02-10 20:21   ` Koen Kooi

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.