-
-
Notifications
You must be signed in to change notification settings - Fork 102
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 Meson Files #701
Update Meson Files #701
Conversation
declare meson targets in the files in they respective folders and make the main meson file handle only dependencies, version checking and compiler arguments. also set meson minimal version to 0.58 and stop using deprecated functions.
65edd77
to
e4aeb41
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mostly looks good, just a few inline comments. I think generally some of these lines are a bit harder to read compared to how they were before. Having arguments separated onto different lines for some of these methods that take a bunch of arguments makes it just easier to read at a glance what's happening
meson.build
Outdated
glib_version = '>=2.40' | ||
gtk_version = '>-3.24' | ||
granite_version = '>=6.1' | ||
handy_version = '>=0.83' | ||
vte_version = '>=0.59' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a good reason to have these all separated out like this? it seems like it kind of just makes it more complicated and I'm not sure we ever want to re-use these values besides glib_version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would say it make more easy to find minimal versions of dependencies, but i can inline the not re-used ones if preferred.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks solid. Nice work!
Declare meson targets in the files in they respective folders and make the main meson file handle only dependencies, version checking, and compiler arguments. Also set meson minimal version to 0.58 and stop using deprecated functions.