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 line steps a guix g-golf
user must accomplish to run the upstream version of an example, or
their own app as there are developing it, thanks.

> > Guix now two separate g-golf examples packages:

> >     g-golf-gtk-4-examples
> >     g-golf-adw-1-examples

> I installed those 2 packages and tried running like before, which
> results in a new, different error, but I am not sure what it means to
> "run from my profile bin dir", so I did not take any steps towards
> that:

Here as well, your guix shell command is incomplete (it misses gtk-4).
But I think that as you installed the above listed packages, all you
have to do is to go to 'your guix user bin dir' and run from there:

        ./hello-world   [or any other example

This is because those are the wrapper version of the upstream examples.

Note that in your bin dir, they probably are symlink, the examples are
effectively installed in $(prefix)/share/doc/g-golf/examples/gtk-4

I suggest you list the content of $(prefix)/share/doc/g-golf/examples/gtk-4
and edit both the wrapper (launcher) and the updated original version
of the script, to see and learn from Florian.

You might also want to edit the (gnu packages guile-xyz) and read the
g-golf-gtk-4-examples and g-golf-adw-1-examples package definition, and
learn from those as well.

Cheers,
David  

Attachment: pgpwD_pWXJYGu.pgp
Description: OpenPGP digital signature

Reply via email to