summaryrefslogtreecommitdiffstats
path: root/kde/patch/konsole/konsole.term.is.konsole.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-04-04 23:02:09 +0200
committer Eric Hameleers <alien@slackware.com>2018-04-04 23:02:09 +0200
commit355d515c5c03f55f38464eac2565c9a08a7a8551 (patch)
treeb81af9cd95c1e37580ea527bb5dba567ec70009c /kde/patch/konsole/konsole.term.is.konsole.patch
parent6c265e3c613eb8c801e216c018d164d5be7a2f7d (diff)
downloadktown-355d515c5c03f55f38464eac2565c9a08a7a8551.tar.gz
ktown-355d515c5c03f55f38464eac2565c9a08a7a8551.tar.xz
Recompilation required after icu4c and poppler ABI breakage
Diffstat (limited to '')
-rw-r--r--kde/patch/konsole/konsole.term.is.konsole.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/kde/patch/konsole/konsole.term.is.konsole.patch b/kde/patch/konsole/konsole.term.is.konsole.patch
new file mode 100644
index 0000000..443b9f1
--- /dev/null
+++ b/kde/patch/konsole/konsole.term.is.konsole.patch
@@ -0,0 +1,24 @@
+diff -uar konsole-17.12.3.orig/src/Profile.cpp konsole-17.12.3/src/Profile.cpp
+--- konsole-17.12.3.orig/src/Profile.cpp 2018-03-01 23:54:01.000000000 +0100
++++ konsole-17.12.3/src/Profile.cpp 2018-04-03 21:17:11.897873304 +0200
+@@ -157,7 +157,7 @@
+ // See Pty.cpp on why Arguments is populated
+ setProperty(Arguments, QStringList() << QString::fromUtf8(qgetenv("SHELL")));
+ setProperty(Icon, QStringLiteral("utilities-terminal"));
+- setProperty(Environment, QStringList() << QStringLiteral("TERM=xterm-256color") << QStringLiteral("COLORTERM=truecolor"));
++ setProperty(Environment, QStringList() << QStringLiteral("TERM=konsole") << QStringLiteral("COLORTERM=truecolor"));
+ setProperty(LocalTabTitleFormat, QStringLiteral("%d : %n"));
+ setProperty(RemoteTabTitleFormat, QStringLiteral("(%u) %H"));
+ setProperty(ShowTerminalSizeHint, true);
+diff -uar konsole-17.12.3.orig/src/Pty.cpp konsole-17.12.3/src/Pty.cpp
+--- konsole-17.12.3.orig/src/Pty.cpp 2018-03-01 23:54:01.000000000 +0100
++++ konsole-17.12.3/src/Pty.cpp 2018-04-03 21:18:18.898007801 +0200
+@@ -229,7 +229,7 @@
+
+ // extra safeguard to make sure $TERM is always set
+ if (!isTermEnvAdded) {
+- setEnv(QStringLiteral("TERM"), QStringLiteral("xterm-256color"));
++ setEnv(QStringLiteral("TERM"), QStringLiteral("konsole"));
+ }
+ }
+