Re: git: 915ef0a2055b - main - graphics/poselib: Minimal solvers for calibrated camera pose estimation
Date: Tue, 10 Dec 2024 18:23:01 UTC
On 2024-12-10T10:07:12.000+01:00, Robert Clausecker <fuz@FreeBSD.org> wrote: > The branch main has been updated by fuz: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=915ef0a2055bea37cfb77f2186a8394f16423646 > > commit 915ef0a2055bea37cfb77f2186a8394f16423646 > > Author: Robert Clausecker <fuz@FreeBSD.org> > > AuthorDate: 2024-12-09 12:21:50 +0000 > > Commit: Robert Clausecker <fuz@FreeBSD.org> > > CommitDate: 2024-12-10 09:03:00 +0000 > > graphics/poselib: Minimal solvers for calibrated camera pose estimation > > > > PoseLib provides a collection of minimal solvers for camera pose > > estimation. The focus is on calibrated absolute pose estimation > > problems from different types of correspondences (e.g. point-point, > > point-line, line-point, line-line). > > > > The goals of this project are to provide > > > > - Fast and robust implementation of the current state-of-the-art > > solvers. > > - Consistent calling interface between different solvers. > > - Minimize dependencies, both external (currently only Eigen) and > > internal. Each solver is (mostly) stand-alone, making it easy > > to extract only a specific solver to integrate into other frameworks. > > - Robust estimators (based on LO-RANSAC) that just works out-of-the-box > > for most cases. > > > > WWW: https://github.com/PoseLib/PoseLib > > --- > > graphics/Makefile | 1 + > > graphics/poselib/Makefile | 22 +++++++++++ > > graphics/poselib/distinfo | 3 ++ > > graphics/poselib/files/patch-CMakeLists.txt | 15 ++++++++ > > graphics/poselib/pkg-descr | 15 ++++++++ > > graphics/poselib/pkg-plist | 59 +++++++++++++++++++++++++++++ > > 6 files changed, 115 insertions(+) > > diff --git a/graphics/Makefile b/graphics/Makefile > > index 396df96c5b17..c053e5b41ba9 100644 > > --- a/graphics/Makefile > > +++ b/graphics/Makefile > > @@ -855,6 +855,7 @@ > > SUBDIR += poppler-qt5 > > SUBDIR += poppler-qt6 > > SUBDIR += poppler-utils > > + SUBDIR += poselib > > SUBDIR += potrace > > SUBDIR += povray-meta > > SUBDIR += povray37 > > diff --git a/graphics/poselib/Makefile b/graphics/poselib/Makefile > > new file mode 100644 > > index 000000000000..fb5f45375dc2 > > --- /dev/null > > +++ b/graphics/poselib/Makefile > > @@ -0,0 +1,22 @@ > > +PORTNAME= PoseLib > > +DISTVERSIONPREFIX= v > > +DISTVERSION= 2.0.4 > > +CATEGORIES= graphics > > + > > +MAINTAINER= fuz@FreeBSD.org > > +COMMENT= Minimal solvers for calibrated camera pose estimation > > + > > +LICENSE= BSD3CLAUSE > > +LICENSE_FILE= ${WRKSRC}/LICENSE > > + > > +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3 > > + > > +USES= cmake pkgconfig > > +USE_GITHUB= yes > > +USE_LDCONFIG= yes > > + > > +OPTIONS_DEFINE= NATIVE > > +NATIVE_CMAKE_BOOL= MARCH_NATIVE > > +CMAKE_ON= BUILD_SHARED_LIBS Hi, Please drop the NATIVE option, it's only compatible on amd64 (to some extent) and we should encourage users to define CPUTYPE instead if they want optimized libraries and there's ongoing work removing "CPU specific" optimizations in favour of CPUTYPE. Best regards, Daniel