bug#57379: GUI toolkit for Guile 3.0?

2022-09-02 Thread David Pirotte
Hello again > I sincerely apologize for opening a bug on the original issue; No problem. > It's not obvious to me how I can close this bug report. I'll close the bug don't worry. Cheers, David pgpGjmIfplwYv.pgp Description: OpenPGP digital signature

bug#57379: GUI toolkit for Guile 3.0?

2022-09-02 Thread David Pirotte
Hello Lee, > I can confirm that disabling grafts allows both of the g-golf > examples to run, and they come up quickly. Great! > Thank you, Ricardo! 1+ David pgpfUl2Sfufoc.pgp Description: OpenPGP digital signature

bug#57379: GUI toolkit for Guile 3.0?

2022-09-01 Thread adriano
Hi Lee, Il giorno mar, 30/08/2022 alle 11.33 -0700, Lee Thomas ha scritto: > So what I meant by "eventually", David, is that the apps were slow to > appear. Without the grafts, now they aren't. > > I sincerely apologize for opening a bug on the original issue; it > appeared to be the right thing

bug#57379: GUI toolkit for Guile 3.0?

2022-08-30 Thread Lee Thomas
I can confirm that disabling grafts allows both of the g-golf examples to run, and they come up quickly. I suspect they were slow due to something in the grafts; I'll find out. I still get some errors, but they also appear to be related to guix. I'll read the discussion. Thank you, Ricardo! On

bug#57379: GUI toolkit for Guile 3.0?

2022-08-29 Thread Ricardo Wurmus
David Pirotte writes: > I hope Ricardo, possibly with the help of other guix contributor's will > find a solution so that g-golf may also run 'out of the box' on guix. Turns out that it all works fine when you disable grafts: guix shell --pure --no-grafts \ guile guile-g-golf gtk@4

bug#57379: GUI toolkit for Guile 3.0?

2022-08-29 Thread Lee Thomas
Thank you again, David. I followed your installation instructions, and with a few warnings, your hello-world example (eventually) ran. I can submit what I saw to the bug-g-g...@gnu.org address. I also got clipboard.scm to run, with one error. I think for Jessica's and Ricardo's sakes, and

bug#57379: GUI toolkit for Guile 3.0?

2022-08-29 Thread David Pirotte
Hello Lee, > Thanks again, David. Welcome. > I was able to use a solution from Ricardo to get guile-gi to run > under guix I hope Ricardo, possibly with the help of other guix contributor's will find a solution so that g-golf may also run 'out of the box' on guix. > guile 3.0.7, which I hope

bug#57379: GUI toolkit for Guile 3.0?

2022-08-29 Thread Ricardo Wurmus
Lee Thomas writes: > Thanks again, David. I was able to use a solution from Ricardo to get > guile-gi to run under guix, but it didn't work for g-golf. :-( For the record: what fixed the remaining problems with guile-gi was running the code under dbus-launch. -- Ricardo

bug#57379: GUI toolkit for Guile 3.0?

2022-08-29 Thread Ricardo Wurmus
Lee Thomas writes: > I'm not entirely sure that packages installed by guix won't > interfere, and I don't yet know how to uninstall guix, but I'll give it my > best shot for you. Guix doesn’t install anything globally where other libraries would look for stuff, so it doesn’t interfere with

bug#57379: GUI toolkit for Guile 3.0?

2022-08-28 Thread Lee Thomas
Thanks again, David. I was able to use a solution from Ricardo to get guile-gi to run under guix, but it didn't work for g-golf. :-( Even so, I was serious about wanting to help you out. My Ubuntu system has guile 3.0.7, which I hope would be OK. For g-golf, would you recommend I clone your github

bug#57379: GUI toolkit for Guile 3.0?

2022-08-28 Thread David Pirotte
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

bug#57379: GUI toolkit for Guile 3.0?

2022-08-28 Thread David Pirotte
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

bug#57379: GUI toolkit for Guile 3.0?

2022-08-27 Thread Ricardo Wurmus
Hi, Lee Thomas writes: > Thank you for responding, Ricardo! I have tried several permutations > of packages, but currently I have this: […] This looks all right to me. I can reproduce this. I also tried the latest commit of g-golf: guix shell --pure guile \

bug#57379: GUI toolkit for Guile 3.0?

2022-08-26 Thread Lee Thomas
Thank you for responding, Ricardo! I have tried several permutations of packages, but currently I have this: $ guix package --list-installed guile 3.0.8 out /gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8 gnutls 3.7.7 out

bug#57379: GUI toolkit for Guile 3.0?

2022-08-26 Thread Ricardo Wurmus
Lee Thomas writes: > 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. Could

bug#57379: GUI toolkit for Guile 3.0?

2022-08-25 Thread David Pirotte
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

bug#57379: GUI toolkit for Guile 3.0?

2022-08-24 Thread Lee Thomas
Thank you both!! Jessica, when I invoked the guix shell as you showed, it worked in that "(use-modules (gi))" succeeded. I need to learn more about including packages with the guix shell command. It's odd that I can get the latest guile to run without specifying it for guix, but I must have the

bug#57379: GUI toolkit for Guile 3.0?

2022-08-24 Thread David Pirotte
Hello, > > ... I'm trying to at least prototype a GUI in the same way that > > in Python I can write "import gi" and proceed to create a GTK > > window, add buttons and menubars and toolbars, etc. You might also try G-Golf - disclaimer, I am the G-Golf maintainer, I was hoping/waiting that some

bug#57379: GUI toolkit for Guile 3.0?

2022-08-24 Thread Jessica Tallon
Lee Thomas writes: > Thank you, Jessica! That assurance is all I really needed, but FYI: When I > type "(use-modules (gi))" into an interactive guile, trying to follow > https://github.com/spk121/guile-gi/blob/master/examples/cairo.scm , guile > responds with: > While compiling expression: >

bug#57379: GUI toolkit for Guile 3.0?

2022-08-24 Thread Lee Thomas
Thank you, Jessica! That assurance is all I really needed, but FYI: When I type "(use-modules (gi))" into an interactive guile, trying to follow https://github.com/spk121/guile-gi/blob/master/examples/cairo.scm , guile responds with: While compiling expression: no code for module (gi) If you

bug#57379: GUI toolkit for Guile 3.0?

2022-08-24 Thread Jessica Tallon
Lee Thomas writes: > Hi. I hope I'm submitting this correctly; please tell me if I'm wrong. I'm > trying to at least prototype a GUI in the same way that in Python I can > write "import gi" and proceed to create a GTK window, add buttons and > menubars and toolbars, etc. I've tried the various

bug#57379: GUI toolkit for Guile 3.0?

2022-08-24 Thread Lee Thomas
Hi. I hope I'm submitting this correctly; please tell me if I'm wrong. I'm trying to at least prototype a GUI in the same way that in Python I can write "import gi" and proceed to create a GTK window, add buttons and menubars and toolbars, etc. I've tried the various online sites, but none of