Commit Graph

10 Commits

Author SHA1 Message Date
Martin Jansa
3181aa0eb5 lua: Remove lua5.1
* we have lua-5.2 in "lua" recipe and lua-5.1 in "lua5.1", but these
  aren't completely separate in sysroot:
  WARNING: The recipe lua is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lauxlib.h
   Matched in manifest-qemux86-lua5.1.populate_sysroot
   /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lua.h
   Matched in manifest-qemux86-lua5.1.populate_sysroot
   /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lua.hpp
   Matched in manifest-qemux86-lua5.1.populate_sysroot
   /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/luaconf.h
   Matched in manifest-qemux86-lua5.1.populate_sysroot
   /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lualib.h
   Matched in manifest-qemux86-lua5.1.populate_sysroot
   /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/lib/liblua.a
   Matched in manifest-qemux86-lua5.1.populate_sysroot
  Please verify which package should provide the above files.
  Causing some undeterministic behavior.
* keep only 5.2 in "lua"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 19:22:26 +02:00
Kang Kai
d2ec4eef07 lua: add lua 5.2 recipe
Add lua 5.2.2 recipe.

Update:
  * remove bitwise_operators.patch that lua uses bit32 library to
    support for bitwise operations.
  * update uclibc-pthread.patch

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-21 19:16:51 +01:00
Marko Lindqvist
e9759bfafb lua5.1: apply lua.org patches for lua-5.1.5
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-31 10:27:15 +01:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Khem Raj
055938e9f7 lua5.1: Fix multilib install
when we have multilib enabled then there are some hardcoded
assumptions in lua code which needs to be fixed some can
be fixed by simply passing right variable on cmdline for
the one's in sourcecode needs to be edited in place.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-22 13:18:23 +01:00
Marko Lindqvist
4e6bd189c5 lua: update to upstream version 5.1.5
* COPYRIGHT: md5sum changed only because (C) years now up to 2012.
* MJ: removed trailing whitespaces

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:11:44 +01:00
Martin Jansa
124a9515fd lua5.1: fix packaging QA warnings
* Fixes:
  lua5.1-5.1.4: lua5.1: Files/directories were installed but not shipped
    /usr/share/lua
    /usr/share/lua/5.1
    /usr/lib/lua
    /usr/lib/lua/5.1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:56 +01:00
Martin Jansa
b85b2dd813 lua5: drop unused NATIVE_INSTALL_WORKS without quotes too
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-26 23:57:21 +01:00
Martin Jansa
69203f0bd1 lua5.1: add LIC_FILES_CHKSUM 2011-03-24 10:46:02 +01:00
Koen Kooi
d011ac80a0 lua: import from meta-shr
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-23 16:26:43 +01:00