Import lib2geom-1.1

2Geom is a C++ 2D geometry library geared towards robust processing of
computational geometry data associated with vector graphics. The primary design
consideration is ease of use and clarity.

Feedback and OK sthen@
This commit is contained in:
rsadowski 2021-10-28 05:12:16 +00:00
parent 6472aa7079
commit b007f96531
4 changed files with 158 additions and 0 deletions

49
geo/lib2geom/Makefile Normal file
View File

@ -0,0 +1,49 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/10/28 05:12:16 rsadowski Exp $
COMMENT = easy to use 2D geometry library in C++
V = 1.1.0
DISTNAME = lib2geom-${V:S/.0//}
CATEGORIES = geo graphics
SHARED_LIBS += 2geom 0.0 #1.1
HOMEPAGE = https://gitlab.com/inkscape/lib2geom
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# LGPL 2.1 and MPL 1.1
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} cairo double-conversion glib-2.0
WANTLIB += gsl gslcblas intl m
MASTER_SITES = https://gitlab.com/inkscape/lib2geom/-/archive/${V:S/.0//}/
EXTRACT_SUFX = .tar.bz2
MODULES = devel/cmake \
lang/python
MODPY_RUNDEP = no
SUBST_VARS += V
# c++17
COMPILER = base-clang ports-gcc
BUILD_DEPENDS = devel/boost \
devel/gtest \
lang/cython${MODPY_FLAVOR} \
x11/gtk+3
LIB_DEPENDS = math/double-conversion \
devel/gsl \
graphics/cairo \
devel/gettext \
devel/glib2
CONFIGURE_ARGS = -D2GEOM_BOOST_PYTHON=NO \
-D2GEOM_BUILD_SHARED=YES
.include <bsd.port.mk>

2
geo/lib2geom/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (lib2geom-1.1.tar.bz2) = VDxkOqGXYwsEyiOuqqhDbWg0MjLrQLzBLgc3m1uh9SQ=
SIZE (lib2geom-1.1.tar.bz2) = 1283056

3
geo/lib2geom/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
2Geom is a C++ 2D geometry library geared towards robust processing of
computational geometry data associated with vector graphics. The primary design
consideration is ease of use and clarity.

104
geo/lib2geom/pkg/PLIST Normal file
View File

