From nobody Mon Oct 02 17:01:40 2023 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 4RznKw4c6Kz4wHKL; Mon, 2 Oct 2023 17:01:40 +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 4RznKw48CJz4RPZ; Mon, 2 Oct 2023 17:01:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696266100; 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=J+G31aeBZ9mUTSzF58EaF/8CTqkI2RXHUFxHTX7r+XQ=; b=plDAjnMTgazBo5FgPgvhB64qJ53JWTP9iUWOc53JQPblLOBApyiGVpoXMOhrTqJIka8wrg PjtkvpBA2Wje039khH54bUDlKQF8Ny/432sZI6h0i+c9G2lVp7FavuKKIxhge5LT+AyKhQ 7TtWk6PTZKNp+ln8ZhUxy1stPUGGtlur8ggwJjE1o2l7sVWe8o9QNKHcIT5RPJPh3yNtFw aCXTnSZx8eYGvAqDuTQSuBTfu9zq73nvlzxWdtJV0lIeudm0z/ZRGCor3pGp05T2spZPiC w1ntjKmbIAZoTGLqpJ84Z1OowtdYJezuPyw1Vt29yB6oaaz8EG5TyxjY9gH2xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696266100; a=rsa-sha256; cv=none; b=oY/gnsVqv4+e6MfSlySxy3rqQYQAZPSgbbWQu/dO2MJ8PLXeqcL7+543A5cH0WWVrzjgZe PMZ1OSThRb7+PWwfj9R17Dh6myQBBlWCs4s19WQxLYK7BosCwNoaU/mfgRNTxy2zyfzmKO HdFzvnHsxgmnu7hIhuqTFRlO/qNW8O8xquD1f4LotPCp3wlO6BNrwEhEzROfZAYFEFMCyV 5pL9OoBZpI4Sx0c/o2L11NNE7Oz+IXk7l5h+gZ3Cmz0TdOBEnsIFYcASn9nwLF0X8oWeJF 3cYNzJSTQgOtvyounK2qRLTJ3/+RXgEeMqMqokOk5hY4hwVSJQ5Ba+2icaJMRw== 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=1696266100; 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=J+G31aeBZ9mUTSzF58EaF/8CTqkI2RXHUFxHTX7r+XQ=; b=d+Pb1PQgjQG6GskrxnmN7M+VoYhlpwTFkeTiu2WTyuywIyrKP/cX/g9Sz8Iz6JuT+wR1TB 59i+IhecaJrdA4oghVTDXV0Oj0T7EQz0bEwxEbYT7WaUlj88vszDCImWSnk4jvE+O6Lx+9 15ITyfkEu4UqaV+B/O9bGPsFfmgMoaU2wMCOodZyuCvVeNQ5SulwKILSCUI4zolx+y4oeV iJrPe48+U1+9URmwl2yEQHmmX5Jop+hlH3iFAphkt0t/Ak1XkiKP33aVwVg7cJm5mtRbWU UUabagtQRhNx/LH18n1dT3EyVNopDVvLBNAfYBQok9Fnjz/CxxynbBoOeTpurw== 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 4RznKw36nYz5TR; Mon, 2 Oct 2023 17:01:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 392H1erA046601; Mon, 2 Oct 2023 17:01:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 392H1en5046598; Mon, 2 Oct 2023 17:01:40 GMT (envelope-from git) Date: Mon, 2 Oct 2023 17:01:40 GMT Message-Id: <202310021701.392H1en5046598@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: b736288ff0e0 - main - math/ceres-solver: upgrade to 2.2.0rc1 and unbreak 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: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b736288ff0e0aec0932ed931017bc8170c43b502 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=b736288ff0e0aec0932ed931017bc8170c43b502 commit b736288ff0e0aec0932ed931017bc8170c43b502 Author: Thierry Thomas AuthorDate: 2023-10-01 18:08:29 +0000 Commit: Thierry Thomas CommitDate: 2023-10-02 17:01:36 +0000 math/ceres-solver: upgrade to 2.2.0rc1 and unbreak Remove the patches. All tests pass. PR: 274200 Approved by: yuri (maintainer) --- math/ceres-solver/Makefile | 5 +-- math/ceres-solver/distinfo | 6 +-- .../files/patch-cmake_FindSuiteSparse.cmake | 52 ---------------------- .../files/patch-internal_ceres_covariance__impl.cc | 14 ------ math/ceres-solver/pkg-plist | 7 ++- 5 files changed, 7 insertions(+), 77 deletions(-) diff --git a/math/ceres-solver/Makefile b/math/ceres-solver/Makefile index 7d60a7364628..a80a57b23d0b 100644 --- a/math/ceres-solver/Makefile +++ b/math/ceres-solver/Makefile @@ -1,6 +1,5 @@ PORTNAME= ceres-solver -DISTVERSION= 2.1.0 -PORTREVISION= 6 +DISTVERSION= 2.2.0rc1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -10,8 +9,6 @@ WWW= http://ceres-solver.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= configure error: Target "ceres" links to: CXSparse::CXSparse but the target was not found - BUILD_DEPENDS= glog>=0.5.0:devel/glog LIB_DEPENDS= libglog.so:devel/glog RUN_DEPENDS:= ${BUILD_DEPENDS:Meigen*} diff --git a/math/ceres-solver/distinfo b/math/ceres-solver/distinfo index 8a897a499b1d..ed8ebabbcb0e 100644 --- a/math/ceres-solver/distinfo +++ b/math/ceres-solver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1657609627 -SHA256 (ceres-solver-ceres-solver-2.1.0_GH0.tar.gz) = ccbd716a93f65d4cb017e3090ae78809e02f5426dce16d0ee2b4f8a4ba2411a8 -SIZE (ceres-solver-ceres-solver-2.1.0_GH0.tar.gz) = 3775210 +TIMESTAMP = 1696182357 +SHA256 (ceres-solver-ceres-solver-2.2.0rc1_GH0.tar.gz) = 723077a8451c2592299dd8a627b770ffec02c179881badd05026df9f822b7f15 +SIZE (ceres-solver-ceres-solver-2.2.0rc1_GH0.tar.gz) = 3818421 diff --git a/math/ceres-solver/files/patch-cmake_FindSuiteSparse.cmake b/math/ceres-solver/files/patch-cmake_FindSuiteSparse.cmake deleted file mode 100644 index a5a9781b6f6b..000000000000 --- a/math/ceres-solver/files/patch-cmake_FindSuiteSparse.cmake +++ /dev/null @@ -1,52 +0,0 @@ ---- cmake/FindSuiteSparse.cmake.orig 2022-03-28 14:02:35 UTC -+++ cmake/FindSuiteSparse.cmake -@@ -394,26 +394,36 @@ if (TARGET SuiteSparse::Config) - else (NOT EXISTS ${SuiteSparse_VERSION_FILE}) - file(READ ${SuiteSparse_VERSION_FILE} Config_CONTENTS) - -- string(REGEX MATCH "#define SUITESPARSE_MAIN_VERSION [0-9]+" -- SuiteSparse_VERSION_MAJOR "${Config_CONTENTS}") -- string(REGEX REPLACE "#define SUITESPARSE_MAIN_VERSION ([0-9]+)" "\\1" -- SuiteSparse_VERSION_MAJOR "${SuiteSparse_VERSION_MAJOR}") -+ string(REGEX MATCH "#define SUITESPARSE_MAIN_VERSION[ \t]+([0-9]+)" -+ SuiteSparse_VERSION_LINE "${Config_CONTENTS}") -+ set (SuiteSparse_VERSION_MAJOR ${CMAKE_MATCH_1}) - -- string(REGEX MATCH "#define SUITESPARSE_SUB_VERSION [0-9]+" -- SuiteSparse_VERSION_MINOR "${Config_CONTENTS}") -- string(REGEX REPLACE "#define SUITESPARSE_SUB_VERSION ([0-9]+)" "\\1" -- SuiteSparse_VERSION_MINOR "${SuiteSparse_VERSION_MINOR}") -+ string(REGEX MATCH "#define SUITESPARSE_SUB_VERSION[ \t]+([0-9]+)" -+ SuiteSparse_VERSION_LINE "${Config_CONTENTS}") -+ set (SuiteSparse_VERSION_MINOR ${CMAKE_MATCH_1}) - -- string(REGEX MATCH "#define SUITESPARSE_SUBSUB_VERSION [0-9]+" -- SuiteSparse_VERSION_PATCH "${Config_CONTENTS}") -- string(REGEX REPLACE "#define SUITESPARSE_SUBSUB_VERSION ([0-9]+)" "\\1" -- SuiteSparse_VERSION_PATCH "${SuiteSparse_VERSION_PATCH}") -+ string(REGEX MATCH "#define SUITESPARSE_SUBSUB_VERSION[ \t]+([0-9]+)" -+ SuiteSparse_VERSION_LINE "${Config_CONTENTS}") -+ set (SuiteSparse_VERSION_PATCH ${CMAKE_MATCH_1}) - -+ unset (SuiteSparse_VERSION_LINE) -+ - # This is on a single line s/t CMake does not interpret it as a list of - # elements and insert ';' separators which would result in 4.;2.;1 nonsense. - set(SuiteSparse_VERSION - "${SuiteSparse_VERSION_MAJOR}.${SuiteSparse_VERSION_MINOR}.${SuiteSparse_VERSION_PATCH}") -- set(SuiteSparse_VERSION_COMPONENTS 3) -+ -+ if (SuiteSparse_VERSION MATCHES "[0-9]+\\.[0-9]+\\.[0-9]+") -+ set(SuiteSparse_VERSION_COMPONENTS 3) -+ else (SuiteSparse_VERSION MATCHES "[0-9]+\\.[0-9]+\\.[0-9]+") -+ message (WARNING "Could not parse SuiteSparse_config.h: SuiteSparse " -+ "version will not be available") -+ -+ unset (SuiteSparse_VERSION) -+ unset (SuiteSparse_VERSION_MAJOR) -+ unset (SuiteSparse_VERSION_MINOR) -+ unset (SuiteSparse_VERSION_PATCH) -+ endif (SuiteSparse_VERSION MATCHES "[0-9]+\\.[0-9]+\\.[0-9]+") - endif (NOT EXISTS ${SuiteSparse_VERSION_FILE}) - endif (TARGET SuiteSparse::Config) - diff --git a/math/ceres-solver/files/patch-internal_ceres_covariance__impl.cc b/math/ceres-solver/files/patch-internal_ceres_covariance__impl.cc deleted file mode 100644 index 88872405f429..000000000000 --- a/math/ceres-solver/files/patch-internal_ceres_covariance__impl.cc +++ /dev/null @@ -1,14 +0,0 @@ -- backport of the commit Enable compatibility with SuiteSparse 7.2.0 -- see https://github.com/ceres-solver/ceres-solver/commit/9cca671273c2f205ca7350422f48b7b119c5dd78 - ---- internal/ceres/covariance_impl.cc.orig 2023-09-20 07:40:12 UTC -+++ internal/ceres/covariance_impl.cc -@@ -630,7 +630,7 @@ bool CovarianceImpl::ComputeCovarianceValuesUsingSuite - // separately. - const SuiteSparse_long rank = SuiteSparseQR(SPQR_ORDERING_BESTAMD, - SPQR_DEFAULT_TOL, -- cholmod_jacobian.ncol, -+ static_cast(cholmod_jacobian.ncol), - &cholmod_jacobian, - &R, - &permutation, diff --git a/math/ceres-solver/pkg-plist b/math/ceres-solver/pkg-plist index 5e0b0b0022ea..43d0db20054d 100644 --- a/math/ceres-solver/pkg-plist +++ b/math/ceres-solver/pkg-plist @@ -1,10 +1,10 @@ include/ceres/autodiff_cost_function.h include/ceres/autodiff_first_order_function.h -include/ceres/autodiff_local_parameterization.h include/ceres/autodiff_manifold.h include/ceres/c_api.h include/ceres/ceres.h include/ceres/conditioned_cost_function.h +include/ceres/constants.h include/ceres/context.h include/ceres/cost_function.h include/ceres/cost_function_to_functor.h @@ -25,6 +25,7 @@ include/ceres/internal/autodiff.h include/ceres/internal/config.h include/ceres/internal/disable_warnings.h include/ceres/internal/eigen.h +include/ceres/internal/euler_angles.h include/ceres/internal/export.h include/ceres/internal/fixed_array.h include/ceres/internal/householder_vector.h @@ -42,7 +43,6 @@ include/ceres/iteration_callback.h include/ceres/jet.h include/ceres/jet_fwd.h include/ceres/line_manifold.h -include/ceres/local_parameterization.h include/ceres/loss_function.h include/ceres/manifold.h include/ceres/manifold_test_utils.h @@ -66,9 +66,8 @@ lib/cmake/Ceres/CeresConfig.cmake lib/cmake/Ceres/CeresConfigVersion.cmake lib/cmake/Ceres/CeresTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/Ceres/CeresTargets.cmake -lib/cmake/Ceres/FindCXSparse.cmake lib/cmake/Ceres/FindMETIS.cmake lib/cmake/Ceres/FindSuiteSparse.cmake lib/libceres.so -lib/libceres.so.3 +lib/libceres.so.4 lib/libceres.so.%%VERSION%%