On Mon, Sep 11, 2023 at 04:17:33PM +0200, Denis Fondras wrote: > Lite XL is derived from Lite. It is a lightweight text editor written mostly > in > Lua — it aims to provide something practical, pretty, small and fast easy to > modify and extend, or to use without doing either. > > The aim of Lite XL compared to lite is to be more user friendly, improve the > quality of font rendering, and reduce CPU usage. > > https://lite-xl.com/
- missing c and m in WANTLIB - it seems to doesn't start without invocation with full path: $ lite-xl Error: [string "local core..."]:5: attempt to index a nil value (local 'exedir') stack traceback: [string "local core..."]:2: in main chunk $ /usr/local/bin/lite-xl [work] as it is installed at a know place, it could be patched to fallback to /usr/local: --- /dev/null Mon Sep 11 16:42:08 2023 +++ patches/patch-src_main_c Mon Sep 11 16:41:17 2023 @@ -0,0 +1,15 @@ +Index: src/main.c +--- src/main.c.orig ++++ src/main.c +@@ -205,7 +205,10 @@ init_lua: + lua_pushstring(L, exename); + } else { + // get_exe_filename failed +- lua_pushstring(L, argv[0]); ++ if (strchr(argv[0], '/') != NULL) ++ lua_pushstring(L, argv[0]); ++ else ++ lua_pushstring(L, "/usr/local/bin/lite-xl"); + } + lua_setglobal(L, "EXEFILE"); + ok semarie@ with the two points corrected. -- Sebastien Marie