home.social

#puregotk β€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #puregotk, aggregated by home.social.

  1. Some neat #puregotk & #GStreamer hacks I've been exploring: #Multiplex, which allows you to do torrent watchparties with your friends & share the positions, playback etc. P2P, now has an initial version that uses GStreamer to play back the video in the app itself! No more need for MPV :)

    Bonus: Subtitles work better now, too!

  2. Published an initial version of the #puregotk bindings for #p2panda to Codeberg! Obvious disclaimers regarding stability and some rough edges around the callback syntax handling but hey, it works well enough to build a chat app with it and package it with Flatpak!

    codeberg.org/pojntfx/p2panda-g

  3. #p2panda's GObject library running inside of Flatpak, called from #puregotk (Golang) - and it all kind of just works, including mDNS discovery?

  4. Finally managed to push those two big #puregotk PRs I've been working on!

    1) fixes a bug with `throws` generation: codeberg.org/puregotk/puregotk
    2) makes the generation 15x faster: codeberg.org/puregotk/puregotk

    That should make it that much easier to generate new bindings or even generate them during the build, e.g. for something like #p2panda

  5. Managed to get an initial prototype of #Go bindings for #p2panda to work! It's using the new GObject bindings and some new #puregotk improvements I've been hacking on these past few nights. Can't wait to actually build something with this! #GNOME

  6. Managed to get #WebKitGTK to work with #puregotk. Just needed to add a small tweak since it was mixing up `gio.Byte` with `[]byte`. I think that makes it one of the first full-featured, CGo-free WebView libraries for Go?

  7. Ha, ran into a #WebKitGTK quirk today while extending the #puregotk generator to work with it: bugs.webkit.org/show_bug.cgi?i

    Workaround for now: github.com/pojntfx/ledger/comm

    Funnily enough I ran into this exact problem with my own Go-based GObject library. Initialising them in `main` (yes, in a library!) fixed it there!

  8. New progress on the #puregotk #GObject introspection things I'm working on in #Go. It's super early, but I added preliminary support for generated getters/setters for properties. No more manual value setup & `SetProperty` calls required, just a simple `SetPropertyX` call. We're getting closer and closer to more readable code here with this IMHO, GJS on the right for comparison!