Bug 293560 - games/luanti: Update 5.14 => 5.15.1; proposal to change dependency luajit-openresty to luajit
Summary: games/luanti: Update 5.14 => 5.15.1; proposal to change dependency luajit-ope...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-03 15:45 UTC by Giorgio Caculli
Modified: 2026-03-03 15:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgio Caculli 2026-03-03 15:45:02 UTC
Compiled from source code present in freshports with this configuration:

Makefile (diff):
diff freebsd-ports-original/games/luanti/Makefile freebsd-ports/games/luanti/Makefile
2c2
< DISTVERSION=  5.14.0
---
> DISTVERSION=  5.15.1
67c67,68
< LUAJIT_USES=          luajit:luajit-openresty
---
> #LUAJIT_USES=         luajit:luajit-openresty
> LUAJIT_USES=          luajit:luajit

distinfo (diff)
diff freebsd-ports-original/games/luanti/distinfo freebsd-ports/games/luanti/distinfo
1,3c1,3
< TIMESTAMP = 1759752907
< SHA256 (luanti-org-luanti-5.14.0_GH0.tar.gz) = b9f561fa37db3c7ea1b8ba15cfede8282b7a79b9e939b0357269c8b037cf5aea
< SIZE (luanti-org-luanti-5.14.0_GH0.tar.gz) = 12421600
---
> TIMESTAMP = 1772474097                                                                                 
> SHA256 (luanti-org-luanti-5.15.1_GH0.tar.gz) = fe0b10df866f57c0047d84a4c6f6cd848650f52d9b0cab563fbbedc81632d616
> SIZE (luanti-org-luanti-5.15.1_GH0.tar.gz) = 12329736

The reason behind the luajit dependency change proposal is due to two factors:
1. luajit-openresty port has not been updated since 20250826 while the luajit one is on version 20260224
diff lang/luajit/distinfo lang/luajit-openresty/distinfo
1,3c1,3
< TIMESTAMP = 1772037925
< SHA256 (LuaJIT-LuaJIT-2.1.0.20260224-fc3d17e_GH0.tar.gz) = 635e036a4160d196020e2584dada1760907a51661fd5cb3ca375723cd93719b7
< SIZE (LuaJIT-LuaJIT-2.1.0.20260224-fc3d17e_GH0.tar.gz) = 1092875
---
> TIMESTAMP = 1757804854
> SHA256 (openresty-luajit2-v2.1-20250826_GH0.tar.gz) = 5a49743ad6ce4b7f19aac71b55a08052c1feb62750f051982082c12bf62f39c0
> SIZE (openresty-luajit2-v2.1-20250826_GH0.tar.gz) = 1164966

2. luajit-openresty conflicts with luajit thus causing various software to be removed from the system (i.e. obs-studio, mpv)
This is subjective and luanti can be compiled manually with luajit (non openresty) and still work.
This subjective proposal is mostly due to users or gamers who want to stream their luanti game session (dependent on luajit-openresty) with obs-studio (dependent on luajit) and not have to compile luanti themselves.

I did read the thread: bug #257749 regarding the fact that luajit would not compile on aarch64
Though according to the freshport page of luajit: https://www.freshports.org/lang/luajit/
the library is available for aarch64 so I reckon that it is now supported.

Changing this dependency would make any non-developer user who installs software from pkg, and not source code, be able to also have support for other day-to-day software along their luanti installation:
- https://www.freshports.org/lang/luajit/#requiredby
- https://www.freshports.org/lang/luajit-openresty/#requiredby