Summary: | media-video/aegisub-3.2.2: please add lua as an alternative to luajit | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Apeltauer <c.apeltauer> |
Component: | Current packages | Assignee: | Coacher <itumaykin+gentoo> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | maksbotan, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://devel.aegisub.org/ticket/1904 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch to enable aegisub with lua instead of luajit
patch to enable aegisub with lua instead of luajit (source code) |
Description
Christian Apeltauer
2016-02-06 10:40:42 UTC
Created attachment 424722 [details, diff]
patch to enable aegisub with lua instead of luajit
Created attachment 424724 [details, diff]
patch to enable aegisub with lua instead of luajit (source code)
There is a number of Lua scripts shipped with aegisub that require ffi, which is a LuaJIT-only extension. However, those ffi-specific parts are removed for some reason when these scripts get installed. There is also at least one place in C++ code of libaegisub that relies on a LuaJIT-specific behaviour, see libaegisub/include/libaegisub/lua/ffi.h. All of the above suggests that Lua in general is not supported as a proper replacement for LuaJIT. I've contacted upstream about this issue and hopefully they will be able to provide a more definitive answer. Until then if you need aegisub without LuaJIT I suggest you to use the 3.0.4 ebuild. It is one of the reasons we keep it around. (In reply to Coacher from comment #3) > There is a number of Lua scripts shipped with aegisub that require ffi, > which is a LuaJIT-only extension. However, those ffi-specific parts are > removed for some reason when these scripts get installed. I've made a mistake here. I was looking at the sources from master branch whilst grepping through the files installed with 3.2.2. Here's the correct info. Lua scripts shipped and installed with 3.2.2 don't require ffi, but those shipped and installed with 9999 clearly do. > There is also at > least one place in C++ code of libaegisub that relies on a LuaJIT-specific > behaviour, see libaegisub/include/libaegisub/lua/ffi.h. Again, I was looking at the sources from master branch instead of 3.2.2 ones. Now that the situation is clarified I have to deny your request. Supporting a feature that is a complete opposite of the upstream course of action doesn't appeal to me. |