Re: [OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-08-03 Thread Anton D . Kachalov
Hello, Jo. 30.06.2016, 20:35, "Anton D. Kachalov" : > 30.06.2016, 18:50, "Jo-Philipp Wich" : >>  Hi Anton, >> >>  the problem is that there is no working PROVIDES mechanism in the >>  buildroot. >> >>  We could only modify the Lua package to either build Luajit (for >>  supported arches) or PUC 5.

Re: [OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-30 Thread Anton D . Kachalov
Hello, Jo. It looks like almost working PROVIDES mechanism if we rename "lua" to something else and make such packages provides lua/liblua/whatever. But the problem arise with metadata.pl when generating "tmp/.packagedeps" which doesn't handle "vdepends" well. While it tries to handle virtual d

Re: [OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-30 Thread Jo-Philipp Wich
Hi Anton, the problem is that there is no working PROVIDES mechanism in the buildroot. We could only modify the Lua package to either build Luajit (for supported arches) or PUC 5.1 one, depending on a menuconfig setting. Can't think of a better solution. ~ Jo ___

Re: [OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-30 Thread Anton D . Kachalov
30.06.2016, 10:26, "Anton D. Kachalov" : > Hello, Jo. > > 30.06.2016, 01:15, "Jo-Philipp Wich" : >>  Hi Anton, >> [...] >>  Overwriting existing packages with other packages having the same name >>  from external feeds is messy and will always lead to undefined behavior, >>  don't do that. What w

Re: [OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-30 Thread Anton D . Kachalov
Hello, Jo. 30.06.2016, 01:15, "Jo-Philipp Wich" : > Hi Anton, > >>  First I've tried to name package as "luajit" and add CONFLICTS:=lua >>  (version should be provided to conflict with) and PROVIDES:=lua >>  variables like for RPM to make a replacement package, but I get a >>  dependency loop. The

Re: [OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-29 Thread Jo-Philipp Wich
Hi Anton, > First I've tried to name package as "luajit" and add CONFLICTS:=lua > (version should be provided to conflict with) and PROVIDES:=lua > variables like for RPM to make a replacement package, but I get a > dependency loop. Therefore, I name produceable packages "lua" and > "liblua". The

Re: [OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-29 Thread Anton D . Kachalov
Hello there. Could someone advise what is the right place to discuss this topic? Thanks. 06.06.2016, 11:15, "Anton D. Kachalov" : > Hello. > > I'm trying to replace standard "lua" package with "luajit" from my repo: > >   https://github.com/ya-mouse/openbmc-packages > > First I've tried to name

[OpenWrt-Devel] LuaJIT Vs Lua and other questions

2016-06-06 Thread Anton D . Kachalov
Hello. I'm trying to replace standard "lua" package with "luajit" from my repo:   https://github.com/ya-mouse/openbmc-packages First I've tried to name package as "luajit" and add CONFLICTS:=lua (version should be provided to conflict with) and PROVIDES:=lua variables like for RPM to make a re