You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update request: gupnp-igd 1.2.0 → 1.6.0 (or provide separated package), and make libnice use it #371265
So, I'm developing an application which uses gst-plugins-bad's webrtcbin, which in turn uses libnice, which in turn uses gupnp-igd. Now, the thing is gupnp-igd 1.2.0 ultimately pulls in libsoup2.4 into the process, while pretty much the rest of GStreamer has migrated to libsoup3. This, of course, is broken.
However from a research it seems like updating this package is not simple, as commit e11af6c ("gupnp-igd: freeze updates") says that "1.6.0 has a different API version". So maybe we have to provide 2 packages. Except that 1.6.0 is already 2 years by this point, so it's probably a better idea to move on anyway.
From a quick search, gupnp-igd is used by 3 packages, 2 of which are libraries. And of course one of which is libnice which is used by gst-plugins-bad and in turn a significant number of package. A scary part of it is that there might be transitive dependencies which still use libsoup2.4 and could break from this change.
(As luck would have it, just before I submit the issue, I've found a package which explicitly require libsoup_2_4 in addition to libnice.)
I which Nix has a way to detect when 2 libraries are not supposed to be in the same closure or something. Or such thing already exists and I've not stumbled upon it yet.
Package Information
Package name: gupnp-igd
Latest released version: 1.6.0
Current version on the unstable channel: 1.2.0
Current version on the stable/release channel: 1.2.0
However from a research it seems like updating this package is not simple, as commit e11af6c ("gupnp-igd: freeze updates") says that "1.6.0 has a different API version".
It does not make sense to update the package as, from the point of dependents, it is basically a different library – projects do not depend on gupnp but rather either on gupnp-1.2, or on gupnp-1.6 (names of the pkg-config files).
So, splitting hairs, what you would be doing is removing the old package and putting a new one in its place.
Telepathy is pretty much dead so I would not block on it. The only remaining clients in Nixpkgs is Polari, which only uses telepathy-idle and telepathy-glib and some desktop integration in KDE and Lomiri. So it should be safe to remove telepathy-gabble and most of the other ecosystem at will.
There are no real changes to gupnp-igd other than the libsoup ABI bump so it should be fine to patch consumers to use the newer version as long as they do not pull in gupnp 1.2 or libsoup_2_4.
We should also remove gupnp 1.2 API libraries from Nixpkgs. They have not been maintained upstream for a while now.
One potential problem: telepathy-qt depends on telepathy-farstream so we might have to rip out the telepathy integration in lomiri. That is fine by me, but does complicate things
Activity
jtojnar commentedon Jan 5, 2025
It does not make sense to update the package as, from the point of dependents, it is basically a different library – projects do not depend on
gupnpbut rather either ongupnp-1.2, or ongupnp-1.6(names of the pkg-config files).So, splitting hairs, what you would be doing is removing the old package and putting a new one in its place.
There is some more context in #360897.
Telepathy is pretty much dead so I would not block on it. The only remaining clients in Nixpkgs is Polari, which only uses
telepathy-idleandtelepathy-gliband some desktop integration in KDE and Lomiri. So it should be safe to removetelepathy-gabbleand most of the other ecosystem at will.There are no real changes to gupnp-igd other than the libsoup ABI bump so it should be fine to patch consumers to use the newer version as long as they do not pull in
gupnp1.2 orlibsoup_2_4.We should also remove
gupnp1.2 API libraries from Nixpkgs. They have not been maintained upstream for a while now.GrimmTheShrimp commentedon Apr 20, 2025
One potential problem: telepathy-qt depends on
telepathy-farstreamso we might have to rip out the telepathy integration in lomiri. That is fine by me, but does complicate thingsGrimmTheShrimp commentedon Apr 20, 2025
Actually, looking at lomiri.lomiri-history-service, telepathy might not at all be optional there... What a pain!
telepathy-logger: drop
telepathy-gabble: drop
telepathy-logger: drop
telepathy-gabble: drop