kde-frameworks: 5.73 -> 5.76
This commit is contained in:
parent
889638221c
commit
953461a165
@ -1 +1 @@
|
|||||||
WGET_ARGS=(https://download.kde.org/stable/frameworks/5.73/)
|
WGET_ARGS=(https://download.kde.org/stable/frameworks/5.76/)
|
||||||
|
@ -1,25 +1,45 @@
|
|||||||
Index: kwindowsystem-5.64.0/src/pluginwrapper.cpp
|
From 5d73d02656298d0af860c8ed7f6be679e3d69e09 Mon Sep 17 00:00:00 2001
|
||||||
===================================================================
|
From: Tom Hall <tahall256@protonmail.ch>
|
||||||
--- kwindowsystem-5.64.0.orig/src/pluginwrapper.cpp
|
Date: Tue, 24 Nov 2020 19:31:20 +0000
|
||||||
+++ kwindowsystem-5.64.0/src/pluginwrapper.cpp
|
Subject: [PATCH] Fix platform plugins path
|
||||||
@@ -37,16 +37,10 @@ Q_GLOBAL_STATIC(KWindowSystemPluginWrapp
|
|
||||||
|
---
|
||||||
|
src/pluginwrapper.cpp | 22 ++++++----------------
|
||||||
|
1 file changed, 6 insertions(+), 16 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/pluginwrapper.cpp b/src/pluginwrapper.cpp
|
||||||
|
index a255d83..8f4caac 100644
|
||||||
|
--- a/src/pluginwrapper.cpp
|
||||||
|
+++ b/src/pluginwrapper.cpp
|
||||||
|
@@ -24,22 +24,12 @@ Q_GLOBAL_STATIC(KWindowSystemPluginWrapper, s_pluginWrapper)
|
||||||
static QStringList pluginCandidates()
|
static QStringList pluginCandidates()
|
||||||
{
|
{
|
||||||
QStringList ret;
|
QStringList ret;
|
||||||
- const auto paths = QCoreApplication::libraryPaths();
|
- const auto paths = QCoreApplication::libraryPaths();
|
||||||
- for (const QString &path : paths) {
|
- for (const QString &path : paths) {
|
||||||
- QDir pluginDir(path + QLatin1String("/kf5/org.kde.kwindowsystem.platforms"));
|
- static const QStringList searchFolders {
|
||||||
- if (!pluginDir.exists()) {
|
- QStringLiteral("/kf5/org.kde.kwindowsystem.platforms"),
|
||||||
- continue;
|
- QStringLiteral("/kf5/kwindowsystem"),
|
||||||
|
- };
|
||||||
|
- for (const QString &searchFolder : searchFolders) {
|
||||||
|
- QDir pluginDir(path + searchFolder);
|
||||||
|
- if (!pluginDir.exists()) {
|
||||||
|
- continue;
|
||||||
|
- }
|
||||||
|
- const auto entries = pluginDir.entryList(QDir::Files | QDir::NoDotAndDotDot);
|
||||||
|
- for (const QString &entry : entries) {
|
||||||
|
- ret << pluginDir.absoluteFilePath(entry);
|
||||||
|
- }
|
||||||
- }
|
- }
|
||||||
- const auto entries = pluginDir.entryList(QDir::Files | QDir::NoDotAndDotDot);
|
+ QDir pluginDir(QLatin1String(NIXPKGS_QT_PLUGIN_PATH)
|
||||||
- for (const QString &entry : entries) {
|
+ + QLatin1Literal("/kf5/org.kde.kwindowsystem.platforms")
|
||||||
- ret << pluginDir.absoluteFilePath(entry);
|
+ + QLatin1Literal("/kf5/kwindowsystem"));
|
||||||
- }
|
|
||||||
+ QDir pluginDir(QLatin1String(NIXPKGS_QT_PLUGIN_PATH) + QLatin1Literal("/kf5/org.kde.kwindowsystem.platforms"));
|
|
||||||
+ const auto entries = pluginDir.entryList(QDir::Files | QDir::NoDotAndDotDot);
|
+ const auto entries = pluginDir.entryList(QDir::Files | QDir::NoDotAndDotDot);
|
||||||
+ for (const QString &entry : entries) {
|
+ for (const QString &entry : entries) {
|
||||||
+ ret << pluginDir.absoluteFilePath(entry);
|
+ ret << pluginDir.absoluteFilePath(entry);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
--
|
||||||
|
2.28.0
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user