Skip to content

Add meson build system#32

Open
tintou wants to merge 3 commits into
linux-nfc:masterfrom
tintou:tintou/meson
Open

Add meson build system#32
tintou wants to merge 3 commits into
linux-nfc:masterfrom
tintou:tintou/meson

Conversation

@tintou
Copy link
Copy Markdown
Contributor

@tintou tintou commented May 6, 2026

Add the Meson build system alongside autotools allowing to keep the current build system working until the port is validated by distributors.

The Meson build system has a syntax easier to understand than autotools, build faster
and allow to use ninja instead of make.

It also makes things safer for cross-compilation and dependencies handling.

Keep the autotools CI working as we need both to be proven to work.

Update debian, fedora and ubuntu to their latest version available, remove
unsupported versions.
@tintou tintou force-pushed the tintou/meson branch 6 times, most recently from 4fec381 to 3d8599e Compare May 6, 2026 15:51
@krzk
Copy link
Copy Markdown
Collaborator

krzk commented May 6, 2026

This is interesting, I will need a bit of time to review, so don't worry if you do not hear from me - it still will be in todo list.

What I see now is:

  1. Your commits need proper description explaining why you are doing, why you have chosen that approach (like keeping automake stuff).
  2. How does this interact with existing autoconf/automake? Can we replace completely existing build tools?

tintou added 2 commits May 6, 2026 22:32
Add the Meson build system alongside autotools allowing to keep the current build
system working until the port is validated by distributors.

The Meson build system has a syntax easier to understand than autotools, build faster
and allow to use ninja instead of make.

It also makes things safer for cross-compilation and dependencies handling.
Keep the autotools CI working as we need both to be proven to work.
@tintou
Copy link
Copy Markdown
Contributor Author

tintou commented May 6, 2026

I've updated the commit to explain the choice of Meson.

I'm keeping the current autotools build system alive until all distributors have confirmed that there is no regression with the Meson port. Most project that switched to Meson did so during at least one release to allow the distros to fallback to the autotools build system in case something is missing.

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.

2 participants