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
        $(guix build 
g-golf-gtk-4-examples)/share/doc/g-golf/examples/gtk-4/.hello-world-real

        [ *-real are the upstream version of the example, they should all work 
fine
        [ i wonder if the . in front of hello-world-real is a tipo (?)

So when working on your own app, iiuc:

        guix shell g-golf -D g-golf gtk [adw] --no-grafts
        cd your/app-devel/path
        ./my-app

Can you try the adwaita-1-demo

        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

If you are serious about developing a g-golf based app, I recommend
that you look at and learn from the g-golf port of the adwaita-1-demo:

        its dir structure, the main script, one (adw-1-init) module imported by
        all, how to define your app class, using template and ui files
        (I write them using sxml), the style*.css and g-ressources.xml
        files ...

I'd be happy to help, ping me here or using irc, channel #guile.

David
        
You should only worry about building your guix app wrapper once your
app is well advanced and you plan to package it for guix.

Attachment: pgpgZlfD8BE0w.pgp
Description: OpenPGP digital signature

Reply via email to