--000000000000679a6006104ac517 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you Ingo, That's a very helpful start. 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. The current kstars.py -- Best Regards, Jasem Mutlaq On Thu, Jan 25, 2024 at 8:04=E2=80=AFPM Ingo Kl=C3=B6cker wrote: > On Donnerstag, 25. Januar 2024 06:06:32 CET Jasem Mutlaq wrote: > > Thank you, are there any scripts that were made for complex KDE project= s? > > That would be a great way to start and customize accordingly since none > of > > us have experience with this. > > The builds are done with Craft pretty much the same way as they were done > on > Binary Factory. > > The following .craft.ini file added to the root of kstars in the master > branch > should take care of indiserver: > ``` > # SPDX-FileCopyrightText: None > # SPDX-License-Identifier: CC0-1.0 > > [BlueprintSettings] > libs/indiserver.version=3Dmaster > libs/indiserver-3rdparty.version=3Dmaster > libs/indiserver-3rdparty-libraries.version=3Dmaster > ``` > > For your release branch, use the following .craft.ini to trigger a rebuil= d > of > indiserver and to enable building of an APPX package for Windows: > ``` > # SPDX-FileCopyrightText: None > # SPDX-License-Identifier: CC0-1.0 > > [BlueprintSettings] > libs/indiserver.patchLevel=3D1 > libs/indiserver-3rdparty.patchLevel=3D1 > libs/indiserver-3rdparty-libraries.patchLevel=3D1 > > kde/applications/kstars.packageAppx =3D True > ``` > > If you have further questions then come to the Matrix room #kde-craft: > kde.org. > > Regards, > Ingo > > > On Wed, Jan 24, 2024 at 3:02=E2=80=AFPM Ingo Kl=C3=B6cker wrote: > > > Hi Jasem, > > > > > > On Mittwoch, 24. Januar 2024 11:31:03 CET Jasem Mutlaq wrote: > > > > Thank you. Is there any documentation / guide on how to do this? Th= at > > > > > > would > > > > > > > be greatly appreciated. > > > > > > Although this blog talks about building Android APKs pretty much the > same > > > applies to any other builds that were previously done on Binary > Factory, > > > i.e. > > > you add some GitLab job template(s) to your .gitlab-ci.yml and maybe > add > > > some > > > settings for Craft to a .craft.ini file: > > > https://blogs.kde.org/2023/11/13/apks-now-built-invent > > > > > > See > > > > > > > https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/gitlab-templat= e > > > s/ README.md > > > for a list of all GitLab job template(s). > > > > > > Additionally, have a look at > > > > > > > https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/signing/README= . > > > md which explains how to enable the different signing/publishing > services > > > used on > > > invent for KStars. > > > > > > Regards, > > > Ingo > > > > > > > On Wed, Jan 24, 2024 at 12:35=E2=80=AFPM Ben Cooksley > wrote: > > > > > On Wed, Jan 24, 2024 at 9:00=E2=80=AFPM Jasem Mutlaq < > mutlaqja@ikarustech.com> > > > > > > > > > > wrote: > > > > >> Hello all, > > > > > > > > > > Hey Jasem, > > > > > > > > > >> Next version of KStars is due in a week. We can still see that t= he > > > > >> Mac > > > > >> Builder is down and we are wondering how we are going to release > it > > > > > > for > > > > > > > >> MacOS since there is no update or ETA on when this issue would b= e > > > > >> resolved. > > > > >> > > > > >> The build process for KStars on MacOS is complex because it > involves > > > > >> building and distributing the INDI server and all 3rd party > drivers > > > > > > along > > > > > > > >> with it in addition to stellarsolver and other dependencies. But > it > > > > > > has > > > > > > > >> been working fine over the past few months without any issues > until > > > > > > the > > > > > > > >> Mac > > > > >> Builder failed recently. > > > > > > > > > > As has been commented on Matrix several times - you need to port = to > > > > > the > > > > > Gitlab jobs provided in sysadmin/ci-utilities for this, the Binar= y > > > > > > Factory > > > > > > > > will soon be completely deprecated and shutdown. > > > > > These builds have the additional advantage of being available for > the > > > > > M > > > > > series processors Apple is using in their newer devices as well. > > > > > > > > > >> -- > > > > >> Best Regards, > > > > >> Jasem Mutlaq > > > > > > > > > > Cheers, > > > > > Ben > > --000000000000679a6006104ac517 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you Ingo,

That's a very helpf= ul start.

