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

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

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'

(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

(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

(g-golf-hello-world.scm:494347): GLib-CRITICAL **: 12:37:46.818:
g_once_init_leave: assertion 'result != 0' failed

So I assume I haven't fixed the guix environment completely yet, but I'm
still working on that. The guix toolset is advertised to manage all the
interdependencies, but I'm not certain that it works in every situation.
I'll keep trying, though. Thanks again.

On Thu, Aug 25, 2022 at 7:27 PM David Pirotte <david@altosw.be> wrote:

> Hello Lee,
>
> > David, I was able to install G-Golf via guix, and that also worked
> > with the "use-modules" portion of your "Hello, World!" example.
>
> > HOWEVER (alas), both examples fail on the "use-typelibs" line, with:
> > Typelib file for namespace 'Gtk', version '4.0' not found
>
> This is a guix 'problem' [1], please try to get some help on guix-user
> ML, or if you have on irc:      irc.libera.chat (channel) #guix
>
> > In trying to resolve that error myself, I found that the guile manual
> > has no entry for "use-typelib" in the Procedures Index. :-/  I'll
> > submit that bug in a new email, after confirming there's not already
> > a thread.
>
> No, there is no 'use-typelib, as you can read in each example, the
> procedure call is:
>
>         (g-irepository-require "Gtk" #:version "4.0")
>         [ the manual has an entry for g-irepository-require
>
> So, with this in mind, the error message is 'correct'. Note that it
> would also fail if there is a tipo in the namespace, or if you refer to
> a version that does not exist ...
>
> > Oh, and David, https://www.gnu.org/software/g-golf/index.html has a
> > link for Typelib that 404s. I would suggest a fix, but I couldn't
> > easily find one, sorry.
>
> Thanks, I'll look at this.
>
> David
>
> [1]     I mean you need to find the name of the package and install
> it, this is not a G-Golf dependency, it is only needed if you wish t
> run those examples, which are mini apps, not part of the G-Golf core
> lib ... so to speak, it is 'user dependency' ... I think guix has Gtk-4+
> packages, including the package that 'has' the typelib, but I don't use
> guix, so i am unable to give you precise guidance ... the #guix channel
> is extremely responsive, helpful, and very friendly, so don't be
> scared to ask ...
>

[-- Attachment #2: Type: text/html, Size: 3741 bytes --]

  reply	other threads:[~2022-08-26 20:03 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 [this message]
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
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='CANYin9UQ5-m0fZ9hi7kdEDSnhO1rjq-02KiWtY2nzVJgdjO=2Q@mail.gmail.com' \
    --to=leet22303be@gmail.com \
    --cc=57379@debbugs.gnu.org \
    --cc=david@altosw.be \
    --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).