Dist provided automated CMake building and Lua-based deployment of software.
Dist is sort-of like LuaRocks, BSD ports, and RPM:
- It's basically a ports system  based on CMake , which can build software in a cross-platform manner. (CMake is a build system generator that is perhaps the main alternative to autotools and supports a variety of systems, IDEs and compilers.)
- It contains a collection of CMake build files (CMakeLists.txt, e.g. ) for many packages. These can be used by themselves  with CMake to build modules, or the builds can be automated via the the luadist utility.
Dist can build/deploy many types of things, including applications (e.g. Lua), system libraries (e.g. zlib), Lua modules (e.g. luazlib), and (soon) entire distributions (e.g. Lua for Windows via the batteries meta package).
- It contains a collection of dist.info files (e.g. ) containing metadata for packages and written in Lua syntax. These are quite similar to .rockspec files in LuaRocks, though without the build sections.
- It contains a mirror of package sources stored in central git Repository. The sources combined with the build files and dist.info files are zipped into self-contained package files called "dists" for offline distribution.
- It contains the "luadist" utility and libraries, written in Lua, to automate the process of downloading, building and deploying packages.
- "luadist" depends on CMake and a compiler toolchain for building packages from source, but it does not require these if you only deploy binary modules. Other than possibly CMake and a compiler toolchain, Lua
Dist is self-contained and builds it own dependencies from source.
- Though an automated tool has not yet been written, it's fairly straightforward to translate Lua
Dist packages to Lua
Rocks packages since Lua
Rocks supports CMake builds. The "luarocks" package in Lua
Dist will also be usable to deploy Lua
Rocks if desired.
Dist is free software and uses the MIT license.
Dist can be downloaded from Git
Hub in source and binary form. For source installation instructions visit the project wiki.
Can someone please provide a update on the status of LuaDist?
The website luadist dot org looks like a domain squatting site, so it may not be good to directing people there.
The github site appears to be archived, but I can't find any explanations.
It would be nice to have a correct Status summary and current recommendations for new users.
RecentChanges · preferences
edit · history
Last edited July 12, 2022 12:18 am GMT (diff)