orhun / linuxwave

Generate music from the entropy of Linux 🐧🎵
http://orhun.dev/linuxwave/
MIT License
534 stars 16 forks source link

Integrate a package manager #10

Closed orhun closed 1 month ago

orhun commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, linuxwave is not packaged for any Zig package manager and the dependencies are simply git submodules.

Describe the solution you'd like

It would be nice to utilize zigmod and/or gyro.

Describe alternatives you've considered

None.

Additional context

See zerve project's files (gyro.zzz, zig.mod) which sparked this idea.

booniepepper commented 1 year ago

As an alternative, Zig 0.11 (scheduled for release Aug 3, 2023) has a built-in package management system.

It's not quite a "package manager" in the sense of something like crates.io that has an index and central repository. The basic idea would be to simply add a build.zig.zon once Zig 0.11 is released. (And any other Zig 0.11 compatibility changes that will be required)

orhun commented 1 year ago

Thanks for the info @booniepepper! I would prefer to go with the built-in package manager when it is available soon. It would be nice to have it in #8 maybe. cc @yellowapple