[MacPorts] #46621: Update: lua 5.3.0

MacPorts noreply at macports.org
Tue Sep 15 23:32:38 PDT 2015


#46621: Update: lua 5.3.0
-----------------------------+--------------------------------
  Reporter:  mschamschula@…  |      Owner:  macports-tickets@…
      Type:  update          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  haspatch
      Port:  lua             |
-----------------------------+--------------------------------

Comment (by devans@…):

 Although I think updating lua to version 5.3.0 was done without much
 thought to what might break,  trying to support multiple versions of lua
 is adding complexity that really isn't called for as long as backwards
 compatibility support for both lua 5.1 and 5.2 is enable in the 5.3 build.
 While there are a few API items from 5.2 that were dropped from 5.3, the
 changes are minimal particularly for apps that are 5.2 compatible already
 and are easily handled as in the case of luaL_checkint as mojca has
 indicated.  See the [http://www.lua.org/manual/5.3/manual.html#8 5.3
 manual] for details of known incompatibilities with 5.2.  I don't think
 5.1 and earlier is much of an issue as most upstream developers now
 support 5.2 and several have updated releases for 5.3 where necessary. I
 think the current lua50 port could be removed as there are no ports that
 depend on it and lua51 only has one, borwars which hasn't seen much
 development in a long time and its compatibility problems have to do with
 5.1 vs 5.2. So the main issue to my mind is 5.2 verses 5.3.

 Finally, note that lua extension modules need to be installed in a given
 lua's search path to be useful.  Typically this is
 ${prefix}/lib/lua/${lua_version} for binary modules and
 ${prefix}/share/lua/${lua_version} for lua modules.  So to fully support
 more than one version of lua, we would need to address multiple versions
 of these as well.  Do we really want to get into another multiple version
 can of worms? I suggest we do as we have decided to do with perl and just
 support the latest stable version.

 I suggest before proliferating multiple lua versios, we make a list of
 ports that seem to be broken with 5.3 to understand the magnitude of the
 problem and then see if we can understand what the various issues are.  I
 would much rather work with the upstream developers to fix any 5.3
 incompatibilities than try and support multiple lua versions. In short, I
 favor moving forward rather than standing still or moving backward.

 As you are probably aware, the upgrade to 5.3 broke libquvi and libquvi-
 scripts which in turn broke playlist parsing in the GNOME video player,
 totem. This is now fixed to work with lua 5.3. Although libquvi and
 friends claim to only be 5.1 compatible, it took very few changes to get
 it all working again.

-- 
Ticket URL: <https://trac.macports.org/ticket/46621#comment:17>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list