Bug 256108

Summary: astro/kstars: Add support for ekos/indi
Product: Ports & Packages Reporter: Jose Alonso Cardenas Marquez <acm>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed FIXED    
Severity: Affects Only Me CC: adridg
Priority: --- Flags: bugzilla: maintainer-feedback? (kde)
Version: Latest   
Hardware: Any   
OS: Any   

Description Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2021-05-23 20:13:26 UTC
Hi, I have added two new ports (devel/indi and astro/stellarsolver). They are necessary for add support of ekos/indi [1] to kstars. I was looking into kstars port and you just need add these two new dependencies to LIB_DEPENDS

https://docs.kde.org/trunk5/en/kstars/kstars/tool-ekos.html [1]

The following patch file would be enough to activate ekos/indi support

diff --git a/astro/kstars/Makefile b/astro/kstars/Makefile
index f28a72ca96da..260eb50a0f12 100644
--- a/astro/kstars/Makefile
+++ b/astro/kstars/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=      kstars
 DISTVERSION=   3.5.3
+PORTREVISION=  1
 PORTEPOCH=     1
 CATEGORIES=    astro kde
 MASTER_SITES=  KDE/stable/${PORTNAME}
@@ -14,7 +15,9 @@ LIB_DEPENDS=  libcfitsio.so:astro/cfitsio \
                libqt5keychain.so:security/qtkeychain \
                libraw.so:graphics/libraw \
                libsecret-1.so:security/libsecret \
-               libwcs.so:astro/wcslib
+               libwcs.so:astro/wcslib \
+               libindidriver.so:devel/indi \
+               libstellarsolver.so:astro/stellarsolver
 BUILD_DEPENDS= xplanet:astro/xplanet
 RUN_DEPENDS=   xplanet:astro/xplanet
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-05-31 21:48:20 UTC
A commit in branch main references this bug:

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

commit b8ece6c77d4cd8938b0b80a92694462b77f26f24
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-05-31 20:19:23 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-05-31 21:47:46 +0000

    astro/kstars: add depends (supprt for) ekos/INDI

    - Add dependencies that recently landed, which add substantial
      features for the astronomy-minded users of kstars.
    - Shuffle build-deps a bit.

    Patch provided largely as-is by acm@

    PR:             256108
    Reported by:    acm

 astro/kstars/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Comment 2 Adriaan de Groot freebsd_committer freebsd_triage 2021-05-31 21:55:39 UTC
Lovely and straightforward, thank you!