Kind of neat how well #GNOME apps fit in on macOS :) Since @nila added support for macOS to #puregotk in https://codeberg.org/puregotk/puregotk/pulls/43 this week I thought I’d give it a shot on my new MacBook Neo - and it works really well. Cross-compilation from Linux to macOS was super easy thanks to purego, no cross-compiler needed, just `GOOS=darwin GOARCH=arm64`. Plus, discovered that macOS’s arm64 library paths are different!
@pojntfx @nila I got questions about running Maps on macOS once when I did a presentation. Would be kinda cool to see. But I suspect some things would need fixing. For example GeoClue is not running there, so possibly it would need some abstraction for location service (the same would apply for Window, btw). Or maybe it would still run, but unable to get current location.

@mlundblad @nila Yeah, even in my simple case stuff doesn’t fully work (no D-Bus, so no notifications). WebKitGTK isn’t packaged for macOS, that’s a pretty big blocker.

I wonder if it makes sense to put more work into this? I did a bunch of work on the whole “compile for macOS and Windows” in a UNIXy way (Darling for macOS builds in Docker on Linux, MSYS2 for Windows builds on Linux) with https://github.com/pojntfx/hydrapp, but stopped a year ago bc I’d rather just focus on Linux

GitHub - pojntfx/hydrapp: Build fast apps that run everywhere with Go and a browser engine of your choice.

Build fast apps that run everywhere with Go and a browser engine of your choice. - pojntfx/hydrapp

GitHub
@mlundblad @nila But yeah if there is enough interest in it, maybe it’s worth it? I’d love to have smth that just takes a Flatpak manifest + “x-“-prefixed extra keys for macOS (Homebrew) + Windows (MSYS2) packages to install instead of SDKs and runtimes, and then just builds self-updating DMGs and MSIs from it

@pojntfx @mlundblad @nila i want this so badly.

native dev on windows and macos feels completely bananas in 2026 but the current gtk/etc tooling options meant a macos port was a small hassle (for my silly little bookmarking app) and windows wasn’t worth it at all.

i’d rewrite everything in go if it could visit all 3 cities with only minor pain. 😜

@deobald @mlundblad @nila Ha! Maybe I should put work into this then lol. Any chance you could give hydrapp a shot for your use case? I know it's web-based, but conceptually it would allow you to do something like you propose. The DX is also almost untested though so if I were to take a fresh look at it, except this time targetting GTK, having another human take a peak at it would be super valuable https://github.com/pojntfx/hydrapp
GitHub - pojntfx/hydrapp: Build fast apps that run everywhere with Go and a browser engine of your choice.

Build fast apps that run everywhere with Go and a browser engine of your choice. - pojntfx/hydrapp

GitHub
@pojntfx @mlundblad @nila i can’t do pwa but if your xplat go +gtk dx would likely mirror hydrapp, i can give it a shot just for fun sometime. :)