SHA256
1
0
forked from pool/kate

- Add upstream patch to fix build with plasma-framework >= 5.30

* remove-popupapplet-servicetypet.patch
- Update to KDE Applications 16.12.1

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kate?expand=0&rev=58
This commit is contained in:
Fabian Vogt 2017-01-19 19:19:53 +00:00 committed by Git OBS Bridge
parent 0c03243dac
commit f4e60bb72d
3 changed files with 32 additions and 1 deletions

@ -1,7 +1,13 @@
-------------------------------------------------------------------
Thu Jan 19 19:19:16 UTC 2017 - fabian@ritter-vogt.de
- Add upstream patch to fix build with plasma-framework >= 5.30
* remove-popupapplet-servicetypet.patch
-------------------------------------------------------------------
Sat Jan 14 08:52:14 UTC 2017 - lbeltrame@kde.org
- - Update to KDE Applications 16.12.1
- Update to KDE Applications 16.12.1
* KDE Applications 16.12.1
* https://www.kde.org/announcements/announce-applications-16.12.1.php

@ -29,6 +29,8 @@ License: GPL-2.0+
Group: Productivity/Editors/Other
Url: http://www.kde.org/
Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM remove-popupapplet-servicetypet.patch -- Remove the depreciated Plasma PopupApplet servicetype
Patch1: remove-popupapplet-servicetypet.patch
BuildRequires: kactivities5-devel
BuildRequires: kconfig-devel
BuildRequires: kcrash-devel
@ -87,6 +89,7 @@ plugins and data files for Kate and KWrite editors.
%prep
%setup -q
%patch1 -p1
%build
%cmake_kf5 -d build

@ -0,0 +1,22 @@
From a1f8e09413465969d10b198a6c3bb01e90ca440d Mon Sep 17 00:00:00 2001
From: Raymond Wooninck <tittiatcoke@gmail.com>
Date: Wed, 21 Dec 2016 11:22:36 +0100
Subject: [PATCH] Remove the depreciated Plasma PopupApplet servicetype
---
addons/sessionapplet/applet/metadata.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/sessionapplet/applet/metadata.desktop b/addons/sessionapplet/applet/metadata.desktop
index e63b770..54ea8dd 100644
--- a/addons/sessionapplet/applet/metadata.desktop
+++ b/addons/sessionapplet/applet/metadata.desktop
@@ -96,7 +96,7 @@ Comment[zh_TW]=Kate 工作階段啟動器
Type=Service
Icon=kate
-X-KDE-ServiceTypes=Plasma/Applet,Plasma/PopupApplet
+X-KDE-ServiceTypes=Plasma/Applet
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/katesessions.qml