Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2026 21:40:47 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Martin Filla <freebsd@sysctl.cz>
Subject:   git: 1e624ee2049e - main - devel/nodeeditor: Update 3.0.11 => 3.0.12
Message-ID:  <69656a5f.21b5d.3dac4d66@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e624ee2049ead51a5a075416c725bc34db652e5

commit 1e624ee2049ead51a5a075416c725bc34db652e5
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2026-01-12 21:38:30 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-12 21:40:34 +0000

    devel/nodeeditor: Update 3.0.11 => 3.0.12
    
    Commit log:
    https://github.com/paceholder/nodeeditor/compare/3.0.11...3.0.12
    
    PR:             289091
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
---
 devel/nodeeditor/Makefile                          | 42 +++++++++++++++++-----
 devel/nodeeditor/distinfo                          |  8 ++---
 devel/nodeeditor/files/patch-test_CMakeLists.txt   | 11 ++++++
 .../files/patch-test_src_TestUIInteraction.cpp     | 10 ++++++
 devel/nodeeditor/pkg-plist                         |  7 ++++
 5 files changed, 64 insertions(+), 14 deletions(-)

diff --git a/devel/nodeeditor/Makefile b/devel/nodeeditor/Makefile
index fadd9cf3da1d..f7fb87a5386c 100644
--- a/devel/nodeeditor/Makefile
+++ b/devel/nodeeditor/Makefile
@@ -1,9 +1,6 @@
 PORTNAME=	nodeeditor
-DISTVERSION=	3.0.11
+DISTVERSION=	3.0.12
 CATEGORIES=	devel
-MASTER_SITES+=	https://raw.githubusercontent.com/catchorg/Catch2/v2.13.10/single_include/catch2/:catch2
-DISTFILES+=	catch.hpp:catch2
-EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	freebsd@sysctl.cz
 COMMENT=	Qt Node Editor, Dataflow programming framework
@@ -12,17 +9,44 @@ WWW=		https://github.com/paceholder/nodeeditor
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
+BUILD_DEPENDS=	vulkan-headers>0:graphics/vulkan-headers
+TEST_DEPENDS=	libCatch2>=0:devel/catch2
+
 USES=		cmake gl qt:6
 USE_GITHUB=	yes
 GH_ACCOUNT=	paceholder
-GH_PROJECT=	nodeeditor
 USE_GL=		gl
 USE_QT=		base
 
