mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-im/gajim: Remove patch disabling spell checker
Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
This commit is contained in:
@@ -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,
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user