Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2021 19:34:33 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a8b054c25ee7 - main - math/lib2geom: New port -- Easy to use 2D geometry library in C++
Message-ID:  <202107041934.164JYX5r036973@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a8b054c25ee7e660681644f570a8f82fd90b3d11

commit a8b054c25ee7e660681644f570a8f82fd90b3d11
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-07-04 19:27:25 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
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 <bsd.port.mk>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107041934.164JYX5r036973>