summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2021-07-18 13:54:08 +0200
committerHanno Böck <hanno@gentoo.org>2021-07-18 13:54:39 +0200
commit4db904f48b88ec7574ab92698b2de5321d6eb15c (patch)
tree18e03b2f28b178e7f342d016c1b957216f8e3b58 /net-im/gajim/files
parentmedia-sound/easyeffects: add 6.0.3, masked (diff)
downloadgentoo-4db904f48b88ec7574ab92698b2de5321d6eb15c.tar.gz
gentoo-4db904f48b88ec7574ab92698b2de5321d6eb15c.tar.bz2
gentoo-4db904f48b88ec7574ab92698b2de5321d6eb15c.zip
net-im/gajim: Version bump.
Fix gajim-history-manager (patch is merged upstream). Add missing jingle dependency. Add omemo use flag. Signed-off-by: Hanno Böck <hanno@gentoo.org> Closes: https://bugs.gentoo.org/789381 Closes: https://github.com/gentoo/gentoo/pull/20827 Closes: https://bugs.gentoo.org/790437 Closes: https://bugs.gentoo.org/791001 Closes: https://bugs.gentoo.org/790995 Package-Manager: Portage-3.0.20, Repoman-3.0.3
Diffstat (limited to 'net-im/gajim/files')
-rw-r--r--net-im/gajim/files/gajim-1.3.2-fix-historymanager.diff44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-im/gajim/files/gajim-1.3.2-fix-historymanager.diff b/net-im/gajim/files/gajim-1.3.2-fix-historymanager.diff
new file mode 100644
index 000000000000..04428d3acbe5
--- /dev/null
+++ b/net-im/gajim/files/gajim-1.3.2-fix-historymanager.diff
@@ -0,0 +1,44 @@
+diff --git a/gajim/history_manager.py b/gajim/history_manager.py
+index 1598ea46b385951710a9298093f491dd29e5e6f8..3e767840295f5404687ec6bb298fbdc4e369b4ca 100644
+--- a/gajim/history_manager.py
++++ b/gajim/history_manager.py
+@@ -55,7 +55,6 @@
+ from gajim.common.const import JIDConstant
+ from gajim.common.const import KindConstant
+ from gajim.common.const import ShowConstant
+-from gajim.common.settings import Settings
+
+
+ def is_standalone():
+@@ -76,6 +75,8 @@ def init_gtk():
+ if is_standalone():
+ init_gtk()
+
++ from gajim.common.settings import Settings
++
+ try:
+ shortargs = 'hvsc:l:p:'
+ longargs = 'help verbose separate config-path= loglevel= profile='
+@@ -100,6 +101,8 @@ def init_gtk():
+ app.settings = Settings()
+ app.settings.init()
+ app.load_css_config()
++else:
++ from gajim.common.settings import Settings
+
+ from gajim.common import helpers
+ from gajim.gui.dialogs import ErrorDialog
+diff --git a/test/unit/test_gui_interface.py b/test/unit/test_gui_interface.py
+index 41274dfd4447a89b6ea33bdd36538212e4d28d8c..6ad2d734b5bcc093e1d2e8e627cfbd3a0653b53e 100644
+--- a/test/unit/test_gui_interface.py
++++ b/test/unit/test_gui_interface.py
+@@ -3,6 +3,9 @@
+ '''
+ import unittest
+
++import gajim.gui
++gajim.gui.init('gtk')
++
+ from test import lib
+ lib.setup_env()
+