summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-07-18 10:42:38 +0200
committer Eric Hameleers <alien@slackware.com>2017-07-18 10:42:38 +0200
commit39f6996b805464654b57f1ad51e99481b7b87377 (patch)
tree76f0d0b4b1f561cd97ec3438197e6a47b615d2f1
parent8e03a243a838a3b08feb6a4c55feefa3acde35cd (diff)
downloadktown-39f6996b805464654b57f1ad51e99481b7b87377.tar.gz
ktown-39f6996b805464654b57f1ad51e99481b7b87377.tar.xz
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.
-rw-r--r--kde/patch/ksudoku.patch4
-rw-r--r--kde/patch/ksudoku/ksudoku_qwindowtitle.patch15
2 files changed, 19 insertions, 0 deletions
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