From owner-dev-commits-ports-all@freebsd.org Sun Jul 4 19:34:34 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1F1B664A4D6; Sun, 4 Jul 2021 19:34:34 +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 4GHzXp0GK3z3tMm; Sun, 4 Jul 2021 19:34:34 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 E6F791817D; Sun, 4 Jul 2021 19:34:33 +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 164JYXTm036974; Sun, 4 Jul 2021 19:34:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 164JYX5r036973; Sun, 4 Jul 2021 19:34:33 GMT (envelope-from git) Date: Sun, 4 Jul 2021 19:34:33 GMT Message-Id: <202107041934.164JYX5r036973@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: a8b054c25ee7 - main - math/lib2geom: New port -- Easy to use 2D geometry library in C++ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a8b054c25ee7e660681644f570a8f82fd90b3d11 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2021 19:34:34 -0000 The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8b054c25ee7e660681644f570a8f82fd90b3d11 commit a8b054c25ee7e660681644f570a8f82fd90b3d11 Author: Tobias C. Berner AuthorDate: 2021-07-04 19:27:25 +0000 Commit: Tobias C. Berner CommitDate: 2021-07-04 19:34:14 +0000 math/lib2geom: New port -- Easy to use 2D geometry library in C++ 2geom is a C++ library of mathematics for paths, curves, and other geometric calculations. Designed for vector graphics, it tackles Bézier curves, conic sections, paths, intersections, transformations, and basic geometries. WWW: https://gitlab.com/inkscape/lib2geom --- math/Makefile | 1 + math/lib2geom/Makefile | 18 +++++++++ math/lib2geom/distinfo | 3 ++ math/lib2geom/pkg-descr | 5 +++ math/lib2geom/pkg-plist | 97 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 124 insertions(+) diff --git a/math/Makefile b/math/Makefile index 95a8a9f19281..15715b11a4a8 100644 --- a/math/Makefile +++ b/math/Makefile @@ -382,6 +382,7 @@ SUBDIR += lean SUBDIR += lemon SUBDIR += levmar + SUBDIR += lib2geom SUBDIR += libRmath SUBDIR += libbraiding SUBDIR += libccd diff --git a/math/lib2geom/Makefile b/math/lib2geom/Makefile new file mode 100644 index 000000000000..e9bea4482b2a --- /dev/null +++ b/math/lib2geom/Makefile @@ -0,0 +1,18 @@ +PORTNAME= lib2geom +DISTVERSION= 1.1 +CATEGORIES= math gnome +MASTER_SITES= https://gitlab.com/inkscape/${PORTNAME}/-/archive/${DISTVERSION}/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Easy to use 2D geometry library in C++ + +BUILD_DEPENDS= googletest>0:devel/googletest +LIB_DEPENDS= libdouble-conversion.so:devel/double-conversion \ + libgsl.so:math/gsl \ + libboost_thread.so:devel/boost-libs + +USES= cmake gettext-runtime localbase:ldflags pkgconfig +USE_GNOME= cairo glib20 +CMAKE_ON= 2GEOM_BUILD_SHARED + +.include diff --git a/math/lib2geom/distinfo b/math/lib2geom/distinfo new file mode 100644 index 000000000000..113fec6c2a0a --- /dev/null +++ b/math/lib2geom/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1625425662 +SHA256 (lib2geom-1.1.tar.gz) = 8bc63348ac7cb1343b0500d4b4506e30aaa7477e80ebd7ac89a8c382f4d788c4 +SIZE (lib2geom-1.1.tar.gz) = 1446383 diff --git a/math/lib2geom/pkg-descr b/math/lib2geom/pkg-descr new file mode 100644 index 000000000000..257fc501371e --- /dev/null +++ b/math/lib2geom/pkg-descr @@ -0,0 +1,5 @@ +2geom is a C++ library of mathematics for paths, curves, and other geometric +calculations. Designed for vector graphics, it tackles Bézier curves, conic +sections, paths, intersections, transformations, and basic geometries. + +WWW: https://gitlab.com/inkscape/lib2geom diff --git a/math/lib2geom/pkg-plist b/math/lib2geom/pkg-plist new file mode 100644 index 000000000000..3d655a430c41 --- /dev/null +++ b/math/lib2geom/pkg-plist @@ -0,0 +1,97 @@ +include/2geom-1.1.0/2geom/2geom.h +include/2geom-1.1.0/2geom/affine.h +include/2geom-1.1.0/2geom/angle.h +include/2geom-1.1.0/2geom/basic-intersection.h +include/2geom-1.1.0/2geom/bezier-curve.h +include/2geom-1.1.0/2geom/bezier-to-sbasis.h +include/2geom-1.1.0/2geom/bezier-utils.h +include/2geom-1.1.0/2geom/bezier.h +include/2geom-1.1.0/2geom/cairo-path-sink.h +include/2geom-1.1.0/2geom/choose.h +include/2geom-1.1.0/2geom/circle.h +include/2geom-1.1.0/2geom/concepts.h +include/2geom-1.1.0/2geom/conic_section_clipper.h +include/2geom-1.1.0/2geom/conic_section_clipper_cr.h +include/2geom-1.1.0/2geom/conic_section_clipper_impl.h +include/2geom-1.1.0/2geom/conicsec.h +include/2geom-1.1.0/2geom/convex-hull.h +include/2geom-1.1.0/2geom/coord.h +include/2geom-1.1.0/2geom/crossing.h +include/2geom-1.1.0/2geom/curve.h +include/2geom-1.1.0/2geom/curves.h +include/2geom-1.1.0/2geom/d2.h +include/2geom-1.1.0/2geom/ellipse.h +include/2geom-1.1.0/2geom/elliptical-arc.h +include/2geom-1.1.0/2geom/exception.h +include/2geom-1.1.0/2geom/forward.h +include/2geom-1.1.0/2geom/generic-interval.h +include/2geom-1.1.0/2geom/generic-rect.h +include/2geom-1.1.0/2geom/geom.h +include/2geom-1.1.0/2geom/int-interval.h +include/2geom-1.1.0/2geom/int-point.h +include/2geom-1.1.0/2geom/int-rect.h +include/2geom-1.1.0/2geom/intersection-graph.h +include/2geom-1.1.0/2geom/intersection.h +include/2geom-1.1.0/2geom/interval.h +include/2geom-1.1.0/2geom/intervaltree/interval_tree.h +include/2geom-1.1.0/2geom/line.h +include/2geom-1.1.0/2geom/linear.h +include/2geom-1.1.0/2geom/math-utils.h +include/2geom-1.1.0/2geom/nearest-time.h +include/2geom-1.1.0/2geom/numeric/fitting-model.h +include/2geom-1.1.0/2geom/numeric/fitting-tool.h +include/2geom-1.1.0/2geom/numeric/linear_system.h +include/2geom-1.1.0/2geom/numeric/matrix.h +include/2geom-1.1.0/2geom/numeric/symmetric-matrix-fs-operation.h +include/2geom-1.1.0/2geom/numeric/symmetric-matrix-fs-trace.h +include/2geom-1.1.0/2geom/numeric/symmetric-matrix-fs.h +include/2geom-1.1.0/2geom/numeric/vector.h +include/2geom-1.1.0/2geom/ord.h +include/2geom-1.1.0/2geom/orphan-code/arc-length.h +include/2geom-1.1.0/2geom/orphan-code/chebyshev.h +include/2geom-1.1.0/2geom/orphan-code/intersection-by-smashing.h +include/2geom-1.1.0/2geom/orphan-code/linear-of.h +include/2geom-1.1.0/2geom/orphan-code/linearN.h +include/2geom-1.1.0/2geom/orphan-code/redblacktree.h +include/2geom-1.1.0/2geom/orphan-code/rtree.h +include/2geom-1.1.0/2geom/orphan-code/sbasis-of.h +include/2geom-1.1.0/2geom/orphan-code/sbasisN.h +include/2geom-1.1.0/2geom/parallelogram.h +include/2geom-1.1.0/2geom/path-intersection.h +include/2geom-1.1.0/2geom/path-sink.h +include/2geom-1.1.0/2geom/path.h +include/2geom-1.1.0/2geom/pathvector.h +include/2geom-1.1.0/2geom/piecewise.h +include/2geom-1.1.0/2geom/point.h +include/2geom-1.1.0/2geom/polynomial.h +include/2geom-1.1.0/2geom/ray.h +include/2geom-1.1.0/2geom/rect.h +include/2geom-1.1.0/2geom/sbasis-2d.h +include/2geom-1.1.0/2geom/sbasis-curve.h +include/2geom-1.1.0/2geom/sbasis-geometric.h +include/2geom-1.1.0/2geom/sbasis-math.h +include/2geom-1.1.0/2geom/sbasis-poly.h +include/2geom-1.1.0/2geom/sbasis-to-bezier.h +include/2geom-1.1.0/2geom/sbasis.h +include/2geom-1.1.0/2geom/solver.h +include/2geom-1.1.0/2geom/svg-path-parser.h +include/2geom-1.1.0/2geom/svg-path-writer.h +include/2geom-1.1.0/2geom/sweep-bounds.h +include/2geom-1.1.0/2geom/sweeper.h +include/2geom-1.1.0/2geom/symbolic/determinant-minor.h +include/2geom-1.1.0/2geom/symbolic/implicit.h +include/2geom-1.1.0/2geom/symbolic/matrix.h +include/2geom-1.1.0/2geom/symbolic/multi-index.h +include/2geom-1.1.0/2geom/symbolic/multipoly.h +include/2geom-1.1.0/2geom/symbolic/mvpoly-tools.h +include/2geom-1.1.0/2geom/symbolic/polynomial.h +include/2geom-1.1.0/2geom/symbolic/unity-builder.h +include/2geom-1.1.0/2geom/transforms.h +include/2geom-1.1.0/2geom/utils.h +lib/cmake/2Geom/2GeomConfig.cmake +lib/cmake/2Geom/2GeomConfigVersion.cmake +lib/cmake/2Geom/2GeomTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/2Geom/2GeomTargets.cmake +lib/lib2geom.so +lib/lib2geom.so.1.1.0 +libdata/pkgconfig/2geom.pc