<div dir="ltr">Thank you Ingo,<div><br></div><div>That's a very helpful start.</div><div><br></div><div>So using a *single* craft.ini file, we can build KStars for MacOS & Windows on the same files? They do not have the same dependencies.</div><div><br></div><div>The current kstars.py <br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>--</div><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 25, 2024 at 8:04 PM Ingo Klöcker <<a href="mailto:kloecker@kde.org" target="_blank">kloecker@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Donnerstag, 25. Januar 2024 06:06:32 CET Jasem Mutlaq wrote:<br>
> Thank you, are there any scripts that were made for complex KDE projects?<br>
> That would be a great way to start and customize accordingly since none of<br>
> us have experience with this.<br>
<br>
The builds are done with Craft pretty much the same way as they were done on <br>
Binary Factory.<br>
<br>
The following .craft.ini file added to the root of kstars in the master branch <br>
should take care of indiserver:<br>
```<br>
# SPDX-FileCopyrightText: None<br>
# SPDX-License-Identifier: CC0-1.0<br>
<br>
[BlueprintSettings]<br>
libs/indiserver.version=master<br>
libs/indiserver-3rdparty.version=master<br>
libs/indiserver-3rdparty-libraries.version=master<br>
```<br>
<br>
For your release branch, use the following .craft.ini to trigger a rebuild of <br>
indiserver and to enable building of an APPX package for Windows:<br>
```<br>
# SPDX-FileCopyrightText: None<br>
# SPDX-License-Identifier: CC0-1.0<br>
<br>
[BlueprintSettings]<br>
libs/indiserver.patchLevel=1<br>
libs/indiserver-3rdparty.patchLevel=1<br>
libs/indiserver-3rdparty-libraries.patchLevel=1<br>
<br>
kde/applications/kstars.packageAppx = True<br>
```<br>
<br>
If you have further questions then come to the Matrix room #kde-craft:<a href="http://kde.org" rel="noreferrer" target="_blank">kde.org</a>.<br>
<br>
Regards,<br>
Ingo<br>
<br>
> On Wed, Jan 24, 2024 at 3:02 PM Ingo Klöcker <<a href="mailto:kloecker@kde.org" target="_blank">kloecker@kde.org</a>> wrote:<br>
> > Hi Jasem,<br>
> > <br>
> > On Mittwoch, 24. Januar 2024 11:31:03 CET Jasem Mutlaq wrote:<br>
> > > Thank you. Is there any documentation / guide on how to do this? That<br>
> > <br>
> > would<br>
> > <br>
> > > be greatly appreciated.<br>
> > <br>
> > Although this blog talks about building Android APKs pretty much the same<br>
> > applies to any other builds that were previously done on Binary Factory,<br>
> > i.e.<br>
> > you add some GitLab job template(s) to your .gitlab-ci.yml and maybe add<br>
> > some<br>
> > settings for Craft to a .craft.ini file:<br>
> > <a href="https://blogs.kde.org/2023/11/13/apks-now-built-invent" rel="noreferrer" target="_blank">https://blogs.kde.org/2023/11/13/apks-now-built-invent</a><br>
> > <br>
> > See<br>
> > <br>
> > <a href="https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/gitlab-template" rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/gitlab-template</a><br>
> > s/ README.md<br>
> > for a list of all GitLab job template(s).<br>
> > <br>
> > Additionally, have a look at<br>
> > <br>
> > <a href="https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/signing/README" rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/signing/README</a>.<br>
> > md which explains how to enable the different signing/publishing services<br>
> > used on<br>
> > invent for KStars.<br>
> > <br>
> > Regards,<br>
> > Ingo<br>
> > <br>
> > > On Wed, Jan 24, 2024 at 12:35 PM Ben Cooksley <<a href="mailto:bcooksley@kde.org" target="_blank">bcooksley@kde.org</a>> wrote:<br>
> > > > On Wed, Jan 24, 2024 at 9:00 PM Jasem Mutlaq <<a href="mailto:mutlaqja@ikarustech.com" target="_blank">mutlaqja@ikarustech.com</a>><br>
> > > > <br>
> > > > wrote:<br>
> > > >> Hello all,<br>
> > > > <br>
> > > > Hey Jasem,<br>
> > > > <br>
> > > >> Next version of KStars is due in a week. We can still see that the<br>
> > > >> Mac<br>
> > > >> Builder is down and we are wondering how we are going to release it<br>
> > <br>
> > for<br>
> > <br>
> > > >> MacOS since there is no update or ETA on when this issue would be<br>
> > > >> resolved.<br>
> > > >> <br>
> > > >> The build process for KStars on MacOS is complex because it involves<br>
> > > >> building and distributing the INDI server and all 3rd party drivers<br>
> > <br>
> > along<br>
> > <br>
> > > >> with it in addition to stellarsolver and other dependencies. But it<br>
> > <br>
> > has<br>
> > <br>
> > > >> been working fine over the past few months without any issues until<br>
> > <br>
> > the<br>
> > <br>
> > > >> Mac<br>
> > > >> Builder failed recently.<br>
> > > > <br>
> > > > As has been commented on Matrix several times - you need to port to<br>
> > > > the<br>
> > > > Gitlab jobs provided in sysadmin/ci-utilities for this, the Binary<br>
> > <br>
> > Factory<br>
> > <br>
> > > > will soon be completely deprecated and shutdown.<br>
> > > > These builds have the additional advantage of being available for the<br>
> > > > M<br>
> > > > series processors Apple is using in their newer devices as well.<br>
> > > > <br>
> > > >> --<br>
> > > >> Best Regards,<br>
> > > >> Jasem Mutlaq<br>
> > > > <br>
> > > > Cheers,<br>
> > > > Ben<br>
<br>
</blockquote></div>