From 0febfaae97be771b826573cbb7dc0ae341f5008ec6f5486a084666f001ec66a2 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Fri, 10 Feb 2017 06:16:29 +0000 Subject: [PATCH] - 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 --- kde-print-manager.changes | 7 +++++++ kde-print-manager.spec | 3 +++ remove-popupapplet-definition.patch | 13 +++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 remove-popupapplet-definition.patch diff --git a/kde-print-manager.changes b/kde-print-manager.changes index ccdf6c8..5845995 100644 --- a/kde-print-manager.changes +++ b/kde-print-manager.changes @@ -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 diff --git a/kde-print-manager.spec b/kde-print-manager.spec index a21e10c..32374f7 100644 --- a/kde-print-manager.spec +++ b/kde-print-manager.spec @@ -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 diff --git a/remove-popupapplet-definition.patch b/remove-popupapplet-definition.patch new file mode 100644 index 0000000..a0ef778 --- /dev/null +++ b/remove-popupapplet-definition.patch @@ -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