forked from pool/kde-print-manager
- 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:
parent
6e8a78cd80
commit
0febfaae97
@ -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
|
Thu Feb 9 06:52:33 UTC 2017 - lbeltrame@kde.org
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ License: GPL-2.0+
|
|||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
Url: http://dantti.wordpress.com/24.9.90/02/12/print-manager/
|
Url: http://dantti.wordpress.com/24.9.90/02/12/print-manager/
|
||||||
Source: print-manager-%{version}.tar.xz
|
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
|
||||||
BuildRequires: cups-backends
|
BuildRequires: cups-backends
|
||||||
BuildRequires: cups-client
|
BuildRequires: cups-client
|
||||||
@ -75,6 +77,7 @@ Author(s):
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n print-manager-%{version}
|
%setup -q -n print-manager-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kf5 -d build -- -DCUPS_INCLUDE_DIR=%{_includedir}/cups
|
%cmake_kf5 -d build -- -DCUPS_INCLUDE_DIR=%{_includedir}/cups
|
||||||
|
13
remove-popupapplet-definition.patch
Normal file
13
remove-popupapplet-definition.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user