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

Update rockspec and README, remove Makefile #75

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

rolandlo
Copy link
Collaborator

Updated the rockspec (rockspec-format, labels, dependencies, test, copy-directories).

luaffi-tkl is now a dependency of lua-vips. LuaJIT users will have to exhibit this module as provided by the VM by editing the config-5.1.lua or by running luarocks config --lua-version=5.1 rocks_provided.luaffi-tkl 2.1-1. Ideally this would be listed in https://github.com/luarocks/luarocks/blob/c16bdbc4cbb98c560fb7e8d4895d4d84afca2eb9/src/luarocks/util.lua#L599-L604, so LuaJIT user's wouldn't have to do it manually, but that would only work for those with an up to date luarocks then.

When running luarocks test in the lua-vips directory the test-dependency busted is automatically installed, if it is not found.

Updated the README (where lua-vips works and where it is tested, how to install on Windows MinGW-w64).

Removed the Makefile, as it is not needed any longer. @RiskoZoSlovenska What do you think about it?

@@ -34,5 +47,6 @@ build = {
["vips.Image"] = "src/vips/Image.lua",
["vips.Image_methods"] = "src/vips/Image_methods.lua",
["vips.Interpolate"] = "src/vips/Interpolate.lua"
}
},
copy_directories = { "example" }
Copy link
Contributor

@RiskoZoSlovenska RiskoZoSlovenska Mar 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a point in copying the example directory? As in, do you expect users to navigate into their Luarocks install directory to run the example code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, not sure about it. I thought it was good practice to copy directories like "docs" or "examples". Looking at some widely used modules it doesn't look so. I'll remove it then.

@RiskoZoSlovenska
Copy link
Contributor

Looks good to me; nice work!

@rolandlo
Copy link
Collaborator Author

Thanks for the review @RiskoZoSlovenska

@rolandlo rolandlo merged commit b2cfeb6 into libvips:master Mar 31, 2024
15 checks passed
@rolandlo rolandlo deleted the update-readme branch March 31, 2024 08:06
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

Successfully merging this pull request may close these issues.

2 participants