home.social

#glib — Public Fediverse posts

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

  1. Looks like it's a problem with the XDG Template directory being set to the home directory, and it now just recurses and recurses and recurses and gets FAR too busy.

    bugs.debian.org/cgi-bin/bugrep

    Specifically, it's about `$HOME/` not being recognised as the home directory because of the trailing slash.

    gitlab.gnome.org/GNOME/glib/-/

    So either edit your config as per the Debian comment, or wait for your distro to release the fix.

    #Gnome #Nautilus #GLib

  2. #DailyBird 🤖
    Glossy Ibis (Plegadis falcinellus), 8th May 2024
    es: Morito Común, fr: Ibis Falcinelle
    Cape Henlopen State Park, The Glade, Delaware
    Lenapehoking (Lenni-Lenape) & Pocomoke-Assateague traditional territory
    Canon EOS R5, Canon RF 200-800mm f/6.3-9 + 1.4x teleconverter @ 1120mm, 20% crop, 1/400s, f/14, ISO 1250
    #Birds #GlossyIbis #GLIB #BirdOfTheDay #HopeIsTheThingWithFeathers #DescribeYourImages

  3. First a bit of context for the GLib project, which is comprised of three main parts: GLib, GObject and GIO. #GLib contains things you'd generally get from a standard library, #GObject defines the OOP semantics (methods/properties/signals, inheritance, etc), and #GIO provides reasonably high-level APIs for everything from sockets and files to D-Bus and Gio.DesktopAppInfo.

    andyholmes.ca/posts/best-inten

  4. Well that's something new. Must be a circular dependency between glib-2.82.4,2 and gobject-introspection@bootstrap, but I'm not entirely sure which port to file a bug against; I suspect gobject-introspection.

    #FreeBSD #glib #portmaster

  5. I have not blogged or talked about the follow-up work to my "GType Next" blog post that I've been doing in my spare time, mainly because it is happening *in my spare time*, and I don't want to give false impressions to people; the other reason is that the time consuming bit is not writing a bunch of code, but it's planning ahead, because the goal is to avoid breaking stuff at all costs…

    #glib #gobject #gtk

  6. Ciekawostka: jeżeli różne programy sypią się z błędami typu:

    (…): GLib-GIO-ERROR **: 20:46:27.286: Settings schema '…' does not contain a key named '…'

    a macie pewność, że schematy skompilowane, i definitywnie zawierają taki klucz, to może okazać się, że z jakiegoś powodu w waszym katalogu domowym siedzi dodatkowy plik ze skompilowanymi schematami, i jest używany zamiast systemowego.

    Czyli:

    rm ~/.local/share/glib-2.0/schemas/gschemas.compiled

    #Gentoo #GNOME #glib

  7. Fun fact: if random applications are crashing with errors like:

    (…): GLib-GIO-ERROR **: 20:46:27.286: Settings schema '…' does not contain a key named '…'

    and you've already verified that you've compiled the schemas, and that the schema contains the listed key, then it may mean that for some reason you have another compiled schema file in your home directory, and it's taking precedence.

    In other words:

    rm ~/.local/share/glib-2.0/schemas/gschemas.compiled

    #Gentoo #GNOME #glib

  8. Play FlappyBird, but written in #vala !
    gitlab.com/nda-cunh/flappyvala
    Using only #SFML and #glib as dependencies.
    The code is object oriented and a very good example for a non-gtk Vala app. Check it out!

    #gamedev #gaming #FlappyBird #OOP

  9. CW: old cat yells about packaging and cross-compiling

    Feels like I got into shaving a whole herd of yaks when I just wanted to access NetworkManager over D-Bus from Python on a certain embedded system. ​:neocat_laugh_sweat:​

    * The only non-deprecated, non-systemd way to do that (short of handwriting a client library) seems to be python-gobject and introspection.
    * The
    #Buildroot packages for python-gobject and gobject introspection are marked as glibc-only, but I'm using musl. And I know they work on Alpine just fine.
    * The GLib, gobject-introspection, and python-object versions in Buildroot are very old. And Alpine actually dropped a musl-compatibility patch with the most recent gobject-introspection version. So… update time.
    * The
    #GLib build process changed and now requires a bootstrap step to support introspection.
    * Turns out… Bootstrap or not, introspection isn't supported when cross-compiling.
    ​:neocat_scream_stare:​

    We'll see where it goes from here, the gobject-introspection package in Buildroot does some wild things with Qemu to work around a similar limitation. And there are some somewhat recent changes related to cross-compiling upstream.
    ​:neocat_think:​

  10. @eniko C is a very incomplete language. The C std lib is nothing compred to a "proper" one from modern languages like C++ or rust. That is why for example #glib exists, an additional library to provide more functions and utilities, also for working with strings. (It is used heavily in the #GNOME desktop environment)

  11. Important security update for GLib and D-Bus, thanks to @pwithnall

    discourse.gnome.org/t/security

    If you are a downstream distributor of GLib, GTK, or GNOME-related projects, remember to follow the distributor tag on Discourse.

    #glib #security

  12. When I was dealing with gtk-rs, I thought was a mess in .

    Now I know it's not just Rust. It's also a pain in C. Sigh.

  13. Does anyone happen to know why GUnixInputStream doesn't implement GSeekable? #glib

  14. Sent a PR to for a new API which I would like to use in my new GConverter implementation for

  15. Embloggeration happened: bassi.io/articles/2023/10/25/i

    In which I talk about the current plans for gobject-introspection and GLib.

    If you work on language bindings, and/or packaging glib, you should reach out to the GLib maintainers.

    #gnome #glib #gnome