I updated the script out in the GitHub repo to get the 3rdparty stuff building. I had to patch a few things to do so, and didn't update the readme/instructions accordingly. I added a couple of flags to the script:
-3 also build third party stuff
-a Announce stuff as you go
-i Just do indi build, not emerge
I also have a better pattern for the patches, and it SHOULD now allow re-executions, but the emerge part - well, I just don't know there.
As far as the patches - let me be clear -
I do not know the right way to do them. I would think that the CMake stuff should know how to do it, but don't know enough about it in the context of the whole project to even fathom a guess, so I played whack-a-mole.
Basically, what I found was a couple of places where GSL wasn't found (the headers) - so I added stuff like:
### AUTO_PATCHED
find_package(GSL REQUIRED)
if (GSL_FOUND)
include_directories(${GSL_INCLUDE_DIRS})
endif (GSL_FOUND)
There was another situation with libnova - that was even weirder. There are places in the CMakeLists files where it has
find_package(Nova REQUIRED)
but it should probably be NOVA in all caps (because after it "NOVA_FOUND" was false) - so I did change that in the one place it was hurting us, Maxdomeii in the third party. Even after that I was still having problems with the build not finding libnova/ln_types.h -- even though it was in the same dir as libnova.h. For this I added (also to maxdome)
find_path(LN_INCLUDE_DIR libnova/ln_types.h)
(...)
include_directories( ${LN_INCLUDE_DIR})
So - I removed everything under my ~/IndiRoot (aka ($INDI_ROOT), and ran
I think that we still need to figure out how to get the GSC stuff in there, as well as the astrometry.net stuff. I didn't see a definitive solution to bundling it up in to a dmg. If you guys provide some basic instructions for those steps I will try to get them automated (and add flags for them as well).
We can also probably figure out a way to put a readme in to the dmg, basically with the text from rlancaste's last post to serve as the "credit"
(note - not saying that this will fix that CLOCK_MONOTONIC problem you had with the build of 3rdparty)
From executing the emerge-install.sh -a3 [13:28:11] to completion [14:04:05] took about 37 minutes - that includes downloading the repos, but NOT any brew stuff because that was already done.
Let me know if there are other things you would like to see automated
EDIT- OK, kstars opens from ${KSTARS_DIR}/Applications/KDE/kstars.app, but the Ekos stuff doesn't work. The "download extra data" fails (Loading of providers from file:
edu.kde.org/kstars/downloads/providers.xml failed),
and when I try to start the indiserver (selected as "internal Indi") I get another error: Ekos requires at least one CCD or Guider to operate.
I moved the app to /Applications/KDE/ and the Indi now starts up - is there something hardcoded to the /App path?