@ -0,0 +1,104 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/10/28 05:12:16 rsadowski Exp $
include/2geom-${V}/
include/2geom-${V}/2geom/
include/2geom-${V}/2geom/2geom.h
include/2geom-${V}/2geom/affine.h
include/2geom-${V}/2geom/angle.h
include/2geom-${V}/2geom/basic-intersection.h
include/2geom-${V}/2geom/bezier-curve.h
include/2geom-${V}/2geom/bezier-to-sbasis.h
include/2geom-${V}/2geom/bezier-utils.h
include/2geom-${V}/2geom/bezier.h
include/2geom-${V}/2geom/cairo-path-sink.h
include/2geom-${V}/2geom/choose.h
include/2geom-${V}/2geom/circle.h
include/2geom-${V}/2geom/concepts.h
include/2geom-${V}/2geom/conic_section_clipper.h
include/2geom-${V}/2geom/conic_section_clipper_cr.h
include/2geom-${V}/2geom/conic_section_clipper_impl.h
include/2geom-${V}/2geom/conicsec.h
include/2geom-${V}/2geom/convex-hull.h
include/2geom-${V}/2geom/coord.h
include/2geom-${V}/2geom/crossing.h
include/2geom-${V}/2geom/curve.h
include/2geom-${V}/2geom/curves.h
include/2geom-${V}/2geom/d2.h
include/2geom-${V}/2geom/ellipse.h
include/2geom-${V}/2geom/elliptical-arc.h
include/2geom-${V}/2geom/exception.h
include/2geom-${V}/2geom/forward.h
include/2geom-${V}/2geom/generic-interval.h
include/2geom-${V}/2geom/generic-rect.h
include/2geom-${V}/2geom/geom.h
include/2geom-${V}/2geom/int-interval.h
include/2geom-${V}/2geom/int-point.h
include/2geom-${V}/2geom/int-rect.h
include/2geom-${V}/2geom/intersection-graph.h
include/2geom-${V}/2geom/intersection.h
include/2geom-${V}/2geom/interval.h
include/2geom-${V}/2geom/intervaltree/
include/2geom-${V}/2geom/intervaltree/interval_tree.h
include/2geom-${V}/2geom/line.h
include/2geom-${V}/2geom/linear.h
include/2geom-${V}/2geom/math-utils.h
include/2geom-${V}/2geom/nearest-time.h
include/2geom-${V}/2geom/numeric/
include/2geom-${V}/2geom/numeric/fitting-model.h
include/2geom-${V}/2geom/numeric/fitting-tool.h
include/2geom-${V}/2geom/numeric/linear_system.h
include/2geom-${V}/2geom/numeric/matrix.h
include/2geom-${V}/2geom/numeric/symmetric-matrix-fs-operation.h
include/2geom-${V}/2geom/numeric/symmetric-matrix-fs-trace.h
include/2geom-${V}/2geom/numeric/symmetric-matrix-fs.h
include/2geom-${V}/2geom/numeric/vector.h
include/2geom-${V}/2geom/ord.h
include/2geom-${V}/2geom/orphan-code/
include/2geom-${V}/2geom/orphan-code/arc-length.h
include/2geom-${V}/2geom/orphan-code/chebyshev.h
include/2geom-${V}/2geom/orphan-code/intersection-by-smashing.h
include/2geom-${V}/2geom/orphan-code/linear-of.h
include/2geom-${V}/2geom/orphan-code/linearN.h
include/2geom-${V}/2geom/orphan-code/redblacktree.h
include/2geom-${V}/2geom/orphan-code/rtree.h
include/2geom-${V}/2geom/orphan-code/sbasis-of.h
include/2geom-${V}/2geom/orphan-code/sbasisN.h
include/2geom-${V}/2geom/parallelogram.h
include/2geom-${V}/2geom/path-intersection.h
include/2geom-${V}/2geom/path-sink.h
include/2geom-${V}/2geom/path.h
include/2geom-${V}/2geom/pathvector.h
include/2geom-${V}/2geom/piecewise.h
include/2geom-${V}/2geom/point.h
include/2geom-${V}/2geom/polynomial.h
include/2geom-${V}/2geom/ray.h
include/2geom-${V}/2geom/rect.h
include/2geom-${V}/2geom/sbasis-2d.h
include/2geom-${V}/2geom/sbasis-curve.h
include/2geom-${V}/2geom/sbasis-geometric.h
include/2geom-${V}/2geom/sbasis-math.h
include/2geom-${V}/2geom/sbasis-poly.h
include/2geom-${V}/2geom/sbasis-to-bezier.h
include/2geom-${V}/2geom/sbasis.h
include/2geom-${V}/2geom/solver.h
include/2geom-${V}/2geom/svg-path-parser.h
include/2geom-${V}/2geom/svg-path-writer.h
include/2geom-${V}/2geom/sweep-bounds.h
include/2geom-${V}/2geom/sweeper.h
include/2geom-${V}/2geom/symbolic/
include/2geom-${V}/2geom/symbolic/determinant-minor.h
include/2geom-${V}/2geom/symbolic/implicit.h
include/2geom-${V}/2geom/symbolic/matrix.h
include/2geom-${V}/2geom/symbolic/multi-index.h
include/2geom-${V}/2geom/symbolic/multipoly.h
include/2geom-${V}/2geom/symbolic/mvpoly-tools.h
include/2geom-${V}/2geom/symbolic/polynomial.h
include/2geom-${V}/2geom/symbolic/unity-builder.h
include/2geom-${V}/2geom/transforms.h
include/2geom-${V}/2geom/utils.h
lib/cmake/2Geom/
lib/cmake/2Geom/2GeomConfig.cmake
lib/cmake/2Geom/2GeomConfigVersion.cmake
lib/cmake/2Geom/2GeomTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/2Geom/2GeomTargets.cmake
@lib lib/lib2geom.so.${LIB2geom_VERSION}
lib/pkgconfig/2geom.pc