Subject: bug#52519: glibmm-2.64 propagates two different versions of libsigc++

From: Maxim Cournoyer <[email-masked]>
Date: Fri, 17 Dec 2021 23:31:15 -0500

Hi Leo,

Leo Famulari <[email-masked]> writes:

> glibmm-2.64 has this:
>
> ------
>      (propagated-inputs
>       (modify-inputs (package-propagated-inputs glibmm)
>         (prepend libsigc++-2)))))
> ------
>
> And, the glibmm package also propagates libsigc++.
>
> So:
>
> ------
> $ guix show [email-masked] | grep libsigc
> dependencies: [email-masked] [email-masked] [email-masked] [email-masked]
> + [email-masked] [email-masked] [email-masked] [email-masked] [email-masked]
> ------
>
> It propagates both versions of libsigc++, and thus cannot be installed
> into a profile. 1785 packages depend on glibmm-2.64.
>
> This breaks synfig, which propagates glibmm, as requested in its 'synfig.pc'
> pkg-config file.

I've fixed this with;

--8<---------------cut here---------------start------------->8---
modified   gnu/packages/glib.scm
@@ -814,7 +814,7 @@ (define-public glibmm-2.64
         (base32 "11m37sbx0i18cl17d0fkq0bik4bbzlb5n8kcl651jhci5ipci3sh"))))
      (propagated-inputs
       (modify-inputs (package-propagated-inputs glibmm)
-        (prepend libsigc++-2)))))
+        (replace "libsigc++" libsigc++-2)))))
 
 (define-public python2-pygobject-2
--8<---------------cut here---------------end--------------->8---

It will have to be built on the version-1.4.0 branch first.

Thank you,

Maxim