Changes to make modules build on macOS
@ptomato
Submitted by Philip Chimento Link to original bug (#774453)
Description
I've spent some time getting the 3.22 modulesets to build on macOS 10.12. Here are various patches to the modulesets that fix issues I ran into. I've also filed a bunch of patches which I'll add as dependencies of this bug.
If you have a copy of macOS and you want to try it out yourself, you need https://github.com/ptomato/macos-jhbuild which has some extra modulesets, the necessary jhbuild configuration, and some instructions.
The modulesets:
- macos-sysdeps.modules - All the stuff that can be installed as "sysdeps" on other platforms
- macos-overrides.modules - Stuff in the normal modulesets that can't be built normally (vala needs to be built from tarball as it needs valac to bootstrap from git, WebKit is just difficult :-P)
The jhbuildrc builds 3.22's meta-gnome-devel-platform by default, but I've gotten it to build meta-gnome-extended-devel-platform, gjs, devhelp, and (with almost all dependencies) gnome-builder. I haven't tried 3.24 yet.
You will need all the patches that are posted in the bugs that this one depends on (at least, until they are committed.) In addition, you will need
- pulseaudio: https://bugs.freedesktop.org/show_bug.cgi?id=98698
- gnome-online-accounts: needs an edit to remove usage of too-new WebKit API