Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LuaRocks support #3

Open
iongion opened this issue Aug 3, 2018 · 6 comments
Open

LuaRocks support #3

iongion opened this issue Aug 3, 2018 · 6 comments

Comments

@iongion
Copy link

iongion commented Aug 3, 2018

Can the libraries be pushed to this dependency manager called luarocks ?
Example:
https://github.com/starwing/lua-nanovg/blob/master/rockspecs/glfw-0.1.1-1.rockspec

@stetre
Copy link
Owner

stetre commented Aug 3, 2018

Hi, I am not that familiar with LuaRocks. Every once in a while I tell myself that I should push there the libraries, but when I start reading the documentation I get soon lost and start thinking "how should this be easier than just git clone + make + make install?". Is there any real advantage that I don't see in using it, other than reserving the library names?

@iongion
Copy link
Author

iongion commented Aug 6, 2018

Because it is easy to reuse in other projects as a dependency.
Besides this, your glfw implementation looks much more complete than https://github.com/starwing/lua-nanovg/blob/master/rockspecs/glfw-0.1.1-1.rockspec and would be a great improvement for both projects.

@stetre
Copy link
Owner

stetre commented Aug 6, 2018

Is it really easier? I haven't used it for a while, but when some time ago I tried to install a few things I ran into all sorts of problems. I suspect that the approach of pushing software to a package manager is by itself problematic (usually it is pulled by the maintainers of the platform or distribution served by the package manager, not pushed by the software authors). Not to mention having yet another package manager in coexistence with the native one of the platform being used, like apt on Ubuntu, or pacman on MSYS2.

@Frityet
Copy link

Frityet commented Dec 17, 2022

Is it really easier? I haven't used it for a while, but when some time ago I tried to install a few things I ran into all sorts of problems. I suspect that the approach of pushing software to a package manager is by itself problematic (usually it is pulled by the maintainers of the platform or distribution served by the package manager, not pushed by the software authors). Not to mention having yet another package manager in coexistence with the native one of the platform being used, like apt on Ubuntu, or pacman on MSYS2.

It absolutly is easier, just one command to install packages luarocks install moonnuklear, etc, makes using these libraries wayyy easier

@Frityet
Copy link

Frityet commented Dec 17, 2022

I created this github organisation to make these libraries use LuaRocks

@stetre
Copy link
Owner

stetre commented Dec 18, 2022

I created this github organisation to make these libraries use LuaRocks

That's fine with me. After all, it's in the spirit of my last comment: if anyone wants to package the libraries for distribution with its preferred package manager (be it LuaRocks or a OS specific one), he/she is free to pull them and do it. I don't want to do it personally, but I surely appreciate the effort.

When you think the project is in a usable state, let me know and I'll reference it in the manual page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants