SHA256
1
0
forked from pool/ksudoku

Accepting request 510612 from home:wolfi323:branches:KDE:Applications

- Add 0001-Revert-Fix-.desktop-Qt5-apps-accept-qwindowtitle-not.patch to fix .desktop file's Exec line, ksudoku is still KDE4/Qt4-based

OBS-URL: https://build.opensuse.org/request/show/510612
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ksudoku?expand=0&rev=56
This commit is contained in:
Luca Beltrame 2017-07-16 19:30:04 +00:00 committed by Git OBS Bridge
parent eab74a0ad0
commit 7e50b4578f
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From 2e94a775d5ede50821fd5466a7b05422fdf016c3 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Sun, 16 Jul 2017 21:07:13 +0200
Subject: [PATCH] Revert "Fix .desktop: Qt5 apps accept qwindowtitle, not
caption"
This reverts commit 672b4e39f22f840034a8e66e1311175639bff3e3 to fix
starting ksudoku via the application menu entry.
ksudoku 17.04.3 is still KDE4/Qt4-based and only supports -caption, not
-qwindowtitle.
See also
https://mail.kde.org/pipermail/release-team/2017-July/010426.html
---
src/gui/org.kde.ksudoku.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/org.kde.ksudoku.desktop b/src/gui/org.kde.ksudoku.desktop
index 858688a..626ec59 100755
--- a/src/gui/org.kde.ksudoku.desktop
+++ b/src/gui/org.kde.ksudoku.desktop
@@ -50,7 +50,7 @@ Name[wa]=KSudoku
Name[x-test]=xxKSudokuxx
Name[zh_CN]=KSudoku
Name[zh_TW]=KSudoku
-Exec=ksudoku %i -qwindowtitle %c
+Exec=ksudoku %i -caption %c
Icon=ksudoku
Type=Application
X-DocPath=ksudoku/index.html
--
2.12.3

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jul 16 19:16:05 UTC 2017 - wbauer@tmo.at
- Add 0001-Revert-Fix-.desktop-Qt5-apps-accept-qwindowtitle-not.patch
to fix .desktop file's Exec line, ksudoku is still KDE4/Qt4-based
-------------------------------------------------------------------
Sat Jul 15 23:01:42 CEST 2017 - lbeltrame@kde.org

View File

@ -27,6 +27,8 @@ Url: http://www.kde.org
Version: 17.04.3
Release: 0
Source0: ksudoku-%{version}.tar.xz
# PATCH-FIX-OPENSUSE
Patch: 0001-Revert-Fix-.desktop-Qt5-apps-accept-qwindowtitle-not.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
@ -40,6 +42,7 @@ number twice on each column, row, or subsquare.
%prep
%setup -q -n ksudoku-%{version}
%patch -p1
%build
%cmake_kde4 -d build