SHA256
1
0
forked from pool/kturtle

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
This commit is contained in:
Raymond Wooninck 2015-10-23 18:45:25 +00:00 committed by Git OBS Bridge
parent 6b3fb59601
commit 9e4056d091
3 changed files with 22 additions and 0 deletions

12
fix-exec-line.patch Normal file
View File

@ -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

View File

@ -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 Sun Oct 11 13:42:27 UTC 2015 - tittiatcoke@gmail.com

View File

@ -24,6 +24,9 @@ Url: http://edu.kde.org
Version: 15.08.2 Version: 15.08.2
Release: 0 Release: 0
Source0: %{name}-%{version}.tar.xz 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: update-desktop-files
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Core)
@ -43,6 +46,7 @@ KTurtle is an educational Logo programming environment.
%prep %prep
%setup -q %setup -q
%patch -p1
%build %build
%ifarch ppc ppc64 %ifarch ppc ppc64