[konsole] add COLORTERM

Than Ngo than at fedoraproject.org
Thu Feb 26 13:05:22 UTC 2015


commit 4038428137782dd81f4228dca7413b0f0757d4a0
Author: Than Ngo <than at redhat.com>
Date:   Thu Feb 26 14:05:13 2015 +0100

    add COLORTERM

 konsole-4.14.3-colorterm.patch | 11 +++++++++++
 konsole.spec                   |  8 ++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/konsole-4.14.3-colorterm.patch b/konsole-4.14.3-colorterm.patch
new file mode 100644
index 0000000..6dd96dc
--- /dev/null
+++ b/konsole-4.14.3-colorterm.patch
@@ -0,0 +1,11 @@
+diff -up konsole-4.14.3/src/Profile.cpp.than konsole-4.14.3/src/Profile.cpp
+--- konsole-4.14.3/src/Profile.cpp.than	2015-02-26 13:48:16.696647133 +0100
++++ konsole-4.14.3/src/Profile.cpp	2015-02-26 13:48:27.637563502 +0100
+@@ -151,6 +151,7 @@ FallbackProfile::FallbackProfile()
+     setProperty(Arguments, QStringList() << qgetenv("SHELL"));
+     setProperty(Icon, "utilities-terminal");
+     setProperty(Environment, QStringList() << "TERM=xterm-256color");
++    setProperty(Environment, QStringList() << "COLORTERM=konsole");
+     setProperty(LocalTabTitleFormat, "%d : %n");
+     setProperty(RemoteTabTitleFormat, "(%u) %H");
+     setProperty(ShowTerminalSizeHint, true);
diff --git a/konsole.spec b/konsole.spec
index 0b325de..f3e4bc2 100644
--- a/konsole.spec
+++ b/konsole.spec
@@ -1,7 +1,7 @@
 Name:    konsole
 Summary: KDE Terminal emulator
 Version: 4.14.3
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 # sources: MIT and LGPLv2 and LGPLv2+ and GPLv2+
 License: GPLv2 and GFDL
@@ -21,6 +21,7 @@ Patch1: konsole-4.14.1-history_cache_instead_of_tmp.patch
 # TERM=xterm-256color default
 # https://bugzilla.redhat.com/1172329
 Patch2: konsole-4.14.3-xterm-256color.patch
+Patch3: konsole-4.14.3-colorterm.patch
 
 BuildRequires: desktop-file-utils
 BuildRequires: kdelibs4-devel >= 4.14
@@ -51,7 +52,7 @@ Provides: konsole4-part = %{version}-%{release}
 
 %patch1 -p1 -b .history_cache_instead_of_tmp
 %patch2 -p1 -b .xterm-256color
-
+%patch3 -p1 -b .colorterm
 
 %build
 mkdir %{_target_platform}
@@ -92,6 +93,9 @@ desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/konsole.des
 
 
 %changelog
+* Thu Feb 26 2015 Than Ngo <than at redhat.com> 4.14.3-5
+- add COLORTERM
+
 * Sat Jan 31 2015 Rex Dieter <rdieter at fedoraproject.org> 4.14.3-4
 - apply xterm-256color patch for real (#1172329)
 


More information about the scm-commits mailing list