Date: Sun, 22 Mar 2026 11:31:21 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1d641be60788 - main - graphics/partio: update the port to version 1.20.0 Message-ID: <69bfd309.3a1c2.3b39a7c2@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d641be60788a04c97b1e187ca3a2ee33e027c51 commit 1d641be60788a04c97b1e187ca3a2ee33e027c51 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2026-03-22 11:30:14 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2026-03-22 11:30:14 +0000 graphics/partio: update the port to version 1.20.0 83% tests passed, 2 tests failing out of 12 due to illegal instruction (testcluster and testkdtree). Reported by: portscout --- graphics/partio/Makefile | 6 +--- graphics/partio/distinfo | 10 ++----- .../partio/files/patch-src_tests_CMakeLists.txt | 33 +++++++++++----------- graphics/partio/pkg-plist | 2 +- 4 files changed, 21 insertions(+), 30 deletions(-) diff --git a/graphics/partio/Makefile b/graphics/partio/Makefile index f6a57ab8ed62..e3b8211c5ee5 100644 --- a/graphics/partio/Makefile +++ b/graphics/partio/Makefile @@ -1,12 +1,8 @@ PORTNAME= partio -PORTVERSION= 1.19.2 +PORTVERSION= 1.20.0 DISTVERSIONPREFIX= v CATEGORIES= graphics math -PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ -PATCHFILES= 73b02b28bf19b69756349441a24b97530cd9f06b.patch:-p1 \ - 47c81dbdc37e8dccedad9fd68c0edfc2dc8a73ab.patch:-p1 - MAINTAINER= danfe@FreeBSD.org COMMENT= C++ library for particle I/O and manipulation WWW= http://partio.us/ diff --git a/graphics/partio/distinfo b/graphics/partio/distinfo index 5688814fa516..eaed2b1fcf70 100644 --- a/graphics/partio/distinfo +++ b/graphics/partio/distinfo @@ -1,7 +1,3 @@ -TIMESTAMP = 1740174738 -SHA256 (wdas-partio-v1.19.2_GH0.tar.gz) = b59fbc8e64561368f0e2f94ae2f3f2083babfc32ff7ae97e833ab15df4588ade -SIZE (wdas-partio-v1.19.2_GH0.tar.gz) = 338761 -SHA256 (73b02b28bf19b69756349441a24b97530cd9f06b.patch) = 7bd098f37c5d959c62455e5238f62655d9297e98ce55764f3273f164f2eb3bf5 -SIZE (73b02b28bf19b69756349441a24b97530cd9f06b.patch) = 1320 -SHA256 (47c81dbdc37e8dccedad9fd68c0edfc2dc8a73ab.patch) = f452b778f69d8834fd871d16ec38a93bff2039d87abb5db2e37074f693095c82 -SIZE (47c81dbdc37e8dccedad9fd68c0edfc2dc8a73ab.patch) = 2658 +TIMESTAMP = 1763512069 +SHA256 (wdas-partio-v1.20.0_GH0.tar.gz) = e60a89364f2b5d9c9b1f143175fc1a5018027a59bb31af56e5df88806b506e49 +SIZE (wdas-partio-v1.20.0_GH0.tar.gz) = 338701 diff --git a/graphics/partio/files/patch-src_tests_CMakeLists.txt b/graphics/partio/files/patch-src_tests_CMakeLists.txt index 034508c85761..adb79b6f4ff3 100644 --- a/graphics/partio/files/patch-src_tests_CMakeLists.txt +++ b/graphics/partio/files/patch-src_tests_CMakeLists.txt @@ -1,19 +1,18 @@ ---- src/tests/CMakeLists.txt.orig 2025-01-28 22:44:08 UTC +--- src/tests/CMakeLists.txt.orig 2025-11-19 00:27:49 UTC +++ src/tests/CMakeLists.txt -@@ -45,12 +45,14 @@ else() - ${item} ${PARTIO_LIBRARIES} ${GTEST_LIB} Threads::Threads) - target_compile_definitions(${item} PRIVATE -DPARTIO_DATA_DIR="${PROJECT_SOURCE_DIR}/src/data") - target_link_directories(${item} PRIVATE ${GTEST_LINK_PATH}) -- install(TARGETS ${item} DESTINATION ${CMAKE_INSTALL_PARTIO_TESTDIR}) - add_test(NAME ${item} COMMAND ${item}) -+ set_tests_properties(${item} PROPERTIES ENVIRONMENT -+ "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/lib") - endforeach(item) +@@ -37,11 +37,13 @@ foreach(item testiterator testio testcache testcloneco + add_executable(${item} "${item}.cpp") + target_link_libraries(${item} ${PARTIO_LIBRARIES} GTest::gtest Threads::Threads) + target_compile_definitions(${item} PRIVATE -DPARTIO_DATA_DIR="${PROJECT_SOURCE_DIR}/src/data") +- install(TARGETS ${item} DESTINATION ${CMAKE_INSTALL_PARTIO_TESTDIR}) + add_test(NAME ${item} COMMAND ${item}) ++ set_tests_properties(${item} PROPERTIES ENVIRONMENT ++ "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/lib") + endforeach(item) - foreach(item testpartjson testpartio) - add_test(NAME ${item} COMMAND ${Python_EXECUTABLE} -B ${CMAKE_CURRENT_SOURCE_DIR}/${item}.py) -- install(PROGRAMS ${item}.py DESTINATION ${CMAKE_INSTALL_PARTIO_TESTDIR} RENAME ${item}) -+ set_tests_properties(${item} PROPERTIES ENVIRONMENT -+ "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/lib;PYTHONPATH=${PROJECT_BINARY_DIR}/src/py:${PROJECT_SOURCE_DIR}/src/tools") - endforeach(item) - endif() + foreach(item testpartjson testpartio) + add_test(NAME ${item} COMMAND ${Python_EXECUTABLE} -B ${CMAKE_CURRENT_SOURCE_DIR}/${item}.py) +- install(PROGRAMS ${item}.py DESTINATION ${CMAKE_INSTALL_PARTIO_TESTDIR} RENAME ${item}) ++ set_tests_properties(${item} PROPERTIES ENVIRONMENT ++ "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/lib;PYTHONPATH=${PROJECT_BINARY_DIR}/src/py:${PROJECT_SOURCE_DIR}/src/tools") + endforeach(item) diff --git a/graphics/partio/pkg-plist b/graphics/partio/pkg-plist index d83f0ddecb92..5bfe386e2c8a 100644 --- a/graphics/partio/pkg-plist +++ b/graphics/partio/pkg-plist @@ -9,7 +9,7 @@ include/PartioIterator.h include/PartioVec3.h lib/libpartio.so lib/libpartio.so.1 -lib/libpartio.so.1.19.2 +lib/libpartio.so.1.20.0 %%PYTHON_SITELIBDIR%%/_partio.so %%PYTHON_SITELIBDIR%%/partedit.py %%PYTHON_SITELIBDIR%%/partinspect.pyhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69bfd309.3a1c2.3b39a7c2>
