From e426244d3303ad0eb09b8539e3062141c9a25b75 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 5 Jun 2018 15:17:04 +0200 Subject: [PATCH] Added gajim-patch from pzskc383 repo --- net-im/gajim/files/disable-gspell.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 net-im/gajim/files/disable-gspell.patch diff --git a/net-im/gajim/files/disable-gspell.patch b/net-im/gajim/files/disable-gspell.patch new file mode 100644 index 000000000..fbffa1123 --- /dev/null +++ b/net-im/gajim/files/disable-gspell.patch @@ -0,0 +1,23 @@ +--- a/gajim/common/app.py 2018-05-16 05:59:40.278703415 +0300 ++++ b/gajim/common/app.py 2018-05-16 06:00:14.520423471 +0300 +@@ -265,20 +265,6 @@ + HAVE_IDLE = False + + HAVE_SPELL = False +-try: +- spell_log = logging.getLogger('gajim.speller') +- gi.require_version('Gspell', '1') +- from gi.repository import Gspell +- langs = Gspell.language_get_available() +- for lang in langs: +- spell_log.info('%s (%s) dict available', +- lang.get_name(), lang.get_code()) +- if langs: +- HAVE_SPELL = True +- else: +- spell_log.info('No dicts available') +-except (ImportError, ValueError): +- pass + + gajim_identity = {'type': 'pc', 'category': 'client', 'name': 'Gajim'} + gajim_common_features = [nbxmpp.NS_BYTESTREAM, nbxmpp.NS_SI, nbxmpp.NS_FILE,