From fcd9e8e0b9118645c7fe0277d5a5048e3cbf5fe0 Mon Sep 17 00:00:00 2001
From: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
Date: Sun, 14 Apr 2019 16:31:19 +0100
Subject: net-im/gajim: Remove patch disabling spell checker
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
---
 net-im/gajim/files/1.0.3-0001-disable-gspell.patch | 23 ----------------------
 net-im/gajim/gajim-1.0.3.ebuild                    |  6 ------
 2 files changed, 29 deletions(-)
 delete mode 100644 net-im/gajim/files/1.0.3-0001-disable-gspell.patch

(limited to 'net-im')

diff --git a/net-im/gajim/files/1.0.3-0001-disable-gspell.patch b/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
deleted file mode 100644
index fbffa1123342..000000000000
--- a/net-im/gajim/files/1.0.3-0001-disable-gspell.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- 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,
diff --git a/net-im/gajim/gajim-1.0.3.ebuild b/net-im/gajim/gajim-1.0.3.ebuild
index 25b4890f1575..719d5ddebbd1 100644
--- a/net-im/gajim/gajim-1.0.3.ebuild
+++ b/net-im/gajim/gajim-1.0.3.ebuild
@@ -67,12 +67,6 @@ RDEPEND="${COMMON_DEPEND}
 
 RESTRICT="test"
 
-src_prepare() {
-	default
-
-	use spell || eapply "${FILESDIR}/${PV}-0001-disable-gspell.patch"
-}
-
 pkg_postinst() {
 	gnome2_icon_cache_update
 	xdg_desktop_database_update
-- 
cgit v1.2.3-65-gdbad