mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* for future reference batch git rename was done using this command:
find . -maxdepth 3 -type f -name '*5.39*.recipe' | grep -v 1 | a
while read fname; do git mv $fname ${fname//5.39/5.45}; done
(don't forget to repeat for .patchset files)
* batch CHECKSUM_SHA256 update was done using this script:
cd haikuports
tar --exclude download --exclude work* -zcvf kde-frameworks-`date '+%Y-%m-%d-%H-%M-%S'`.tgz kde-frameworks/
find /home/haikuports/kde-frameworks -maxdepth 2 -name "*5.39*.recipe" | while read FNAME; do \
portVersion=5.45.0 ; source $FNAME ; echo $SOURCE_URI $FNAME ;
echo `curl -s -L $SOURCE_URI | sha256sum | head -c 64`
sed -i "s/$CHECKSUM_SHA256/`curl -s -L $SOURCE_URI | sha256sum | head -c 64`/" $FNAME ; done
* the recipes were built in this order
hp extra_cmake_modules
hp phonon
hp karchive
hp kcodecs
hp kconfig
hp kcoreaddons
hp kdbusaddons
hp kguiaddons
hp ki18n
hp kitemmodels
hp kitemviews
hp kwidgetsaddons
hp kwindowsystem
hp solid
hp sonnet
hp threadweaver
hp kauth
hp kcompletion
hp kcrash
hp kdoctools
hp kunitconversion
hp kconfigwidgets
hp kservice
hp kglobalaccel
hp kpackage
hp kemoticons
hp kiconthemes
hp kjobwidgets
hp knotifications
hp ktextwidgets
hp kxmlgui
hp kbookmarks
hp kwallet
hp kio
hp kdeclarative
hp kcmutils
hp kinit
hp knotifyconfig
hp kparts
hp kactivities
hp kded
hp kdesignerplugin
hp breeze_icons
hp kdelibs4support
hp kross
hp kdiagram
75 lines
2.3 KiB
Plaintext
75 lines
2.3 KiB
Plaintext
From 7d8eeb19353dc991a5123b87f339934808a09e06 Mon Sep 17 00:00:00 2001
|
|
From: Sergei Reznikov <diver@gelios.net>
|
|
Date: Mon, 25 Sep 2017 06:44:50 +0300
|
|
Subject: Fix build on Haiku
|
|
|
|
|
|
diff --git a/src/kdeinit/CMakeLists.txt b/src/kdeinit/CMakeLists.txt
|
|
index f00dd77..d66eaa7 100644
|
|
--- a/src/kdeinit/CMakeLists.txt
|
|
+++ b/src/kdeinit/CMakeLists.txt
|
|
@@ -50,7 +50,9 @@ if (NOT WIN32)
|
|
ecm_mark_nongui_executable(kdeinit5_shutdown)
|
|
|
|
target_link_libraries(kdeinit5_shutdown ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
|
-
|
|
+ if (HAIKU)
|
|
+ target_link_libraries(kdeinit5_shutdown network)
|
|
+ endif ()
|
|
install(TARGETS kdeinit5_shutdown ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
|
|
# kdeinit5_wrapper
|
|
@@ -58,6 +60,9 @@ if (NOT WIN32)
|
|
ecm_mark_nongui_executable(kdeinit5_wrapper)
|
|
|
|
target_link_libraries(kdeinit5_wrapper ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
|
+ if (HAIKU)
|
|
+ target_link_libraries(kdeinit5_wrapper network)
|
|
+ endif ()
|
|
|
|
if (NOT X11_FOUND)
|
|
target_compile_definitions(kdeinit5_wrapper PRIVATE -DNO_DISPLAY)
|
|
diff --git a/src/klauncher/CMakeLists.txt b/src/klauncher/CMakeLists.txt
|
|
index 7144c80..ef2500c 100644
|
|
--- a/src/klauncher/CMakeLists.txt
|
|
+++ b/src/klauncher/CMakeLists.txt
|
|
@@ -27,6 +27,10 @@ if (APPLE)
|
|
target_link_libraries(kdeinit_klauncher "-framework CoreFoundation")
|
|
endif()
|
|
|
|
+if (HAIKU)
|
|
+ target_link_libraries(kdeinit_klauncher network)
|
|
+endif ()
|
|
+
|
|
if (HAVE_XCB)
|
|
target_link_libraries(kdeinit_klauncher XCB::XCB)
|
|
endif()
|
|
diff --git a/src/kshell/CMakeLists.txt b/src/kshell/CMakeLists.txt
|
|
index 5c2e63d..0c02def 100644
|
|
--- a/src/kshell/CMakeLists.txt
|
|
+++ b/src/kshell/CMakeLists.txt
|
|
@@ -2,5 +2,7 @@ add_executable(kshell5 shell.cpp)
|
|
ecm_mark_nongui_executable(kshell5)
|
|
|
|
target_link_libraries(kshell5 ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
|
-
|
|
+if (HAIKU)
|
|
+ target_link_libraries(kshell5 network)
|
|
+endif ()
|
|
install(TARGETS kshell5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
diff --git a/src/kwrapper/CMakeLists.txt b/src/kwrapper/CMakeLists.txt
|
|
index 79cb70e..f490d5f 100644
|
|
--- a/src/kwrapper/CMakeLists.txt
|
|
+++ b/src/kwrapper/CMakeLists.txt
|
|
@@ -8,4 +8,7 @@ add_executable(kwrapper5 ${kwrapper_SRCS})
|
|
ecm_mark_nongui_executable(kwrapper5)
|
|
|
|
target_link_libraries(kwrapper5 ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
|
+if (HAIKU)
|
|
+ target_link_libraries(kwrapper5 network)
|
|
+endif ()
|
|
install(TARGETS kwrapper5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
--
|
|
2.14.2
|
|
|