kinit: bump version

This commit is contained in:
Gerasim Troeglazov
2024-03-02 00:25:26 +10:00
parent 1902aa4071
commit be5265cdcc
2 changed files with 41 additions and 15 deletions

View File

@@ -8,12 +8,12 @@ should contain a 'kdemain(...)' function.
Using kdeinit to launch KDE applications makes starting a typical KDE \
applications 2.5 times faster (100ms instead of 250ms on a P-III 500) \
It reduces memory consumption by approx. 350Kb per application."
HOMEPAGE="https://github.com/KDE/kinit/"
COPYRIGHT="2010-2022 KDE Organisation"
HOMEPAGE="https://invent.kde.org/frameworks/kinit/"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kinit/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="be8576060aa811e4cc1ec322951bc3dead1dd4e8c3144308ce1e7b5b6d90c4bb"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kinit-${portVersion}.tar.xz"
CHECKSUM_SHA256="78c87dfe50387a6e58f513a02054246ae073ecef4784285881508667da627dad"
PATCHES="kinit-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
@@ -86,7 +86,7 @@ BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:python2
cmd:python3.10
"
PATCH()
@@ -101,7 +101,8 @@ BUILD()
cmake .. $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DWITH_X11=OFF
make $jobArgs
}

View File

@@ -1,14 +1,14 @@
From ea71c41d9f28a315a23e14ace8c8050d14f6b47f Mon Sep 17 00:00:00 2001
From 828cc5dc659d77e70849b38e7e019dc3a4ef1822 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Mon, 14 Dec 2020 23:31:02 +0300
Subject: Link against libnetwork on Haiku
diff --git a/src/kdeinit/CMakeLists.txt b/src/kdeinit/CMakeLists.txt
index a2b2496..936ef7c 100644
index 3fcbd1c..7370fc0 100644
--- a/src/kdeinit/CMakeLists.txt
+++ b/src/kdeinit/CMakeLists.txt
@@ -54,6 +54,10 @@ if (NOT WIN32)
@@ -53,6 +53,10 @@ if (NOT WIN32)
add_executable(kdeinit5_shutdown ../wrapper.cpp)
ecm_mark_nongui_executable(kdeinit5_shutdown)
@@ -19,7 +19,7 @@ index a2b2496..936ef7c 100644
target_link_libraries(kdeinit5_shutdown ${KINIT_SOCKET_LIBRARY} Qt5::Core KF5::DBusAddons)
install(TARGETS kdeinit5_shutdown ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
@@ -62,6 +66,10 @@ if (NOT WIN32)
@@ -61,6 +65,10 @@ if (NOT WIN32)
add_executable(kdeinit5_wrapper ../wrapper.cpp)
ecm_mark_nongui_executable(kdeinit5_wrapper)
@@ -29,12 +29,12 @@ index a2b2496..936ef7c 100644
+
target_link_libraries(kdeinit5_wrapper ${KINIT_SOCKET_LIBRARY} Qt5::Core KF5::DBusAddons)
if (NOT X11_FOUND)
if (NOT HAVE_X11)
diff --git a/src/klauncher/CMakeLists.txt b/src/klauncher/CMakeLists.txt
index 12cc728..fdb8dc3 100644
index bb02758..117bacb 100644
--- a/src/klauncher/CMakeLists.txt
+++ b/src/klauncher/CMakeLists.txt
@@ -36,6 +36,10 @@ if (APPLE)
@@ -38,6 +38,10 @@ if (APPLE)
target_link_libraries(kdeinit_klauncher "-framework CoreFoundation")
endif()
@@ -59,7 +59,7 @@ index 08dab96..cbf5eb3 100644
+
install(TARGETS kshell5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
diff --git a/src/kwrapper/CMakeLists.txt b/src/kwrapper/CMakeLists.txt
index 6649917..f500642 100644
index 9693c1e..01bd7aa 100644
--- a/src/kwrapper/CMakeLists.txt
+++ b/src/kwrapper/CMakeLists.txt
@@ -13,4 +13,8 @@ if (NOT WIN32)
@@ -72,5 +72,30 @@ index 6649917..f500642 100644
+
install(TARGETS kwrapper5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
--
2.28.0
2.43.2
From 0c02e06cdf6c122778566cc8d98456ef269e3045 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 26 Feb 2024 00:06:05 +1000
Subject: Link with libnetwork
diff --git a/src/kdeinit/CMakeLists.txt b/src/kdeinit/CMakeLists.txt
index 7370fc0..8e4f2d8 100644
--- a/src/kdeinit/CMakeLists.txt
+++ b/src/kdeinit/CMakeLists.txt
@@ -46,6 +46,10 @@ if (HAVE_XCB)
target_link_libraries(kdeinit5 XCB::XCB)
endif()
+if (HAIKU)
+ target_link_libraries(kdeinit5 network)
+endif ()
+
install(TARGETS kdeinit5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
if (NOT WIN32)
--
2.43.2