plasma-workspace: backport few patches to fix build
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From 321cdc7278c29bcf4cf15078a71c8ceea47e7e95 Mon Sep 17 00:00:00 2001
|
||||
From: Vishesh Handa <me@vhanda.in>
|
||||
Date: Mon, 11 May 2015 15:34:51 +0200
|
||||
Subject: [PATCH] BalooRunner: Baloo/Result header is no longer installed
|
||||
|
||||
Upstream-Status: Backport
|
||||
---
|
||||
runners/baloo/baloosearchrunner.cpp | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/runners/baloo/baloosearchrunner.cpp b/runners/baloo/baloosearchrunner.cpp
|
||||
index 2bbd7c1..0023a11 100644
|
||||
--- a/runners/baloo/baloosearchrunner.cpp
|
||||
+++ b/runners/baloo/baloosearchrunner.cpp
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <QTimer>
|
||||
|
||||
#include <Baloo/Query>
|
||||
-#include <Baloo/Result>
|
||||
|
||||
SearchRunner::SearchRunner(QObject* parent, const QVariantList& args)
|
||||
: Plasma::AbstractRunner(parent, args)
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
From 34c11a481baafd9824ef681b6d359ca34ab04ad8 Mon Sep 17 00:00:00 2001
|
||||
From: Vishesh Handa <me@vhanda.in>
|
||||
Date: Wed, 6 May 2015 14:27:37 +0200
|
||||
Subject: [PATCH] Baloo Runner: Use the filepath as the unique id of the match
|
||||
|
||||
Baloo no longer exports the identifier of the file
|
||||
|
||||
Upstream-Status: Backport
|
||||
---
|
||||
runners/baloo/baloosearchrunner.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/runners/baloo/baloosearchrunner.cpp b/runners/baloo/baloosearchrunner.cpp
|
||||
index 0f5e066..2bbd7c1 100644
|
||||
--- a/runners/baloo/baloosearchrunner.cpp
|
||||
+++ b/runners/baloo/baloosearchrunner.cpp
|
||||
@@ -114,7 +114,7 @@ QList<Plasma::QueryMatch> SearchRunner::match(Plasma::RunnerContext& context, co
|
||||
|
||||
QString iconName = QMimeDatabase().mimeTypeForFile(localUrl).iconName();
|
||||
match.setIcon(QIcon::fromTheme(iconName));
|
||||
- match.setId(it.id());
|
||||
+ match.setId(it.filePath());
|
||||
match.setText(url.fileName());
|
||||
match.setData(url);
|
||||
match.setType(Plasma::QueryMatch::PossibleMatch);
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -27,6 +27,7 @@ DEPENDS += " \
|
||||
kdeclarative \
|
||||
kdewebkit \
|
||||
ktextwidgets \
|
||||
ktexteditor \
|
||||
kdelibs4support \
|
||||
kxmlrpcclient \
|
||||
kcrash \
|
||||
@@ -52,6 +53,9 @@ SRC_URI += " \
|
||||
file://0005-startkde-fix-path-for-start_kdeinit_wrapper.patch \
|
||||
file://0006-startkde-create-kde-s-home.patch \
|
||||
file://0007-startkde-enable-starting-X.patch \
|
||||
\
|
||||
file://0008-BalooRunner-Baloo-Result-header-is-no-longer-install.patch \
|
||||
file://0009-Baloo-Runner-Use-the-filepath-as-the-unique-id-of-th.patch \
|
||||
"
|
||||
|
||||
# cross libs / headers
|
||||
|
||||
Reference in New Issue
Block a user