pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.59k stars 518 forks source link

F-Req: msys2 install package for zerobrane #1155

Open DiegoJArg opened 1 year ago

DiegoJArg commented 1 year ago

Hi. This is a feature request. Please silently discard if you note this unviable.

Feature request

Binary install for windows with pacman of msys2/mingw. Such that we can run pacman -S mingw-w64-i686-zerobranestudio4lua Note the propossed 4lua word is just to make it show up when searching for lua with pacman -Ss lua

Context

I am starting as noob with Lua and associated projects and noted that some binary distributions lacks of up-to-date windows binaries, for example, first strugled with luarocks from LuaForWindows, then fltk4lua, and this leads me to install msys2 with mingw, mingw was already present as part of codeblocks, both have python versions included which was already installed on my system, all of them were also present in GitForWindows as a bundle. All of this quickly populated my HDD of a bunch of unnecessary files which wont share any memory neither.

Once realised that Lua would require eventually compiling libraries and msys2 contains python and lua and stuff, then I started merging everything under msys2, and used windows compact.exe to reduce disk usage of read-only shared binary files.

As a result, msys2 brings to windows an ecosystem of software with shared libraries and reduced disk usage, which makes it even more lightweight.