Xiyue Deng <[email protected]> writes:

> On Fri, 27 Dec 2024 13:08:17 +0100 =?UTF-8?Q?Aniol_Mart=C3=AD?= 
> <[email protected]> wrote:
>> Dear Maintainer,
>> 
>> i am the maintainer of Aegisub. Version 3.4.0 was recently released but 
>> it requires LuaJIT with Lua 5.2 compat. Are there any plans about 
>> supporting it?
>> 
>> We are currently discussing it in 
>> https://github.com/TypesettingTools/Aegisub/issues/239. One option that 
>> I'm considering is bundling LuaJIT with Aegisub, but the Debian Policy 
>> encourages not doing that. Do you know if there are any other packages 
>> in a similar situation?
>> 
>> Aniol
>> 
>> 
>> 
>
> As David mentioned in [1], this should be as simple as adding 
> "-DLUAJIT_ENABLE_LUA52COMPAT" to CFLAGS and it should be ABI/API 
> compatible.  Please consider adding this support so that Aegisub and 
> other packages can use it directly.
>
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781728#16
>
> -- 
> Xiyue Deng

I have tested adding the flags and the result is promising: aegisub can
now directly build against libluajit-5.1-dev built with the flags and
works well.

I have created a MR on Salsa[1] and hope it can be reviewed and merged.

[1] https://salsa.debian.org/lua-team/luajit/-/merge_requests/3

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature

Reply via email to