All of lore.kernel.org
 help / color / mirror / Atom feed
* Add lua to oe-core.
@ 2013-07-25 19:57 Randy MacLeod
  2013-07-25 20:27 ` Martin Jansa
  2013-08-07 12:23   ` Petr Štetiar
  0 siblings, 2 replies; 13+ messages in thread
From: Randy MacLeod @ 2013-07-25 19:57 UTC (permalink / raw)
  To: openembedded-core, openembedded-devel, koen, Martin Jansa


I've found that many projects use the lua scripting language.
I'd like to move it from meta-oe to oe-core:

 
http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb?h=master

http://www.lua.org/about.html

lua-5.2.2 is current, see: http://www.lua.org/download.html
so we'd likely uprev and send that version.

rpm and lighttpd could (would?) optionally depend on lua.

oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
              --without-lua \

Any comments pro or con before we do the uprev, testing and send
a commit?
-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350


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

* Re: Add lua to oe-core.
  2013-07-25 19:57 Add lua to oe-core Randy MacLeod
@ 2013-07-25 20:27 ` Martin Jansa
  2013-07-26 14:11     ` [OE-core] " Paul Eggleton
  2013-08-07 12:23   ` Petr Štetiar
  1 sibling, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2013-07-25 20:27 UTC (permalink / raw)
  To: Randy MacLeod; +Cc: koen, openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

On Thu, Jul 25, 2013 at 03:57:58PM -0400, Randy MacLeod wrote:
> 
> I've found that many projects use the lua scripting language.
> I'd like to move it from meta-oe to oe-core:
> 
>  
> http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recipes-devtools/lua/lua5.1_5.1.5.bb?h=master
> 
> http://www.lua.org/about.html
> 
> lua-5.2.2 is current, see: http://www.lua.org/download.html
> so we'd likely uprev and send that version.
> 
> rpm and lighttpd could (would?) optionally depend on lua.
> 
> oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
>               --without-lua \
> 
> Any comments pro or con before we do the uprev, testing and send
> a commit?

2 recipes which would optionally depend on it doesn't make it good
"core" component IMHO.

But uprev, few PACKAGECONFIGs and more testing would be nice.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: Add lua to oe-core.
  2013-07-25 20:27 ` Martin Jansa
@ 2013-07-26 14:11     ` Paul Eggleton
  0 siblings, 0 replies; 13+ messages in thread
From: Paul Eggleton @ 2013-07-26 14:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: koen, openembedded-devel

On Thursday 25 July 2013 22:27:43 Martin Jansa wrote:
> On Thu, Jul 25, 2013 at 03:57:58PM -0400, Randy MacLeod wrote:
> > I've found that many projects use the lua scripting language.
> > I'd like to move it from meta-oe to oe-core:
> > 
> > http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recip
> > es-devtools/lua/lua5.1_5.1.5.bb?h=master
> > 
> > http://www.lua.org/about.html
> > 
> > lua-5.2.2 is current, see: http://www.lua.org/download.html
> > so we'd likely uprev and send that version.
> > 
> > rpm and lighttpd could (would?) optionally depend on lua.
> > 
> > oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
> > 
> > meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
> >               --without-lua \
> > 
> > Any comments pro or con before we do the uprev, testing and send
> > a commit?
> 
> 2 recipes which would optionally depend on it doesn't make it good
> "core" component IMHO.
> 
> But uprev, few PACKAGECONFIGs and more testing would be nice.

I concur with Martin, if we're only talking about optional dependencies this 
should just be a case of adding the PACKAGECONFIG options to the recipes in 
OE-Core (or whereever they happen to be), with lua remaining in meta-oe.

However I am aware that lua may be a hard dependency for upcoming versions of 
stuff we do have in OE-Core (I can't recall which). We'll have to cross that 
bridge when we come to it.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [OE-core] Add lua to oe-core.
@ 2013-07-26 14:11     ` Paul Eggleton
  0 siblings, 0 replies; 13+ messages in thread
From: Paul Eggleton @ 2013-07-26 14:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: koen, openembedded-devel

On Thursday 25 July 2013 22:27:43 Martin Jansa wrote:
> On Thu, Jul 25, 2013 at 03:57:58PM -0400, Randy MacLeod wrote:
> > I've found that many projects use the lua scripting language.
> > I'd like to move it from meta-oe to oe-core:
> > 
> > http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recip
> > es-devtools/lua/lua5.1_5.1.5.bb?h=master
> > 
> > http://www.lua.org/about.html
> > 
> > lua-5.2.2 is current, see: http://www.lua.org/download.html
> > so we'd likely uprev and send that version.
> > 
> > rpm and lighttpd could (would?) optionally depend on lua.
> > 
> > oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
> > 
> > meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
> >               --without-lua \
> > 
> > Any comments pro or con before we do the uprev, testing and send
> > a commit?
> 
> 2 recipes which would optionally depend on it doesn't make it good
> "core" component IMHO.
> 
> But uprev, few PACKAGECONFIGs and more testing would be nice.

