From kstars-devel Thu Feb 01 07:39:14 2024 From: Ingo =?ISO-8859-1?Q?Kl=F6cker?= Date: Thu, 01 Feb 2024 07:39:14 +0000 To: kstars-devel Subject: Re: Binary Factory Mac Build Status Message-Id: <4869511.GXAFRqVoOG () daneel> X-MARC-Message: https://marc.info/?l=kstars-devel&m=170680952919790 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1880426.tdWV9SEqCh" --nextPart1880426.tdWV9SEqCh Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Ingo =?ISO-8859-1?Q?Kl=F6cker?= To: Jasem Mutlaq , kstars-devel@kde.org Cc: kde-windows@kde.org Subject: Re: Binary Factory Mac Build Status Date: Thu, 01 Feb 2024 08:39:14 +0100 Message-ID: <4869511.GXAFRqVoOG@daneel> MIME-Version: 1.0 On Donnerstag, 1. Februar 2024 05:52:54 CET Jasem Mutlaq wrote: > Thank you Ingo, >=20 > That's a very helpful start. >=20 > So using a *single* craft.ini file, =2Ecraft.ini with a leading dot. > we can build KStars for MacOS & Windows > on the same files? They do not have the same dependencies. It will work as good or as bad as on Binary Factory. It's exactly the same= =20 Craft commands and blueprints that are used. The only difference is that fo= r=20 Binary Factory a few special options were made in a file called enabled- projects.yaml. This is now done with the .craft.ini. In theory, you could even overwrite many aspects of our standard Craft jobs= on=20 GitLab in your project's .gitlab-ci.yml, but then you are on your own. > The current kstars.py That should work as before on Binary Factory. I just saw that you posted to the #kde-craft:kde.org Matrix room. That's go= od.=20 Let's continue there. Regards, Ingo > 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 > > > projects? > > > That would be a great way to start and customize accordingly since no= ne > >=20 > > of > >=20 > > > us have experience with this. > >=20 > > The builds are done with Craft pretty much the same way as they were do= ne > > on > > Binary Factory. > >=20 > > 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 > >=20 > > [BlueprintSettings] > > libs/indiserver.version=3Dmaster > > libs/indiserver-3rdparty.version=3Dmaster > > libs/indiserver-3rdparty-libraries.version=3Dmaster > > ``` > >=20 > > For your release branch, use the following .craft.ini to trigger a rebu= ild > > of > > indiserver and to enable building of an APPX package for Windows: > > ``` > > # SPDX-FileCopyrightText: None > > # SPDX-License-Identifier: CC0-1.0 > >=20 > > [BlueprintSettings] > > libs/indiserver.patchLevel=3D1 > > libs/indiserver-3rdparty.patchLevel=3D1 > > libs/indiserver-3rdparty-libraries.patchLevel=3D1 > >=20 > > kde/applications/kstars.packageAppx =3D True > > ``` > >=20 > > If you have further questions then come to the Matrix room #kde-craft: > > kde.org. > >=20 > > Regards, > > Ingo > >=20 > > > On Wed, Jan 24, 2024 at 3:02=E2=80=AFPM Ingo Kl=C3=B6cker wrote: > > > > Hi Jasem, > > > >=20 > > > > On Mittwoch, 24. Januar 2024 11:31:03 CET Jasem Mutlaq wrote: > > > > > Thank you. Is there any documentation / guide on how to do this? > > > > > That > > > >=20 > > > > would > > > >=20 > > > > > be greatly appreciated. > > > >=20 > > > > Although this blog talks about building Android APKs pretty much the > >=20 > > same > >=20 > > > > applies to any other builds that were previously done on Binary > >=20 > > Factory, > >=20 > > > > i.e. > > > > you add some GitLab job template(s) to your .gitlab-ci.yml and maybe > >=20 > > add > >=20 > > > > some > > > > settings for Craft to a .craft.ini file: > > > > https://blogs.kde.org/2023/11/13/apks-now-built-invent > > > >=20 > > > > See > >=20 > > https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/gitlab-templ= ate > >=20 > > > > s/ README.md > > > > for a list of all GitLab job template(s). > > > >=20 > > > > Additionally, have a look at > >=20 > > https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/signing/READ= ME. > >=20 > > > > md which explains how to enable the different signing/publishing > >=20 > > services > >=20 > > > > used on > > > > invent for KStars. > > > >=20 > > > > Regards, > > > > Ingo > > > >=20 > > > > > On Wed, Jan 24, 2024 at 12:35=E2=80=AFPM Ben Cooksley > >=20 > > wrote: > > > > > > On Wed, Jan 24, 2024 at 9:00=E2=80=AFPM Jasem Mutlaq < > >=20 > > mutlaqja@ikarustech.com> > >=20 > > > > > > wrote: > > > > > >> Hello all, > > > > > >=20 > > > > > > Hey Jasem, > > > > > >=20 > > > > > >> Next version of KStars is due in a week. We can still see that > > > > > >> the > > > > > >> Mac > > > > > >> Builder is down and we are wondering how we are going to relea= se > >=20 > > it > >=20 > > > > for > > > >=20 > > > > > >> MacOS since there is no update or ETA on when this issue would= be > > > > > >> resolved. > > > > > >>=20 > > > > > >> The build process for KStars on MacOS is complex because it > >=20 > > involves > >=20 > > > > > >> building and distributing the INDI server and all 3rd party > >=20 > > drivers > >=20 > > > > along > > > >=20 > > > > > >> with it in addition to stellarsolver and other dependencies. B= ut > >=20 > > it > >=20 > > > > has > > > >=20 > > > > > >> been working fine over the past few months without any issues > >=20 > > until > >=20 > > > > the > > > >=20 > > > > > >> Mac > > > > > >> Builder failed recently. > > > > > >=20 > > > > > > As has been commented on Matrix several times - you need to port > > > > > > to > > > > > > the > > > > > > Gitlab jobs provided in sysadmin/ci-utilities for this, the Bin= ary > > > >=20 > > > > Factory > > > >=20 > > > > > > will soon be completely deprecated and shutdown. > > > > > > These builds have the additional advantage of being available f= or > >=20 > > the > >=20 > > > > > > M > > > > > > series processors Apple is using in their newer devices as well. > > > > > >=20 > > > > > >> -- > > > > > >> Best Regards, > > > > > >> Jasem Mutlaq > > > > > >=20 > > > > > > Cheers, > > > > > > Ben --nextPart1880426.tdWV9SEqCh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTbjgIOMowwlCBgvyGxb1mVFkdKugUCZbtKogAKCRCxb1mVFkdK un4OAQCIr1fHAX1hA59i1ye3ltw+OnV2aypLHBkNKA046RdkwgD/XF50GEOolcRm LPU7WdHNZ4eInKrZ6PMcBwjTjyxRlws= =s0Xm -----END PGP SIGNATURE----- --nextPart1880426.tdWV9SEqCh--