gupnp-igd: 1.2.0 → 1.6.0; gupnp-igd: refactor; libnice: refactor and switch to gupnp-igd_1_6#395063
Conversation
|
Assuming this works according to the |
|
@ofborg build gst_all_1.gst-plugins-bad |
|
you'll also have to target this PR against staging. See https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#rebasing-between-branches-ie-from-master-to-staging |
done |
jtojnar
left a comment
There was a problem hiding this comment.
Care needs to be taken. gupnp pulls in libsoup_2_4, while gupnp_1_6 pulls in libsoup_3 so this PR “changes allegiance” of libnice. If a package transitively depending on libnice still somehow pulls in libsoup_2, it will likely crash at runtime as symbols from libsoup_2 will clash with the ones from libsoup_3.
- At least
farstreamdepends on bothlibniceandgupnp-igd. - Telepathy stuff will almost certainly be broken as well, and there are some dependents in KDE, IIRC. Though Telepathy is basically unmaintained nowadays and can probably be removed.
4c16494 to
43b64d9
Compare
|
things pulling both libsoups after this PR: https://termbin.com/h8my |
|
interestingly enough, significantly more things pull both libsoups before this PR! |
So it's a net positive then :P, this pr |
|
https://termbin.com/dv8c |
|
@jtojnar Any next steps we can take? |
|
I believe we shouldn't have to. AIUI the motivation was to keep the things not using libnice unaffected for now, but if we are globally getting rid of libsoup_2_4 wherever possible, that argument disappears |
We don't :P |
43b64d9 to
1d9c97e
Compare
1d9c97e to
512932c
Compare
|
@ofborg build farstream |
So turns out, farstream that depends on gupnp-igd too is pretty dead: https://gitlab.freedesktop.org/farstream/farstream/-/commits/master This PR likely breaks farstream (checking via ofborg rn). There is three solutions: keep the old gupnp-igd for farstream, try to patch farstream, or drop farstream and dependents. |
512932c to
0d59efa
Compare
I wonder how many of its dependents require it vs. having an optional dependency on it. Either way doesn't seem too widely used. |
there is
There are no further dependents on farstream. |
|
Both gajim and pidgim only use farstream conditionally, so can't we just drop that functionality? |
|
Huh, if we can then sure! |
|
Can we get the ball rolling with this merged? |
0d59efa to
7540201
Compare
|
I took the liberty of rebasing this to the |
|
|
Surprisingly enough, |
|
LordGrimmauld
left a comment
There was a problem hiding this comment.
Approved automatically following the successful run of nixpkgs-review.
|
The API has not really changed in gupnp-igd 1.6, it is just the switch to libsoup 3. So farstream itself will build when we switch both libnice and gupnp-igd to libsoup_3 at the same time. Only packages that use Could you please make a report of what depends on |
Can do - now or after this is merged into |
|
Also: |

gupnp-igd: refactor and update to 1.6.0
libnice: refactor and add patch for gupnp-igd 1.6.0
Needed for #383092 and #265771
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.