I concur with Martin, if we're only talking about optional dependencies this 
should just be a case of adding the PACKAGECONFIG options to the recipes in 
OE-Core (or whereever they happen to be), with lua remaining in meta-oe.

However I am aware that lua may be a hard dependency for upcoming versions of 
stuff we do have in OE-Core (I can't recall which). We'll have to cross that 
bridge when we come to it.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: Add lua to oe-core.
  2013-07-26 14:11     ` [OE-core] " Paul Eggleton
@ 2013-07-26 16:08       ` Randy MacLeod
  -1 siblings, 0 replies; 13+ messages in thread
From: Randy MacLeod @ 2013-07-26 16:08 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: koen, openembedded-devel, openembedded-core

On 13-07-26 10:11 AM, Paul Eggleton wrote:
> On Thursday 25 July 2013 22:27:43 Martin Jansa wrote:
>> On Thu, Jul 25, 2013 at 03:57:58PM -0400, Randy MacLeod wrote:
>>> I've found that many projects use the lua scripting language.
>>> I'd like to move it from meta-oe to oe-core:
>>>
>>> http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recip
>>> es-devtools/lua/lua5.1_5.1.5.bb?h=master
>>>
>>> http://www.lua.org/about.html
>>>
>>> lua-5.2.2 is current, see: http://www.lua.org/download.html
>>> so we'd likely uprev and send that version.
>>>
>>> rpm and lighttpd could (would?) optionally depend on lua.
>>>
>>> oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
>>>
>>> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
>>>                --without-lua \
>>>
>>> Any comments pro or con before we do the uprev, testing and send
>>> a commit?
>>
>> 2 recipes which would optionally depend on it doesn't make it good
>> "core" component IMHO.
>>
>> But uprev, few PACKAGECONFIGs and more testing would be nice.
>
> I concur with Martin, if we're only talking about optional dependencies this
> should just be a case of adding the PACKAGECONFIG options to the recipes in
> OE-Core (or whereever they happen to be), with lua remaining in meta-oe.

I understand your reluctance to add bloat to oe-core but from a
users point of view a base distro should have a reasonable
collection of tools. I'll add lua to our internal layer since
we don't support all of meta-oe. We'll uprev and send meta-oe the
new recipe.

> However I am aware that lua may be a hard dependency for upcoming versions of
> stuff we do have in OE-Core (I can't recall which). We'll have to cross that
> bridge when we come to it.

Ok. Thanks for the feedback.

// Randy
>
> Cheers,
> Paul
>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350


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

* Re: [OE-core] Add lua to oe-core.
@ 2013-07-26 16:08       ` Randy MacLeod
  0 siblings, 0 replies; 13+ messages in thread
From: Randy MacLeod @ 2013-07-26 16:08 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: koen, openembedded-devel, openembedded-core

On 13-07-26 10:11 AM, Paul Eggleton wrote:
> On Thursday 25 July 2013 22:27:43 Martin Jansa wrote:
>> On Thu, Jul 25, 2013 at 03:57:58PM -0400, Randy MacLeod wrote:
>>> I've found that many projects use the lua scripting language.
>>> I'd like to move it from meta-oe to oe-core:
>>>
>>> http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recip
>>> es-devtools/lua/lua5.1_5.1.5.bb?h=master
>>>
>>> http://www.lua.org/about.html
>>>
>>> lua-5.2.2 is current, see: http://www.lua.org/download.html
>>> so we'd likely uprev and send that version.
>>>
>>> rpm and lighttpd could (would?) optionally depend on lua.
>>>
>>> oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
>>>
>>> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
>>>                --without-lua \
>>>
>>> Any comments pro or con before we do the uprev, testing and send
>>> a commit?
>>
>> 2 recipes which would optionally depend on it doesn't make it good
>> "core" component IMHO.
>>
>> But uprev, few PACKAGECONFIGs and more testing would be nice.
>
> I concur with Martin, if we're only talking about optional dependencies this
> should just be a case of adding the PACKAGECONFIG options to the recipes in
> OE-Core (or whereever they happen to be), with lua remaining in meta-oe.

I understand your reluctance to add bloat to oe-core but from a
users point of view a base distro should have a reasonable
collection of tools. I'll add lua to our internal layer since
we don't support all of meta-oe. We'll uprev and send meta-oe the
new recipe.

> However I am aware that lua may be a hard dependency for upcoming versions of
> stuff we do have in OE-Core (I can't recall which). We'll have to cross that
> bridge when we come to it.

Ok. Thanks for the feedback.

// Randy
>
> Cheers,
> Paul
>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350


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

* Re: [oe] Add lua to oe-core.
  2013-07-25 19:57 Add lua to oe-core Randy MacLeod
@ 2013-08-07 12:23   ` Petr Štetiar
  2013-08-07 12:23   ` Petr Štetiar
  1 sibling, 0 replies; 13+ messages in thread
From: Petr Štetiar @ 2013-08-07 12:23 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen, openembedded-core

Randy MacLeod <randy.macleod@windriver.com> [2013-07-25 15:57:58]:

> lua-5.2.2 is current, see: http://www.lua.org/download.html
> so we'd likely uprev and send that version.

Just FYI Lua 5.2 has quite a lot of changes to Lua 5.1[1].  So I wouldn't
consider it as an drop-in replacement for Lua 5.1. Simply said it's not
compatible out of the box.

> oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
>              --without-lua \

For example lighttpd uses Lua 5.1.

1. http://www.corsix.org/content/look-lua-52-work3

-- ynezz


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

* Re: Add lua to oe-core.
@ 2013-08-07 12:23   ` Petr Štetiar
  0 siblings, 0 replies; 13+ messages in thread
From: Petr Štetiar @ 2013-08-07 12:23 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen, openembedded-core

Randy MacLeod <randy.macleod@windriver.com> [2013-07-25 15:57:58]:

> lua-5.2.2 is current, see: http://www.lua.org/download.html
> so we'd likely uprev and send that version.

Just FYI Lua 5.2 has quite a lot of changes to Lua 5.1[1].  So I wouldn't
consider it as an drop-in replacement for Lua 5.1. Simply said it's not
compatible out of the box.

> oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
>              --without-lua \

For example lighttpd uses Lua 5.1.

1. http://www.corsix.org/content/look-lua-52-work3

-- ynezz


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

* Re: [oe] Add lua to oe-core.
  2013-08-07 12:23   ` Petr Štetiar
  (?)
@ 2013-08-07 12:38   ` Laszlo Papp
  -1 siblings, 0 replies; 13+ messages in thread
From: Laszlo Papp @ 2013-08-07 12:38 UTC (permalink / raw)
  To: Petr Štetiar; +Cc: koen, openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

I support updating lua if nothing breaks.


On Wed, Aug 7, 2013 at 1:23 PM, Petr Štetiar <ynezz@true.cz> wrote:

> Randy MacLeod <randy.macleod@windriver.com> [2013-07-25 15:57:58]:
>
> > lua-5.2.2 is current, see: http://www.lua.org/download.html
> > so we'd likely uprev and send that version.
>
> Just FYI Lua 5.2 has quite a lot of changes to Lua 5.1[1].  So I wouldn't
> consider it as an drop-in replacement for Lua 5.1. Simply said it's not
> compatible out of the box.
>
> > oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
> > meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
> >              --without-lua \
>
> For example lighttpd uses Lua 5.1.
>
> 1. http://www.corsix.org/content/look-lua-52-work3
>
> -- ynezz
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 1827 bytes --]

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

* Re: [oe] Add lua to oe-core.
  2013-08-07 12:23   ` Petr Štetiar
@ 2013-08-07 16:09     ` Marko Lindqvist
  -1 siblings, 0 replies; 13+ messages in thread
From: Marko Lindqvist @ 2013-08-07 16:09 UTC (permalink / raw)
  To: Petr Štetiar
  Cc: koen, openembedded-devel,
	Patches and discussions about the oe-core layer

On 7 August 2013 15:23, Petr Štetiar <ynezz@true.cz> wrote:
> Randy MacLeod <randy.macleod@windriver.com> [2013-07-25 15:57:58]:
>
>> lua-5.2.2 is current, see: http://www.lua.org/download.html
>> so we'd likely uprev and send that version.
>
> Just FYI Lua 5.2 has quite a lot of changes to Lua 5.1[1].  So I wouldn't
> consider it as an drop-in replacement for Lua 5.1. Simply said it's not
> compatible out of the box.

 Yes, 5.1 and 5.2 are incompatible to extend that there simply is no
way to do some things so that it would work with both (5.1 has it one
way, 5.2 has it another way, and neither understand the other) It can
take some effort to switch application from using lua 5.1 to using lua
5.2.


 - ML


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

* Re: [OE-core] Add lua to oe-core.
@ 2013-08-07 16:09     ` Marko Lindqvist
  0 siblings, 0 replies; 13+ messages in thread
From: Marko Lindqvist @ 2013-08-07 16:09 UTC (permalink / raw)
  To: Petr Štetiar
  Cc: koen, openembedded-devel,
	Patches and discussions about the oe-core layer

On 7 August 2013 15:23, Petr Štetiar <ynezz@true.cz> wrote:
> Randy MacLeod <randy.macleod@windriver.com> [2013-07-25 15:57:58]:
>
>> lua-5.2.2 is current, see: http://www.lua.org/download.html
>> so we'd likely uprev and send that version.
>
> Just FYI Lua 5.2 has quite a lot of changes to Lua 5.1[1].  So I wouldn't
> consider it as an drop-in replacement for Lua 5.1. Simply said it's not
> compatible out of the box.

 Yes, 5.1 and 5.2 are incompatible to extend that there simply is no
way to do some things so that it would work with both (5.1 has it one
way, 5.2 has it another way, and neither understand the other) It can
take some effort to switch application from using lua 5.1 to using lua
5.2.


 - ML


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

* Re: [oe] Add lua to oe-core.
  2013-08-07 12:23   ` Petr Štetiar
@ 2013-08-07 18:30     ` Khem Raj
  -1 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2013-08-07 18:30 UTC (permalink / raw)
  To: Petr Štetiar; +Cc: koen, openembedded-devel, openembedded-core


On Aug 7, 2013, at 5:23 AM, Petr Štetiar <ynezz@true.cz> wrote:

> Randy MacLeod <randy.macleod@windriver.com> [2013-07-25 15:57:58]:
> 
>> lua-5.2.2 is current, see: http://www.lua.org/download.html
>> so we'd likely uprev and send that version.
> 
> Just FYI Lua 5.2 has quite a lot of changes to Lua 5.1[1].  So I wouldn't
> consider it as an drop-in replacement for Lua 5.1. Simply said it's not
> compatible out of the box.

5.2 is not ABI compatible with 5.1 see

http://www.lua.org/manual/5.2/manual.html#8

so you can add a new recipe for 5.2 on
the same lines at 5.1 but don't delete 5.1

> 
>> oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
>> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
>>             --without-lua \
> 
> For example lighttpd uses Lua 5.1.
> 
> 1. http://www.corsix.org/content/look-lua-52-work3
> 
> -- ynezz
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



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

* Re: [OE-core] Add lua to oe-core.
@ 2013-08-07 18:30     ` Khem Raj
  0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2013-08-07 18:30 UTC (permalink / raw)
  To: Petr Štetiar; +Cc: koen, openembedded-devel, openembedded-core


On Aug 7, 2013, at 5:23 AM, Petr Štetiar <ynezz@true.cz> wrote:

> Randy MacLeod <randy.macleod@windriver.com> [2013-07-25 15:57:58]:
> 
>> lua-5.2.2 is current, see: http://www.lua.org/download.html
>> so we'd likely uprev and send that version.
> 
> Just FYI Lua 5.2 has quite a lot of changes to Lua 5.1[1].  So I wouldn't
> consider it as an drop-in replacement for Lua 5.1. Simply said it's not
> compatible out of the box.

5.2 is not ABI compatible with 5.1 see

http://www.lua.org/manual/5.2/manual.html#8

so you can add a new recipe for 5.2 on
the same lines at 5.1 but don't delete 5.1

> 
>> oe-core.git $ grep -r lua * | egrep -v 'valuat|valuable|uargp|rpm'
>> meta/recipes-extended/lighttpd/lighttpd_1.4.32.bb:
>>             --without-lua \
> 
> For example lighttpd uses Lua 5.1.
> 
> 1. http://www.corsix.org/content/look-lua-52-work3
> 
> -- ynezz
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



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

end of thread, other threads:[~2013-08-07 18:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-25 19:57 Add lua to oe-core Randy MacLeod
2013-07-25 20:27 ` Martin Jansa
2013-07-26 14:11   ` Paul Eggleton
2013-07-26 14:11     ` [OE-core] " Paul Eggleton
2013-07-26 16:08     ` Randy MacLeod
2013-07-26 16:08       ` [OE-core] " Randy MacLeod
2013-08-07 12:23 ` [oe] " Petr Štetiar
2013-08-07 12:23   ` Petr Štetiar
2013-08-07 12:38   ` [oe] " Laszlo Papp
2013-08-07 16:09   ` Marko Lindqvist
2013-08-07 16:09     ` [OE-core] " Marko Lindqvist
2013-08-07 18:30   ` [oe] " Khem Raj
2013-08-07 18:30     ` [OE-core] " Khem Raj

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.