From 39f6996b805464654b57f1ad51e99481b7b87377 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 18 Jul 2017 10:42:38 +0200 Subject: Revert a commit for ksudoku preventing its menu entry to work Reason: ksudoku is still kdelibs4 based, not KF5, and this reverted commit was meant only for the master branch. --- kde/patch/ksudoku.patch | 4 ++++ kde/patch/ksudoku/ksudoku_qwindowtitle.patch | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 kde/patch/ksudoku.patch create mode 100644 kde/patch/ksudoku/ksudoku_qwindowtitle.patch diff --git a/kde/patch/ksudoku.patch b/kde/patch/ksudoku.patch new file mode 100644 index 0000000..9789c51 --- /dev/null +++ b/kde/patch/ksudoku.patch @@ -0,0 +1,4 @@ +# Qt5 apps accept qwindowtitle, not caption. KDEBUG 381087, +# however ksudoku-17.04.x is still kdelibs4 based: +cat $CWD/patch/ksudoku/ksudoku_qwindowtitle.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + diff --git a/kde/patch/ksudoku/ksudoku_qwindowtitle.patch b/kde/patch/ksudoku/ksudoku_qwindowtitle.patch new file mode 100644 index 0000000..3417b34 --- /dev/null +++ b/kde/patch/ksudoku/ksudoku_qwindowtitle.patch @@ -0,0 +1,15 @@ +Qt5 .desktop files for apps accept qwindowtitle, not caption. +However, the 17.04 branch of ksudoku is still kdelibs4 based, and the +patch applied to KDE BUG 381087 broke the launch of ksudoku here: + +--- a/src/gui/org.kde.ksudoku.desktop 2017-06-13 02:44:11.000000000 +0200 ++++ b/src/gui/org.kde.ksudoku.desktop 2017-07-15 11:58:32.027477614 +0200 +@@ -50,7 +50,7 @@ + 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 -- cgit v1.2.3