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

Make this project more portable #2

Open
1 of 3 tasks
Miqueas opened this issue May 15, 2024 · 2 comments · Fixed by #3
Open
1 of 3 tasks

Make this project more portable #2

Miqueas opened this issue May 15, 2024 · 2 comments · Fixed by #3

Comments

@Miqueas
Copy link
Owner

Miqueas commented May 15, 2024

This is something I've been considering for a while. Since some linux distros doesn't have all versions of Lua in their repositories (see Fedora and openSUSE) or the user is on Windows, building this project can be a bit hard or may require to modify the meson.build files to work.

So, to solve this I have a couple of ideas:

  • Create a Meson .wrap file and make Lua a dependency of this project
  • Use minilua
  • Something else (a custom solution)

I already tried the first one, but... It was more complicated than I expected so I never continued; plus, I never uploaded the changes made, but I'm still considering that option.

The 2nd options looks better tho, but it's only Lua 5.4, but the solution that proposes minilua is pretty smart (IMO) and very simple.

To be honest, I'll probably use the minilua solution, but custom: I'll take the gen.sh script from minilua to generate C headers for all major Lua versions.

Hopefully, I'll fix this soon. I'm gonna update this issue with a task list if I make some progress.

@Miqueas Miqueas changed the title Use minilua or something similar Make this project more portable May 15, 2024
@darltrash
Copy link

As you already use Meson, I think it'd be better to straight up just go out and write a meson file for lua imo

@Miqueas
Copy link
Owner Author

Miqueas commented May 15, 2024

As you already use Meson, I think it'd be better to straight up just go out and write a meson file for lua imo

As I said, I tried before, but it's a bit more complicated. But I'm still looking for that.

@Miqueas Miqueas pinned this issue May 16, 2024
@Miqueas Miqueas linked a pull request May 16, 2024 that will close this issue
@Miqueas Miqueas reopened this May 16, 2024
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 a pull request may close this issue.

2 participants