Bi-monthly release with minor bug fixes and improvements
mkdir -p ~/Projects
git clone https://invent.kde.org/education/kstars.git
mkdir -p kstars-build
cd kstars-build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ../kstars
make -j8
sudo make install
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
commit 0b214549fd042660012760bb4e78a2c2669d776c
Author: Jasem Mutlaq <mutlaqja@ikarustech.com>
Date: Thu Jan 7 10:07:51 2021 +0300
Mark 3.5.1 stable release
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
# Major upgrade ksatars to 3.5.1
# Link to git
# https://invent.kde.org/education/kstars/-/tree/0b214549fd042660012760bb4e78a2c2669d776c
# Glodal update
echo astropi | sudo -S apt-get update && sudo apt-get -y dist-upgrade && sudo apt full-upgrade
echo astropi | sudo -S apt autoremove
#
# Preparing & upgrading kstars
#
echo astropi | sudo -S apt-get -y install build-essential cmake git libstellarsolver-dev libeigen3-dev libcfitsio-dev zlib1g-dev libindi-dev extra-cmake-modules libkf5plotting-dev libqt5svg5-dev libkf5xmlgui-dev libkf5kio-dev kinit-dev libkf5newstuff-dev kdoctools-dev libkf5notifications-dev qtdeclarative5-dev libkf5crash-dev gettext libnova-dev libgsl-dev libraw-dev libkf5notifyconfig-dev wcslib-dev libqt5websockets5-dev xplanet xplanet-images qt5keychain-dev libsecret-1-dev breeze-icon-theme
#
mkdir -p kstars-build
cd kstars-build
wget https://invent.kde.org/education/kstars/-/archive/0b214549fd042660012760bb4e78a2c2669d776c/kstars-0b214549fd042660012760bb4e78a2c2669d776c.zip
unzip kstars-0b214549fd042660012760bb4e78a2c2669d776c.zip
mv kstars-0b214549fd042660012760bb4e78a2c2669d776c kstars
cd kstars
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ../kstars
make -j6
echo astropi | sudo -S make install
#
# Remove temp & unused files
#
rm -rf /home/astropi/kstars-build
rm -rf /home/astropi/AstroPi/script
#
sudo reboot
/home/astropi/kstars-build/kstars/kstars/htmesh/SpatialException.cpp:285:25: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
sprintf(str_, "%s interface violation", str_);
^~~~ ~~~~
[ 30%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/fitsviewer/fitstab.cpp.o
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp: In instantiation of ‘void {anonymous}::stretchThreeChannels(T*, QImage*, const StretchParams&, int, int, int, int) [with T = const unsigned char]’:
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp:221:29: required from ‘void {anonymous}::stretchChannels(T*, QImage*, const StretchParams&, int, int, int, int, int) [with T = const unsigned char]’
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp:333:93: required from here
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp:171:31: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align]
auto * scanLine = reinterpret_cast<QRgb*>(outputImage->scanLine(jout));
[ 32%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/ekos/auxiliary/stellarsolverprofileeditor.cpp.o
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp: In instantiation of ‘void Ekos::DarkLibrary::subtract(const QSharedPointer<FITSData>&, const QSharedPointer<FITSData>&, FITSScale, uint16_t, uint16_t) [with T = short int; uint16_t = short unsigned int]’:
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:190:76: required from here
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:285:22: warning: cast from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align]
T *lightBuffer = reinterpret_cast<T *>(lightData->getWritableImageBuffer());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:291:28: warning: cast from ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align]
T const *darkBuffer = reinterpret_cast<T const*>(darkData->getImageBuffer()) + darkoffset;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp: In instantiation of ‘void Ekos::DarkLibrary::subtract(const QSharedPointer<FITSData>&, const QSharedPointer<FITSData>&, FITSScale, uint16_t, uint16_t) [with T = short unsigned int; uint16_t = short unsigned int]’:
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:194:77: required from here
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:285:22: warning: cast from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align]
T *lightBuffer = reinterpret_cast<T *>(lightData->getWritableImageBuffer());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:291:28: warning: cast from ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align]
T const *darkBuffer = reinterpret_cast<T const*>(darkData->getImageBuffer()) + darkoffset;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp: In instantiation of ‘void Ekos::DarkLibrary::subtract(const QSharedPointer<FITSData>&, const QSharedPointer<FITSData>&, FITSScale, uint16_t, uint16_t) [with T = int; uint16_t = short unsigned int]’:
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:198:76: required from here
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:285:22: warning: cast from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align]
T *lightBuffer = reinterpret_cast<T *>(lightData->getWritableImageBuffer());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:291:28: warning: cast from ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align]
Please Log in or Create an account to join the conversation.