unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: Lee Thomas <leet22303be@gmail.com>
Cc: Jessica Tallon <tsyesika@tsyesika.se>, 57379@debbugs.gnu.org
Subject: bug#57379: GUI toolkit for Guile 3.0?
Date: Sun, 28 Aug 2022 19:42:26 -0300	[thread overview]
Message-ID: <20220828194226.1b280259@aicha> (raw)
In-Reply-To: <CANYin9UQ5-m0fZ9hi7kdEDSnhO1rjq-02KiWtY2nzVJgdjO=2Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]

Hello Lee,

> Thank you greatly, David. I cleaned up my guix environment and
> reinstalled G-Golf, and now the hello world script runs but hangs
> after these errors:

> (g-golf-hello-world.scm:494347): GLib-GObject-WARNING **:
> 12:37:46.818: cannot register existing type 'GdkPixbuf'

This is a guix problem, reported a few years ago already by one of my
first g-golf user, the author of the nomad package. I have no idea why,
nor what it takes to fix this in guix, but this error is the symptom
that you (guix, not you nor g-golf) is trying to load the Gdk typelib
more then once, which is 'unauthorized', by (GNOME) design.

Until what causes this error is fixed, absolutely nothing can work.

I am on Debian, where all examples work [1]

> (g-golf-hello-world.scm:494347): GLib-GObject-CRITICAL **:
> 12:37:46.818: g_type_add_interface_static: assertion
> 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

This is the symptom that you are running a g-golf version that was
built from the devel branch - where as this is generally ok, I am also
very cautious to what I push even on the devel branch, I am in a process
of re-designing re-writing the way users may register new classes, that
inherit from GInterface. I also am re-designing re-writing how users
interact with VFunc. For these reasons, I recommend the guix team
to stick to the latest commit of the master branch for now.

The hello-world example has worked 'fine', on Debian, for many years,
you don't need the latest commit to run it :) - though in January
2021, I updated it (as well as other examples) to use Gtk-4.0.

	I see Ricardo also answered and tried, I'll also comment his
	message(s) ...

David

[1]    in addition to what you need to install g-golf, to run the
examples, you also need to install gir1.2-gtk-4.0:amd64 (or 
gir1.2-gtk-4.0:xxxx  for another architecture, which content is listed
below, fwiw:

dpkg -L gir1.2-gtk-4.0:amd64
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/girepository-1.0
/usr/lib/x86_64-linux-gnu/girepository-1.0/Gdk-4.0.typelib
/usr/lib/x86_64-linux-gnu/girepository-1.0/GdkWayland-4.0.typelib
/usr/lib/x86_64-linux-gnu/girepository-1.0/GdkX11-4.0.typelib
/usr/lib/x86_64-linux-gnu/girepository-1.0/Gsk-4.0.typelib
/usr/lib/x86_64-linux-gnu/girepository-1.0/Gtk-4.0.typelib
/usr/share
/usr/share/doc
/usr/share/doc/gir1.2-gtk-4.0
/usr/share/doc/gir1.2-gtk-4.0/changelog.Debian.gz
/usr/share/doc/gir1.2-gtk-4.0/copyright

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2022-08-28 22:42 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24  2:35 bug#57379: GUI toolkit for Guile 3.0? Lee Thomas
2022-08-24 12:29 ` Jessica Tallon
2022-08-24 16:05   ` Lee Thomas
2022-08-24 18:55     ` Jessica Tallon
2022-08-24 20:03   ` David Pirotte
2022-08-24 21:49     ` Lee Thomas
2022-08-26  2:27       ` David Pirotte
2022-08-26 20:03         ` Lee Thomas
2022-08-26 20:35           ` Ricardo Wurmus
2022-08-26 21:11             ` Lee Thomas
2022-08-27  8:30               ` Ricardo Wurmus
2022-08-28 23:04                 ` David Pirotte
2022-08-28 22:42           ` David Pirotte [this message]
2022-08-29  2:32             ` Lee Thomas
2022-08-29  9:11               ` Ricardo Wurmus
2022-08-29  9:12               ` Ricardo Wurmus
2022-08-29 16:54               ` David Pirotte
2022-08-29 18:22                 ` Lee Thomas
2022-08-29 23:23                   ` David Pirotte
2022-08-30 18:33                     ` Lee Thomas
2022-09-01  7:17                       ` adriano
2022-09-03  4:26                       ` David Pirotte
2022-08-29 19:55                 ` Ricardo Wurmus
2022-08-30 18:24                   ` Lee Thomas
2022-09-03  4:15                     ` David Pirotte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220828194226.1b280259@aicha \
    --to=david@altosw.be \
    --cc=57379@debbugs.gnu.org \
    --cc=leet22303be@gmail.com \
    --cc=tsyesika@tsyesika.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).