So using a *single* craft.ini file, we c= an build KStars for MacOS & Windows on the same files? They do not have= the same dependencies.

The current kstars.py=C2= =A0
--=
Best Regards,
Jasem Mutlaq



On Thu, Jan 25, 2024 at 8:04=E2=80=AFPM Ingo = Kl=C3=B6cker <kloe= cker@kde.org> wrote:
On Donnerstag, 25. Januar 2024 06:06:32 CET Jasem Mutlaq wrote:=
> Thank you, are there any scripts that were made for complex KDE projec= ts?
> That would be a great way to start and customize accordingly since non= e of
> us have experience with this.

The builds are done with Craft pretty much the same way as they were done o= n
Binary Factory.

The following .craft.ini file added to the root of kstars in the master bra= nch
should take care of indiserver:
```
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0

[BlueprintSettings]
libs/indiserver.version=3Dmaster
libs/indiserver-3rdparty.version=3Dmaster
libs/indiserver-3rdparty-libraries.version=3Dmaster
```

For your release branch, use the following .craft.ini to trigger a rebuild = of
indiserver and to enable building of an APPX package for Windows:
```
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0

[BlueprintSettings]
libs/indiserver.patchLevel=3D1
libs/indiserver-3rdparty.patchLevel=3D1
libs/indiserver-3rdparty-libraries.patchLevel=3D1

kde/applications/kstars.packageAppx =3D True
```

If you have further questions then come to the Matrix room #kde-craft:kde.org.

Regards,
Ingo

> On Wed, Jan 24, 2024 at 3:02=E2=80=AFPM Ingo Kl=C3=B6cker <kloecker@kde.org> wro= te:
> > Hi Jasem,
> >
> > On Mittwoch, 24. Januar 2024 11:31:03 CET Jasem Mutlaq wrote:
> > > Thank you. Is there any documentation / guide on how to do t= his? That
> >
> > would
> >
> > > be greatly appreciated.
> >
> > Although this blog talks about building Android APKs pretty much = the same
> > applies to any other builds that were previously done on Binary F= actory,
> > i.e.
> > you add some GitLab job template(s) to your .gitlab-ci.yml and ma= ybe add
> > some
> > settings for Craft to a .craft.ini file:
> > https://blogs.kde.org/2023/11/13/apk= s-now-built-invent
> >
> > See
> >
> > https://invent.k= de.org/sysadmin/ci-utilities/-/blob/master/gitlab-template
> > s/ README.md
> > for a list of all GitLab job template(s).
> >
> > Additionally, have a look at
> >
> > https://invent.kd= e.org/sysadmin/ci-utilities/-/blob/master/signing/README.
> > md which explains how to enable the different signing/publishing = services
> > used on
> > invent for KStars.
> >
> > Regards,
> > Ingo
> >
> > > On Wed, Jan 24, 2024 at 12:35=E2=80=AFPM Ben Cooksley <bcooksley@kde.org&= gt; wrote:
> > > > On Wed, Jan 24, 2024 at 9:00=E2=80=AFPM Jasem Mutlaq &l= t;mutlaqja@ika= rustech.com>
> > > >
> > > > wrote:
> > > >> Hello all,
> > > >
> > > > Hey Jasem,
> > > >
> > > >> Next version of KStars is due in a week. We can sti= ll see that the
> > > >> Mac
> > > >> Builder is down and we are wondering how we are goi= ng to release it
> >
> > for
> >
> > > >> MacOS since there is no update or ETA on when this = issue would be
> > > >> resolved.
> > > >>
> > > >> The build process for KStars on MacOS is complex be= cause it involves
> > > >> building and distributing the INDI server and all 3= rd party drivers
> >
> > along
> >
> > > >> with it in addition to stellarsolver and other depe= ndencies. But it
> >
> > has
> >
> > > >> been working fine over the past few months without = any issues until
> >
> > the
> >
> > > >> Mac
> > > >> Builder failed recently.
> > > >
> > > > As has been commented on Matrix several times - you nee= d to port to
> > > > the
> > > > Gitlab jobs provided in sysadmin/ci-utilities for this,= the Binary
> >
> > Factory
> >
> > > > will soon be completely deprecated and shutdown.
> > > > These builds have the additional advantage of being ava= ilable for the
> > > > M
> > > > series processors Apple is using in their newer devices= as well.
> > > >
> > > >> --
> > > >> Best Regards,
> > > >> Jasem Mutlaq
> > > >
> > > > Cheers,
> > > > Ben

--000000000000679a6006104ac517--