Skip to content

Update request: gupnp-igd 1.2.0 → 1.6.0 (or provide separated package), and make libnice use it #371265

Closed

Description

@peat-psuwit

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.)

libsoup_2_4,
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

Checklist

Notify maintainers

  • @jtojnar (last person who touched the package and put the version freeze in place)
  • @fabianhjr (the author of the closed PR mentioned above)

Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Activity

  1. added
    9.needs: package (update)
    on Jan 5, 2025
  2. jtojnar commented on Jan 5, 2025

    @jtojnar
    Member

    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.


    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-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.

  3. GrimmTheShrimp commented on Apr 20, 2025

    @GrimmTheShrimp
    Contributor

    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

  4. GrimmTheShrimp commented on Apr 20, 2025

    @GrimmTheShrimp
    Contributor

    Actually, looking at lomiri.lomiri-history-service, telepathy might not at all be optional there... What a pain!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    9.needs: package (update)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions