From bdb4cdda37decb1def2be7e635050e28c1191318b88e545dcc96c5dbc5d1de65 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Mon, 1 Aug 2016 06:45:42 +0000 Subject: [PATCH] Accepting request 416166 from home:Vogtinator:branches:KDE:Frameworks5 Add 0001-Workaround-kde-362531.patch as a workaround for kde#362531 OBS-URL: https://build.opensuse.org/request/show/416166 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=234 --- 0001-Workaround-kde-362531.patch | 26 ++++++++++++++++++++++++++ plasma5-workspace.changes | 6 ++++++ plasma5-workspace.spec | 3 +++ 3 files changed, 35 insertions(+) create mode 100644 0001-Workaround-kde-362531.patch diff --git a/0001-Workaround-kde-362531.patch b/0001-Workaround-kde-362531.patch new file mode 100644 index 0000000..29dcec1 --- /dev/null +++ b/0001-Workaround-kde-362531.patch @@ -0,0 +1,26 @@ +From 84c03dc24aa32346bedc9a1f128a14a7f912d19c Mon Sep 17 00:00:00 2001 +From: Fabian Vogt +Date: Sat, 30 Jul 2016 23:54:46 +0200 +Subject: [PATCH] Workaround kde#362531 + +Delay plasmashell startup by a second so that KWin effects can be queried + +Signed-off-by: Fabian Vogt +--- + shell/plasmashell.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shell/plasmashell.desktop b/shell/plasmashell.desktop +index c186f5a..17f10ae 100644 +--- a/shell/plasmashell.desktop ++++ b/shell/plasmashell.desktop +@@ -1,5 +1,5 @@ + [Desktop Entry] +-Exec=plasmashell --shut-up ++Exec=sh -c "sleep 1; plasmashell" + X-DBUS-StartupType=Unique + Name=Plasma Desktop Workspace + Name[ar]=مساحة عمل سطح مكتب بلازما +-- +2.9.2 + diff --git a/plasma5-workspace.changes b/plasma5-workspace.changes index 2eb806f..e5ca459 100644 --- a/plasma5-workspace.changes +++ b/plasma5-workspace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jul 30 21:59:11 UTC 2016 - fabian@ritter-vogt.de + +- Add 0001-Workaround-kde-362531.patch as a workaround for + kde#362531 + ------------------------------------------------------------------- Fri Jul 29 18:05:53 UTC 2016 - fabian@ritter-vogt.de diff --git a/plasma5-workspace.spec b/plasma5-workspace.spec index 977d980..f690231 100644 --- a/plasma5-workspace.spec +++ b/plasma5-workspace.spec @@ -33,6 +33,8 @@ Patch0: 0001-Rename-qdbus-in-startkde.patch Patch1: require-qt56.diff # PATCH-FIX-OPENSUSE plasmashell-disable-windowclosing-on-logout.patch kde#349805 wbauer@tmo.at -- Prevent plasma from closing too early on logout resulting in an unusable desktop if the logout is cancelled Patch4: plasmashell-disable-windowclosing-on-logout.patch +# PATCH-FIX-OPENSUSE 0001-Workaround-kde-362531.patch kde#362531 fabian@ritter-vogt.de -- Delay plasma startup by a second so that effects can be queried +Patch5: 0001-Workaround-kde-362531.patch # PATCHES 100-200 and above are from upstream 5.7 branch Patch100: 0002-don-t-try-to-load-layout-before-kamd-starts.patch Patch102: 0006-Treat-IsDemandingAttention-as-IsOnAllVirtualDesktops.patch @@ -220,6 +222,7 @@ workspace. Development files. %if 0%{?is_opensuse} || 0%{?suse_version} > 1315 %patch4 -p1 %endif +%patch5 -p1 %patch100 -p1 %patch102 -p1 %patch103 -p1