summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-04-20 19:44:02 +0000
committer Eric Hameleers <alien@slackware.com>2021-04-21 08:59:55 +0200
commitb3fe11ea2cf9e0146a94e2dd76c825b874e6e944 (patch)
treeedad9f657780189230998a82daff8cdfdfff48dd /source/kde/kde/patch
parentdae0b85c1c4fda0a19e38f6515c8a83be9650a6c (diff)
downloadcurrent-b3fe11ea2cf9e0146a94e2dd76c825b874e6e944.tar.gz
current-b3fe11ea2cf9e0146a94e2dd76c825b874e6e944.tar.xz
Tue Apr 20 19:44:02 UTC 202120210420194402
ap/slackpkg-15.0.2-noarch-1.txz: Upgraded. Fix break error messages (dive) Remove now pointless if/then/else (dive) Safer config sourcing (dive) files/slackpkg: replace #!/bin/sh with #!/bin/bash (Eugen Wissner) Don't create blacklist when running update (dive) Add show-changelog & help to non-root commands (dive) Improve search blacklisting (dive) Fix package duplicate bug (PiterPunk) Thanks to Robby Workman. ap/sqlite-3.35.5-x86_64-1.txz: Upgraded. kde/kwin-5.21.4-x86_64-2.txz: Rebuilt. Delay closing Wayland streams. Thanks to LuckyCyborg. kde/okteta-0.26.6-x86_64-1.txz: Upgraded. l/libtiff-4.3.0-x86_64-1.txz: Upgraded. n/libgcrypt-1.9.3-x86_64-1.txz: Upgraded. n/samba-4.14.3-x86_64-1.txz: Upgraded. x/xorg-cf-files-1.0.6-x86_64-6.txz: Rebuilt. Patched to fix an incompatibility introduced by binutils-2.36. Thanks to BenCollver. xap/seamonkey-2.53.7.1-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.seamonkey-project.org/releases/seamonkey2.53.7.1 (* Security fix *)
Diffstat (limited to 'source/kde/kde/patch')
-rw-r--r--source/kde/kde/patch/kwin.patch2
-rw-r--r--source/kde/kde/patch/kwin/kwin.wayland.stream.diff12
2 files changed, 14 insertions, 0 deletions
diff --git a/source/kde/kde/patch/kwin.patch b/source/kde/kde/patch/kwin.patch
new file mode 100644
index 000000000..c2063e72e
--- /dev/null
+++ b/source/kde/kde/patch/kwin.patch
@@ -0,0 +1,2 @@
+# delay deletion of wayland streams:
+cat $CWD/patch/kwin/kwin.wayland.stream.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
diff --git a/source/kde/kde/patch/kwin/kwin.wayland.stream.diff b/source/kde/kde/patch/kwin/kwin.wayland.stream.diff
new file mode 100644
index 000000000..e5c368823
--- /dev/null
+++ b/source/kde/kde/patch/kwin/kwin.wayland.stream.diff
@@ -0,0 +1,12 @@
+diff -urN kwin-5.21.4.orig/plugins/screencast/screencastmanager.cpp kwin-5.21.4/plugins/screencast/screencastmanager.cpp
+--- kwin-5.21.4.orig/plugins/screencast/screencastmanager.cpp 2021-04-06 15:27:01.000000000 +0300
++++ kwin-5.21.4/plugins/screencast/screencastmanager.cpp 2021-04-19 10:58:00.395022083 +0300
+@@ -131,7 +131,7 @@
+ connect(waylandStream, &KWaylandServer::ScreencastStreamV1Interface::finished, stream, &PipeWireStream::stop);
+ connect(stream, &PipeWireStream::stopStreaming, waylandStream, [stream, waylandStream] {
+ waylandStream->sendClosed();
+- delete stream;
++ stream->deleteLater();
+ });
+ connect(stream, &PipeWireStream::streamReady, stream, [waylandStream] (uint nodeid) {
+ waylandStream->sendCreated(nodeid);