Hello everyone.
Maybe some of you know Siril, a free and open-source software for astrophotography.
Siril runs on GNU/Linux, FreeBSD and OS X. For the later we use the homebrew package manager. It is quite cool but I have to say that I would prefer providing an .app bundle.
However, I do not have any OS X system and knowledges for building it.
So, the Siril team is now looking for a maintainer of the Mac OSX package. Would someone being interested ?
Siril is written in C and GTK+ and compiles very well on OS X.
make distclean does not work due to ./deps/kplot not having any distclean. If you want to start with fresh source you have to delete the current tree and then re-untar it.
-rdynamics is not appropriate for Mac OSX and it is appropriately not used in configure. However, it still results in the warnings such as:
(siril:94784): Gtk-WARNING **: Could not find signal handler āon_menuitem_resample_activateā. Did you compile with -rdynamic?
There are 13 such warnings. I can provide you with all the warnings in a burg report if you wish.
Location if init file and of course the glade files are problematic and I think the code is incorrect. In main.c Lines 225 - 239 result in mangled folder names. I have fixed this on my end.
Otherwise, I seem to be OK. I donāt know how to test it since the atro images I dealt with recently ( coincidently, I am also having conversations with astronomers from the Lick Observatory) are FITS images.
Either way, I am happy to provide an app if you can find testers for me.
Hello @partha, thank you for your report.
1 - Right. Does āmake cleanā is not enough ?
2 -
We do not use rdynamic of OS X. Here what we have in configure.ac:
if test `uname` != "Darwin"; then
LDFLAGS="$LDFLAGS -rdynamic"
fi
So the error you have is generally because a signal and a function are declared in the glade file but not in the C files.
But the thing I see now is these functions are within
#ifdef OPENCV
blocks. Did you link to OPENCV ? Some libraries are not needed to compile but they are strongly recommended for using all the features.
3 - The code in the main was a patch given by an OS X user in a first attempt to build a bundle. This attempt failed. So maybe we could update the code.
Then, have you seen that in platform-specific/os-x/ you can find an OSX icon ?
Dear you.
First, thank you for your answers.
Second, Partha did something very good !! Thank you @partha. The problem is that Siril uses the openmp library and this is a very important part of Siril computation.
However, Partha can not easily compile Siril with this option, so I would need someone that can. Maybe @Carmelo_DrRaw you could do it ?
But for some people, install xcode (needed for homebrew) is not a good idea because of its size. It was the reason why I would like to have a bundle .app of Siril.
Is it possible to make a bundle for someone with homebrew ? If yes, how ?
Apple developed and uses GCD (Grand Central Dispatch - Wikipedia) as opposed to Openmp. If you wish to develop for the Mac, perhaps you can adopt your code to use GCD.
Thank you @partha but I dontā think so. Openmp is too deeply used in our code and changing the way we use the multithread would be too complicated. Just an .app bundle while siril is running well with homebrew.