diff --git a/fix-ksirk-desktop-exec-line.patch b/fix-ksirk-desktop-exec-line.patch new file mode 100644 index 0000000..f906c12 --- /dev/null +++ b/fix-ksirk-desktop-exec-line.patch @@ -0,0 +1,22 @@ +From: Jeremy Whiting +Date: Mon, 23 Nov 2015 20:39:04 +0000 +Subject: Fix ksirk .desktop file exec line. +X-Git-Tag: v15.11.90 +X-Git-Url: http://quickgit.kde.org/?p=ksirk.git&a=commitdiff&h=8e6165d0c18cf6a624457f216ca2a5a4c9092ca6 +--- +Fix ksirk .desktop file exec line. +--- + + +--- a/ksirk/ksirk.desktop ++++ b/ksirk/ksirk.desktop +@@ -1,7 +1,7 @@ + # KDE Config File + [Desktop Entry] + Type=Application +-Exec=ksirk -caption %c %i ++Exec=ksirk -qwindowtitle %c %i + Icon=ksirk + X-DocPath=ksirk/index.html + Terminal=false + diff --git a/ksirk.changes b/ksirk.changes index ded3ac4..59f81ae 100644 --- a/ksirk.changes +++ b/ksirk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 14 17:09:42 UTC 2015 - wbauer@tmo.at + +- Add fix-ksirk-desktop-exec-line.patch and revert it, this + upstream commit breaks the application menu entry (kde#356731) + ------------------------------------------------------------------- Sun Dec 13 13:26:19 UTC 2015 - tittiatcoke@gmail.com diff --git a/ksirk.spec b/ksirk.spec index 6244587..64d8d13 100644 --- a/ksirk.spec +++ b/ksirk.spec @@ -24,6 +24,9 @@ Url: http://www.kde.org Version: 15.12.0 Release: 0 Source0: ksirk-%{version}.tar.xz +# PATCH-UNFIX-UPSTREAM fix-ksirk-desktop-exec-line.patch -- this commit broke the ksirk menu entry, revert it (kde#356731) +# (ksirk is still a KDE4 application and doesn't support the -qwindowtitle parameter) +Patch: fix-ksirk-desktop-exec-line.patch BuildRequires: libkdegames4-devel BuildRequires: libqca2-devel BuildRequires: xz @@ -35,6 +38,7 @@ KsirK is a computerized version of a well known strategy game. %prep %setup -q +%patch -Rp1 %build %cmake_kde4 -d build