kate, bump to 25.04.0 (#12208)

This commit is contained in:
Schrijvers Luc
2025-04-19 19:11:47 +02:00
committed by GitHub
parent b2178acf7f
commit ca14a60456
2 changed files with 11 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kate-$portVersion.tar.xz"
CHECKSUM_SHA256="c8952fe8730411b301344bcc69c4efcc11e1447c01b99a0916b63d59e5d6357f"
CHECKSUM_SHA256="f6e0e4da56a4bf0391d88363bebe3f8681ca037e6e29e0951c39627e32992712"
PATCHES="kate-$portVersion.patchset"
ADDITIONAL_FILES="kate.rdef.in"

View File

@@ -1,11 +1,11 @@
From edde1ca4f373ea165ddc55271df0de3b72dc223c Mon Sep 17 00:00:00 2001
From 826360a57e9bc9521b96a266268be1a8301733bd Mon Sep 17 00:00:00 2001
From: Schrijvers Luc <begasus@gmail.com>
Date: Mon, 23 Dec 2024 07:46:09 +0100
Date: Sat, 19 Apr 2025 18:59:39 +0200
Subject: Use Haiku's icon/color schemes
diff --git a/apps/lib/kateapp.cpp b/apps/lib/kateapp.cpp
index cd392fa..3b11b43 100644
index cddbd9c..8e3465f 100644
--- a/apps/lib/kateapp.cpp
+++ b/apps/lib/kateapp.cpp
@@ -158,9 +158,11 @@ void KateApp::initPreApplicationCreation(bool detach)
@@ -21,16 +21,19 @@ index cd392fa..3b11b43 100644
#if defined(Q_OS_WIN)
// try to attach to console for terminal detection and output
diff --git a/apps/lib/katemainwindow.cpp b/apps/lib/katemainwindow.cpp
index 15d09b8..0b420dd 100644
index 09a2552..0d1bfac 100644
--- a/apps/lib/katemainwindow.cpp
+++ b/apps/lib/katemainwindow.cpp
@@ -280,10 +280,12 @@ void KateMainWindow::setupImportantActions()
@@ -287,6 +287,7 @@ void KateMainWindow::setupImportantActions()
#endif
// Load themes
+#if !defined(Q_OS_HAIKU)
KColorSchemeManager *manager = new KColorSchemeManager(this);
auto *colorSelectionMenu = KColorSchemeMenu::createMenu(manager, this);
#if KCOLORSCHEME_VERSION < QT_VERSION_CHECK(6, 6, 0)
auto manager = new KColorSchemeManager(this);
#else
@@ -295,6 +296,7 @@ void KateMainWindow::setupImportantActions()
KActionMenu *colorSelectionMenu = KColorSchemeMenu::createMenu(manager, this);
colorSelectionMenu->menu()->setTitle(i18n("&Window Color Scheme"));
ac->addAction(QStringLiteral("colorscheme_menu"), colorSelectionMenu);
+#endif