[MacPorts] #42901: lua51 port for Lua 5.1.5
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------------- Reporter: hadrielk@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: lua -------------------------+-------------------------------- Macports changed the lua port to be Lua 5.2.x based, but there are non- trivial differences between Lua 5.2 and the previous 5.1, as discussed in tickets #40421 and #40423. Right now there's lua@5.2.1 and lua50@5.0.3, so a 'lua51' port (@5.1.5) would be great. (I would provide a patch but I have no idea how macports does its magic - I just love using it :) If this is done perhaps the other two tickets can be closed and told to install lua51. -- Ticket URL: <https://trac.macports.org/ticket/42901> MacPorts <http://www.macports.org/> Ports system for OS X
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------------- Reporter: hadrielk@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua51 | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * type: enhancement => request * port: lua => lua51 Comment: Yes, we should add a lua51 port, and rename the lua port to lua52, however we also need to make all three ports simultaneously installable. Currently lua50 and lua conflict with one another. Making them simultaneously installable will mean we'll have to change were the files get installed, which will mean needing to update every port that uses lua to know about the new file locations. -- Ticket URL: <https://trac.macports.org/ticket/42901#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------------- Reporter: hadrielk@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua51 | -------------------------+-------------------------------- Comment (by hadrielk@…): That sounds like a lot more work - is it? If it is, then I think for now a restriction that you can only install (or only activate) one or the other is ok - at least it lets folks get 5.1 installed. Personally I have to use both, at various times, but I'm probably not a normal case; and I'm fine with de-activating/re-activating or removing/installing each time, if that's the price to pay for being able to do it at all. It's not optimal, obviously, but not too crazy either I think, to get something sooner. :) -- Ticket URL: <https://trac.macports.org/ticket/42901#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------------- Reporter: hadrielk@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua51 | -------------------------+-------------------------------- Comment (by ryandesign@…): Yes, it's a lot more work. But it is MacPorts convention that when ports are named fooXY, fooXY, etc., where XY and XZ are number, then the ports shall be simultaneously installable. The lua50 port already breaks this convention and I want to fix that error, not perpetuate it. I am currently working on updating the lua port to 5.2.3 (#42892) and in the process discovering what a mess the build system is... After I get a basic update to 5.2.3 done, I'll see what a reasonable renaming or relocating of the files might look like. -- Ticket URL: <https://trac.macports.org/ticket/42901#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------- Reporter: hadrielk@… | Owner: and.damore@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: lua51 | -------------------------+-------------------------- Changes (by and.damore@…): * owner: macports-tickets@… => and.damore@… -- Ticket URL: <https://trac.macports.org/ticket/42901#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------- Reporter: hadrielk@… | Owner: and.damore@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: lua51 | -------------------------+-------------------------- Changes (by and.damore@…): * status: new => closed * resolution: => fixed Comment: New lua51 port added in r118448. This is rewritten over latest 5.1 portfile, this is a versioned port and doesn't conflicts with either lua and lua50. The latter should follow the same lead so all version could be used at the same time. Please test it and report any issue you find, I was able to run the whole test directory in $prefix/share/example . Ticket closed. -- Ticket URL: <https://trac.macports.org/ticket/42901#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------- Reporter: hadrielk@… | Owner: and.damore@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: lua51 | -------------------------+-------------------------- Comment (by mojca@…): Thank you. Does `luajit` now link against Lua 5.2 or 5.1? I need to put "test CMake's FindLua51" on my TODO list now. -- Ticket URL: <https://trac.macports.org/ticket/42901#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42901: lua51 port for Lua 5.1.5 -------------------------+-------------------------- Reporter: hadrielk@… | Owner: and.damore@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: lua51 | -------------------------+-------------------------- Comment (by and.damore@…): Replying to [comment:8 mojca@…]:
Thank you. Does `luajit` now link against Lua 5.2 or 5.1? I need to put "test CMake's FindLua51" on my TODO list now.
That luajit port fiddling with installed lua port was my mistake. I recently updated the port and cleaned it up, luajit ships its own 5.1 lua and is only partially ABI compatible with 5.2, I've enabled the partial compatibility by default as well, see #41132. -- Ticket URL: <https://trac.macports.org/ticket/42901#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts