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

meson: move build files to repository root #307

Merged
merged 4 commits into from
Apr 1, 2024

Conversation

eli-schwartz
Copy link
Contributor

Per the README and github ticket discussion, the purpose of having it in contrib/ is to gauge community interest. This interest has now been expressed by several parties, so that interest is certainly there.

Let's move it to a more discoverable location. This has two benefits:

  • usability. If various parties intend to use it, then it is easier to do so from the repository root rather than cd'ing into a subdir.

  • discoverability. At least Gentoo didn't initially realize it existed, since it wasn't in the repository root, but switched after realizing. It seems reasonable that other redistributors, too, would be interested in evaluating its use but hadn't previously noticed the option.

Addresses: #211 (comment)

Per the README and github ticket discussion, the purpose of having it in
contrib/ is to gauge community interest. This interest has now been
expressed by several parties, so that interest is certainly there.

Let's move it to a more discoverable location. This has two benefits:

- usability. If various parties intend to use it, then it is easier to
  do so from the repository root rather than cd'ing into a subdir.

- discoverability. At least Gentoo didn't initially realize it existed,
  since it wasn't in the repository root, but switched after realizing.
  It seems reasonable that other redistributors, too, would be
  interested in evaluating its use but hadn't previously noticed the
  option.

Addresses: #211 (comment)
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
This was not done in commit f8b8cdd.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
It is unnecessary to set the install directory for manpages, since meson
infers this from the file extension and installs *.1 manpages to mandir
in the man1 section for you.

It is also unnecessary to tag them as "en" because that is the
default... it is likewise unnecessary to tag them with manual file
permissions since the default 644 permission is also the overridden one.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Indicate the minimum required version of meson. Version 0.47 (released
March 2020) is needed regardless, since it provides the cross-platform
curses dependency wrapper. This just lets meson know that, so it
can:

- warn you if you use features from newer versions you didn't intend to
  use, which is a sign to either require a higher minimum or avoid the
  new feature for maximal compatibility

- error out if you have an older version of meson too old to build
  correctly with

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
@nhorman nhorman merged commit cac5c8d into Irqbalance:master Apr 1, 2024
@eli-schwartz eli-schwartz deleted the meson-mv-to-root branch April 26, 2024 15:17
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