Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#42713 - [lua-posix] add support for lua 5.1

Attached to Project: Community Packages
Opened by Davide Del Zompo (FunkyAss) - Saturday, 08 November 2014, 09:09 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 13 November 2014, 13:42 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Actually community/lua-posix PKGBUILD supports lua 5.2 only. Since lua 5.1 is in the official repos (extra/lua51) and, as far as I can tell, is still widely used, is it possible to make lua-posix a split package building both lua-posix and lua51-posix?

Additional info:
I modified the original PKGBUILD and turned it into a split package; and it could be used as a base if you like it (in that case, please review it and strip the unnecessary comments). See the attachment.
   PKGBUILD (2.4 KiB)
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Thursday, 13 November 2014, 13:42 GMT
Reason for closing:  None
Comment by Doug Newgard (Scimmia) - Saturday, 08 November 2014, 15:10 GMT
Why? If no package in the repos needs a legacy library, why would you want it added?
Comment by Davide Del Zompo (FunkyAss) - Saturday, 08 November 2014, 15:35 GMT
There are other lua51-* packages that are not needed by any package in the repos (packages or "chains" of packages) so I thought that wasn't a problem. lua 5.1 is still used, despite there won't be new releases. lua 5.1 is fully supported by lua-posix. It would be nice not to relay on the AUR for a library like lua-posix.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 13 November 2014, 10:30 GMT
Hi. The only two packages that depends on lua51-posix is "ulatencyd" and "ulatencyd-git" in AUR. In general, we only package the latest release versions of programs as official Arch Linux packages (the exception to the rule is python2). lua51 is currently an orphan and only required by a handful of packages, mostly games. I also see that lua-posix is not required by any official packages.

lua51 will be moved to AUR eventually (perhaps sooner rather than later) and since no official packages depends on lua-posix, it might make sense to move it to AUR as well.

It's hard to find good arguments for adding lua51-posix as an official package, as long as no other official packages depends on it, and so few unofficial packages depends on it. If you know of a commercial piece of software that is important to people, that needs lua51-posix, it might be an argument for keeping lua51 a bit longer and/or not move lua-posix to AUR and/or add lua51-posix as an official package.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 13 November 2014, 13:41 GMT
Moved lua-posix to AUR. If there is ever a relatively popular application that uses lua-posix or lua51-posix, it is easy to move it back (and then probably as a split package with both lua51-posix and lua-posix).