[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: Binary Factory Mac Build Status
From:       Jasem Mutlaq <mutlaqja () ikarustech ! com>
Date:       2024-02-01 4:52:54
Message-ID: CAE0bU5nwGfi=AgAf+-pg1ASSeq9CwO0EKRXv44R58G_DZFVstg () mail ! gmail ! com
[Download RAW message or body]

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 PM Ingo Klöcker <kloecker@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 projects?
> > 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=master
> libs/indiserver-3rdparty.version=master
> libs/indiserver-3rdparty-libraries.version=master
> ```
>
> 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=1
> libs/indiserver-3rdparty.patchLevel=1
> libs/indiserver-3rdparty-libraries.patchLevel=1
>
> kde/applications/kstars.packageAppx = 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 PM Ingo Klöcker <kloecker@kde.org> 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? 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
> 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-template
> > > 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 PM Ben Cooksley <bcooksley@kde.org>
> wrote:
> > > > > On Wed, Jan 24, 2024 at 9:00 PM Jasem Mutlaq <
> mutlaqja@ikarustech.com>
> > > > >
> > > > > wrote:
> > > > >> Hello all,
> > > > >
> > > > > Hey Jasem,
> > > > >
> > > > >> 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 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 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 Binary
> > >
> > > 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
>
>

[Attachment #3 (text/html)]

<div dir="ltr">Thank you Ingo,<div><br></div><div>That&#39;s a very helpful \
start.</div><div><br></div><div>So using a *single* craft.ini file, we can build \
KStars for MacOS &amp; 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 &lt;<a href="mailto:kloecker@kde.org" \
target="_blank">kloecker@kde.org</a>&gt; 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> &gt; Thank you, are there any scripts that were made for complex \
KDE projects?<br> &gt; That would be a great way to start and customize accordingly \
since none of<br> &gt; 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>
&gt; On Wed, Jan 24, 2024 at 3:02 PM Ingo Klöcker &lt;<a \
href="mailto:kloecker@kde.org" target="_blank">kloecker@kde.org</a>&gt; wrote:<br> \
&gt; &gt; Hi Jasem,<br> &gt; &gt; <br>
&gt; &gt; On Mittwoch, 24. Januar 2024 11:31:03 CET Jasem Mutlaq wrote:<br>
&gt; &gt; &gt; Thank you. Is there any documentation / guide on how to do this? \
That<br> &gt; &gt; <br>
&gt; &gt; would<br>
&gt; &gt; <br>
&gt; &gt; &gt; be greatly appreciated.<br>
&gt; &gt; <br>
&gt; &gt; Although this blog talks about building Android APKs pretty much the \
same<br> &gt; &gt; applies to any other builds that were previously done on Binary \
Factory,<br> &gt; &gt; i.e.<br>
&gt; &gt; you add some GitLab job template(s) to your .gitlab-ci.yml and maybe \
add<br> &gt; &gt; some<br>
&gt; &gt; settings for Craft to a .craft.ini file:<br>
&gt; &gt; <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>
 &gt; &gt; <br>
&gt; &gt; See<br>
&gt; &gt; <br>
&gt; &gt; <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>
 &gt; &gt; s/ README.md<br>
&gt; &gt; for a list of all GitLab job template(s).<br>
&gt; &gt; <br>
&gt; &gt; Additionally, have a look at<br>
&gt; &gt; <br>
&gt; &gt; <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>
 &gt; &gt; md which explains how to enable the different signing/publishing \
services<br> &gt; &gt; used on<br>
&gt; &gt; invent for KStars.<br>
&gt; &gt; <br>
&gt; &gt; Regards,<br>
&gt; &gt; Ingo<br>
&gt; &gt; <br>
&gt; &gt; &gt; On Wed, Jan 24, 2024 at 12:35 PM Ben Cooksley &lt;<a \
href="mailto:bcooksley@kde.org" target="_blank">bcooksley@kde.org</a>&gt; wrote:<br> \
&gt; &gt; &gt; &gt; On Wed, Jan 24, 2024 at 9:00 PM Jasem Mutlaq &lt;<a \
href="mailto:mutlaqja@ikarustech.com" \
target="_blank">mutlaqja@ikarustech.com</a>&gt;<br> &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt;&gt; Hello all,<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; Hey Jasem,<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt;&gt; Next version of KStars is due in a week. We can still see \
that the<br> &gt; &gt; &gt; &gt;&gt; Mac<br>
&gt; &gt; &gt; &gt;&gt; Builder is down and we are wondering how we are going to \
release it<br> &gt; &gt; <br>
&gt; &gt; for<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt;&gt; MacOS since there is no update or ETA on when this issue \
would be<br> &gt; &gt; &gt; &gt;&gt; resolved.<br>
&gt; &gt; &gt; &gt;&gt; <br>
&gt; &gt; &gt; &gt;&gt; The build process for KStars on MacOS is complex because it \
involves<br> &gt; &gt; &gt; &gt;&gt; building and distributing the INDI server and \
all 3rd party drivers<br> &gt; &gt; <br>
&gt; &gt; along<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt;&gt; with it in addition to stellarsolver and other dependencies. \
But it<br> &gt; &gt; <br>
&gt; &gt; has<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt;&gt; been working fine over the past few months without any issues \
until<br> &gt; &gt; <br>
&gt; &gt; the<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt;&gt; Mac<br>
&gt; &gt; &gt; &gt;&gt; Builder failed recently.<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; As has been commented on Matrix several times - you need to port \
to<br> &gt; &gt; &gt; &gt; the<br>
&gt; &gt; &gt; &gt; Gitlab jobs provided in sysadmin/ci-utilities for this, the \
Binary<br> &gt; &gt; <br>
&gt; &gt; Factory<br>
&gt; &gt; <br>
&gt; &gt; &gt; &gt; will soon be completely deprecated and shutdown.<br>
&gt; &gt; &gt; &gt; These builds have the additional advantage of being available for \
the<br> &gt; &gt; &gt; &gt; M<br>
&gt; &gt; &gt; &gt; series processors Apple is using in their newer devices as \
well.<br> &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt;&gt; --<br>
&gt; &gt; &gt; &gt;&gt; Best Regards,<br>
&gt; &gt; &gt; &gt;&gt; Jasem Mutlaq<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; Cheers,<br>
&gt; &gt; &gt; &gt; Ben<br>
<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic