unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: tsyesika@tsyesika.se, 57379@debbugs.gnu.org, leet22303be@gmail.com
Subject: bug#57379: GUI toolkit for Guile 3.0?
Date: Sun, 28 Aug 2022 20:04:44 -0300	[thread overview]
Message-ID: <20220828200444.4002379d@aicha> (raw)
In-Reply-To: <871qt2xe0k.fsf@elephly.net>

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

Hello Ricardo,

Thanks for your help on this  guix problem - G-Golf works perfectly
fine on Debian - See the first part of my answer to Lee's message,
the one that comments the GdkPixbuf bug that happens (only) on guix.

> My first guess was that perhaps it gets confused because GTK 3 stuff
> also exists on my machine

That is impossible, by GObject Introspection design, you may, as I
have, have all gtk/gdk[/gsk] gir versions installed at the same time and
there will never be any conflict. As  user you specify the version you
wish to work with, otherwise it imports the latest, but never will it
let you import and work 'mixing' version.


>I can reproduce this.  I also tried the latest commit of g-golf:

>    guix shell --pure guile \
>                      guile-g-golf \
>                      gtk@4 \
>                      coreutils \
>                      grep \
>               --with-commit=guile-g-golf=b9956e6e4c60d6be5424290e4366f3d3f46b2c31
>    \
>               --cores=1

Oh, please stick to the latest  master commit -  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.

> But I can’t get it to work.  It would be helpful if g-golf were to
> print more diagnostic information.

These are Gtk/Gdk/GObject/GLib error messages, not G-Golf messages, as
there is no G-Golf error here.

> I only ever used guile-gi successfully.  This is the Guix shell:
> ...

Glad to here that.

In debian, after you compiled installed G-Golf, and the
gir1.2-gtk-4.0:amd64, you may

	cd <...g-golf...>/examples/gtk-4
	./hello-world.scm

	[ or any other examples
	[ for the revealer.scm though, you need to make sure the
	[GNOME] desktop 'animation' option is ON

David

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

  reply	other threads:[~2022-08-28 23:04 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 [this message]
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=20220828200444.4002379d@aicha \
    --to=david@altosw.be \
    --cc=57379@debbugs.gnu.org \
    --cc=leet22303be@gmail.com \
    --cc=rekado@elephly.net \
    --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).