From nobody Wed Mar 2 05:57:27 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AAC9419E1E60; Wed, 2 Mar 2022 05:57:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K7k0l4Ccwz3QYh; Wed, 2 Mar 2022 05:57:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646200647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xa58wUH1BXiF96BJnueDgZiXIaOI1mUvr4aAcH6TWYs=; b=GAJ4ZvCsc8vh89Le9RNFqQum9Uu2HTouusEOK1ePZAqYrX2KbIaev88tsOVLz4PsFa12zT hc9+uMNL8edjw0kGyuIMkUqF8Sc98LwI5b26q0FbkkSoN835jVw1okdeKdt8LqKn1lPml6 q9kXicfMtfyhkF7XH+td/8rdmhb9a8lUJiQ8n0VAXyV8yqkqQh+buT1lrBCxcvZc10A7fd f0e1VgWJLUkVtGhzhHCC7cImJ7uTMzZxCX8SCE/BG81HZ+HkFkCjm+uz1cKjuTX3uL+wt2 iC1UOwiRlf1TcAtPnUehhKVDv8SGxHtN5289Clkv0eiNj6cv0083NgScgD8izg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 709931E0B9; Wed, 2 Mar 2022 05:57:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2225vRo8076150; Wed, 2 Mar 2022 05:57:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2225vRX0076149; Wed, 2 Mar 2022 05:57:27 GMT (envelope-from git) Date: Wed, 2 Mar 2022 05:57:27 GMT Message-Id: <202203020557.2225vRX0076149@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Stephen Montgomery-Smith Subject: git: 37921ce1a2f0 - main - cad/netgen: Update to 6.2.2201. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: stephen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 37921ce1a2f0efe73f418862d377e3dced2dd713 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646200647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xa58wUH1BXiF96BJnueDgZiXIaOI1mUvr4aAcH6TWYs=; b=SutQ60HdB8nefE63iv/RibtDMJwT2EIcNXdSgd2IrJJcj3oZwWqroMfWioAMwhKySkVegV 4rP96VcGpJ17DrXP0afxJLCy82KpnFKVkYCbUelvxMIkWGJHgUQp0GHj+R3fspk6y1WLUn DjxOWeF6c2WFZ4okl1wnopfRurP43N6OwG6IEyZNx6fEi2eW9tZ5QAM9FfKU/iJus0na+q /v4frUqp2Li7EijJPICKPbMYSDGYQhQuXNNwEbB3Xe83yFUURvr0/5rBOl1gVf7CfongZg ITcwZMuqoy5uj9Kfg/xdnq7iQbCOUq/NcD3Pt4KljkTdAWxo1d7L2OC109DZmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646200647; a=rsa-sha256; cv=none; b=xKJVk5JNF/ium+4Kddm4PNvrgnVXra4KRfG8pnwZdVdVTg70mpvfBiJQjmWLyKrMlnDvh+ iIPVTG6s9J3Q3NQJBzlouQ3cfojNmn/QfL0CMLGwi5fL5RAocK2d8MS0VSv8QjeC487gZs ChV+C94fSJjxicg2KMqy/5xn9HPG1aS+tmXmwl0JqziDKyoh/OcXA8bhcFCoASUGHMcmmJ kuGEwiQJX6tR1dMzj4JyI1zwyo4tHDvpAA9KvVZgLqYKYxbRTPEbLW2MeIoeEb0bO1KSlL JVMW7UzQBQd+caZLQQ4oQ2dp76CKOXxT2fK7X3ql2k78Z/T40wnShYpVPBf1Fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by stephen: URL: https://cgit.FreeBSD.org/ports/commit/?id=37921ce1a2f0efe73f418862d377e3dced2dd713 commit 37921ce1a2f0efe73f418862d377e3dced2dd713 Author: Stephen Montgomery-Smith AuthorDate: 2022-03-02 05:57:05 +0000 Commit: Stephen Montgomery-Smith CommitDate: 2022-03-02 05:57:05 +0000 cad/netgen: Update to 6.2.2201. --- cad/netgen/Makefile | 5 ++--- cad/netgen/distinfo | 10 +++++----- cad/netgen/files/patch-CMakeLists.txt | 11 +++++++++++ cad/netgen/files/patch-ng_CMakeLists.txt | 14 -------------- cad/netgen/pkg-plist | 16 ++++++++++------ 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile index 9ab50e4fedd5..5dd8a4042bc0 100644 --- a/cad/netgen/Makefile +++ b/cad/netgen/Makefile @@ -1,8 +1,7 @@ # Created by: Thierry Thomas PORTNAME= netgen -PORTVERSION= 6.2.2105 -PORTREVISION= 1 +PORTVERSION= 6.2.2201 DISTVERSIONPREFIX= v CATEGORIES= cad @@ -19,7 +18,7 @@ USES= cmake python tcl tk gl xorg USE_GITHUB= yes GH_ACCOUNT= NGSolve -GH_TUPLE= NGSolve:pybind11:v2.4.3:pybind11/external_dependencies/pybind11 +GH_TUPLE= NGSolve:pybind11:v2.7.1:pybind11/external_dependencies/pybind11 USE_GL= gl glu USE_XORG= x11 xmu xi diff --git a/cad/netgen/distinfo b/cad/netgen/distinfo index f611064951f2..113c2f3c3c76 100644 --- a/cad/netgen/distinfo +++ b/cad/netgen/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1633221366 -SHA256 (NGSolve-netgen-v6.2.2105_GH0.tar.gz) = 0caf91173d252f536e33a0b370b79af9c4fbbb63f4f419479c9dacccbff4beb8 -SIZE (NGSolve-netgen-v6.2.2105_GH0.tar.gz) = 3372181 -SHA256 (NGSolve-pybind11-v2.4.3_GH0.tar.gz) = 1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d -SIZE (NGSolve-pybind11-v2.4.3_GH0.tar.gz) = 571127 +TIMESTAMP = 1646198516 +SHA256 (NGSolve-netgen-v6.2.2201_GH0.tar.gz) = d1a35ffbad27f69b9dedbe814cabc5423c87c4b1da6414b1d9a19c51e2650ebc +SIZE (NGSolve-netgen-v6.2.2201_GH0.tar.gz) = 3392783 +SHA256 (NGSolve-pybind11-v2.7.1_GH0.tar.gz) = 616d1c42e4cf14fa27b2a4ff759d7d7b33006fdc5ad8fd603bb2c22622f27020 +SIZE (NGSolve-pybind11-v2.7.1_GH0.tar.gz) = 668217 diff --git a/cad/netgen/files/patch-CMakeLists.txt b/cad/netgen/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..b045ce93aa20 --- /dev/null +++ b/cad/netgen/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-03-02 05:28:33 UTC ++++ CMakeLists.txt +@@ -281,6 +281,8 @@ else() + add_library(netgen_python INTERFACE) + endif() + ++target_link_libraries(netgen_python INTERFACE pthread) ++ + if (USE_PYTHON) + add_subdirectory(external_dependencies/pybind11) + find_path(PYBIND_INCLUDE_DIR pybind11/pybind11.h HINTS ${PYTHON_INCLUDE_DIR}) diff --git a/cad/netgen/files/patch-ng_CMakeLists.txt b/cad/netgen/files/patch-ng_CMakeLists.txt deleted file mode 100644 index 98e814b52965..000000000000 --- a/cad/netgen/files/patch-ng_CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -To fix this linker error: - ld: error: libsrc/interface/libinterface.so: undefined reference to pthread_create [--no-allow-shlib-undefined] -bang pthread into the executable. It's not a **good** fix, though. - ---- ng/CMakeLists.txt.orig 2021-03-18 07:16:55 UTC -+++ ng/CMakeLists.txt -@@ -32,6 +32,7 @@ if(USE_GUI) - endif(NOT APPLE) - - target_link_libraries( netgen nglib gui netgen_python ${MPI_mpi_LIBRARY} ${MPI_CXX_LIBRARIES} ${LIBTOGL} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${FFMPEG_LIBRARIES} ${X11_Xmu_LIB} ${X11_X11_LIB} ${OCC_LIBRARIES} ${TK_LIBRARY} ${TCL_LIBRARY}) -+ target_link_libraries( netgen pthread ) - - if(NOT WIN32) - target_link_libraries( netgen mesh stlvis stl geom2dvis interface geom2d csg stl visual csgvis ) diff --git a/cad/netgen/pkg-plist b/cad/netgen/pkg-plist index 3f3188f3ebb9..876f465da21c 100644 --- a/cad/netgen/pkg-plist +++ b/cad/netgen/pkg-plist @@ -163,9 +163,7 @@ include/mydefs.hpp include/nginterface.h include/nginterface_v2.hpp include/nglib.h -include/occ/occgeom.hpp -include/occ/occmeshsurf.hpp -include/occ/vsocc.hpp +include/ngtcl.hpp include/pybind11/LICENSE include/pybind11/attr.h include/pybind11/buffer_info.h @@ -178,11 +176,13 @@ include/pybind11/detail/common.h include/pybind11/detail/descr.h include/pybind11/detail/init.h include/pybind11/detail/internals.h +include/pybind11/detail/type_caster_base.h include/pybind11/detail/typeid.h include/pybind11/eigen.h include/pybind11/embed.h include/pybind11/eval.h include/pybind11/functional.h +include/pybind11/gil.h include/pybind11/iostream.h include/pybind11/numpy.h include/pybind11/operators.h @@ -191,6 +191,7 @@ include/pybind11/pybind11.h include/pybind11/pytypes.h include/pybind11/stl.h include/pybind11/stl_bind.h +include/pybind11/stl/filesystem.h include/soldata.hpp include/stlgeom/meshstlsurface.hpp include/stlgeom/stlgeom.hpp @@ -215,13 +216,13 @@ lib/libinterface.so lib/libmesh.so lib/libngcore.so lib/libnglib.so -lib/libocc.so -lib/liboccvis.so lib/libstl.so lib/libstlvis.so lib/libvisual.so %%PYTHON_SITELIBDIR%%/netgen/NgOCC.py %%PYTHON_SITELIBDIR%%/netgen/__init__.py +%%PYTHON_SITELIBDIR%%/netgen/__main__.py +%%PYTHON_SITELIBDIR%%/netgen/config.py %%PYTHON_SITELIBDIR%%/netgen/csg.py %%PYTHON_SITELIBDIR%%/netgen/geom2d.py %%PYTHON_SITELIBDIR%%/netgen/gui.py @@ -229,9 +230,12 @@ lib/libvisual.so %%PYTHON_SITELIBDIR%%/netgen/meshing.py %%PYTHON_SITELIBDIR%%/netgen/occ.py %%PYTHON_SITELIBDIR%%/netgen/read_gmsh.py +%%PYTHON_SITELIBDIR%%/netgen/read_meshio.py %%PYTHON_SITELIBDIR%%/netgen/stl.py +%%PYTHON_SITELIBDIR%%/netgen/version.py %%PYTHON_SITELIBDIR%%/netgen/webgui.py -%%PYTHON_SITELIBDIR%%/pyngcore%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_SITELIBDIR%%/pyngcore/__init__.py +%%PYTHON_SITELIBDIR%%/pyngcore/pyngcore%%PYTHON_EXT_SUFFIX%%.so %%DATADIR%%/boundarycondition.geo %%DATADIR%%/boxcyl.geo %%DATADIR%%/circle_on_cube.geo