Hi Guix,

I've just pushed the Meld package, but now I'm noticing something
strange: while it works well in a ./pre-inst-env environment, it fails
to start on my out-of-date profile.  Error message:

--8<---------------cut here---------------start------------->8---
Meld requires GTK+ 3.20 or higher.
--8<---------------cut here---------------end--------------->8---

The "meld" executable contains this snippet:

--8<---------------cut here---------------start------------->8---
    gtk_requirement = (3, 20)
    # ...

    # gtk+ and related imports
    try:
        # FIXME: Extra clause for gi
        import gi
        gi.require_version("Gtk", "3.0")
        from gi.repository import Gtk
        version = (Gtk.get_major_version(), Gtk.get_minor_version())
        assert version >= gtk_requirement
    except (ImportError, AssertionError, ValueError) as e:
        missing_reqs("GTK+", gtk_requirement, e)
--8<---------------cut here---------------end--------------->8---

Somehow it seems that gi does not load the right GTK version, but I'm
not sure how that's possible at all.

Can anyone reproduce and understand what's happening?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature

Reply via email to