[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/35: gnu: jami: Apply upstream patch that fixes a usability issue.
From: |
guix-commits |
Subject: |
35/35: gnu: jami: Apply upstream patch that fixes a usability issue. |
Date: |
Mon, 1 Aug 2022 00:12:18 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 3a656ea836f87f30f1b34852cb4efc911363d2b4
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jul 31 23:07:13 2022 -0400
gnu: jami: Apply upstream patch that fixes a usability issue.
* gnu/packages/patches/jami-fix-esc-bug.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/jami.scm (%jami-sources): Apply it.
---
gnu/local.mk | 1 +
gnu/packages/jami.scm | 3 ++-
gnu/packages/patches/jami-fix-esc-bug.patch | 24 ++++++++++++++++++++++++
3 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 4f44e2f103..bba9f08bbe 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1304,6 +1304,7 @@ dist_patch_DATA =
\
%D%/packages/patches/irrlicht-link-against-needed-libs.patch \
%D%/packages/patches/isl-0.11.1-aarch64-support.patch \
%D%/packages/patches/itk-snap-alt-glibc-compat.patch \
+ %D%/packages/patches/jami-fix-esc-bug.patch \
%D%/packages/patches/json-c-0.13-CVE-2020-12762.patch \
%D%/packages/patches/json-c-0.12-CVE-2020-12762.patch \
%D%/packages/patches/jsoncpp-pkg-config-version.patch \
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 26afed0cc5..95c0052841 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -90,7 +90,8 @@
"plugins"))))
(sha256
(base32
- "1zx0i9aw8jsba3bjc5r4pkkybm8c0lyz420ciq89vsswd48gfdhg"))))
+ "1zx0i9aw8jsba3bjc5r4pkkybm8c0lyz420ciq89vsswd48gfdhg"))
+ (patches (search-patches "jami-fix-esc-bug.patch"))))
;; Jami maintains a set of patches for some key dependencies (currently
;; pjproject and ffmpeg) of Jami that haven't yet been integrated upstream.
diff --git a/gnu/packages/patches/jami-fix-esc-bug.patch
b/gnu/packages/patches/jami-fix-esc-bug.patch
new file mode 100644
index 0000000000..6d78542f1e
--- /dev/null
+++ b/gnu/packages/patches/jami-fix-esc-bug.patch
@@ -0,0 +1,24 @@
+This fixes the issue where pressing the ESC key would hide the Jami
+GUI on systems lacking a notification tray.
+
+From 47fd4c38ddd8bd350319ce9bb750ca496826e655 Mon Sep 17 00:00:00 2001
+From: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
+Date: Fri, 29 Jul 2022 21:24:01 -0400
+Subject: [PATCH] layoutmanager: fix popFullScreenItem
+
+Change-Id: I79780d4ad570846e6f3c52734dd627bcd0e11327
+---
+
+diff --git a/src/app/LayoutManager.qml b/src/app/LayoutManager.qml
+index 98516ce..87f13ac 100644
+--- a/client-qt/src/app/LayoutManager.qml
++++ b/client-qt/src/app/LayoutManager.qml
+@@ -176,7 +176,7 @@
+
+ // Only leave fullscreen mode if our window isn't in fullscreen
+ // mode already.
+- if (priv.fullScreenItems.length === 0) {
++ if (priv.fullScreenItems.length === 0 && priv.windowedVisibility !==
Window.Hidden) {
+ // Simply recall the last visibility state.
+ visibility = priv.windowedVisibility
+ }
- 26/35: gnu: qtnetworkauth: Rename to qtnetworkauth-5., (continued)
- 26/35: gnu: qtnetworkauth: Rename to qtnetworkauth-5., guix-commits, 2022/08/01
- 32/35: gnu: Remove jami-libclient., guix-commits, 2022/08/01
- 04/35: gnu: qtbase: Revert to gtk+ (3) instead of gtk (4)., guix-commits, 2022/08/01
- 18/35: gnu: Add qtwebsockets, version 6.3.1., guix-commits, 2022/08/01
- 15/35: gnu: qtquickcontrols2: Rename to qtquickcontrols2-5., guix-commits, 2022/08/01
- 14/35: gnu: qtquickcontrols: Rename to qtquickcontrols-5., guix-commits, 2022/08/01
- 13/35: gnu: Add qtdeclarative, version 6.3.1., guix-commits, 2022/08/01
- 12/35: gnu: qtdeclarative: Rename to qtdeclarative-5., guix-commits, 2022/08/01
- 23/35: gnu: Add qt5compat., guix-commits, 2022/08/01
- 33/35: gnu: Deprecate jami-gnome for jami., guix-commits, 2022/08/01
- 35/35: gnu: jami: Apply upstream patch that fixes a usability issue.,
guix-commits <=
- 28/35: gnu: Add qtpositioning., guix-commits, 2022/08/01
- 17/35: gnu: qtwebsockets: Rename to qtwebsockets-5., guix-commits, 2022/08/01
- 19/35: gnu: qtwebchannel: Rename to qtwebchannel-5., guix-commits, 2022/08/01
- 21/35: gnu: qtwebengine: Rename to qtwebengine-5., guix-commits, 2022/08/01
- 29/35: build: qt: Add qtbase argument and wrap Qt environment variables exactly., guix-commits, 2022/08/01
- 01/35: gnu: qtbase: Patch /bin/pwd in executable scripts., guix-commits, 2022/08/01
- 08/35: gnu: qpwgraph: Migrate to Qt 6 and add libxkbcommon input., guix-commits, 2022/08/01
- 22/35: gnu: Add qtwebengine, version 6.3.1., guix-commits, 2022/08/01
- 34/35: gnu: jami: Update to 20220726.1515.da8d1da., guix-commits, 2022/08/01
- 06/35: gnu: qtsvg-5: Fix indentation., guix-commits, 2022/08/01