From 9e4056d0919c0759afe403100ea2411eddcc8996381ffc1ad9cf8d5465262f83 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Fri, 23 Oct 2015 18:45:25 +0000 Subject: [PATCH] Accepting request 340491 from home:wolfi323:branches:KDE:Applications - Add fix-exec-line.patch: fixes the .desktop file's Exec line so that kturtle can actually be started from the application menu Kturtle still uses kdelibs4support, so it only supports "-caption" not "-qwindowtitle", but the .desktop file has already been changed. This is fixed in master by fully porting kturtle away from kdelibs4support, but that patch would probably be too intrusive. OBS-URL: https://build.opensuse.org/request/show/340491 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kturtle?expand=0&rev=19 --- fix-exec-line.patch | 12 ++++++++++++ kturtle.changes | 6 ++++++ kturtle.spec | 4 ++++ 3 files changed, 22 insertions(+) create mode 100644 fix-exec-line.patch diff --git a/fix-exec-line.patch b/fix-exec-line.patch new file mode 100644 index 0000000..76a072b --- /dev/null +++ b/fix-exec-line.patch @@ -0,0 +1,12 @@ +diff -ur kturtle-15.08.2/src/org.kde.kturtle.desktop kturtle-15.08.2.new/src/org.kde.kturtle.desktop +--- kturtle-15.08.2/src/org.kde.kturtle.desktop 2015-07-01 10:29:00.000000000 +0200 ++++ kturtle-15.08.2.new/src/org.kde.kturtle.desktop 2015-10-22 21:16:48.000000000 +0200 +@@ -123,7 +123,7 @@ + GenericName[x-test]=xxEducational Programming Environmentxx + GenericName[zh_CN]=教育编程环境 + GenericName[zh_TW]=教育程式環境 +-Exec=kturtle -qwindowtitle %c ++Exec=kturtle -caption %c + Icon=kturtle + X-DocPath=kturtle/index.html + Type=Application diff --git a/kturtle.changes b/kturtle.changes index c54dc7a..6c0d140 100644 --- a/kturtle.changes +++ b/kturtle.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 22 19:01:14 UTC 2015 - wbauer@tmo.at + +- Add fix-exec-line.patch: fixes the .desktop file's Exec line so + that kturtle can actually be started from the application menu + ------------------------------------------------------------------- Sun Oct 11 13:42:27 UTC 2015 - tittiatcoke@gmail.com diff --git a/kturtle.spec b/kturtle.spec index bd75131..c49ce5c 100644 --- a/kturtle.spec +++ b/kturtle.spec @@ -24,6 +24,9 @@ Url: http://edu.kde.org Version: 15.08.2 Release: 0 Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE fix-exec-line.patch wbauer@tmo.at -- fixes the .desktop file's Exec line so that kturtle can actually be started +# should be removed for 15.12, when kturtle will not use kdelibs4support any more and actually support the "-qwindowtitle" parameter +Patch: fix-exec-line.patch BuildRequires: update-desktop-files BuildRequires: extra-cmake-modules BuildRequires: pkgconfig(Qt5Core) @@ -43,6 +46,7 @@ KTurtle is an educational Logo programming environment. %prep %setup -q +%patch -p1 %build %ifarch ppc ppc64