Files
haikuports/kde-frameworks/threadweaver/patches/threadweaver-5.45.0.patchset
Sergei Reznikov a26720a2a3 kde-frameworks: bump to 5.45.0
* 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
2018-04-17 18:28:59 +03:00

23 lines
751 B
Plaintext

From da0f2d857245d50cc82307b091f00a70eacbd79b Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Mon, 25 Sep 2017 22:54:20 +0300
Subject: Fix build on Haiku
diff --git a/examples/ThumbNailer/AverageLoadManager.cpp b/examples/ThumbNailer/AverageLoadManager.cpp
index 5108978..9979ac0 100644
--- a/examples/ThumbNailer/AverageLoadManager.cpp
+++ b/examples/ThumbNailer/AverageLoadManager.cpp
@@ -46,7 +46,7 @@ QPair<int, int> AverageLoadManager::workersRange() const
void AverageLoadManager::update()
{
-#if defined(Q_OS_UNIX) && ! defined(Q_OS_ANDROID)
+#if defined(Q_OS_UNIX) && ! defined(Q_OS_ANDROID) && ! defined(Q_OS_HAIKU)
double averages[3];
if (getloadavg(averages, 3) == -1) {
return;
--
2.13.1