From owner-dev-commits-ports-main@freebsd.org Sat May 22 19:07:44 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 C5F83635962; Sat, 22 May 2021 19:07:44 +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 4FnXzh4nVSz4plx; Sat, 22 May 2021 19:07:44 +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 8C67D137C; Sat, 22 May 2021 19:07:44 +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 14MJ7iaS061198; Sat, 22 May 2021 19:07:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14MJ7itq061197; Sat, 22 May 2021 19:07:44 GMT (envelope-from git) Date: Sat, 22 May 2021 19:07:44 GMT Message-Id: <202105221907.14MJ7itq061197@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 154daacaa10b - main - astro/stellarsolrver: NEW : Astrometric Plate Solver built on Astrometry.net and SEP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 154daacaa10bc3f5931981976b83276c8b0a4668 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2021 19:07:44 -0000 The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=154daacaa10bc3f5931981976b83276c8b0a4668 commit 154daacaa10bc3f5931981976b83276c8b0a4668 Author: Jose Alonso Cardenas Marquez AuthorDate: 2021-05-22 19:04:14 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2021-05-22 19:07:31 +0000 astro/stellarsolrver: NEW : Astrometric Plate Solver built on Astrometry.net and SEP - An Astrometric Plate Solver for Mac, Linux, and Windows, built on Astrometry.net and SEP (sextractor) - Meant to be an internal library for use in a program like KStars for internal plate solving on all supported operating systems - Python is not required for the library - Netpbm is not required for the library - Internal Library, so calls to external programs are not required - No Astrometry.cfg file is needed, the settings are internal to the program - Directly loads the image data into SEP and then takes the generated xy-list internally from Sextractor into astrometry.net, so there is no need to save any files. - No temporary files need to be created for solving and no WCS file needs to be created to read the solved information. Although astrometry.net does monitor for the creation of 2 files indicating that a field is solved or a cancel was made, so these are created for now. - The Index Files are still required for solving images, but the program or the user can specify the folder locations rather than putting them in the config file. WWW: https://github.com/rlancaste/stellarsolver --- astro/Makefile | 1 + astro/stellarsolver/Makefile | 21 +++ astro/stellarsolver/distinfo | 3 + .../files/patch-stellarsolver_stellarsolver.cpp | 26 ++++ astro/stellarsolver/pkg-descr | 20 +++ astro/stellarsolver/pkg-plist | 157 +++++++++++++++++++++ 6 files changed, 228 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index b3691282726a..91463556f205 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -110,6 +110,7 @@ SUBDIR += starplot SUBDIR += stars SUBDIR += stellarium + SUBDIR += stellarsolver SUBDIR += sunclock SUBDIR += sunwait SUBDIR += swe diff --git a/astro/stellarsolver/Makefile b/astro/stellarsolver/Makefile new file mode 100644 index 000000000000..492f1313eedf --- /dev/null +++ b/astro/stellarsolver/Makefile @@ -0,0 +1,21 @@ +PORTNAME= stellarsolver +DISTVERSION= 1.5 +CATEGORIES= astro + +MAINTAINER= acm@FreeBSD.org +COMMENT= Astrometric Plate Solver built on Astrometry.net and SEP + +LICENSE= GPLv3 + +LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ + libgsl.so:math/gsl \ + libwcs.so:astro/wcslib + +USES= cmake iconv ninja qt:5 pkgconfig +USE_QT= buildtools concurrent core gui qmake_build network widgets +USE_GITHUB= yes +GH_ACCOUNT= rlancaste + +USE_LDCONFIG= yes + +.include diff --git a/astro/stellarsolver/distinfo b/astro/stellarsolver/distinfo new file mode 100644 index 000000000000..2ae017938f58 --- /dev/null +++ b/astro/stellarsolver/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1621530559 +SHA256 (rlancaste-stellarsolver-1.5_GH0.tar.gz) = 62ce99c066a205c9f7c5cbace1678504750ceeb99cb12bacd4e4a329c4f512bc +SIZE (rlancaste-stellarsolver-1.5_GH0.tar.gz) = 9113711 diff --git a/astro/stellarsolver/files/patch-stellarsolver_stellarsolver.cpp b/astro/stellarsolver/files/patch-stellarsolver_stellarsolver.cpp new file mode 100644 index 000000000000..0516e3bb9e6c --- /dev/null +++ b/astro/stellarsolver/files/patch-stellarsolver_stellarsolver.cpp @@ -0,0 +1,26 @@ +--- stellarsolver/stellarsolver.cpp.orig 2020-11-15 04:11:58 UTC ++++ stellarsolver/stellarsolver.cpp +@@ -7,6 +7,9 @@ + */ + #if defined(__APPLE__) + #include ++#elif defined(__FreeBSD__) ++#include ++#include + #elif defined(_WIN32) + #include "windows.h" + #else //Linux +@@ -799,8 +802,12 @@ bool StellarSolver::appendStarsRAandDEC(QList