From 2c90e4e46384481a187251ef7e48ebeb46100018 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 02:28:11 +0100 Subject: [PATCH] re-apply patch for Linux color scheme by default [release 22.08.0-2mamba;Fri Sep 02 2022] --- konsole-22.04.2-ColorScheme-Linux.patch | 11 ----------- konsole-22.08.0-ColorScheme-Linux.patch | 13 +++++++++++++ konsole.spec | 9 ++++++--- 3 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 konsole-22.04.2-ColorScheme-Linux.patch create mode 100644 konsole-22.08.0-ColorScheme-Linux.patch diff --git a/konsole-22.04.2-ColorScheme-Linux.patch b/konsole-22.04.2-ColorScheme-Linux.patch deleted file mode 100644 index e3de7c0..0000000 --- a/konsole-22.04.2-ColorScheme-Linux.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- konsole-22.04.2/src/profile/Profile.cpp.orig 2022-06-21 19:27:09.870820157 +0200 -+++ konsole-22.04.2/src/profile/Profile.cpp 2022-06-21 19:28:17.735457223 +0200 -@@ -195,7 +195,7 @@ - #else - setProperty(KeyBindings, QStringLiteral("default")); - #endif -- setProperty(ColorScheme, QStringLiteral("Breeze")); -+ setProperty(ColorScheme, QStringLiteral("Linux")); - setProperty(Font, QFontDatabase::systemFont(QFontDatabase::FixedFont)); - - setProperty(HistoryMode, Enum::FixedSizeHistory); diff --git a/konsole-22.08.0-ColorScheme-Linux.patch b/konsole-22.08.0-ColorScheme-Linux.patch new file mode 100644 index 0000000..6caaa08 --- /dev/null +++ b/konsole-22.08.0-ColorScheme-Linux.patch @@ -0,0 +1,13 @@ +--- konsole-22.08.0/src/profile/Profile.cpp.orig 2022-09-02 15:05:08.789073704 +0200 ++++ konsole-22.08.0/src/profile/Profile.cpp 2022-09-02 15:05:33.624838519 +0200 +@@ -80,8 +80,8 @@ + + // Appearance + {Font, "Font", APPEARANCE_GROUP, QFont()}, +- {ColorScheme, "ColorScheme", APPEARANCE_GROUP, QLatin1String("Breeze")}, +- {ColorScheme, "colors", nullptr, QLatin1String("Breeze")}, ++ {ColorScheme, "ColorScheme", APPEARANCE_GROUP, QLatin1String("Linux")}, ++ {ColorScheme, "colors", nullptr, QLatin1String("Linux")}, + {AntiAliasFonts, "AntiAliasFonts", APPEARANCE_GROUP, true}, + {BoldIntense, "BoldIntense", APPEARANCE_GROUP, true}, + {UseFontLineCharacters, "UseFontLineChararacters", APPEARANCE_GROUP, false}, diff --git a/konsole.spec b/konsole.spec index 478f527..3edeba2 100644 --- a/konsole.spec +++ b/konsole.spec @@ -1,6 +1,6 @@ Name: konsole Version: 22.08.0 -Release: 1mamba +Release: 2mamba Summary: Terminal Emulator for the K Desktop Environment Group: Graphical Desktop/Applications/Administration Vendor: openmamba @@ -9,7 +9,7 @@ Packager: Silvan Calarco URL: https://konsole.kde.org/ Source: http://download.kde.org/stable/release-service/%{version}/src/konsole-%{version}.tar.xz Patch0: konsole-17.08.0-xterm.patch -Patch1: konsole-22.04.2-ColorScheme-Linux.patch +Patch1: konsole-22.08.0-ColorScheme-Linux.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -58,7 +58,7 @@ Konsole is the terminal emulator for the K Desktop Environment. %prep %setup -q #%patch0 -p1 -#%patch1 -p1 +%patch1 -p1 %build %cmake_kde5 -d build @@ -111,6 +111,9 @@ fi #README %changelog +* Fri Sep 02 2022 Silvan Calarco 22.08.0-2mamba +- re-apply patch for Linux color scheme by default + * Sat Aug 27 2022 Automatic Build System 22.08.0-1mamba - automatic version update by autodist