- Add patch to fix build with gpsd: * 0001-Fix-build-with-gpsd-3.23.1.patch - Add patch to fix window thumbnails if dmabuf is not supported (kde#428284): * 0002-libtaskmanager-Don-t-request-dmabuf-if-not-supported.patch - Add patches from Plasma/5.23 branch: * 0001-SVN_SILENT-made-messages-.desktop-file-always-resolv.patch * 0002-shell-panel-Fix-ability-to-type-in-textfield.patch * 0003-SVN_SILENT-made-messages-.desktop-file-always-resolv.patch * 0004-PipeWire-Make-sure-thumbnails-properly-use-dmabuf-ag.patch * 0005-SVN_SILENT-made-messages-.desktop-file-always-resolv.patch * 0006-Klipper-Handle-incoming-UTF-8-mime-types.patch * 0007-Klipper-Guard-against-broken-data-fetches.patch * 0008-pipewire-Properly-compare-pipewire-versions-using-QV.patch * 0009-PipeWire-Include-defines-for-older-PipeWire-versions.patch * 0010-sddm-theme-fix-default-username-font-size.patch - Add patch to fix XEmbed context menus (kde#442758) * 0011-Revert-xembed-adapt-to-changes-in-KNotifications.patch OBS-URL: https://build.opensuse.org/request/show/921296 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=615
28 lines
1.3 KiB
Diff
28 lines
1.3 KiB
Diff
From 9e404ad3e5582f3d4a2f567b1c30e43cdbbb273c Mon Sep 17 00:00:00 2001
|
|
From: Aleix Pol <aleixpol@kde.org>
|
|
Date: Tue, 21 Sep 2021 19:34:32 +0200
|
|
Subject: [PATCH 08/11] pipewire: Properly compare pipewire versions using
|
|
QVersionNumber
|
|
|
|
(cherry picked from commit 393af3c1b74ad890ea2202652e76e89e1d63debd)
|
|
---
|
|
libtaskmanager/declarative/pipewiresourcestream.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libtaskmanager/declarative/pipewiresourcestream.cpp b/libtaskmanager/declarative/pipewiresourcestream.cpp
|
|
index b3aa92084..568ba589b 100644
|
|
--- a/libtaskmanager/declarative/pipewiresourcestream.cpp
|
|
+++ b/libtaskmanager/declarative/pipewiresourcestream.cpp
|
|
@@ -139,7 +139,7 @@ static spa_pod *buildFormat(spa_pod_builder *builder, spa_video_format format, c
|
|
auto pw_version = QVersionNumber::fromString(pw_get_library_version());
|
|
|
|
// SPA_POD_PROP_FLAG_DONT_FIXATE can be used with PipeWire >= 0.3.33
|
|
- if (pw_version.majorVersion() >= 0 && pw_version.minorVersion() >= 3 && pw_version.microVersion() >= 33) {
|
|
+ if (pw_version >= QVersionNumber(0, 3, 33)) {
|
|
spa_pod_builder_prop(builder, SPA_FORMAT_VIDEO_modifier, SPA_POD_PROP_FLAG_MANDATORY | SPA_POD_PROP_FLAG_DONT_FIXATE);
|
|
} else {
|
|
spa_pod_builder_prop(builder, SPA_FORMAT_VIDEO_modifier, SPA_POD_PROP_FLAG_MANDATORY);
|
|
--
|
|
2.33.0
|
|
|