diff --git a/kde-base/kate/kate-24.12.3.recipe b/kde-base/kate/kate-25.04.0.recipe similarity index 98% rename from kde-base/kate/kate-24.12.3.recipe rename to kde-base/kate/kate-25.04.0.recipe index ae2309cac..3f2accc90 100644 --- a/kde-base/kate/kate-24.12.3.recipe +++ b/kde-base/kate/kate-25.04.0.recipe @@ -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" diff --git a/kde-base/kate/patches/kate-24.12.3.patchset b/kde-base/kate/patches/kate-25.04.0.patchset similarity index 69% rename from kde-base/kate/patches/kate-24.12.3.patchset rename to kde-base/kate/patches/kate-25.04.0.patchset index 1c907d271..16f10365d 100644 --- a/kde-base/kate/patches/kate-24.12.3.patchset +++ b/kde-base/kate/patches/kate-25.04.0.patchset @@ -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 -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