summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/jami-disable-webengine.patch
diff options
context:
space:
mode:
authorHomo <gay@disroot.org>2025-06-18 14:54:39 +0300
committerMaxim Cournoyer <maxim@guixotic.coop>2025-07-10 23:19:37 +0900
commit2a7ba05febe4b0da4f1142097b9bd64d26a83e01 (patch)
treeb264db5cd3049ae6758bcc9201e3c9e3c9200009 /gnu/packages/patches/jami-disable-webengine.patch
parentb77c109a71a4af2977628140360789a6bf59b220 (diff)
gnu: jami: Update to 20250610.0.
* gnu/packages/patches/jami.scm (libjami): Update to 20250610.0. [source]: Unregister libgit2 patch. [inputs]: Delete guile-3.0. [arguments] <#:configure-flags>: Delete --enable-agent. (jami): Update to 20250610.0. [source]: Add patch. [native-inputs]: Add git. [inputs]: Add hunspell and zxing-cpp. * gnu/packages/patches/jami-qwindowkit.patch, gnu/packages/patches/jami-unbundle-dependencies.patch: Update for jami 20250610.0. * gnu/local.mk: Unregister patch. Register new patch. * gnu/packages/patches/libjami-libgit2-compatibility.patch: Remove file. * gnu/packages/patches/jami-disable-webengine.patch: New file. Fixes: <https://issues.guix.gnu.org/76231> Change-Id: I118454aa7c214271725358928b751f4d43cac2db Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/patches/jami-disable-webengine.patch')
-rw-r--r--gnu/packages/patches/jami-disable-webengine.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/patches/jami-disable-webengine.patch b/gnu/packages/patches/jami-disable-webengine.patch
new file mode 100644
index 0000000000..1a08fea80b
--- /dev/null
+++ b/gnu/packages/patches/jami-disable-webengine.patch
@@ -0,0 +1,43 @@
+Upstream-status: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/2072
+
+--- a/src/app/LayoutManager.qml 2025-06-18 02:28:42.298627257 +0300
++++ b/src/app/LayoutManager.qml 2025-06-18 02:34:07.528403540 +0300
+@@ -17,7 +17,6 @@
+
+ import QtQuick
+ import QtQuick.Controls
+-import QtWebEngine
+
+ import net.jami.Adapters 1.1
+ import net.jami.Enums 1.1
+@@ -41,9 +40,6 @@ QtObject {
+ // Used to store if a CallStackView component is fullscreened.
+ property bool isCallFullscreen: false
+
+- // Used to store if a WebEngineView component is fullscreened.
+- property bool isWebFullscreen: false
+-
+ // QWK: Provide spacing for widgets that may be occluded by the system buttons.
+ property QtObject qwkSystemButtonSpacing: QtObject {
+ id: qwkSystemButtonSpacing
+@@ -253,9 +249,6 @@ QtObject {
+ isCallFullscreen = fullScreenItems
+ .filter(o => o.item.objectName === "callViewLoader")
+ .length
+- isWebFullscreen = fullScreenItems
+- .filter(o => o.item instanceof WebEngineView)
+- .length
+ }
+
+ // Listen for a hangup combined with a fullscreen call state and
+--- a/src/app/mainview/components/CallStackView.qml 2025-06-18 02:36:58.863782993 +0300
++++ b/src/app/mainview/components/CallStackView.qml 2025-06-18 02:38:00.994456741 +0300
+@@ -43,7 +43,7 @@ Item {
+ Shortcut {
+ sequence: "F11"
+ context: Qt.ApplicationShortcut
+- enabled: CurrentConversation.hasCall && !layoutManager.isWebFullscreen
++ enabled: CurrentConversation.hasCall
+ onActivated: toggleFullScreen();
+ }
+