Subject: [bug#76663] [PATCH gnome-team] gnu: flatpak: Propagate inputs as required by pkg-config.

From: Maxim Cournoyer <[email-masked]>
Date: Sun, 02 Mar 2025 14:31:24 +0900

Hi Liliana,

Liliana Marie Prikler <[email-masked]> writes:

> * gnu/packages/package-management.scm (flatpak)[inputs]: Move dconf, gpgme,
> json-glib, libarchive, libseccomp and libxau from here…
> [propagated-inputs]: … to here.
> ---
> Hi Guix,
>
> this is a more or less "emergency patch" as gnome transitively requires
> flatpak, but flatpak does not propagate enough inputs to let dependent
> packages be aware of them.  The alternative would be to add these inputs
> to said dependents (or finally fix the way pkg-config handles this, but
> that's outside our scope IIUC)

That'd be welcome, but best kept separated from this current GNOME team
effort.

> Cheers
>
>  gnu/packages/package-management.scm | 19 ++++++++++++-------
>  1 file changed, 12 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
> index 7b3756d0aa3..4cc53a2ce3a 100644
> --- a/gnu/packages/package-management.scm
> +++ b/gnu/packages/package-management.scm
> @@ -2138,24 +2138,29 @@ (define-public flatpak
>             bash-minimal
>             bubblewrap
>             curl
> -           dconf
>             fuse
>             gdk-pixbuf
> -           gpgme
> -           json-glib
> -           libarchive
>             libcap
>             libostree
> -           libseccomp
>             libsoup-minimal-2
> -           libxau
>             libxml2
>             p11-kit
>             polkit
>             util-linux
>             xdg-dbus-proxy
>             zstd))
> -    (propagated-inputs (list glib-networking gnupg gsettings-desktop-schemas))
> +    (propagated-inputs (list glib-networking
> +                             gnupg
> +                             gsettings-desktop-schemas
> +                             ;; The following are listed in Requires.private of
> +                             ;; `flatpak.pc'.
> +                             curl
> +                             dconf
> +                             gpgme
> +                             json-glib
> +                             libarchive
> +                             libseccomp
> +                             libxau))

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>

-- 
Thanks,
Maxim