1
0

- Add remove-popupapplet-definition.patch:

* Removes deprecated definition which prevents AppStream 
    metadata generation

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kde-print-manager?expand=0&rev=66
This commit is contained in:
Luca Beltrame 2017-02-10 06:16:29 +00:00 committed by Git OBS Bridge
parent 6e8a78cd80
commit 0febfaae97
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 10 06:15:43 UTC 2017 - lbeltrame@kde.org
- Add remove-popupapplet-definition.patch:
* Removes deprecated definition which prevents AppStream
metadata generation
-------------------------------------------------------------------
Thu Feb 9 06:52:33 UTC 2017 - lbeltrame@kde.org

View File

@ -28,6 +28,8 @@ License: GPL-2.0+
Group: System/GUI/KDE
Url: http://dantti.wordpress.com/24.9.90/02/12/print-manager/
Source: print-manager-%{version}.tar.xz
# PATCH-FIX-UPSTREAM remove-popupapplet-definition.patch - Remove deprecated definition to enable AppStream generation
Patch0: remove-popupapplet-definition.patch
BuildRequires: cups
BuildRequires: cups-backends
BuildRequires: cups-client
@ -75,6 +77,7 @@ Author(s):
%prep
%setup -q -n print-manager-%{version}
%patch0 -p1
%build
%cmake_kf5 -d build -- -DCUPS_INCLUDE_DIR=%{_includedir}/cups

View File

@ -0,0 +1,13 @@
diff --git a/plasmoid/package/metadata.desktop b/plasmoid/package/metadata.desktop
index 1bece28..06f594f 100644
--- a/plasmoid/package/metadata.desktop
+++ b/plasmoid/package/metadata.desktop
@@ -101,7 +101,7 @@ Comment[zh_TW]=列出列印工作並管理
Icon=printer
Type=Service
-X-KDE-ServiceTypes=Plasma/Applet,Plasma/PopupApplet
+X-KDE-ServiceTypes=Plasma/Applet
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/printmanager.qml