Hello Guix,

Wrt packaging g-golf in guix, please allow me to suggest to adopt this
approach, which is what debian does, and I recently convinced the nix
pkg maintainer to also 'do the same'.

I highly recommend that you split and propose (for now) 3 pkgs:

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

So, the idea is a g-golf package, then one package per upstream lib
per major version number.

This is important, because g-golf itself does not depend on anything
else then the following (in addition to the 'usual' autotool chain
tools, texinfo and guile (guile-lib is only needed to run the
test-suite [1]:

        glib-2.0 >= 2.73.0
        gobject-2.0 >= 2.73.0
        gobject-introspection-1.0 >= 1.72.0

Users may indeed install g-golf to use gnome typelibs that have nothing
to do with UI - for example, they could do image processing using the
gimp typelib, or sound 'processing' using gstreamer ...)

About the examples packages

I also recommend to install them as debian does, you can see where by
clicking on the pkg 'binaries' entry, then 'list of files', for example
here is the File list of package g-golf-adw-1-examples

        https://packages.debian.org/sid/all/g-golf-adw-1-examples/filelist

Plus:

        -]      gtk-4 examples do not depend on libadwaita
        -]      there will be other lib examples to come
        -]      there will be other version of the above, which
                won't depend upon each/other, and their api might
                brake ...

As times allows ofc,
but I hope you will agree and adopt this approach.

Thanks,
David

[1]

G-Golf does only also depend on guile-lib if you run the test-suite,
so you, as a package maintainer, may run it, but the distributed package
should probably not depend on guile-lib.

The gtk3 dependency is also only needed to run the test-suite (this is
because it tests the g-golf override modules, which requires gtk3, and
fwiw, g-golf does not need any override module if the user is using
libadwaita and/or gtk4). The main distributed G-Golf package should
definitely not depend on gtk-3.

In the test-suite, I had a clutter dependency, but I finally got rid of
all clutter calls (which I had for historical reasons).

Attachment: pgpjV9VZt3Z1O.pgp
Description: OpenPGP digital signature

Reply via email to