BSD Ports

math/lib2geom 1.4 MidnightBSD

Easy to use 2D geometry library in C++

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
04c527804d
License
lgpl2.1, MPL11
Categories
math, gnome

Description

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.

In the other systems

SystemPortVersion
MidnightBSDmath/lib2geom1.4
FreeBSDmath/lib2geom1.4_6
OpenBSDgeo/lib2geom1.4
DragonFlymath/lib2geom1.3_1

Install

Binary package:

mport install lib2geom

From mports:

cd /usr/mports/math/lib2geom && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	lib2geom>0:math/lib2geom
LIB_DEPENDS=	lib2geom.so:math/lib2geom

Dependencies

As this port's Makefile names them.

Build 3

Library 3

Runtime 1

Test 2

Build dependencies 6
Run dependencies 4
Required by 1

Configuration

Options name: math_lib2geom

OptionDefaultDescription
GPLoffBuild with GPL-licensed code
USES
compiler:c++20-lang cmake:testing gettext-runtime gnome localbase:ldflags pkgconfig python
Service scripts
none

Files

pkg-plist 97
  • include/2geom-1.4.0/2geom/2geom.h
  • include/2geom-1.4.0/2geom/affine.h
  • include/2geom-1.4.0/2geom/angle.h
  • include/2geom-1.4.0/2geom/basic-intersection.h
  • include/2geom-1.4.0/2geom/bezier-curve.h
  • include/2geom-1.4.0/2geom/bezier-to-sbasis.h
  • include/2geom-1.4.0/2geom/bezier-utils.h
  • include/2geom-1.4.0/2geom/bezier.h
  • include/2geom-1.4.0/2geom/cairo-path-sink.h
  • include/2geom-1.4.0/2geom/choose.h
  • include/2geom-1.4.0/2geom/circle.h
  • include/2geom-1.4.0/2geom/concepts.h
  • include/2geom-1.4.0/2geom/conic_section_clipper.h
  • include/2geom-1.4.0/2geom/conic_section_clipper_cr.h
  • include/2geom-1.4.0/2geom/conic_section_clipper_impl.h
  • include/2geom-1.4.0/2geom/conicsec.h
  • include/2geom-1.4.0/2geom/convex-hull.h
  • include/2geom-1.4.0/2geom/coord.h
  • include/2geom-1.4.0/2geom/crossing.h
  • include/2geom-1.4.0/2geom/curve.h
  • include/2geom-1.4.0/2geom/curves.h
  • include/2geom-1.4.0/2geom/d2.h
  • include/2geom-1.4.0/2geom/ellipse.h
  • include/2geom-1.4.0/2geom/elliptical-arc.h
  • include/2geom-1.4.0/2geom/exception.h
  • include/2geom-1.4.0/2geom/forward.h
  • include/2geom-1.4.0/2geom/generic-interval.h
  • include/2geom-1.4.0/2geom/generic-rect.h
  • include/2geom-1.4.0/2geom/geom.h
  • include/2geom-1.4.0/2geom/int-interval.h
  • include/2geom-1.4.0/2geom/int-point.h
  • include/2geom-1.4.0/2geom/int-rect.h
  • include/2geom-1.4.0/2geom/intersection-graph.h
  • include/2geom-1.4.0/2geom/intersection.h
  • include/2geom-1.4.0/2geom/interval.h
  • include/2geom-1.4.0/2geom/intervaltree/interval_tree.h
  • include/2geom-1.4.0/2geom/line.h
  • include/2geom-1.4.0/2geom/linear.h
  • include/2geom-1.4.0/2geom/math-utils.h
  • include/2geom-1.4.0/2geom/nearest-time.h
  • include/2geom-1.4.0/2geom/numeric/fitting-model.h
  • include/2geom-1.4.0/2geom/numeric/fitting-tool.h
  • include/2geom-1.4.0/2geom/numeric/linear_system.h
  • include/2geom-1.4.0/2geom/numeric/matrix.h
  • include/2geom-1.4.0/2geom/numeric/symmetric-matrix-fs-operation.h
  • include/2geom-1.4.0/2geom/numeric/symmetric-matrix-fs-trace.h
  • include/2geom-1.4.0/2geom/numeric/symmetric-matrix-fs.h
  • include/2geom-1.4.0/2geom/numeric/vector.h
  • include/2geom-1.4.0/2geom/ord.h
  • include/2geom-1.4.0/2geom/orphan-code/arc-length.h
  • include/2geom-1.4.0/2geom/orphan-code/chebyshev.h
  • include/2geom-1.4.0/2geom/orphan-code/intersection-by-smashing.h
  • include/2geom-1.4.0/2geom/orphan-code/linear-of.h
  • include/2geom-1.4.0/2geom/orphan-code/linearN.h
  • include/2geom-1.4.0/2geom/orphan-code/redblacktree.h
  • include/2geom-1.4.0/2geom/orphan-code/rtree.h
  • include/2geom-1.4.0/2geom/orphan-code/sbasis-of.h
  • include/2geom-1.4.0/2geom/orphan-code/sbasisN.h
  • include/2geom-1.4.0/2geom/parallelogram.h
  • include/2geom-1.4.0/2geom/path-intersection.h
  • include/2geom-1.4.0/2geom/path-sink.h
  • include/2geom-1.4.0/2geom/path.h
  • include/2geom-1.4.0/2geom/pathvector.h
  • include/2geom-1.4.0/2geom/piecewise.h
  • include/2geom-1.4.0/2geom/point.h
  • include/2geom-1.4.0/2geom/polynomial.h
  • include/2geom-1.4.0/2geom/ray.h
  • include/2geom-1.4.0/2geom/rect.h
  • include/2geom-1.4.0/2geom/sbasis-2d.h
  • include/2geom-1.4.0/2geom/sbasis-curve.h
  • include/2geom-1.4.0/2geom/sbasis-geometric.h
  • include/2geom-1.4.0/2geom/sbasis-math.h
  • include/2geom-1.4.0/2geom/sbasis-poly.h
  • include/2geom-1.4.0/2geom/sbasis-to-bezier.h
  • include/2geom-1.4.0/2geom/sbasis.h
  • include/2geom-1.4.0/2geom/solver.h
  • include/2geom-1.4.0/2geom/svg-path-parser.h
  • include/2geom-1.4.0/2geom/svg-path-writer.h
  • include/2geom-1.4.0/2geom/sweep-bounds.h
  • include/2geom-1.4.0/2geom/sweeper.h
  • include/2geom-1.4.0/2geom/symbolic/determinant-minor.h
  • include/2geom-1.4.0/2geom/symbolic/implicit.h
  • include/2geom-1.4.0/2geom/symbolic/matrix.h
  • include/2geom-1.4.0/2geom/symbolic/multi-index.h
  • include/2geom-1.4.0/2geom/symbolic/multipoly.h
  • include/2geom-1.4.0/2geom/symbolic/mvpoly-tools.h
  • include/2geom-1.4.0/2geom/symbolic/polynomial.h
  • include/2geom-1.4.0/2geom/symbolic/unity-builder.h
  • include/2geom-1.4.0/2geom/transforms.h
  • include/2geom-1.4.0/2geom/utils.h
  • lib/cmake/2Geom/2GeomConfig.cmake
  • lib/cmake/2Geom/2GeomConfigVersion.cmake
  • lib/cmake/2Geom/2GeomTargets-.cmake
  • lib/cmake/2Geom/2GeomTargets.cmake
  • lib/lib2geom.so
  • lib/lib2geom.so.1.4.0
  • libdata/pkgconfig/2geom.pc
distinfo 1
FileSizeSHA256
lib2geom-1.4.tar.bz21.287532e+06717a87ce7f2192271a789c1273ae7b432856c522647b9fe33bb4dd662942b3ea

Commit history 1

DateCommitCreditsLog message
04c527804d Lucas Holt math/lib2geom: update to 1.4 (#1182)
Updates lib2geom to 1.4 and resets PORTREVISION to 0.\n\nValidation: makesum, patch, build, fake, package, check-license, and git diff --check passed. Upstream tests had two deterministic numerical failures (CircleIntersection at ~1e-15 and CoincidingIntersect expected 2/got 1); per maintainer direction, NO_TEST=yes is set rather than weakening assertions. ## Summary by Sourcery Update the lib2geom port to version 1.4 and align its dependencies, licensing, build options, and package contents with the new release. New Features: - Update lib2geom to version 1.4 with current GitLab source tracking. - Add optional support for building GPL-licensed code. - Declare the library’s dual LGPL/MPL licensing and updated Python, Cython, Ragel, and Cairo dependencies. Enhancements: …