breeze: backport compile patches for latest KF6 & Qt
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From e2f16562b64c63b623def44476eadc635a82c7de Mon Sep 17 00:00:00 2001
|
||||
From: Kai Uwe Broulik <kde@privat.broulik.de>
|
||||
Date: Fri, 17 Jan 2025 18:41:26 +0100
|
||||
Subject: [PATCH] kcursorgen: Add QDebug include
|
||||
|
||||
It failed to build for me because of qCritical.
|
||||
|
||||
(cherry picked from commit 663da19b8ba6b9849b81bc57f7f8ff4944f6976a)
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
Upstream-Status: Backported
|
||||
---
|
||||
cursors/src/kcursorgen/kcursorgen.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/cursors/src/kcursorgen/kcursorgen.cpp b/cursors/src/kcursorgen/kcursorgen.cpp
|
||||
index 3ae73350..aa4bd9ff 100644
|
||||
--- a/cursors/src/kcursorgen/kcursorgen.cpp
|
||||
+++ b/cursors/src/kcursorgen/kcursorgen.cpp
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "options.h"
|
||||
|
||||
#include <QCollator>
|
||||
+#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QImage>
|
||||
#include <QJsonArray>
|
||||
--
|
||||
2.48.1
|
||||
|
||||
28
recipes-plasma/breeze/0002-Add-missing-includes.patch
Normal file
28
recipes-plasma/breeze/0002-Add-missing-includes.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From 098ad3facb3d76fe4476424f1b7bf3c9c2c1b142 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Fella <nicolas.fella@gmx.de>
|
||||
Date: Fri, 17 Jan 2025 16:46:19 +0100
|
||||
Subject: [PATCH] Add missing includes
|
||||
|
||||
(cherry picked from commit 9df8a685aa2d7ed1e9e633dda96d141c591f398e)
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
Upstream-Status: Backported
|
||||
---
|
||||
cursors/src/kcursorgen/main.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/cursors/src/kcursorgen/main.cpp b/cursors/src/kcursorgen/main.cpp
|
||||
index 96d5e2ec..b1a284f4 100644
|
||||
--- a/cursors/src/kcursorgen/main.cpp
|
||||
+++ b/cursors/src/kcursorgen/main.cpp
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <QCommandLineParser>
|
||||
#include <QCoreApplication>
|
||||
+#include <QDebug>
|
||||
#include <QString>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
--
|
||||
2.48.1
|
||||
|
||||
@@ -3,5 +3,9 @@
|
||||
|
||||
require ${PN}.inc
|
||||
SRC_URI += "https://download.kde.org/stable/plasma/6.3.4/breeze-6.3.4.tar.xz"
|
||||
SRC_URI += " \
|
||||
file://0001-kcursorgen-Add-QDebug-include.patch \
|
||||
file://0002-Add-missing-includes.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "97af530e746eaea423f741697f91eb47ae5e8e883bef3d353fb25ad0b5ed15ac"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user