Bi-monthly release with minor bug fixes and improvements
install_name_tool -change @rpath/libusb-1.0.0.dylib /Library/Frameworks/kstars.app.framework/libusb-1.0.0.dylib /Applications/kstars.app/Contents/Frameworks/libindidriver.1.dylib
install_name_tool -change @executable_path/../Frameworks/libnova-0.15.0.dylib /Library/Frameworks/kstars.app.framework/libnova-0.15.0.dylib /Applications/kstars.app/Contents/Frameworks/libindidriver.1.dylib
install_name_tool -change @executable_path/../Frameworks/libcfitsio.5.dylib /Library/Frameworks/kstars.app.framework/libcfitsio.5.dylib /Applications/kstars.app/Contents/Frameworks/libindidriver.1.dylib
LSOpenURLsWithRole() failed with error -10810 for the file /Users/jamie/IndiRoot/kstars-stuff/Applications/KDE/kstars.app.
This is a pretty big change - it breaks the command line sort of.
Now you call out what you want it to do. Usage is:
options:
-3 Also build third party stuff
-a Announce stuff as you go
-c Build kstars via cmake (ONLY one of -c or -e can be used)
-d Dry run only (just show what you are going to do)
-e Build kstars via emerge
-i Build libindi
-s Skip brew (only use this if you know you already have them)
So, to build a complete emerge you would do:
build-kstars.sh -3aei
So, to build a complete cmake build you would do:
build-kstars.sh -3aci
If you add a -s it skips the brew steps - saves a few seconds
-rw-r--r-- 1 jamie staff 1198304 Nov 15 11:08 libcfitsio.5.dylib
-rw-r--r-- 1 jamie staff 125128 Nov 15 11:08 libgphoto2.6.dylib
-rw-r--r-- 1 jamie staff 39340 Nov 15 11:08 libgphoto2_port.12.dylib
-rw-r--r-- 1 jamie staff 1981316 Nov 15 11:08 libgsl.19.dylib
-rw-r--r-- 1 jamie staff 223876 Nov 15 11:08 libgslcblas.0.dylib
-rwxr-xr-x 1 jamie staff 199544 Nov 15 11:08 libindi.1.dylib*
-rwxr-xr-x 1 jamie staff 253744 Nov 15 11:08 libindiAlignmentDriver.1.dylib*
-rwxr-xr-x 1 jamie staff 816396 Nov 15 11:08 libindidriver.1.dylib*
-rw-r--r-- 1 jamie staff 202952 Nov 15 11:08 libjpeg.8.dylib
-rw-r--r-- 1 jamie staff 3633192 Nov 15 11:08 libnova-0.15.0.dylib
-rw-r--r-- 1 jamie staff 851384 Nov 15 11:08 libraw.15.dylib
-rw-r--r-- 1 jamie staff 85160 Nov 15 11:08 libusb-1.0.0.dylib
cd ${KSTARS_DIR}/Applications/KDE/
${Qt5_DIR}/bin/macdeployqt kstars.app -dmg
ERROR: Cannot resolve rpath "../Frameworks/libindi.1.dylib"
ERROR: using QSet("/usr/local/lib", "/usr/local/Cellar/qt5/5.7.0/lib", "/Users/jamie/IndiRoot/kstars-stuff/lib")