-CMAKE_ARGS=	-DBUILD_DOCS=OFF
+CMAKE_OFF=		BUILD_DOCS BUILD_TESTING
+# The test doesn't work - it tries to run test_main, but
+# ${WRKSRC}/test/test_main.cpp is empty.
+#CMAKE_TESTING_ON=	BUILD_TESTING
+#CMAKE_TESTING_OFF=	BUILD_TESTING
+
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=		EXAMPLES
+EXAMPLES_CMAKE_BOOL=	BUILD_EXAMPLES
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/bin
+	${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/* ${STAGEDIR}${EXAMPLESDIR}/bin
+	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
-post-extract:
-	${MKDIR} ${WRKDIR}/.build/external/Catch2/single_include/catch2
-	${LN} -s ${DISTDIR}/catch.hpp ${WRKDIR}/.build/external/Catch2/single_include/catch2
+#pre-test:
+#	${REINPLACE_CMD} 's|<catch2/catch.hpp>|<catch2/catch_all.hpp>|' \
+		${test_main.cpp \
+		src/TestUIInteraction.cpp \
+		src/TestDataFlow.cpp \
+		src/TestConnectionId.cpp \
+		src/TestNodeDelegateModelRegistry.cpp \
+		src/TestBasicGraphicsScene.cpp \
+		src/TestAbstractGraphModelSignals.cpp \
+		src/TestDataFlowGraphModel.cpp \
+		src/TestUndoCommands.cpp \
+		src/TestSerialization.cpp \
+		src/TestAbstractGraphModel.cpp \
+		:L:S|^|${WRKSRC}/test/|}
 
 .include <bsd.port.mk>
diff --git a/devel/nodeeditor/distinfo b/devel/nodeeditor/distinfo
index e92906b02ce6..eee12df56a39 100644
--- a/devel/nodeeditor/distinfo
+++ b/devel/nodeeditor/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1721404860
-SHA256 (catch.hpp) = 3725c0f0a75f376a5005dde31ead0feb8f7da7507644c201b814443de8355170
-SIZE (catch.hpp) = 657411
-SHA256 (paceholder-nodeeditor-3.0.11_GH0.tar.gz) = 9810137d576d8d1049df29c0a8869a0dce4ae10636e3b042a841f5696f26187d
-SIZE (paceholder-nodeeditor-3.0.11_GH0.tar.gz) = 1485542
+TIMESTAMP = 1760000000
+SHA256 (paceholder-nodeeditor-3.0.12_GH0.tar.gz) = 67268eccdd389732447f4dfcf04ba3345d91a8728d38582642eab84017208522
+SIZE (paceholder-nodeeditor-3.0.12_GH0.tar.gz) = 1499645
diff --git a/devel/nodeeditor/files/patch-test_CMakeLists.txt b/devel/nodeeditor/files/patch-test_CMakeLists.txt
new file mode 100644
index 000000000000..a55e710cc0f7
--- /dev/null
+++ b/devel/nodeeditor/files/patch-test_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- test/CMakeLists.txt.orig	2025-10-09 16:38:20 UTC
++++ test/CMakeLists.txt
+@@ -4,6 +4,8 @@ endif()
+   find_package(Qt5 COMPONENTS Test)
+ endif()
+ 
++find_package(Catch2 REQUIRED)
++
+ add_executable(test_nodes
+   test_main.cpp
+   src/TestAbstractGraphModel.cpp
diff --git a/devel/nodeeditor/files/patch-test_src_TestUIInteraction.cpp b/devel/nodeeditor/files/patch-test_src_TestUIInteraction.cpp
new file mode 100644
index 000000000000..affe15b5cd43
--- /dev/null
+++ b/devel/nodeeditor/files/patch-test_src_TestUIInteraction.cpp
@@ -0,0 +1,10 @@
+--- test/src/TestUIInteraction.cpp.orig	2025-10-09 16:54:05 UTC
++++ test/src/TestUIInteraction.cpp
+@@ -20,6 +20,7 @@
+ #include <QGraphicsScene>
+ #include <QTimer>
+ 
++using namespace Catch;
+ using QtNodes::BasicGraphicsScene;
+ using QtNodes::ConnectionGraphicsObject;
+ using QtNodes::ConnectionId;
diff --git a/devel/nodeeditor/pkg-plist b/devel/nodeeditor/pkg-plist
index bf3720bf5a62..4085ce86c444 100644
--- a/devel/nodeeditor/pkg-plist
+++ b/devel/nodeeditor/pkg-plist
@@ -1,3 +1,4 @@
+include/QtNodes/AbstractConnectionPainter
 include/QtNodes/AbstractGraphModel
 include/QtNodes/AbstractNodePainter
 include/QtNodes/BasicGraphicsScene
@@ -16,6 +17,7 @@ include/QtNodes/NodeGeometry
 include/QtNodes/NodeState
 include/QtNodes/NodeStyle
 include/QtNodes/StyleCollection
+include/QtNodes/internal/AbstractConnectionPainter.hpp
 include/QtNodes/internal/AbstractGraphModel.hpp
 include/QtNodes/internal/AbstractNodeGeometry.hpp
 include/QtNodes/internal/AbstractNodePainter.hpp
@@ -28,11 +30,15 @@ include/QtNodes/internal/ConnectionState.hpp
 include/QtNodes/internal/ConnectionStyle.hpp
 include/QtNodes/internal/DataFlowGraphModel.hpp
 include/QtNodes/internal/DataFlowGraphicsScene.hpp
+include/QtNodes/internal/DefaultConnectionPainter.hpp
+include/QtNodes/internal/DefaultHorizontalNodeGeometry.hpp
 include/QtNodes/internal/DefaultNodePainter.hpp
+include/QtNodes/internal/DefaultVerticalNodeGeometry.hpp
 include/QtNodes/internal/Definitions.hpp
 include/QtNodes/internal/Export.hpp
 include/QtNodes/internal/GraphicsView.hpp
 include/QtNodes/internal/GraphicsViewStyle.hpp
+include/QtNodes/internal/NodeConnectionInteraction.hpp
 include/QtNodes/internal/NodeData.hpp
 include/QtNodes/internal/NodeDelegateModel.hpp
 include/QtNodes/internal/NodeDelegateModelRegistry.hpp
@@ -45,6 +51,7 @@ include/QtNodes/internal/QUuidStdHash.hpp
 include/QtNodes/internal/Serializable.hpp
 include/QtNodes/internal/Style.hpp
 include/QtNodes/internal/StyleCollection.hpp
+include/QtNodes/internal/UndoCommands.hpp
 include/QtNodes/internal/locateNode.hpp
 lib/cmake/QtNodes/QtNodesConfig.cmake
 lib/cmake/QtNodes/QtNodesTargets-%%CMAKE_BUILD_TYPE%%.cmake


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69656a5f.21b5d.3dac4d66>