Re: How to submit a patch to source code for specific arch (apple silicon)

2022-10-20 Thread Alejandro Imass
On Thu, Oct 20, 2022 at 6:56 AM Christopher Chavez 
wrote:

> Sent: Wednesday, October 19, 2022 at 12:25 PM
> From: "Alejandro Imass"
>
> > I found a problem with dia (GNU dia diagraming app) in Apple Silicon and
> finally got it to compile and run. Was wondering what the process is to
> submit a patch ? Are there any docs I can read that describe the process of
> contributing to source code patches, etc.?
>
>
> The last official dia release was 0.97.3 in 2014. No one has bothered
> switching the port to prerelease sources (as some other package managers
> have done), so the dia port is likely far behind upstream development. It
> could be that upstream has already addressed the issues you've identified;
> if not, then please consider submitting changes to
> https://gitlab.gnome.org/GNOME/dia if applicable.
>
>
Got it. Thank you! The issue is pretty simple, just replacing the infinite
with the isinfinte macro in 2 files. The rest seems to be working pretty
well.
DIA definitively needs some TLC in general ...


Re: How to submit a patch to source code for specific arch (apple silicon)

2022-10-20 Thread Christopher Chavez
Sent: Wednesday, October 19, 2022 at 12:25 PM
From: "Alejandro Imass"

> I found a problem with dia (GNU dia diagraming app) in Apple Silicon and 
> finally got it to compile and run. Was wondering what the process is to 
> submit a patch ? Are there any docs I can read that describe the process of 
> contributing to source code patches, etc.?


The last official dia release was 0.97.3 in 2014. No one has bothered switching 
the port to prerelease sources (as some other package managers have done), so 
the dia port is likely far behind upstream development. It could be that 
upstream has already addressed the issues you've identified; if not, then 
please consider submitting changes to https://gitlab.gnome.org/GNOME/dia if 
applicable.



Re: How to submit a patch to source code for specific arch (apple silicon)

2022-10-19 Thread Alejandro Imass
On Wed, Oct 19, 2022 at 1:32 PM Nils Breunese  wrote:

> Alejandro Imass  wrote:
>
> I found a problem with dia (GNU dia diagraming app) in Apple Silicon and
> finally got it to compile and run. Was wondering what the process is to
> submit a patch ? Are there any docs I can read that describe the process of
> contributing to source code patches, etc.?
>
>
> You can create a merge request on GitHub:
> https://guide.macports.org/chunked/project.github.html
>
>
Thank you !

I was looking at the MacPorts Wiki and didn't realize the manual devoted a
complete chapter to this.

-- 
Alex


Re: How to submit a patch to source code for specific arch (apple silicon)

2022-10-19 Thread Nils Breunese
Alejandro Imass  wrote:

> I found a problem with dia (GNU dia diagraming app) in Apple Silicon and 
> finally got it to compile and run. Was wondering what the process is to 
> submit a patch ? Are there any docs I can read that describe the process of 
> contributing to source code patches, etc.?

You can create a merge request on GitHub: 
https://guide.macports.org/chunked/project.github.html

Nils.