bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Maxim Cournoyer
Subject: bug#52519: glibmm-2.64 propagates two different versions of libsigc++
Date: Fri, 17 Dec 2021 23:31:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi Leo,

Leo Famulari <leo@famulari.name> 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 glibmm@2.64 | grep libsigc
> dependencies: doxygen@1.9.1 glib@2.70.0 graphviz@2.49.0 libsigc++@2.9.3
> + libsigc++@3.0.6 libxslt@1.1.34 m4@1.4.18 mm-common@1.0.3 perl@5.34.0
> ------
>
> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]