summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-10-19 20:06:33 +0000
committer Eric Hameleers <alien@slackware.com>2022-10-20 17:00:19 +0200
commit6df89862412c0813623a7e91954f596958bd9537 (patch)
tree1ee123b4660727a6d26e5963f986746cd10572eb /source/kde/kde/patch
parentf34245422381bb419e2dbe85faec96ffd1789295 (diff)
downloadcurrent-6df89862412c0813623a7e91954f596958bd9537.tar.gz
current-6df89862412c0813623a7e91954f596958bd9537.tar.xz
Wed Oct 19 20:06:33 UTC 2022
a/aaa_libraries-15.1-x86_64-11.txz: Rebuilt. Upgraded: libcap.so.2.66, liblzma.so.5.2.7, libpopt.so.0.0.2, libexpat.so.1.8.9, libglib-2.0.so.0.7200.4, libgmodule-2.0.so.0.7200.4, libgobject-2.0.so.0.7200.4, libgthread-2.0.so.0.7200.4, libhistory.so.8.2, libreadline.so.8.2. Added: libunistring.so.2.1.0, libunistring.so.5.0.0. Removed: libffi.so.7.1.0. a/gettext-0.21.1-x86_64-2.txz: Rebuilt. ap/lsof-4.96.4-x86_64-1.txz: Upgraded. ap/man-pages-6.01-noarch-1.txz: Upgraded. d/clisp-2.50_20220927_acb1266ee-x86_64-1.txz: Upgraded. Compiled against libunistring-1.1. d/gettext-tools-0.21.1-x86_64-2.txz: Rebuilt. Recompiled against libunistring-1.1. d/guile-3.0.8-x86_64-3.txz: Rebuilt. Recompiled against libunistring-1.1. kde/kguiaddons-5.99.0-x86_64-2.txz: Rebuilt. [PATCH] systemclipboard: Don't signal data source cancellation. Thanks to marav. l/libidn2-2.3.3-x86_64-2.txz: Rebuilt. l/libpsl-0.21.1-x86_64-5.txz: Rebuilt. Recompiled against libunistring-1.1. l/libunistring-1.1-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/bind-9.18.8-x86_64-1.txz: Upgraded. n/gnutls-3.7.8-x86_64-2.txz: Rebuilt. Recompiled against libunistring-1.1. n/samba-4.17.1-x86_64-1.txz: Upgraded. This update fixes the following security issue: Bad password count not incremented atomically. For more information, see: https://bugzilla.samba.org/show_bug.cgi?id=14611 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20251 (* Security fix *) n/wget-1.21.3-x86_64-2.txz: Rebuilt. Recompiled against libunistring-1.1. x/imake-1.0.9-x86_64-1.txz: Upgraded. x/xcb-util-errors-1.0.1-x86_64-1.txz: Upgraded. x/xcb-util-image-0.4.1-x86_64-1.txz: Upgraded. x/xcb-util-keysyms-0.4.1-x86_64-1.txz: Upgraded. x/xcb-util-renderutil-0.3.10-x86_64-1.txz: Upgraded. x/xcb-util-wm-0.4.2-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/kde/kde/patch')
-rw-r--r--source/kde/kde/patch/kguiaddons.patch1
-rw-r--r--source/kde/kde/patch/kguiaddons/a30c1fd2.patch48
2 files changed, 49 insertions, 0 deletions
diff --git a/source/kde/kde/patch/kguiaddons.patch b/source/kde/kde/patch/kguiaddons.patch
new file mode 100644
index 000000000..884a95659
--- /dev/null
+++ b/source/kde/kde/patch/kguiaddons.patch
@@ -0,0 +1 @@
+cat $CWD/patch/kguiaddons/a30c1fd2.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
diff --git a/source/kde/kde/patch/kguiaddons/a30c1fd2.patch b/source/kde/kde/patch/kguiaddons/a30c1fd2.patch
new file mode 100644
index 000000000..9617b39ee
--- /dev/null
+++ b/source/kde/kde/patch/kguiaddons/a30c1fd2.patch
@@ -0,0 +1,48 @@
+From a30c1fd20870c425e586cec3d46d7eb944509b89 Mon Sep 17 00:00:00 2001
+From: David Edmundson <kde@davidedmundson.co.uk>
+Date: Mon, 17 Oct 2022 16:56:57 +0100
+Subject: [PATCH] systemclipboard: Don't signals data source cancellation
+
+Right now we emit "selectionChanged" when either:
+ - we get an external new selection
+ - our own selection gets cancelled
+
+Semantically that's correct, if our own selection gets cancelled there's
+no data in the clipboard, globally it's changed.
+
+Pragmatically, we don't need to know about the latter event. It's not
+useful information for userspace code - and worst means we process
+events twice if clipboard is transferred from klipper to a client.
+
+This fixes a major issue with klipper when a user disables middle click
+paste. The compositor sends a cancel event on new clipboards, klipper
+detects the clipboard is empty and populates it.
+
+BUG: 460248
+---
+ src/systemclipboard/waylandclipboard.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/systemclipboard/waylandclipboard.cpp b/src/systemclipboard/waylandclipboard.cpp
+index c2fbdd6..af74902 100644
+--- a/src/systemclipboard/waylandclipboard.cpp
++++ b/src/systemclipboard/waylandclipboard.cpp
+@@ -456,7 +456,6 @@ void DataControlDevice::setSelection(std::unique_ptr<DataControlSource> selectio
+ m_selection = std::move(selection);
+ connect(m_selection.get(), &DataControlSource::cancelled, this, [this]() {
+ m_selection.reset();
+- Q_EMIT selectionChanged();
+ });
+ set_selection(m_selection->object());
+ Q_EMIT selectionChanged();
+@@ -467,7 +466,6 @@ void DataControlDevice::setPrimarySelection(std::unique_ptr<DataControlSource> s
+ m_primarySelection = std::move(selection);
+ connect(m_primarySelection.get(), &DataControlSource::cancelled, this, [this]() {
+ m_primarySelection.reset();
+- Q_EMIT primarySelectionChanged();
+ });
+
+ if (zwlr_data_control_device_v1_get_version(object()) >= ZWLR_DATA_CONTROL_DEVICE_V1_SET_PRIMARY_SELECTION_SINCE_VERSION) {
+--
+GitLab
+