Dvlv / BoxBuddyRS

A Graphical Interface for Distrobox
MIT License
243 stars 24 forks source link

Move build system to Meson #98

Closed tfuxu closed 3 months ago

tfuxu commented 3 months ago

Describe your feature request below

Many modern Gtk applications use Meson to manage compilation and packaging processes, as it is a de facto build system of core GNOME apps.

Move to Meson would allow to remove some boilerplate code for retrieving packaged icons (like this), make code more readable and maintainable by (easily) moving UI definitions from Rust to Blueprint and create a standard environment for future contributors.

I've already made a minimal Meson configuration for BoxBuddy, and it works great for devel builds. I just need a green light from @Dvlv, to know if this is something that would be accepted into BoxBuddy codebase.

Dvlv commented 3 months ago

Hello https://github.com/Dvlv/BoxBuddyRS/tree/meson-restructure There's already a meson brach, I just never merged it into master as I couldn't see any particular benefit to moving the buildsystem.

make code more readable and maintainable by (easily) moving UI definitions from Rust to Blueprint

I've never really "vibed with" this way of doing GTK (which is surprising since I work in web where the HTML is separate from the logic) I find it much easier to have everything together.

As well as this, I consider BoxBuddy essentially feature-complete, so I'm not sure it's worth the effort of rebuilding it all.