Philipp Hörist pushed to branch master at gajim / gajim


Commits:
4b497df5 by Philipp Hörist at 2022-10-31T11:38:53+01:00
fix: Disable loading of GUPnPIgd library

GUPnPIgd uses libsoup3 which is incompatible with Gajims usage of
libsoup2. This disables loading until Gajim switches to libsoup3.

Fixes #11183

- - - - -


1 changed file:

- gajim/common/app.py


Changes:

=====================================
gajim/common/app.py
=====================================
@@ -222,14 +222,17 @@ def detect_dependencies() -> None:
         pass
 
     # UPNP
-    try:
-        gi.require_version('GUPnPIgd', '1.0')
-        from gi.repository import GUPnPIgd
-        global gupnp_igd  # pylint: disable=global-statement
-        gupnp_igd = GUPnPIgd.SimpleIgd()
-        _dependencies['UPNP'] = True
-    except ValueError:
-        pass
+    # GUPnPidg uses libsoup3 which is incompatible with Gajim.
+    # Don’t load until Gajim is ported to libsoup3
+    #
+    # try:
+    #     gi.require_version('GUPnPIgd', '1.0')
+    #     from gi.repository import GUPnPIgd
+    #     global gupnp_igd  # pylint: disable=global-statement
+    #     gupnp_igd = GUPnPIgd.SimpleIgd()
+    #     _dependencies['UPNP'] = True
+    # except ValueError:
+    #     pass
 
     # IDLE
     try:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/4b497df5d065af3b3bc95f7c26096e7792bc467a

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/4b497df5d065af3b3bc95f7c26096e7792bc467a
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to