From nobody Sun Mar 23 20:42:03 2025 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 4ZLSlv6rwzz5rnJs; Sun, 23 Mar 2025 20:42:03 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZLSlv56f0z3CNZ; Sun, 23 Mar 2025 20:42:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742762523; 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=QR0qlDfZ2D8t9ukVwRbJ6LKNuRg+tSIzm5X5UACUZWc=; b=h4H1hhICygJ+9cEVbfyhg0UsUJXM1oaSpbP+rMKsPFq+diOVomLGQbma3jFtCWXK4PudIA nMYc5U61VK2g1ia9YSyb4gbgFLa8j4dL3Mf6XhZYA4x5/+AE2OzLKuotYTzofyRgBiXs29 PA6p66KylBmCIEKzlUMM/I250VkHaOptzYLITdG0S1H2fL0ipj35Nk3EHYku8D/PQr2oM7 gpfM+aNzmffhfdIWd3xNroIfVgO/6hEulTDkZJJnYunxmtIE4EZgNMQzWQxaI6ipOwFEzy CsEmAaf1X0jmGjv2kIiNCVYDcmSP//HFz8HTbR9H6+SCCBtv4ucZUTgnijEAQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742762523; a=rsa-sha256; cv=none; b=KFseygILICNR/5nBiQhSMiKobRfFk6W+seff5pXKNWh6NZdmZ93lR4QSdt8gIoc6gCSEP7 eNo6XucN9QARuSg5Imr5WSo1z4838a4Zt4nutj6l24T3f5EbXnPeKBdDr4rN8LrpcO+MyY XOLLNfZCcuGMvnz4rTHZgFo77tgO/ggX6x7Gj09y9QhY7ojMqiaD5AOGuH5OmAHz7Qn3lY SZh8C7xOtH7b5QQBdTd7OhPVSm8kdluILd1HDHoWoflrZa7c1Nrx2AZPI4V1J92OeGYwP3 7Qh+OKOHGLSQqInvwFwq2pA2RbPxBYSz6DQKXLNE7VPdEOhhS/kG6XiLkvifPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742762523; 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=QR0qlDfZ2D8t9ukVwRbJ6LKNuRg+tSIzm5X5UACUZWc=; b=Dp/XkNTd+GvLcpewamCX/IH7V4nhLtVIxLQk9/y3wewOmnNbiQVycIILhWXNJnf+VBzEUf MkCNIR5HJiwEoY7f0b+uHnIDOdnMB4e8WKiN298Nh6MEB+PY0kovp4Zrq8Zb2acEX1w6sZ IKNSd+xGyYsDhVlp679yx3RjH+A+e7BdM/ovsW7XrAGMcWuBseUsBpIY1YLgh6Eg8zTbpD gqKgTN48g7oi/T+I+/0vZd0wPmOsGMcmu7ic4vtqNpo0xDZkcRzLrMqB5+iXmYKhRBvrhZ cN/ZtamB9oundsvWd40ed2hJwdS2y/IhoqM6lkLmM+8dpi7HGJwxakj0F9vbKQ== 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 4ZLSlv4hWGz7LH; Sun, 23 Mar 2025 20:42:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52NKg3t0030347; Sun, 23 Mar 2025 20:42:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52NKg3Nv030344; Sun, 23 Mar 2025 20:42:03 GMT (envelope-from git) Date: Sun, 23 Mar 2025 20:42:03 GMT Message-Id: <202503232042.52NKg3Nv030344@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 29746d897781 - main - science/gnudatalanguage: upgrade to v1.1.1 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29746d897781117d431b0d667a0f3cba00cf294c Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=29746d897781117d431b0d667a0f3cba00cf294c commit 29746d897781117d431b0d667a0f3cba00cf294c Author: Thierry Thomas AuthorDate: 2025-03-23 17:52:01 +0000 Commit: Thierry Thomas CommitDate: 2025-03-23 20:41:29 +0000 science/gnudatalanguage: upgrade to v1.1.1 Release notes at https://github.com/gnudatalanguage/gdl/releases/tag/v1.1.1 --- science/gnudatalanguage/Makefile | 2 +- science/gnudatalanguage/distinfo | 6 +- .../gnudatalanguage/files/patch-src_gdl2gdl.cpp | 73 ---------------------- science/gnudatalanguage/pkg-plist | 5 ++ 4 files changed, 9 insertions(+), 77 deletions(-) diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile index d57f066ecbbd..cc3068fab6eb 100644 --- a/science/gnudatalanguage/Makefile +++ b/science/gnudatalanguage/Makefile @@ -1,5 +1,5 @@ PORTNAME= gnudatalanguage -PORTVERSION= 1.1 +PORTVERSION= 1.1.1 DISTVERSIONPREFIX= v CATEGORIES= science lang MASTER_SITES= https://github.com/${PORTNAME}/gdl/releases/download/v${PORTVERSION}/ diff --git a/science/gnudatalanguage/distinfo b/science/gnudatalanguage/distinfo index b3217eed5175..8e691c6239fd 100644 --- a/science/gnudatalanguage/distinfo +++ b/science/gnudatalanguage/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1736881277 -SHA256 (gdl-v1.1.tar.gz) = 915b290af1fe21fe1307ecb3756b7841dd28fdeff541d4a36cf7b57371c3c9f3 -SIZE (gdl-v1.1.tar.gz) = 33779333 +TIMESTAMP = 1742749829 +SHA256 (gdl-v1.1.1.tar.gz) = 744ed3abcdc5e1bbf31147a8a0c21c33662f200b6096ee3d3adedd160a3a9662 +SIZE (gdl-v1.1.1.tar.gz) = 33813887 diff --git a/science/gnudatalanguage/files/patch-src_gdl2gdl.cpp b/science/gnudatalanguage/files/patch-src_gdl2gdl.cpp deleted file mode 100644 index cba784fa8f8e..000000000000 --- a/science/gnudatalanguage/files/patch-src_gdl2gdl.cpp +++ /dev/null @@ -1,73 +0,0 @@ ---- src/gdl2gdl.cpp.orig 2024-11-02 17:32:21 UTC -+++ src/gdl2gdl.cpp -@@ -29,6 +29,7 @@ - #include /* shared memory and mmap() */ - #include - #include -+#include - #include "dinterpreter.hpp" - - static bool atexit_already_done = false; -@@ -103,13 +104,29 @@ void g2gAsynchronousReturnTrap() { - } - - void g2gAsynchronousReturnTrap() { -- while (g2gMap.size() > 0) { -- for (g2gMapIter it = g2gMap.begin(); it != g2gMap.end(); ++it) { -- if ( (*it).second.status==1 && (*it).second.nowait ) gdl_ipc_read_client_nowait((*it).first); -- } -- usleep (10000); -+ while (!g2gMap.empty()) { -+ for (auto g2gMapIter = g2gMap.cbegin(); g2gMapIter != g2gMap.cend();) { -+ if ((*g2gMapIter).second.status == 1 && (*g2gMapIter).second.nowait) { -+ gdl_ipc_read_client_nowait((*g2gMapIter).first); -+ } -+ // contrib by @jkohnert - to be used should a concurrency problem with the spawn command appear. -+ // At the moment better to keep initial version (GD). -+ // // we need to take care of our children, use a no-hang wait call to check the pid -+ // int status = -1; -+ // if (waitpid((*g2gMapIter).first, &status, WUNTRACED | WCONTINUED | WNOHANG) == -1) { -+ // // we're out of luck, wait returns an error, so break the loop and exit -+ // std::cerr << "g2gAsynchronousReturnTrap exiting" << std::endl; -+ // break; -+ // } -+ // // remove stopped children from the map -+ // if (WIFEXITED(status) || WIFSIGNALED(status)) -+ // g2gMap.erase(g2gMapIter++); -+ // // we need to manually count here, since we're modifying the map in the loop -+ // else -+ ++g2gMapIter; -+ } -+ usleep(10000); // GD: should replace usleep by nanosleep everywhere ! - } --// std::cerr<<"g2gAsynchronousReturnTrap exiting"<(subprocess_pid,params)); - g2gMap.at(subprocess_pid).MessageChannelHandle=id; - // insure communication with child is OK waiting for a status change diff --git a/science/gnudatalanguage/pkg-plist b/science/gnudatalanguage/pkg-plist index 1162ec07fc95..b3df28380cfd 100644 --- a/science/gnudatalanguage/pkg-plist +++ b/science/gnudatalanguage/pkg-plist @@ -190,6 +190,7 @@ bin/gdl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_bug_n000599.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_bug_n000607.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_bug_n000608.pro +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_bugs_poly2d.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_byte_conversion.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_bytscl.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_call_external.pro @@ -204,6 +205,7 @@ bin/gdl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_clip.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_colorsetup.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_common.pro +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_compile_opt.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_constants.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_container.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_convert2.pro @@ -344,6 +346,7 @@ bin/gdl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_rebin.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_resolve_routine.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_restore.pro +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_rot.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_rounding.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_routine_dir.pro %%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsuite/test_routine_filepath.pro @@ -420,6 +423,7 @@ bin/gdl %%DATADIR%%/lib/appleman.pro %%DATADIR%%/lib/array_indices.pro %%DATADIR%%/lib/bilinear.pro +%%DATADIR%%/lib/boolean.pro %%DATADIR%%/lib/box_cursor.pro %%DATADIR%%/lib/c_correlate.pro %%DATADIR%%/lib/calendar.pro @@ -663,6 +667,7 @@ bin/gdl %%DATADIR%%/lib/utilities/path_remove.pro %%DATADIR%%/lib/utilities/path_sep_add.pro %%DATADIR%%/lib/utilities/path_show.pro +%%DATADIR%%/lib/utilities/pref_get.pro %%DATADIR%%/lib/utilities/profiler.pro %%DATADIR%%/lib/utilities/read_anygraphicsfilewithmagick.pro %%DATADIR%%/lib/utilities/read_ascii_basic.pro