From f5d14f7b2b1fcb2e11e43d252579ea3c895370f2 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Mon, 1 Nov 2021 14:56:11 +1000 Subject: [PATCH] Kate: bump version --- ...ate-20.12.3.recipe => kate-21.08.2.recipe} | 6 ++--- kde-base/kate/patches/kate-20.12.3.patchset | 22 ------------------- 2 files changed, 3 insertions(+), 25 deletions(-) rename kde-base/kate/{kate-20.12.3.recipe => kate-21.08.2.recipe} (97%) delete mode 100644 kde-base/kate/patches/kate-20.12.3.patchset diff --git a/kde-base/kate/kate-20.12.3.recipe b/kde-base/kate/kate-21.08.2.recipe similarity index 97% rename from kde-base/kate/kate-20.12.3.recipe rename to kde-base/kate/kate-21.08.2.recipe index c03bf3a54..51a30a799 100644 --- a/kde-base/kate/kate-20.12.3.recipe +++ b/kde-base/kate/kate-21.08.2.recipe @@ -61,8 +61,7 @@ COPYRIGHT="2010-2021 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="81bc2d8afe1958186feec8b1b275da5d6eb52bd8b4fa154896d19830d628d4fd" -PATCHES="kate-$portVersion.patchset" +CHECKSUM_SHA256="d68898759dd2538051124681e5928ef5fb163ca61b6cd8f59ee056cc068ea6b2" ADDITIONAL_FILES="kate.rdef.in" ARCHITECTURES="all !x86_gcc2" @@ -123,7 +122,7 @@ REQUIRES=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - extra_cmake_modules$secondaryArchSuffix >= 5.77 + extra_cmake_modules$secondaryArchSuffix >= 5.86 devel:libKF5Activities$secondaryArchSuffix devel:libKF5Archive$secondaryArchSuffix devel:libKF5Attica$secondaryArchSuffix @@ -180,6 +179,7 @@ BUILD() cd build cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=$prefix \ -DINCLUDE_INSTALL_DIR=$includeDir \ -DSHARE_INSTALL_PREFIX=$dataDir \ diff --git a/kde-base/kate/patches/kate-20.12.3.patchset b/kde-base/kate/patches/kate-20.12.3.patchset deleted file mode 100644 index 1f4dac639..000000000 --- a/kde-base/kate/patches/kate-20.12.3.patchset +++ /dev/null @@ -1,22 +0,0 @@ -From 7e90b4cdd7ae1b410a45e6388f501409c9b0b385 Mon Sep 17 00:00:00 2001 -From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Sun, 24 Mar 2019 20:40:34 +1000 -Subject: Allow running as root on Haiku - - -diff --git a/kate/main.cpp b/kate/main.cpp -index dca9ffc..a1f21c6 100644 ---- a/kate/main.cpp -+++ b/kate/main.cpp -@@ -58,7 +58,7 @@ - - int main(int argc, char **argv) - { --#ifndef Q_OS_WIN -+#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU) - // Prohibit using sudo or kdesu (but allow using the root user directly) - if (getuid() == 0) { - if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { --- -2.19.1 -