Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. In some more fun #puregotk #GNOME news - I managed to get Meson to work on macOS.

In some more fun #puregotk #GNOME news - I managed to get Meson to work on macOS.

Scheduled Pinned Locked Moved Uncategorized
puregotkgnome
6 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • pojntfx@mastodon.socialP This user is from outside of this forum
    pojntfx@mastodon.socialP This user is from outside of this forum
    pojntfx@mastodon.social
    wrote last edited by
    #1

    In some more fun #puregotk #GNOME news - I managed to get Meson to work on macOS. You can even write a GObject library in Go now, compile it to a dylib and typelib, and then another puregotk-based app (or GJS, Python etc.) can load the custom widget and display it with no issues!

    Even cooler - you can cross-compile this for macOS from Linux, no CGo/macOS C compiler required 🙂

    Link Preview Image
    pojntfx@mastodon.socialP maltimore@social.tchncs.deM 2 Replies Last reply
    1
    0
    • pojntfx@mastodon.socialP pojntfx@mastodon.social

      In some more fun #puregotk #GNOME news - I managed to get Meson to work on macOS. You can even write a GObject library in Go now, compile it to a dylib and typelib, and then another puregotk-based app (or GJS, Python etc.) can load the custom widget and display it with no issues!

      Even cooler - you can cross-compile this for macOS from Linux, no CGo/macOS C compiler required 🙂

      Link Preview Image
      pojntfx@mastodon.socialP This user is from outside of this forum
      pojntfx@mastodon.socialP This user is from outside of this forum
      pojntfx@mastodon.social
      wrote last edited by
      #2

      @deobald I get the urge to actually write a proper packaging thing for this now lol

      chergert@my.devsuite.appC 1 Reply Last reply
      0
      • pojntfx@mastodon.socialP pojntfx@mastodon.social

        @deobald I get the urge to actually write a proper packaging thing for this now lol

        chergert@my.devsuite.appC This user is from outside of this forum
        chergert@my.devsuite.appC This user is from outside of this forum
        chergert@my.devsuite.app
        wrote last edited by
        #3

        @pojntfx I really want a “flatmac” like thing for foundry so running “foundry export” on a Mac would get you something similar to what we do with the Flatpak bundle. Maybe even a similar file format.

        pojntfx@mastodon.socialP 1 Reply Last reply
        0
        • chergert@my.devsuite.appC chergert@my.devsuite.app

          @pojntfx I really want a “flatmac” like thing for foundry so running “foundry export” on a Mac would get you something similar to what we do with the Flatpak bundle. Maybe even a similar file format.

          pojntfx@mastodon.socialP This user is from outside of this forum
          pojntfx@mastodon.socialP This user is from outside of this forum
          pojntfx@mastodon.social
          wrote last edited by
          #4

          @chergert Ha! Yeah, that’s exactly what I’ve been hacking around with as well. Takes in a flatpak manifest + “-x” keys, builds the thing in darlinghq w/ the XCode toolchain, fetches packages from Homebrew, copies the dylibs and stuff over to a .app, makes a .dmg, signs the bundle et voilà.

          The biggest thing I can’t figure out is how to update it. On Windows I used some MSI tricks when I last did this, on macOS I just mounted the new DMG with hdiutils & replaced the .app

          pojntfx@mastodon.socialP 1 Reply Last reply
          0
          • pojntfx@mastodon.socialP pojntfx@mastodon.social

            @chergert Ha! Yeah, that’s exactly what I’ve been hacking around with as well. Takes in a flatpak manifest + “-x” keys, builds the thing in darlinghq w/ the XCode toolchain, fetches packages from Homebrew, copies the dylibs and stuff over to a .app, makes a .dmg, signs the bundle et voilà.

            The biggest thing I can’t figure out is how to update it. On Windows I used some MSI tricks when I last did this, on macOS I just mounted the new DMG with hdiutils & replaced the .app

            pojntfx@mastodon.socialP This user is from outside of this forum
            pojntfx@mastodon.socialP This user is from outside of this forum
            pojntfx@mastodon.social
            wrote last edited by
            #5

            @chergert See https://github.com/pojntfx/hydrapp/tree/main/hydrapp/pkg/builders

            Just not sure if it’s worth the time to do more of this kind of work trying to get Linux-centric apps to run on non-Linux vs. something that advances Linux directly

            1 Reply Last reply
            0
            • pojntfx@mastodon.socialP pojntfx@mastodon.social

              In some more fun #puregotk #GNOME news - I managed to get Meson to work on macOS. You can even write a GObject library in Go now, compile it to a dylib and typelib, and then another puregotk-based app (or GJS, Python etc.) can load the custom widget and display it with no issues!

              Even cooler - you can cross-compile this for macOS from Linux, no CGo/macOS C compiler required 🙂

              Link Preview Image
              maltimore@social.tchncs.deM This user is from outside of this forum
              maltimore@social.tchncs.deM This user is from outside of this forum
              maltimore@social.tchncs.de
              wrote last edited by
              #6

              @pojntfx that is really awesome!

              1 Reply Last reply
              0
              • gnome@floss.socialG gnome@floss.social shared this topic
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups