pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: markd
Date: Sun May 26 12:15:22 UTC 2024
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/kf6-threadweaver: DESCR Makefile PLIST buildlink3.mk
distinfo
pkgsrc/devel/kf6-threadweaver/patches:
patch-examples_ThumbNailer_AverageLoadManager.cpp
Log Message:
kf6-threadweaver: add version 6.2.0
KDE Frameworks 6 threadweaver.
ThreadWeaver is a helper for multithreaded programming. It uses a job-based
interface to queue tasks and execute them in an efficient way.
You simply divide the workload into jobs, state the dependencies between the
jobs and ThreadWeaver will work out the most efficient way of dividing the
work between threads within a set of resource limits.
To generate a diff of this commit:
cvs rdiff -u -r1.4301 -r1.4302 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/kf6-threadweaver/DESCR \
pkgsrc/devel/kf6-threadweaver/Makefile \
pkgsrc/devel/kf6-threadweaver/PLIST \
pkgsrc/devel/kf6-threadweaver/buildlink3.mk \
pkgsrc/devel/kf6-threadweaver/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/kf6-threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4301 pkgsrc/devel/Makefile:1.4302
--- pkgsrc/devel/Makefile:1.4301 Sun May 26 12:11:38 2024
+++ pkgsrc/devel/Makefile Sun May 26 12:15:22 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4301 2024/05/26 12:11:38 markd Exp $
+# $NetBSD: Makefile,v 1.4302 2024/05/26 12:15:22 markd Exp $
#
COMMENT= Development utilities
@@ -863,6 +863,7 @@ SUBDIR+= kf6-krunner
SUBDIR+= kf6-kservice
SUBDIR+= kf6-ktexteditor
SUBDIR+= kf6-purpose
+SUBDIR+= kf6-threadweaver
SUBDIR+= ki18n
SUBDIR+= kidletime
SUBDIR+= kio
Added files:
Index: pkgsrc/devel/kf6-threadweaver/DESCR
diff -u /dev/null pkgsrc/devel/kf6-threadweaver/DESCR:1.1
--- /dev/null Sun May 26 12:15:22 2024
+++ pkgsrc/devel/kf6-threadweaver/DESCR Sun May 26 12:15:22 2024
@@ -0,0 +1,6 @@
+ThreadWeaver is a helper for multithreaded programming. It uses a job-based
+interface to queue tasks and execute them in an efficient way.
+
+You simply divide the workload into jobs, state the dependencies between the
+jobs and ThreadWeaver will work out the most efficient way of dividing the
+work between threads within a set of resource limits.
Index: pkgsrc/devel/kf6-threadweaver/Makefile
diff -u /dev/null pkgsrc/devel/kf6-threadweaver/Makefile:1.1
--- /dev/null Sun May 26 12:15:22 2024
+++ pkgsrc/devel/kf6-threadweaver/Makefile Sun May 26 12:15:22 2024
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2024/05/26 12:15:22 markd Exp $
+
+DISTNAME= threadweaver-${KF6VER}
+CATEGORIES= devel
+
+HOMEPAGE= https://community.kde.org/Frameworks
+COMMENT= High-level multithreading framework
+LICENSE= gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kde/kf6.mk"
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/kf6-threadweaver/PLIST
diff -u /dev/null pkgsrc/devel/kf6-threadweaver/PLIST:1.1
--- /dev/null Sun May 26 12:15:22 2024
+++ pkgsrc/devel/kf6-threadweaver/PLIST Sun May 26 12:15:22 2024
@@ -0,0 +1,76 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/26 12:15:22 markd Exp $
+include/KF6/ThreadWeaver/ThreadWeaver/Collection
+include/KF6/ThreadWeaver/ThreadWeaver/DebuggingAids
+include/KF6/ThreadWeaver/ThreadWeaver/Dependency
+include/KF6/ThreadWeaver/ThreadWeaver/DependencyPolicy
+include/KF6/ThreadWeaver/ThreadWeaver/DestructedState
+include/KF6/ThreadWeaver/ThreadWeaver/Exception
+include/KF6/ThreadWeaver/ThreadWeaver/IdDecorator
+include/KF6/ThreadWeaver/ThreadWeaver/InConstructionState
+include/KF6/ThreadWeaver/ThreadWeaver/Job
+include/KF6/ThreadWeaver/ThreadWeaver/JobInterface
+include/KF6/ThreadWeaver/ThreadWeaver/JobPointer
+include/KF6/ThreadWeaver/ThreadWeaver/Lambda
+include/KF6/ThreadWeaver/ThreadWeaver/ManagedJobPointer
+include/KF6/ThreadWeaver/ThreadWeaver/QObjectDecorator
+include/KF6/ThreadWeaver/ThreadWeaver/Queue
+include/KF6/ThreadWeaver/ThreadWeaver/QueueAPI
+include/KF6/ThreadWeaver/ThreadWeaver/QueueInterface
+include/KF6/ThreadWeaver/ThreadWeaver/QueuePolicy
+include/KF6/ThreadWeaver/ThreadWeaver/QueueSignals
+include/KF6/ThreadWeaver/ThreadWeaver/QueueStream
+include/KF6/ThreadWeaver/ThreadWeaver/Queueing
+include/KF6/ThreadWeaver/ThreadWeaver/ResourceRestrictionPolicy
+include/KF6/ThreadWeaver/ThreadWeaver/Sequence
+include/KF6/ThreadWeaver/ThreadWeaver/ShuttingDownState
+include/KF6/ThreadWeaver/ThreadWeaver/State
+include/KF6/ThreadWeaver/ThreadWeaver/SuspendedState
+include/KF6/ThreadWeaver/ThreadWeaver/SuspendingState
+include/KF6/ThreadWeaver/ThreadWeaver/Thread
+include/KF6/ThreadWeaver/ThreadWeaver/ThreadWeaver
+include/KF6/ThreadWeaver/ThreadWeaver/Weaver
+include/KF6/ThreadWeaver/ThreadWeaver/WeaverImplState
+include/KF6/ThreadWeaver/ThreadWeaver/WeaverInterface
+include/KF6/ThreadWeaver/ThreadWeaver/WorkingHardState
+include/KF6/ThreadWeaver/threadweaver/collection.h
+include/KF6/ThreadWeaver/threadweaver/debuggingaids.h
+include/KF6/ThreadWeaver/threadweaver/dependency.h
+include/KF6/ThreadWeaver/threadweaver/dependencypolicy.h
+include/KF6/ThreadWeaver/threadweaver/destructedstate.h
+include/KF6/ThreadWeaver/threadweaver/exception.h
+include/KF6/ThreadWeaver/threadweaver/iddecorator.h
+include/KF6/ThreadWeaver/threadweaver/inconstructionstate.h
+include/KF6/ThreadWeaver/threadweaver/job.h
+include/KF6/ThreadWeaver/threadweaver/jobinterface.h
+include/KF6/ThreadWeaver/threadweaver/jobpointer.h
+include/KF6/ThreadWeaver/threadweaver/lambda.h
+include/KF6/ThreadWeaver/threadweaver/managedjobpointer.h
+include/KF6/ThreadWeaver/threadweaver/qobjectdecorator.h
+include/KF6/ThreadWeaver/threadweaver/queue.h
+include/KF6/ThreadWeaver/threadweaver/queueapi.h
+include/KF6/ThreadWeaver/threadweaver/queueing.h
+include/KF6/ThreadWeaver/threadweaver/queueinterface.h
+include/KF6/ThreadWeaver/threadweaver/queuepolicy.h
+include/KF6/ThreadWeaver/threadweaver/queuesignals.h
+include/KF6/ThreadWeaver/threadweaver/queuestream.h
+include/KF6/ThreadWeaver/threadweaver/resourcerestrictionpolicy.h
+include/KF6/ThreadWeaver/threadweaver/sequence.h
+include/KF6/ThreadWeaver/threadweaver/shuttingdownstate.h
+include/KF6/ThreadWeaver/threadweaver/state.h
+include/KF6/ThreadWeaver/threadweaver/suspendedstate.h
+include/KF6/ThreadWeaver/threadweaver/suspendingstate.h
+include/KF6/ThreadWeaver/threadweaver/thread.h
+include/KF6/ThreadWeaver/threadweaver/threadweaver.h
+include/KF6/ThreadWeaver/threadweaver/threadweaver_export.h
+include/KF6/ThreadWeaver/threadweaver/weaver.h
+include/KF6/ThreadWeaver/threadweaver/weaverimplstate.h
+include/KF6/ThreadWeaver/threadweaver/weaverinterface.h
+include/KF6/ThreadWeaver/threadweaver/workinghardstate.h
+include/KF6/ThreadWeaver/threadweaver_version.h
+lib/cmake/KF6ThreadWeaver/KF6ThreadWeaverConfig.cmake
+lib/cmake/KF6ThreadWeaver/KF6ThreadWeaverConfigVersion.cmake
+lib/cmake/KF6ThreadWeaver/KF6ThreadWeaverTargets-noconfig.cmake
+lib/cmake/KF6ThreadWeaver/KF6ThreadWeaverTargets.cmake
+lib/libKF6ThreadWeaver.so
+lib/libKF6ThreadWeaver.so.6
+lib/libKF6ThreadWeaver.so.${PKGVERSION}
Index: pkgsrc/devel/kf6-threadweaver/buildlink3.mk
diff -u /dev/null pkgsrc/devel/kf6-threadweaver/buildlink3.mk:1.1
--- /dev/null Sun May 26 12:15:22 2024
+++ pkgsrc/devel/kf6-threadweaver/buildlink3.mk Sun May 26 12:15:22 2024
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/05/26 12:15:22 markd Exp $
+
+BUILDLINK_TREE+= kf6-threadweaver
+
+.if !defined(KF6_THREADWEAVER_BUILDLINK3_MK)
+KF6_THREADWEAVER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kf6-threadweaver+= kf6-threadweaver>=6.2.0
+BUILDLINK_PKGSRCDIR.kf6-threadweaver?= ../../devel/kf6-threadweaver
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.endif # KF6_THREADWEAVER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -kf6-threadweaver
Index: pkgsrc/devel/kf6-threadweaver/distinfo
diff -u /dev/null pkgsrc/devel/kf6-threadweaver/distinfo:1.1
--- /dev/null Sun May 26 12:15:22 2024
+++ pkgsrc/devel/kf6-threadweaver/distinfo Sun May 26 12:15:22 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/05/26 12:15:22 markd Exp $
+
+BLAKE2s (threadweaver-6.2.0.tar.xz) = 938b0aab0bac3332105050ffafa2841d6f49ef2a52c0b286843cb42eb291edbf
+SHA512 (threadweaver-6.2.0.tar.xz) = 8d656032356e1c69904d6084de61765bed9336ba7919e90d8f5567ead315bcdaf4de2caf36403eb43546cb3847c1f9b87b4c2c8f4d4422ea5ada444801f26451
+Size (threadweaver-6.2.0.tar.xz) = 1414436 bytes
+SHA1 (patch-examples_ThumbNailer_AverageLoadManager.cpp) = a5aa7c2839ece6a213f8c70cc1ec8dd92fc55986
Index: pkgsrc/devel/kf6-threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp
diff -u /dev/null pkgsrc/devel/kf6-threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp:1.1
--- /dev/null Sun May 26 12:15:22 2024
+++ pkgsrc/devel/kf6-threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp Sun May 26 12:15:22 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-examples_ThumbNailer_AverageLoadManager.cpp,v 1.1 2024/05/26 12:15:22 markd Exp $
+
+SunOS needs sys/loadavg.h for getloadavg().
+
+--- examples/ThumbNailer/AverageLoadManager.cpp.orig 2022-04-02 10:06:45.000000000 +0000
++++ examples/ThumbNailer/AverageLoadManager.cpp
+@@ -1,3 +1,8 @@
++#ifdef __sun
++#include <sys/time.h>
++#include <sys/loadavg.h>
++#endif
++
+ #ifdef Q_OS_UNIX
+ #include <stdlib.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index