epel9
Rex Dieter 9 years ago
parent e46617656f
commit c25c474866

2
.gitignore vendored

@ -1 +1 @@
/plasma-workspace-5.6.4.tar.xz /plasma-workspace-5.6.5.tar.xz

@ -1,30 +0,0 @@
From 3613733a933f4010f8b570f4aa6a1f5cb4dbe5ba Mon Sep 17 00:00:00 2001
From: Eike Hein <hein@kde.org>
Date: Thu, 12 May 2016 17:34:39 +0900
Subject: [PATCH 1/4] Don't read empty icons from config-stored launcher URL.
CCBUG:362957
---
libtaskmanager/groupmanager.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libtaskmanager/groupmanager.cpp b/libtaskmanager/groupmanager.cpp
index 528a55e..fb7cdc9 100644
--- a/libtaskmanager/groupmanager.cpp
+++ b/libtaskmanager/groupmanager.cpp
@@ -1077,7 +1077,11 @@ void GroupManager::setLauncherList(QList<QUrl> launcherList)
pixmap.loadFromData(bytes);
icon.addPixmap(pixmap);
} else {
- icon = QIcon::fromTheme(query.queryItemValue(QStringLiteral("icon")));
+ QString iconName = query.queryItemValue(QStringLiteral("icon"));
+
+ if (!iconName.isEmpty()) {
+ icon = QIcon::fromTheme(iconName);
+ }
}
l.setQuery(QUrlQuery());
--
2.7.4

@ -1,34 +0,0 @@
From a19fcfaf90db8ebc6e704917448ccfde7ae0ae59 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
Date: Thu, 12 May 2016 14:44:18 +0200
Subject: [PATCH 2/4] [Battery Monitor] Use "Has Cumulative" instead of total
battery count for tray icon
This fixes the battery icon errorneously showing an empty red battery on a desktop
computer with a wireless mouse/keyboard; instead the "no battery" icon with a
red cross is shown.
CHANGELOG: Battery icon no longer errorneously reports an empty battery if computer has none
CCBUG: 362924
Reviewed-By: mgraesslin
---
applets/batterymonitor/package/contents/ui/CompactRepresentation.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml b/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml
index b4059cb..90d3792 100755
--- a/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml
+++ b/applets/batterymonitor/package/contents/ui/CompactRepresentation.qml
@@ -50,7 +50,7 @@ MouseArea {
Item {
id: batteryContainer
- property bool hasBattery: view.singleBattery ? batterymonitor.batteries.count : model["Plugged in"]
+ property bool hasBattery: view.singleBattery ? view.hasBattery : model["Plugged in"]
property int percent: view.singleBattery ? pmSource.data["Battery"]["Percent"] : model["Percent"]
property bool pluggedIn: pmSource.data["AC Adapter"] && pmSource.data["AC Adapter"]["Plugged in"] && (view.singleBattery || model["Is Power Supply"])
--
2.7.4

@ -1,30 +0,0 @@
From 9cec9ed2a87b4cba7a1092267456974f86aaf546 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
Date: Fri, 13 May 2016 14:14:53 +0200
Subject: [PATCH 3/4] [KSplashQML] Don't wait for KWin to start on Wayland
On Wayland KWin is the first thing to start, so KSplash just times out after 30s
Differential Revision: https://phabricator.kde.org/D1606
---
ksplash/ksplashqml/splashapp.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ksplash/ksplashqml/splashapp.cpp b/ksplash/ksplashqml/splashapp.cpp
index f6b69d8..b3ca365 100644
--- a/ksplash/ksplashqml/splashapp.cpp
+++ b/ksplash/ksplashqml/splashapp.cpp
@@ -66,6 +66,10 @@ SplashApp::SplashApp(int &argc, char ** argv)
setStage(QStringLiteral("initial"));
+ if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) {
+ setStage(QStringLiteral("wm"));
+ }
+
QPixmap cursor(32, 32);
cursor.fill(Qt::transparent);
setOverrideCursor(QCursor(cursor));
--
2.7.4

@ -1,37 +0,0 @@
From e1ae057fef297b46d17256d497e8e2f4e24c1264 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
Date: Wed, 25 May 2016 14:22:47 +0200
Subject: [PATCH 4/4] [PanelView] Fix auto hide
The newly introduced HiddenStatus which is used by eg. the desktop pager to completely
hide itself when there is only one virtual desktop, has a higher value than
RequiresAttentionStatus for ABI compatibility reasons, so auto-hide was never actually
enabled if you had this applet (part of the default setup) with just one virtual desktop.
BUG: 362105
FIXED-IN: 5.6.5
Differential Revision: https://phabricator.kde.org/D1683
---
shell/panelview.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/shell/panelview.cpp b/shell/panelview.cpp
index 7809d84..4239419 100644
--- a/shell/panelview.cpp
+++ b/shell/panelview.cpp
@@ -579,7 +579,10 @@ void PanelView::showConfigurationInterface(Plasma::Applet *applet)
void PanelView::restoreAutoHide()
{
setAutoHideEnabled(edgeActivated()
- && (!containment() || containment()->status() < Plasma::Types::RequiresAttentionStatus)
+ && (!containment() ||
+ (containment()->status() < Plasma::Types::RequiresAttentionStatus
+ || containment()->status() == Plasma::Types::HiddenStatus)
+ )
&& !geometry().contains(QCursor::pos())
);
}
--
2.7.4

@ -6,8 +6,8 @@
Name: plasma-workspace Name: plasma-workspace
Summary: Plasma workspace, applications and applets Summary: Plasma workspace, applications and applets
Version: 5.6.4 Version: 5.6.5
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://quickgit.kde.org/?p=%{name}.git URL: https://quickgit.kde.org/?p=%{name}.git
@ -43,10 +43,6 @@ Patch1: kde-runtime-4.9.0-installdbgsymbols.patch
Patch2: plasma-workspace-5.6.4-installdbgsymbols.patch Patch2: plasma-workspace-5.6.4-installdbgsymbols.patch
## upstream Patches ## upstream Patches
Patch101: 0001-Don-t-read-empty-icons-from-config-stored-launcher-U.patch
Patch102: 0002-Battery-Monitor-Use-Has-Cumulative-instead-of-total-.patch
Patch103: 0003-KSplashQML-Don-t-wait-for-KWin-to-start-on-Wayland.patch
Patch104: 0004-PanelView-Fix-auto-hide.patch
## master branch Patches ## master branch Patches
@ -385,10 +381,6 @@ Requires: f24-kde-theme
%setup -q %setup -q
## upstream patches ## upstream patches
%patch101 -p1
%patch102 -p1
%patch103 -p1
%patch104 -p1
%if 0%{?fedora} > 23 %if 0%{?fedora} > 23
# dnf debuginfo-install # dnf debuginfo-install
@ -635,6 +627,9 @@ fi
%changelog %changelog
* Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.5-1
- 5.6.5
* Sun Jun 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.4-3 * Sun Jun 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.4-3
- -drkonqi: support 'dnf debuginfo-install' (f24+) - -drkonqi: support 'dnf debuginfo-install' (f24+)
- -drkonqi: Requires: kdialog konsole5 dnf-command(debuginfo-install) (f24+) - -drkonqi: Requires: kdialog konsole5 dnf-command(debuginfo-install) (f24+)

@ -1 +1 @@
9a1dec8b5961ee33faff91258f617ff6 plasma-workspace-5.6.4.tar.xz 340806c1a66ac443837e77f421181c09 plasma-workspace-5.6.5.tar.xz

Loading…
Cancel
Save