astro/indiwebmanagerapp: update to 1.8

ChangeLog at:	https://github.com/rlancaste/INDIWebManagerApp/releases/tag/1.8
This commit is contained in:
Jose Alonso Cardenas Marquez 2022-05-22 02:15:30 -05:00
parent 78424039bb
commit 936073e41f
3 changed files with 19 additions and 11 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= indiwebmanagerapp
DISTVERSION= 1.6
PORTREVISION= 2
DISTVERSION= 1.8
CATEGORIES= astro
MAINTAINER= acm@FreeBSD.org

View File

@ -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

View File

@ -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)
{