Skip to content

Convert build system from make+bash to meson - #262

Draft
NHOrus wants to merge 20 commits into
phillipberndt:masterfrom
NHOrus:meson
Draft

Convert build system from make+bash to meson#262
NHOrus wants to merge 20 commits into
phillipberndt:masterfrom
NHOrus:meson

Conversation

@NHOrus

@NHOrus NHOrus commented Nov 16, 2025

Copy link
Copy Markdown
Contributor

I feel that having to reimplement feature detection, configuration and package discovery in GNU Make, in addition of doing everything else pqiv does, is a bad idea. Better to leave it to generic solutions that are easy for downstream to understand and modify.

To do:

  • Windows compilation with MinGW
  • GTK-2, but it's being removed from distros, so unlikely?
  • Backend glue generation
  • Desktop file generator
  • Backend compilation
  • Backend configuration
  • Shared mode
  • Installing
  • Instructions

@phillipberndt

Copy link
Copy Markdown
Owner

Thanks for taking the initiative!

The main reason I'm using plain gnu make is to avoid the dependency on a specific build system. My take on downstream modifications is that I'd rather provide all customization that's needed as upstream features. Is there anything you're missing specifically? The package should currently compile just fine on anything that provides a working pkg-config.

@NHOrus

NHOrus commented Nov 17, 2025

Copy link
Copy Markdown
Contributor Author

Frankly, no. I just like meson more than plain GNU Make. And find it more readable.

@NHOrus

NHOrus commented Nov 21, 2025

Copy link
Copy Markdown
Contributor Author

Again, this PR is for... education, other two are for actual inclusion.

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