Re: First example of g-golf (hello world) not working

2025-05-05 Thread David Pirotte
Hi Zelphir, > I still had some confusion, as I didn't understand, that the example > code is run as a script ... Right, as we (Florian and I) explained in an earlier response to this thread [1]. > The project I am envisioning relies heavily on a GTKTreeView. Is > there any example of that anywhe

Re: First example of g-golf (hello world) not working

2025-05-05 Thread Zelphir Kaltstahl
On 16.04.25 13:11, Zelphir Kaltstahl wrote: On 14.04.25 22:26, pelzflorian (Florian Pelz) wrote: Hello Zelphir. Zelphir Kaltstahl writes: I have many questions now. (1) So, if I understand correctly G-Golf applications can only be run with the help of Guix tooling like `wrap-program`? Unless

Re: First example of g-golf (hello world) not working

2025-04-15 Thread Zelphir Kaltstahl
On 14.04.25 22:26, pelzflorian (Florian Pelz) wrote: Hello Zelphir. Zelphir Kaltstahl writes: I have many questions now. (1) So, if I understand correctly G-Golf applications can only be run with the help of Guix tooling like `wrap-program`? Unless I somehow set all the environment variables,

Re: First example of g-golf (hello world) not working

2025-04-14 Thread pelzflorian (Florian Pelz)
Hello Zelphir. Zelphir Kaltstahl writes: > I have many questions now. > > (1) So, if I understand correctly G-Golf applications can only be run > with the help of Guix tooling like `wrap-program`? Unless I somehow > set all the environment variables, that are in the wrapper script, by > myself to

Re: First example of g-golf (hello world) not working

2025-04-13 Thread David Pirotte
> guix shell g-golf -D g-golf gtk adw --no-grafts > $(guix build > g-golf-adw-1-examples)/share/doc/g-golf/examples/adw-1/demo/adwaita-1-demo I meant guix shell g-golf -D g-golf gtk adw --no-grafts $(guix build g-golf-adw-1-examples)/share/doc/g-golf/examples/adw-1/

Re: First example of g-golf (hello world) not working

2025-04-13 Thread David Pirotte
Hello Zelphir, > ... > (3) Generally I would like to run the code, not a prebuilt example > package. How else do I know, that the code listed in the repository > of G-Golf as example actually works? iAs Florian explained in his answer: guix shell g-golf -D g-golf gtk --no-grafts

Re: First example of g-golf (hello world) not working

2025-04-13 Thread Zelphir Kaltstahl
On 13.04.25 21:24, pelzflorian (Florian Pelz) wrote: Sorry I cannot respond quickly. I will try Zelphir’s Makefile later, but what I meant by wrapping is that $(guix build g-golf-gtk-4-examples)/share/doc/g-golf/examples/gtk-4/hello-world is a bash wrapper script that contains: #!/gnu/store/k

Re: First example of g-golf (hello world) not working

2025-04-13 Thread pelzflorian (Florian Pelz)
Sorry I cannot respond quickly. I will try Zelphir’s Makefile later, but what I meant by wrapping is that $(guix build g-golf-gtk-4-examples)/share/doc/g-golf/examples/gtk-4/hello-world is a bash wrapper script that contains: #!/gnu/store/kz4ldfp06k1jznvxkb4v2pwsvwbnjyr4-bash-minimal-5.1.16/bin

Re: First example of g-golf (hello world) not working

2025-04-12 Thread Zelphir Kaltstahl
On 13.04.25 05:56, David Pirotte wrote: Hello Zelphir, I guess --no-grafts is not sufficient, and I need to use it, and additionally install one of the two packages you mentioned. Merely adding --no-grafts still results in the error: I believe your guix shell command is incomplete. Florian, c

Re: First example of g-golf (hello world) not working

2025-04-12 Thread David Pirotte
Hello Zelphir, > I guess --no-grafts is not sufficient, and I need to use it, and > additionally install one of the two packages you mentioned. Merely > adding --no-grafts still results in the error: I believe your guix shell command is incomplete. Florian, could you tell us the exact command li

Re: First example of g-golf (hello world) not working

2025-04-12 Thread Zelphir Kaltstahl
Hello Florian, On 12.04.25 15:36, pelzflorian (Florian Pelz) wrote: David’s explanation is correct as far as I understand and should help (I hope? it does work for me on Sway) except one little detail: David Pirotte writes: You can't run the upstream version of the g-golf distributed examples

Re: First example of g-golf (hello world) not working

2025-04-12 Thread Zelphir Kaltstahl
Hello David, On 12.04.25 05:07, David Pirotte wrote: Hello Zelphir, Yesterday I decided to give g-golf a try. Unfortunately I did not get very far at all. I tried running the hello world example, and it already crashed: You can't run the upstream version of the g-golf distributed examples in

Re: First example of g-golf (hello world) not working

2025-04-12 Thread pelzflorian (Florian Pelz)
David’s explanation is correct as far as I understand and should help (I hope? it does work for me on Sway) except one little detail: David Pirotte writes: > You can't run the upstream version of the g-golf distributed examples > in guix, due to a known problem (in guix, this has nothing to do wi

Re: First example of g-golf (hello world) not working

2025-04-11 Thread David Pirotte
Hello Zelphir, > Yesterday I decided to give g-golf a try. Unfortunately I did not get > very far at all. I tried running the hello world example, and it > already crashed: You can't run the upstream version of the g-golf distributed examples in guix, due to a known problem (in guix, this has not

First example of g-golf (hello world) not working

2025-04-11 Thread Zelphir Kaltstahl
Hello Guile Users! Yesterday I decided to give g-golf a try. Unfortunately I did not get very far at all. I tried running the hello world example, and it already crashed: main.scm Copyright (C) 2022 - 2023 Free Software Foundation, Inc. This file is part of GNU G-G