git: 936073e41f90 - main - astro/indiwebmanagerapp: update to 1.8

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 22 May 2022 07:16:34 UTC
The branch main has been updated by acm:

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

commit 936073e41f90e394907668d66afce61926e6f577
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-05-22 07:15:30 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-05-22 07:15:30 +0000

    astro/indiwebmanagerapp: update to 1.8
    
    ChangeLog at:   https://github.com/rlancaste/INDIWebManagerApp/releases/tag/1.8
---
 astro/indiwebmanagerapp/Makefile                    |  3 +--
 astro/indiwebmanagerapp/distinfo                    |  6 +++---
 .../files/patch-src_mainwindow.cpp                  | 21 +++++++++++++++------
 3 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/astro/indiwebmanagerapp/Makefile b/astro/indiwebmanagerapp/Makefile
index 56539e012cd8..4760004ba181 100644
--- a/astro/indiwebmanagerapp/Makefile
+++ b/astro/indiwebmanagerapp/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	indiwebmanagerapp
-DISTVERSION=	1.6
-PORTREVISION=	2
+DISTVERSION=	1.8
 CATEGORIES=	astro
 
 MAINTAINER=	acm@FreeBSD.org
diff --git a/astro/indiwebmanagerapp/distinfo b/astro/indiwebmanagerapp/distinfo
index 19dd6a73af4a..21dbd00b628a 100644
--- a/astro/indiwebmanagerapp/distinfo
+++ b/astro/indiwebmanagerapp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621750232
-SHA256 (rlancaste-INDIWebManagerApp-1.6_GH0.tar.gz) = 8bb0d62f6e208381a89997989105253eef8db692fb1d105fcaf5f70dd63a8cb2
-SIZE (rlancaste-INDIWebManagerApp-1.6_GH0.tar.gz) = 1474857
+TIMESTAMP = 1653200554
+SHA256 (rlancaste-INDIWebManagerApp-1.8_GH0.tar.gz) = ddcf1626f3e4bc44cb0fecfa7af0ef0cc68a48a176b40cc80ba488a3e6d1464a
+SIZE (rlancaste-INDIWebManagerApp-1.8_GH0.tar.gz) = 1474843
diff --git a/astro/indiwebmanagerapp/files/patch-src_mainwindow.cpp b/astro/indiwebmanagerapp/files/patch-src_mainwindow.cpp
index 8120cbb74158..5991820bcde4 100644
--- a/astro/indiwebmanagerapp/files/patch-src_mainwindow.cpp
+++ b/astro/indiwebmanagerapp/files/patch-src_mainwindow.cpp
@@ -1,5 +1,5 @@
---- src/mainwindow.cpp	2021-09-04 23:55:40.427687000 -0500
-+++ src/mainwindow.cpp	2021-09-05 00:10:09.774435000 -0500
+--- src/mainwindow.cpp	2022-05-22 01:43:45.247103000 -0500
++++ src/mainwindow.cpp	2022-05-22 01:50:16.014480000 -0500
 @@ -295,6 +295,8 @@
      #ifdef Q_OS_OSX
          //Note this is the Path where python3 gets symlinked by homebrew.
@@ -27,16 +27,25 @@
      #endif
          if (flat.isEmpty() == false)
              return flat + "/share/GSC";
-@@ -339,6 +345,8 @@
+@@ -329,6 +335,8 @@
      #ifdef Q_OS_OSX
          QString appPath = QCoreApplication::applicationDirPath();
-         return QDir(appPath + "/indi").absolutePath();
+         return QDir(appPath + "/../../").absolutePath();
++    #elif defined(Q_OS_FREEBSD)
++        return "%%LOCALBASE%%/bin/";
+     #endif
+         return "";
+     }
+@@ -338,6 +346,8 @@
+     {
+     #ifdef Q_OS_OSX
+         return QDir(QCoreApplication::applicationDirPath()).absolutePath();
 +    #elif defined(Q_OS_FREEBSD)
 +        return "%%LOCALBASE%%/bin/";
      #endif
          if (flat.isEmpty() == false)
              return flat + "/bin/";
-@@ -352,6 +360,8 @@
+@@ -351,6 +361,8 @@
      #ifdef Q_OS_OSX
          QString appPath = QCoreApplication::applicationDirPath();
          return QDir(appPath + "/../Resources/DriverSupport").absolutePath();
@@ -45,7 +54,7 @@
      #elif defined(Q_OS_LINUX)
          if (flat.isEmpty() == false)
              return flat + "/share/indi";
-@@ -544,7 +554,6 @@
+@@ -543,7 +555,6 @@
   */
  bool MainWindow::pythonInstalled(QString pythonExecFolder)
  {