* [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures
@ 2020-04-16 10:29 haseeb_ashraf
2020-04-16 10:29 ` [meta-oe][PATCH 2/2] luaposix: add 33.4.0 version recipe which is compatible with lua5.3 Haseeb Ashraf
2020-04-16 15:50 ` [oe] [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures Khem Raj
0 siblings, 2 replies; 4+ messages in thread
From: haseeb_ashraf @ 2020-04-16 10:29 UTC (permalink / raw)
To: openembedded-devel
LUA_CPATH_DEFAULT for *.so files should include
LUA_ROOT/lib64/lua/LUA_VDIR not LUA_ROOT/lib/lua/LUA_VDIR
Signed-off-by: Haseeb Ashraf <Haseeb_Ashraf@mentor.com>
---
meta-oe/recipes-devtools/lua/lua_5.3.4.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-devtools/lua/lua_5.3.4.bb b/meta-oe/recipes-devtools/lua/lua_5.3.4.bb
index 8f4e8fe68..1f077e501 100644
--- a/meta-oe/recipes-devtools/lua/lua_5.3.4.bb
+++ b/meta-oe/recipes-devtools/lua/lua_5.3.4.bb
@@ -28,6 +28,7 @@ EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLD
do_configure_prepend() {
sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
+ sed -i -e s:lib/lua/:${baselib}/lua/:g src/luaconf.h
}
do_compile () {
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [meta-oe][PATCH 2/2] luaposix: add 33.4.0 version recipe which is compatible with lua5.3
2020-04-16 10:29 [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures haseeb_ashraf
@ 2020-04-16 10:29 ` Haseeb Ashraf
2020-04-16 18:35 ` [oe] " Khem Raj
2020-04-16 15:50 ` [oe] [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures Khem Raj
1 sibling, 1 reply; 4+ messages in thread
From: Haseeb Ashraf @ 2020-04-16 10:29 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Haseeb Ashraf <Haseeb_Ashraf@mentor.com>
---
.../luaposix/luaposix_33.4.0.bb | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb
diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb b/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb
new file mode 100644
index 000000000..869181848
--- /dev/null
+++ b/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "luaposix is a POSIX binding for Lua."
+LICENSE = "MIT"
+HOMEPAGE = "https://github.com/luaposix/luaposix"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7dd2aad04bb7ca212e69127ba8d58f9f"
+
+SRC_URI[md5sum] = "b36ff049095f28752caeb0b46144516c"
+SRC_URI[sha256sum] = "e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21"
+
+DEPENDS += "lua-native lua"
+
+SRC_URI = "https://github.com/luaposix/luaposix/archive/release-v${PV}.tar.gz"
+S = "${WORKDIR}/luaposix-release-v${PV}"
+LUA_VDIR = "5.3"
+
+inherit autotools pkgconfig
+
+do_install() {
+ oe_runmake 'DESTDIR=${D}' 'luadir=${datadir}/lua/${LUA_VDIR}' 'luaexecdir=${libdir}/lua/${LUA_VDIR}' install
+}
+
+FILES_${PN} = "${datadir}/lua/${LUA_VDIR} ${libdir}/lua/${LUA_VDIR}"
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [oe] [meta-oe][PATCH 2/2] luaposix: add 33.4.0 version recipe which is compatible with lua5.3
2020-04-16 10:29 ` [meta-oe][PATCH 2/2] luaposix: add 33.4.0 version recipe which is compatible with lua5.3 Haseeb Ashraf
@ 2020-04-16 18:35 ` Khem Raj
0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2020-04-16 18:35 UTC (permalink / raw)
To: Haseeb Ashraf; +Cc: openembeded-devel
this is showing
QA Issue: luaposix: SRC_URI uses unstable GitHub archives [src-uri-bad]
so please use a release artifact or use git fetcher which is pinned to
particular release
On Thu, Apr 16, 2020 at 3:29 AM Haseeb Ashraf <haseeb_ashraf@mentor.com> wrote:
>
> Signed-off-by: Haseeb Ashraf <Haseeb_Ashraf@mentor.com>
> ---
> .../luaposix/luaposix_33.4.0.bb | 21 +++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb
>
> diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb b/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb
> new file mode 100644
> index 000000000..869181848
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/luaposix/luaposix_33.4.0.bb
> @@ -0,0 +1,21 @@
> +DESCRIPTION = "luaposix is a POSIX binding for Lua."
> +LICENSE = "MIT"
> +HOMEPAGE = "https://github.com/luaposix/luaposix"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=7dd2aad04bb7ca212e69127ba8d58f9f"
> +
> +SRC_URI[md5sum] = "b36ff049095f28752caeb0b46144516c"
> +SRC_URI[sha256sum] = "e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21"
> +
> +DEPENDS += "lua-native lua"
> +
> +SRC_URI = "https://github.com/luaposix/luaposix/archive/release-v${PV}.tar.gz"
> +S = "${WORKDIR}/luaposix-release-v${PV}"
> +LUA_VDIR = "5.3"
> +
> +inherit autotools pkgconfig
> +
> +do_install() {
> + oe_runmake 'DESTDIR=${D}' 'luadir=${datadir}/lua/${LUA_VDIR}' 'luaexecdir=${libdir}/lua/${LUA_VDIR}' install
> +}
> +
> +FILES_${PN} = "${datadir}/lua/${LUA_VDIR} ${libdir}/lua/${LUA_VDIR}"
> --
> 2.17.1
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe] [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures
2020-04-16 10:29 [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures haseeb_ashraf
2020-04-16 10:29 ` [meta-oe][PATCH 2/2] luaposix: add 33.4.0 version recipe which is compatible with lua5.3 Haseeb Ashraf
@ 2020-04-16 15:50 ` Khem Raj
1 sibling, 0 replies; 4+ messages in thread
From: Khem Raj @ 2020-04-16 15:50 UTC (permalink / raw)
To: Haseeb Ashraf; +Cc: openembeded-devel
Can you rebase this change on top of master or master-next
On Thu, Apr 16, 2020 at 3:29 AM Haseeb Ashraf <haseeb_ashraf@mentor.com> wrote:
>
> LUA_CPATH_DEFAULT for *.so files should include
> LUA_ROOT/lib64/lua/LUA_VDIR not LUA_ROOT/lib/lua/LUA_VDIR
>
> Signed-off-by: Haseeb Ashraf <Haseeb_Ashraf@mentor.com>
> ---
> meta-oe/recipes-devtools/lua/lua_5.3.4.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-devtools/lua/lua_5.3.4.bb b/meta-oe/recipes-devtools/lua/lua_5.3.4.bb
> index 8f4e8fe68..1f077e501 100644
> --- a/meta-oe/recipes-devtools/lua/lua_5.3.4.bb
> +++ b/meta-oe/recipes-devtools/lua/lua_5.3.4.bb
> @@ -28,6 +28,7 @@ EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLD
>
> do_configure_prepend() {
> sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
> + sed -i -e s:lib/lua/:${baselib}/lua/:g src/luaconf.h
> }
>
> do_compile () {
> --
> 2.17.1
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-16 18:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 10:29 [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures haseeb_ashraf
2020-04-16 10:29 ` [meta-oe][PATCH 2/2] luaposix: add 33.4.0 version recipe which is compatible with lua5.3 Haseeb Ashraf
2020-04-16 18:35 ` [oe] " Khem Raj
2020-04-16 15:50 ` [oe] [meta-oe][PATCH 1/2] modify LUA_CPATH_DEFAULT for 64-bit architectures 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.