!4 [sync] PR-3: Update to 1.5.4
From: @openeuler-sync-bot Reviewed-by: @yueyaoqiang Signed-off-by: @yueyaoqiang
This commit is contained in:
commit
e37fb2115f
@ -1,30 +0,0 @@
|
|||||||
From 8a89e70157ce76db498ee539c8b9de4fdf6bb1a2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michal Schmidt <mschmidt@redhat.com>
|
|
||||||
Date: Thu, 26 Jul 2018 16:40:10 +0200
|
|
||||||
Subject: [PATCH 1/3] Prefer X11 to Wayland GDK backend
|
|
||||||
|
|
||||||
Gtk.StatusIcon is not implemented for Wayland.
|
|
||||||
|
|
||||||
Prefer running with the 'x11' GDK backend, where the status icon works.
|
|
||||||
---
|
|
||||||
gajim/gajim.py | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/gajim/gajim.py b/gajim/gajim.py
|
|
||||||
index 60e817f2c7..a1585f111b 100644
|
|
||||||
--- a/gajim/gajim.py
|
|
||||||
+++ b/gajim/gajim.py
|
|
||||||
@@ -50,6 +50,10 @@ def _init_gui(gui):
|
|
||||||
|
|
||||||
|
|
||||||
def _init_gtk():
|
|
||||||
+ # Prefer x11 to wayland for a working Gtk.StatusIcon
|
|
||||||
+ if 'GDK_BACKEND' not in os.environ:
|
|
||||||
+ os.environ['GDK_BACKEND']='x11'
|
|
||||||
+
|
|
||||||
import gi
|
|
||||||
gi.require_version('GLib', '2.0')
|
|
||||||
gi.require_version('Gio', '2.0')
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
From b2afbbc4c1b5afe0a3823e20aac7944422b7a3a8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michal Schmidt <mschmidt@redhat.com>
|
|
||||||
Date: Thu, 25 Apr 2019 18:15:35 +0200
|
|
||||||
Subject: [PATCH 2/2] setup.cfg: bump nbxmpp version
|
|
||||||
|
|
||||||
gajim requires 0.6.10 since
|
|
||||||
commit 06ca9b39e16549bf230161e3bde766f4b2443586 ("Raise nbxmpp version")
|
|
||||||
|
|
||||||
Declare the same version in setup.cfg to make the resulting RPM
|
|
||||||
dependency accurate.
|
|
||||||
---
|
|
||||||
setup.cfg | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff -up gajim-1.1.3/setup.cfg.orig gajim-1.1.3/setup.cfg
|
|
||||||
--- gajim-1.1.3/setup.cfg.orig 2019-04-25 18:26:59.091110491 +0200
|
|
||||||
+++ gajim-1.1.3/setup.cfg 2019-04-25 18:27:05.934983807 +0200
|
|
||||||
@@ -22,7 +22,7 @@ test_suite = test
|
|
||||||
install_requires =
|
|
||||||
cssutils>=1.0.2
|
|
||||||
keyring
|
|
||||||
- nbxmpp>=0.6.9,<0.7.0
|
|
||||||
+ nbxmpp>=0.6.10,<0.7.0
|
|
||||||
precis-i18n>=1.0.0
|
|
||||||
pyOpenSSL>=0.12
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
gajim-1.5.4.tar.gz
Normal file
BIN
gajim-1.5.4.tar.gz
Normal file
Binary file not shown.
18
gajim.spec
18
gajim.spec
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
Summary: Jabber client written in PyGTK
|
Summary: Jabber client written in PyGTK
|
||||||
Name: gajim
|
Name: gajim
|
||||||
%global majorver 1.1
|
%global majorver 1.5
|
||||||
Version: 1.1.3
|
Version: 1.5.4
|
||||||
Release: 3
|
Release: 1
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://gajim.org/
|
URL: https://gajim.org/
|
||||||
Source0: https://gajim.org/downloads/%{majorver}/%{name}-%{version}.tar.bz2
|
Source0: https://gajim.org/downloads/%{majorver}/%{name}-%{version}.tar.gz
|
||||||
Patch0001: 0001-Prefer-X11-to-Wayland-GDK-backend.patch
|
|
||||||
Patch0002: 0002-setup.cfg-bump-nbxmpp-version.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
## Hard requirements
|
## Hard requirements
|
||||||
@ -82,21 +80,21 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{appid}.
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc %{_mandir}/man1/%{name}.1*
|
%doc %{_mandir}/man1/%{name}.1*
|
||||||
%doc %{_mandir}/man1/%{name}-history-manager.1*
|
|
||||||
%doc %{_mandir}/man1/%{name}-remote.1*
|
%doc %{_mandir}/man1/%{name}-remote.1*
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/%{name}-history-manager
|
|
||||||
%{_bindir}/%{name}-remote
|
%{_bindir}/%{name}-remote
|
||||||
%{_datadir}/applications/%{appid}.desktop
|
%{_datadir}/applications/%{appid}.desktop
|
||||||
%{_datadir}/metainfo/%{appid}.appdata.xml
|
%{_datadir}/metainfo/%{appid}.appdata.xml
|
||||||
%{_datadir}/icons/hicolor/*x*/apps/%{appid}.png
|
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg
|
%{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg
|
||||||
%{_datadir}/icons/hicolor/symbolic/apps/%{appid}-symbolic.svg
|
%{_datadir}/icons/hicolor/scalable/apps/%{appid}-symbolic.svg
|
||||||
|
|
||||||
%{python3_sitelib}/%{name}
|
%{python3_sitelib}/%{name}
|
||||||
%{python3_sitelib}/%{name}-%{version}*.egg-info
|
%{python3_sitelib}/%{name}-%{version}*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 24 2023 wangkai <wangkai385@h-partners.com> - 1.5.4-1
|
||||||
|
- Update to 1.5.4
|
||||||
|
|
||||||
* Mon Dec 13 2021 liweigang <liweiganga@uniontech.com> - 1.1.3-3
|
* Mon Dec 13 2021 liweigang <liweiganga@uniontech.com> - 1.1.3-3
|
||||||
- delete %dist
|
- delete %dist
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user