<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi there,</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Very nice, it is good to see additional people creating build scripts.  I have made a bunch of these myself since I think it is much easier to get started with a build & setup script than in trying to do each step by yourself from the command line.  Please take a look at the currently existing scripts as well, you might find you can make some improvements to yours and/or you could provide some suggestions on how to improve the others.  Collaboration makes everything better.  I am not sure we would want to put any one as the official build script on any page, since there are many different setups and computer systems out there with many different configurations, but we can provide links to several including yours on the various KStars/INDI pages on the web, along with explanations of how they can be used.  Currently the closest thing I think we have to that kind of an index is this page: <a href="https://indilib.org/raspberry-pi.html" class="">https://indilib.org/raspberry-pi.html</a>, which is kind of buried on the INDI website.  I am also not sure we should put links to build scripts on the <a href="http://kde.org" class="">kde.org</a> page since they might have rules about this?  I’m not sure about this.  I agree that we should probably make these scripts more obvious somewhere so people can get started with fewer issues.  Would you want to create a GitHub page for your script so that people can find it online and download it to run it on their systems?  Here are some scripts below, including some that I made and some that other people made.<div class=""><br class=""></div><div class="">Here are the various ones I have made for numerous setups (can work for SBCs, Raspberry Pis, or full Linux computers of various distros):  <a href="https://github.com/rlancaste/AstroPi3" class="">https://github.com/rlancaste/AstroPi3</a></div><div class="">Here are two that I made that work for MacOS, but the first is currently better than the second: <a href="https://github.com/rlancaste/kstars-on-osx-craft" class="">https://github.com/rlancaste/kstars-on-osx-craft</a> ,   <a href="https://github.com/rlancaste/KStars-INDI-Mac-Dev" class="">https://github.com/rlancaste/KStars-INDI-Mac-Dev</a> </div><div class="">Here are two that I made for windows, intended for two different setups: <a href="https://github.com/rlancaste/CygwinINDI" class="">https://github.com/rlancaste/CygwinINDI</a> , <a href="https://github.com/rlancaste/WindowsSubINDI" class="">https://github.com/rlancaste/WindowsSubINDI</a> </div><div class=""><br class=""></div><div class="">Here is one from Jerry Black that builds nightly indi and kstars:  <a href="https://github.com/JerryBlack/buildKstarsNightlyFromGit" class="">https://github.com/JerryBlack/buildKstarsNightlyFromGit</a> </div><div class="">Here is one from Patrick Chefalley that builds indi on Mac to put it into another program <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">(this was a project we collaborated on)</span>: <a href="https://github.com/pchev/indi-mac" class="">https://github.com/pchev/indi-mac</a> </div><div class="">Here is one from Nou that builds indi and kstars: <a href="https://gitea.nouspiro.space/nou/astro-soft-build" class="">https://gitea.nouspiro.space/nou/astro-soft-build</a></div><div class=""><br class=""></div><div class="">There are also several scripts that build images for an SBC, or download images to an SBC, but I assume that is not what we are looking for here.  There are also the build scripts in the actual repos that are used for build testing such as (circleci or travis) or for making automatic releases for people to download (such as craft and launchpad).  I am also pretty sure there were several other shell scripts that I recall seeing posted in forums, but unfortunately if they just get posted in a forum or sent in an email it becomes much harder to find them later.  I would agree that we need a centralized index probably somewhere on the INDI website, but probably not buried under Raspberry Pi like it is now.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Rob</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 8, 2022, at 11:50 AM, Rani Ahmed <<a href="mailto:ranixlb@gmail.com" class="">ranixlb@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hello kstars fans. This is a shell script that you have to run as root once on Debian 11 (Bullseye) in order to install and build from source full Kstars . This means you will get in one single batch : Kstars + INDI + INDI 3rd party Drivers + StellarSolver. Make sure that there is a STABLE internet connection before running the script.</div><div class=""><br class=""></div><div class="">Please add the script if you are one of those who have access to editing the <a href="http://kde.org/" class="">kde.org</a> kstars pages. Thanks. <br class=""></div><div class=""><br class=""></div><div class="">=====================Script is below this line===run as root===================</div><div class=""><br class=""></div><div class=""><span style="font-family:monospace" class="">echo "Installing the required packages for Kstars from Debian repos using apt-get..."<br class="">apt update<br class="">apt -y install breeze-icon-theme build-essential cdbs cmake dkms extra-cmake-modules fxload gettext git kdoctools5 kinit-dev kio libavcodec-dev libavdevice-dev libboost-dev libboost-regex-dev libcfitsio-dev libcurl4-gnutls-dev libdc1394-22-dev libeigen3-dev libfftw3-dev libftdi1-dev libftdi-dev libgmock-dev libgphoto2-dev libgps-dev libgsl0-dev libgsl-dev libgtest-dev libindi-dev libjpeg-dev libkf5crash-dev libkf5newstuff-dev libkf5notifications-dev libkf5notifyconfig-dev libkf5plotting-dev libkf5xmlgui-dev libkrb5-dev liblimesuite-dev libnova-dev libqt5svg5-dev libqt5websockets5-dev libraw-dev librtlsdr-dev libsecret-1-dev libtheora-dev libtiff-dev libusb-1.0-0-dev libusb-dev qt5keychain-dev qtdeclarative5-dev wcslib-dev xplanet xplanet-images zlib1g-dev aria2 axel wget qtbase5-dev <br class="">echo "Done installing therequired packages for kstarts using apt-get "<br class=""><br class="">mkdir kstars_src && cd kstars_src<br class="">echo "Your current directory is `pwd` "<br class="">echo "Downloading project INDI source code using git .."<br class="">git clone --depth 1 <a href="https://github.com/indilib/indi.git" class="">https://github.com/indilib/indi.git</a><br class="">cd indi && mkdir -p build<br class="">echo "Your current directory is `pwd`. preparing and building.."<br class="">cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -B build/<br class="">cd build<br class="">make -j $(nproc)<br class="">make -j $(nproc) install<br class="">cd ../../<br class=""><br class="">echo "Your current directory is `pwd` "<br class="">echo "Downloading project INDI 3rd party drivers and libraries source code using git .."<br class="">git clone --depth=1 <a href="https://github.com/indilib/indi-3rdparty" class="">https://github.com/indilib/indi-3rdparty</a><br class="">cd  indi-3rdparty <br class="">echo "Your current directory is `pwd` .. preparing a building each driver and each library in this folder"<br class="">#$pwd=`pwd`;<br class=""><br class="">mkdir -p indi-3rdparty-build-libraries<br class="">cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBS=1 -B indi-3rdparty-build-libraries<br class="">cd indi-3rdparty-build-libraries<br class="">make -j $(nproc)<br class="">make -j $(nproc) install<br class="">cd ..<br class=""><br class="">mkdir -p indi-3rdparty-build-drivers<br class="">cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -B indi-3rdparty-build-drivers<br class="">cd indi-3rdparty-build-drivers<br class="">make -j $(nproc)<br class="">make -j $(nproc) install<br class="">echo "Your current directory is `pwd` done with INDI 3rdparty drivers and libraries. "<br class="">cd ../../<br class=""><br class="">echo "Downloading project StellarSolver using git .."<br class="">echo "Your current directory is `pwd`"<br class="">git clone <a href="https://github.com/rlancaste/stellarsolver.git" class="">https://github.com/rlancaste/stellarsolver.git</a><br class="">cd stellarsolver<br class="">mkdir -p build<br class="">cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTER=ON -B build<br class="">cd build<br class="">make -j $(nproc)<br class="">make -j $(nproc) install<br class="">cd ../../<br class=""><br class="">echo "Your current directory is `pwd` . Done with StellarSolver. "<br class="">echo "Downloading project kstars source code using git .."<br class="">git clone <a href="https://anongit.kde.org/kstars" class="">https://anongit.kde.org/kstars</a><br class="">cd kstars && mkdir -p build<br class="">cmake  -DCMAKE_INSTALL_PREFIX=/usr -B build<br class="">cd build<br class="">make -j $(nproc)<br class="">make -j $(nproc) install</span><br class=""><br class=""><br class=""></div><div class="">thanks.<br class=""></div><div class=""><br class=""><br class=""></div></div>
</div></blockquote></div><br class=""></div></div></body></html>