- 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
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 96ebecb7ed8a07841d191a27cf247ffb666a2be8 Mon Sep 17 00:00:00 2001
|
|
From: Aleix Pol <aleixpol@kde.org>
|
|
Date: Tue, 21 Sep 2021 13:10:04 +0200
|
|
Subject: [PATCH 09/11] PipeWire: Include defines for older PipeWire versions
|
|
|
|
SPA_POD_PROP_FLAG_MANDATORY and SPA_POD_PROP_FLAG_DONT_FIXATE got
|
|
included in newer versions.
|
|
|
|
|
|
(cherry picked from commit 38f8c397c72c331d202b9586e5077f281b9e3293)
|
|
---
|
|
libtaskmanager/declarative/pipewiresourcestream.cpp | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/libtaskmanager/declarative/pipewiresourcestream.cpp b/libtaskmanager/declarative/pipewiresourcestream.cpp
|
|
index 568ba589b..b4c2fdc4f 100644
|
|
--- a/libtaskmanager/declarative/pipewiresourcestream.cpp
|
|
+++ b/libtaskmanager/declarative/pipewiresourcestream.cpp
|
|
@@ -32,6 +32,13 @@
|
|
#include <QtPlatformHeaders/QEGLNativeContext>
|
|
#undef Status
|
|
|
|
+#if !PW_CHECK_VERSION(0, 3, 29)
|
|
+#define SPA_POD_PROP_FLAG_MANDATORY (1u << 3)
|
|
+#endif
|
|
+#if !PW_CHECK_VERSION(0, 3, 33)
|
|
+#define SPA_POD_PROP_FLAG_DONT_FIXATE (1u << 4)
|
|
+#endif
|
|
+
|
|
static uint32_t SpaPixelFormatToDrmFormat(uint32_t spa_format)
|
|
{
|
|
switch (spa_format) {
|
|
--
|
|
2.33.0
|
|
|