Fix Bonjour (pybonjour) on macOS
This commit is contained in:
parent
468d8bd472
commit
a91f5f2c49
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
- python3-pil (pillow) for support of webp avatars
|
- python3-pil (pillow) for support of webp avatars
|
||||||
- python3-gnupg to enable GPG encryption
|
- python3-gnupg to enable GPG encryption
|
||||||
- For zeroconf (bonjour) you need python3-dbus
|
- For zeroconf you need python3-dbus on Linux or [pybonjour](https://dev.gajim.org/lovetox/pybonjour-python3) on Windows/macOS
|
||||||
- gir1.2-gspell-1 and hunspell-LANG where lang is your locale eg. en, fr etc
|
- gir1.2-gspell-1 and hunspell-LANG where lang is your locale eg. en, fr etc
|
||||||
- gir1.2-secret-1 for GNOME Keyring or KDE support as password storage
|
- gir1.2-secret-1 for GNOME Keyring or KDE support as password storage
|
||||||
- D-Bus running to have gajim-remote working
|
- D-Bus running to have gajim-remote working
|
||||||
|
|
|
@ -220,12 +220,14 @@ def detect_dependencies():
|
||||||
|
|
||||||
# ZEROCONF
|
# ZEROCONF
|
||||||
try:
|
try:
|
||||||
if os.name == 'nt':
|
import pybonjour # pylint: disable=unused-variable
|
||||||
import pybonjour # pylint: disable=unused-variable
|
_dependencies['PYBONJOUR'] = True
|
||||||
_dependencies['PYBONJOUR'] = True
|
except Exception:
|
||||||
else:
|
pass
|
||||||
import dbus # pylint: disable=unused-variable
|
|
||||||
_dependencies['PYTHON-DBUS'] = True
|
try:
|
||||||
|
import dbus # pylint: disable=unused-variable
|
||||||
|
_dependencies['PYTHON-DBUS'] = True
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue