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 Meson Files #701

Merged
merged 5 commits into from
Feb 9, 2023
Merged

Update Meson Files #701

merged 5 commits into from
Feb 9, 2023

Conversation

Marukesu
Copy link
Contributor

@Marukesu Marukesu commented Feb 9, 2023

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.

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.
Copy link
Member

@danirabbit danirabbit left a 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 Show resolved Hide resolved
data/meson.build Outdated Show resolved Hide resolved
meson.build Outdated
Comment on lines 13 to 17
glib_version = '>=2.40'
gtk_version = '>-3.24'
granite_version = '>=6.1'
handy_version = '>=0.83'
vte_version = '>=0.59'
Copy link
Member

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

Copy link
Contributor Author

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.

po/extra/meson.build Outdated Show resolved Hide resolved
Copy link
Member

@danirabbit danirabbit left a 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!

@danirabbit danirabbit merged commit df0c9af into master Feb 9, 2023
@danirabbit danirabbit deleted the maru/update-meson branch February 9, 2023 22:43
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.

None yet

2 participants