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

Support for Meson Builds #1164

Open
distler opened this issue Sep 30, 2024 · 0 comments
Open

Support for Meson Builds #1164

distler opened this issue Sep 30, 2024 · 0 comments

Comments

@distler
Copy link

distler commented Sep 30, 2024

I notice that a number of packages are held back at ancient versions because the upstream switched to meson as a build system.

I ran into this problem when libharfbuzz failed to compile for me (Macos 14.7). It seemed hopeless to try to fix version 2.6.8. So I decided to grab the latest version (10.0.1) and see if I could modify libharfbuzz0-shlibs.info to build using meson.

It involve commenting out a whole bunch of stuff (e.g., no patching required!). The CompileScript (without the docs, because building the docs gave me an error) was

meson build -Ddocs=disabled -Ddoc_tests=false -Dgraphite2=enabled -Dprefix=/opt/sw
meson compile -C build

and the InstallScript was

meson install -C build --no-rebuild --destdir=%d

Obviously, my attempt was rather hacky, but it seems that adding meson support is not so difficult (and would solve a lot of problems with other packages).

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

No branches or pull requests

1 participant